Add llogb, llogbf, llogbl.
[glibc.git] / ChangeLog
blob62e49bb03aad343276ed2512b29805ddce597d80
1 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
4         New declaration.
5         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6         macro.
7         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
8         New macro.
9         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12         (llogbf): Likewise.
13         (llogbl): Likewise.
14         * math/Makefile (gen-libm-calls): Add w_llogbF.
15         (tests): Add test-fp-llogb-constants.
16         * math/w_llogb_template.c: New file.  Based on
17         math/w_ilogb_template.c.
18         * math/libm-test.inc (llogb_test_data): New array.
19         (llogb_test): New function.
20         (main): Call llogb_test.
21         * math/test-fp-llogb-constants.c: New file.  Based on
22         math/test-fp-ilogb-constants.c.
23         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
24         (do_test): Call check_return_llogb.
25         * math/test-tgmath.c (NCALLS): Increase to 126.
26         (F(compile_test)): Call llogb.
27         (F(llogb)): New function.
28         * manual/math.texi (Exponents and Logarithms): Document llogb,
29         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
30         * manual/libm-err-tab.pl (@all_functions): Add llogb.
31         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
32         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
33         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
34         (CFLAGS-nldbl-llogb.c): New variable.
35         * sysdeps/nacl/libm.abilist: Update.
36         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
37         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
42         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
43         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
44         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
49         Likewise.
50         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
51         Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
53         Likewise.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
55         Likewise.
56         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
62         Likewise.
63         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
64         Likewise.
65         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
69 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
71         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
72         _Float128 instead of long double.
73         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
75         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
76         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
77         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
78         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
79         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
80         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
81         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
82         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
83         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
84         Likewise.
86 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
88         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
89         Remove redirection to __strrchr_ppc.
91 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
93         * sysdeps/powerpc/powerpc64/multiarch/Makefile
94         (sysdep_routines): Add strcmp_power9.
95         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
96         (strcmp): Add __strcmp_power9 to list of strcmp functions.
97         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
98         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
99         (strcmp): Add __strcmp_power9 to ifunc list.
100         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
102 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
104         * bits/fp-logb.h: New file.
105         * sysdeps/ia64/bits/fp-logb.h: Likewise.
106         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
107         * sysdeps/x86/bits/fp-logb.h: Likewise.
108         * math/Makefile (headers): Add bits/fp-logb.h.
109         * math/math.h: Include <bits/fp-logb.h>.
110         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
111         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
112         * bits/mathdef.h (FP_ILOGB0): Remove.
113         (FP_ILOGBNAN): Likewise.
114         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
115         (FP_ILOGBNAN): Likewise.
116         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
117         (FP_ILOGBNAN): Likewise.
118         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
119         (FP_ILOGBNAN): Likewise.
120         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
121         (FP_ILOGBNAN): Likewise.
122         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
123         (FP_ILOGBNAN): Likewise.
124         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
125         (FP_ILOGBNAN): Likewise.
126         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
127         (FP_ILOGBNAN): Likewise.
128         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
129         (FP_ILOGBNAN): Likewise.
130         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
131         (FP_ILOGBNAN): Likewise.
133         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
134         time module.
135         (Context.__init__): Initialize self.logsdir_old.
136         (Context.run_builds): Handle bot action.
137         (Context.bot_cycle): Copy logs directory before running builds.
138         (Context.bot_run_self): Take argument for whether to check
139         subprocess result.  Flush stdout before running subprocess.
140         (Context.bot): New function.
141         (get_parser): Allow bot action.
143 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
145         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
146         Import email.mime.text, email.utils and smtplib modules.
147         (Context.__init__): Initialize self.bot_config_json.
148         (Context.run_builds): Handle bot-cycle action.
149         (Context.load_bot_config_json): New function.
150         (Context.part_build_old): Likewise.
151         (Context.bot_cycle): Likewise.
152         (Context.bot_build_mail): Likewise.
153         (Context.bot_run_self): Likewise.
154         (get_parser): Allow bot-cycle action.
156 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
158         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
159         Remove redirection to __stpcpy_ppc.
161 2016-11-30  Florian Weimer  <fweimer@redhat.com>
163         Remove __libc_memalign from ld.so because it is unused.
164         * elf/dl-minimal.c: Update comment on the malloc implementation.
165         (malloc): Renamed from __libc_memalign, replacing the original
166         malloc implementation.  Replace the align parameter with
167         MALLOC_ALIGNMENT.
168         * elf/Versions (ld): Update comment and remove __libc_memalign.
169         * sysdeps/nacl/ld.abilist: Likewise.
170         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
171         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
172         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
173         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
174         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
175         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
177         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
178         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
190         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
196         * sysdeps/generic/localplt.data (ld.so): Likewise.
197         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
198         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
199         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
200         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
201         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
202         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
203         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
204         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
205         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
207         (ld.so): Likewise.
208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
209         (ld.so): Likewise.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
211         Likewise.
212         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
213         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
214         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
215         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
216         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
218 2016-11-30  Florian Weimer  <fweimer@redhat.com>
220         [BZ #16628]
221         Implement _dl_catch_error, _dl_signal_error in libc.so.
222         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
223         (catch_hook): Define as thread-local or regular variable,
224         depending on DL_ERROR_BOOTSTRAP.
225         (CATCH_HOOK): Remove.
226         (dl_signal_error, _dl_catch_error): Use
227         catch_hook.  Add hidden definition for libc.
228         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
229         for DL_ERROR_BOOTSTRAP only.
230         * elf/dl-error.c: New file.
231         * elf/dl-error-minimal.c: Likewise.
232         * elf/tst-latepthread.c: Likewise.
233         * elf/tst-latepthreadmod.c: Likewise.
234         * elf/Makefile (routines): Add dl-error.
235         (dl-routines): Remove dl-error.
236         (rtld-routines): Add dl-error-minimal.
237         [build-shared] (tests): Add tst-latepthread.
238         (module-names): Add tst-latepthreadmod.
239         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
240         symbol.
241         (tst-latepthreadmod.so): Link against libpthread.
242         (tst-latepthread): Link against libdbl.
243         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
244         _dl_catch_error.
245         [ld] (GLIBC_PRIVATE): Likewise.
246         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
247         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
248         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
249         directly.
250         * elf/dl-tsd.c: Remove file.
251         * elf/rtld.c (_rtld_global_ro): Remove initializers for
252         _dl_catch_error, _dl_signal_error.
253         (_dl_initial_error_catch_tsd): Remove definition.
254         (do_preload): Remove initialization of dl_error_catch_tsd.
255         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
256         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
257         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
258         * dlfcn/dlopen.c (dlopen_doit): Likewise.
259         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
260         set dl_error_catch_tsd.
261         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
262         _dl_error_catch_tsd member.
263         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
264         members.
265         (_dl_initial_error_catch_tsd): Remove declaration.
266         (_dl_dprintf): Provide definition for use outside of ld.so.
267         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
268         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
269         prototype for libc.
270         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
271         _dl_catch_error.
272         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
273         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
274         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
275         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
276         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
277         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
278         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
279         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
280         Likewise.
281         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
283         (ld.so): Likewise.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
285         (ld.so): Likewise.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
287         Likewise.
288         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
289         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
290         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
291         Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
293         Likewise.
294         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
296 2016-11-30  Florian Weimer  <fweimer@redhat.com>
298         [BZ #4099]
299         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
300         _IO_BUFSIZ (8192).
302 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
304         * PROJECTS: Remove file.
306 2016-11-29  Florian Weimer  <fweimer@redhat.com>
308         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
310 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
311             Steve Ellcey  <sellcey@caviumnetworks.com>
313         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
314         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
315         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
316         fxstatat.
317         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
318         lxstat.
319         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
320         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
321         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
322         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
323         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
324         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
325         __xstat.
327 2016-11-29  Florian Weimer  <fweimer@redhat.com>
329         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
330         Define.
331         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
332         definition.
334 2016-11-29  Florian Weimer  <fweimer@redhat.com>
336         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
337         version and turn into strong alias.  Remove compat symbol.
339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
340         (__longjmp): Remove.
342 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
344         * bits/fp-fast.h: New file.
345         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
346         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
347         * math/Makefile (headers): Add bits/fp-fast.h.
348         * math/math.h: Include <bits/fp-fast.h>.
349         * bits/mathdef.h (FP_FAST_FMA): Remove.
350         (FP_FAST_FMAF): Likewise.
351         (FP_FAST_FMAL): Likewise.
352         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
353         (FP_FAST_FMAF): Likewise.
354         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
355         (FP_FAST_FMAF): Likewise.
356         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
357         (FP_FAST_FMAF): Likewise.
358         (FP_FAST_FMAL): Likewise.
359         * sysdeps/arm/bits/mathdef.h: Remove file.
360         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
361         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
362         * sysdeps/tile/bits/mathdef.h: Likewise.
364 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
366         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
367         * math/w_ilogb.c: Remove.
368         * math/w_ilogbf.c: Likewise.
369         * math/w_ilogbl.c: Likewise.
370         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
371         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
372         * math/Makefile (gen-libm-calls): Add w_ilogbF.
373         (libm-calls): Remove w_ilogbF.
374         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
375         (LDOUBLE_ilogbl_libm_version): New macro.
377         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
379         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
380         [!__STRICT_ANSI__ && !__cplusplus].
382 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
384         [BZ #20750]
385         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
386         of PIC.
388 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
389             Yury Norov  <ynorov@caviumnetworks.com>
390             Steve Ellcey  <sellcey@caviumnetworks.com>
392         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
393         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
394         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
395         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
396         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
397         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
398         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
399         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
400         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
401         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
402         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
403         to get correct reg name for ILP32.
404         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
405         (RELA_SIZE): New Macro.
406         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
407         to support ILP32.
408         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
409         cast for ILP32 mode.
410         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
411         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
412         * sysdeps/aarch64/memset.S (__memset): Ditto.
413         * sysdeps/aarch64/strchr.S (strchr): Ditto.
414         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
415         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
416         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
417         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
418         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
419         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
420         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
421         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
422         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
423         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
424         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
425         change PTR_MANGLE call to use register numbers instead of names.
426         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
427         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
428         ILP32 mode, change PTR_MANGLE calls to use register numbers.
429         * sysdeps/aarch64/start.S (_start): Ditto.
430         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
431         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
432         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
433         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
434         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
435         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
436         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
437         Make defined values dependent on __ILP32__.
438         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
439         (sem_t): Change __align type.
440         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
441         PTR_SIZE): New Macros.
442         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
443         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
444         Set when in ILP32 mode.
445         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
446         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
447         Set elf flags for ILP32.
448         (add_system_dir): Set ILP32 library directories.
449         * sysdeps/unix/sysv/linux/aarch64/init-first.c
450         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
451         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
452         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
453         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
454         New Macros.
455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
457 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
459         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
460         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
461         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
463 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
465         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
466         <asm/cachectl.h>.
468 2016-11-27  Zack Weinberg  <zackw@panix.com>
470         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
471         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
473 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
475         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
476         error_t to fix usage in C++ programs.
478 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
480         * scripts/build-many-glibcs.py: Import datetime module.
481         (Context.__init__): Load JSON build state.  Initialize list of
482         status logs.
483         (Context.run_builds): Update saved build state.
484         (Context.add_makefile_cmdlist): Update list of status logs.
485         (Context.load_build_state_json): New function.
486         (Context.store_build_state_json): Likewise.
487         (Context.clear_last_build_state): Likewise.
488         (Context.update_build_state): Likewise.
489         (CommandList.status_logs): Likewise.
491 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
493         * scripts/build-many-glibcs.py (Context.__init__): Save text of
494         script being executed.
495         (Context.get_script_text): New function.
496         (Context.exec_self): Likewise.
497         (Context.checkout): Re-exec script if changed by checkout process.
499 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
501         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
502         (setpayloadsig): New declaration.
503         * math/Versions (setpayloadsig): New libm symbol at version
504         GLIBC_2.25.
505         (setpayloadsigf): Likewise.
506         (setpayloadsigl): Likewise.
507         * math/Makefile (libm-calls): Add s_setpayloadsigF.
508         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
509         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
510         (setpayloadsig_test_data): New array.
511         (setpayloadsig_test): New function.
512         (main): Call setpayloadsig_test.
513         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
514         setpayloadsigf and setpayloadsigl.
515         * manual/libm-err-tab.pl: Update comment on interfaces without
516         ulps tabulated.
517         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
518         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
519         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
520         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
521         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
522         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
523         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
524         setpayloadsig.
525         (CFLAGS-nldbl-setpayloadsig.c): New variable.
526         * sysdeps/nacl/libm.abilist: Update.
527         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
528         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
540         Likewise.
541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
542         Likewise.
543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
544         Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
546         Likewise.
547         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
549         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
550         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
551         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
553         Likewise.
554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
555         Likewise.
556         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
560         * scripts/build-many-glibcs.py: Import json module.
561         (Context.__init__): Take replace_sources argument.  Load
562         versions.json.
563         (Context.load_versions_json): New function.
564         (Context.store_json): Likewise.
565         (Context.store_versions_json): Likewise.
566         (Context.set_component_version): Likewise.
567         (Context.checkout): Update versions.json.  Check for and handle
568         changes of version.  Prefer previously explicitly specified
569         version to default version.
570         (Context.checkout_vcs): Return a revision identifier.
571         (Context.git_checkout): Likewise.
572         (Context.gcc_checkout): Likewise.
573         (get_parser): Add --replace-sources option.
574         (main): Pass replace_sources argument to Context call.
576 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
578         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
579         * nptl/allocatestack.c (allocate_stack): Likewise.
580         (__reclaim_stacks): Likewise.
581         (setxid_signal_thread): Obtain pid through syscall.
582         * nptl/nptl-init.c (sigcancel_handler): Likewise.
583         (sighandle_setxid): Likewise.
584         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
585         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
586         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
587         Likewise.
588         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
589         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
590         comment.
591         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
592         * nptl/descr.h (struct pthread): Change comment about pid value.
593         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
594         pid assert.
595         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
596         Do not set pid value.
597         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
598         pid cache check.
599         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
600         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
601         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
602         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
603         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
604         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
605         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
606         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
607         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
608         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
609         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
610         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
611         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
612         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
613         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
614         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
615         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
616         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
617         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
618         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
619         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
620         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
621         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
622         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
623         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
626         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
627         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
628         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
629         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
630         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
631         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
632         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
633         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
634         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
635         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
636         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
637         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
638         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
639         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
640         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
641         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
644         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
645         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
646         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
647         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
648         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
649         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
650         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
651         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
652         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
653         struct access.
654         (clone_test): Remove function.
655         (do_test): Rewrite to take in consideration pid is not cached anymore.
657 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
659         * bits/flt-eval-method.h: New file.
660         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
661         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
662         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
663         * math/Makefile (headers): Add bits/flt-eval-method.h.
664         * math/math.h: Include <bits/flt-eval-method.h>.
665         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
666         [__USE_ISOC99] (double_t): Likewise.
667         * bits/mathdef.h (float_t): Remove.
668         (double_t): Likewise.
669         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
670         (double_t): Likewise.
671         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
672         (double_t): Likewise.
673         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
674         (double_t): Likewise.
675         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
676         (double_t): Likewise.
677         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
678         (double_t): Likewise.
679         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
680         (double_t): Likewise.
681         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
682         (double_t): Likewise.
683         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
684         (double_t): Likewise.
685         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
686         (double_t): Likewise.
687         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
688         (double_t): Likewise.
689         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
690         (double_t): Likewise.
691         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
692         (double_t): Likewise.
693         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
694         (double_t): Likewise.
696 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
698         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
699         instead of PIC.
701 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
703         [BZ #20859]
704         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
705         (-0x7fffffff) instead of 0x80000001.
706         * math/test-fp-ilogb-constants.c: New file.
707         * math/Makefile (tests): Add test-fp-ilogb-constants.
709 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
711         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
712         (_init): Use it in place of hardcoded R_MIPS_JALR.
713         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
714         (_init): Use it in place of hardcoded R_MIPS_JALR.
715         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
716         (_init): Use it in place of hardcoded R_MIPS_JALR.
718 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
720         [BZ #20787]
721         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
722         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
723         (double_t): Do not define to double if [__x86_64__] when
724         __FLT_EVAL_METHOD__ is nonzero.
725         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
726         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
727         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
728         test-flt-eval-method-387 and test-flt-eval-method-sse.
729         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
730         variable.
731         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
733 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
735         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
736         use of -fno-isolate-erroneous-paths options for tilepro.
738 2016-11-23  Florian Weimer  <fweimer@redhat.com>
740         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
741         structure initialization is no longer needed.
743 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
745         [BZ #20855]
746         * bits/mathdef.h (float_t): Define to float.
747         * math/test-flt-eval-method.c: New file.
748         * math/Makefile (tests): Add test-flt-eval-method.
749         (CFLAGS-test-flt-eval-method.c): New variable.
751 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
753         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
754         and __fstatfs.  Make them aliases of __fstatfs64 if
755         STATFS_IS_STATFS64 is set to non-zero.
756         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
757         and __statfs64.
758         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
759         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
760         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
761         for __statfs and statfs.
762         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
763         to 0.
764         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
765         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
766         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
767         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
768         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
769         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
772         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
773         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
774         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
775         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
777 2016-11-22  Andreas Schwab  <schwab@suse.de>
779         * misc/mkstemp.c: Include <fcntl.h>.
780         * misc/mkstemps.c: Likewise.
781         * misc/mkostemp.c: Likewise.
782         * misc/mkostemps.c: Likewise.
784 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
786         [BZ #20847]
787         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
788         array bounds.
789         (__execvpe): Likewise.
791 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
793         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
794         -fno-isolate-erroneous-paths options for tilepro.
796 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
798         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
799         to 0 when in 32 bit mode.
800         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
801         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
802         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
803         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
805         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
806         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
807         XSTAT_IS_XSTAT64 test.
808         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
809         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
810         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
811         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
812         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
813         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
814         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
815         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
816         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
817         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
818         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
820 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
822         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
823         (setpayload): New declaration.
824         * math/Versions (setpayload): New libm symbol at version
825         GLIBC_2.25.
826         (setpayloadf): Likewise.
827         (setpayloadl): Likewise.
828         * math/Makefile (libm-calls): Add s_setpayloadF.
829         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
830         test_Ff_b1_data.
831         (RUN_TEST_Ff_b1): New macro.
832         (RUN_TEST_LOOP_Ff_b1): Likewise.
833         (canonicalize_test_data): Update type.
834         (setpayload_test_data): New array.
835         (setpayload_test): New function.
836         (main): Call setpayload_test.
837         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
838         setpayloadf and setpayloadl.
839         * manual/libm-err-tab.pl: Update comment on interfaces without
840         ulps tabulated.
841         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
842         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
843         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
844         Likewise.
845         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
846         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
847         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
848         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
849         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
850         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
851         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
852         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
853         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
854         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
855         setpayload.
856         (CFLAGS-nldbl-setpayload.c): New variable.
857         * sysdeps/nacl/libm.abilist: Update.
858         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
865         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
868         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
869         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
871         Likewise.
872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
873         Likewise.
874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
875         Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
877         Likewise.
878         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
880         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
884         Likewise.
885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
886         Likewise.
887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
888         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
889         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
891 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
893         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
894         * include/unistd.h: Extend comment about __access_noerrno return
895         semantics.
896         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
897         (access_common): Correct typo for EACCES.
899 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
901         * sysdeps/tile/math-tests.h: New file.
903         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
904         (__old_set_dataplane): Rename from set_dataplane and make a
905         compatibility symbol.
906         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
907         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
908         sys/dataplane.h.
910 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
912         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
913         script quote words in command output to log suitably for input to
914         the shell.
916 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
917             Maciej W. Rozycki  <macro@imgtec.com>
919         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
920         `.Lno_weak_fn' label.
921         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
922         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
924 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
925             Yury Norov  <ynorov@caviumnetworks.com>
927         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
928         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
929         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
930         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
931         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
932         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
933         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
935         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
936         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
937         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
938         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
939         (sysdep_routines): Remove oldgetrlimit64.
940         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
941         (sysdep_routines): Likewise.
942         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
943         (sysdep_routines): Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
945         [$(subdir) = resource] (sysdep_routines): Likewise.
946         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
947         [$(subdir) = resource] (sysdep_routines): Likewise.
948         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
949         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
950         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
951         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
952         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
953         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
954         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
955         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
956         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
957         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
959         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
960         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
961         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
962         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
963         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
964         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
965         setrlimit and getrlimit.
966         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
968         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
971         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
972         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
973         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
974         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
975         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
976         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
977         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
978         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
979         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
980         (__old_getrlimit64): Add compatibility symbol.
981         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
983 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
985         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
986         newly built gmp, mpfr and mpc.
988         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
990 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
992         * conform/Makefile (linknamespace-libs): Rename to
993         linknamespace-libs-thr.
994         (linknamespace-libs-posix): New variable.
995         (linknamespace-libs-xsi): Likewise.
996         (linknamespace-libs-XPG3): Include libcrypt.a.
997         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
998         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
999         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1000         (linknamespace-libs-XOPEN2K): Likewise.
1001         (linknamespace-libs-XOPEN2K8): Likewise.
1002         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1004         [BZ #20829]
1005         * stdio-common/Versions (__snprintf): Add to version
1006         GLIBC_PRIVATE.
1007         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1008         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1009         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1010         of snprintf.
1011         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1013 2016-11-16  Zack Weinberg  <zackw@panix.com>
1015         * string/string.h: Remove obsolete comment stating that
1016         strcoll_l and strxfrm_l have not yet been standardized.
1018 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1020         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1021         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1022         __access_noerrno.
1023         * io/access.c (__access_noerrno): New function.
1024         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1025         (hurd_fail_seterrno): Likewise.
1026         (access_common): Likewise.
1027         (__access_noerrno): Likewise.
1028         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1029         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1030         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1031         macro.
1033 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1035         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1036         Only declare fpregs if [__SH_FPU_ANY__].
1038 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1040         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1041         Make code unconditional.
1042         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1044 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1046         * manual/sysinfo.texi (S_APPEND): Delete.
1047         (S_IMMUTABLE): Likewise.
1049 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1050             Magnus Granberg  <zorry@gentoo.org>
1051             Mike Frysinger  <vapier@gentoo.org>
1053         [BZ #20662]
1054         * configure.ac (libc_cv_predef_stack_protector): Also check for
1055         __stack_chk_fail_local symbols.
1056         * configure: Regenerated.
1058 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1060         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1061         (libc_hidden_def): Remove redefinition.
1062         (__sigsetjmp): Add hidden definition.
1063         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1064         (libc_hidden_def): Remove redefinition.
1065         (__sigsetjmp): Add hidden definition.
1067 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1069         * scripts/build-many-glibcs.py (os.path): Do not import.
1070         (Context): Inherit explicitly from object.  Remove blank line
1071         between class and docstring.
1072         (Config): Likewise.
1073         (Glibc): Likewise.
1074         (Command): Likewise.
1075         (CommandList): Likewise.
1076         (Context.write_files): Store chmod mode in a variable.
1078         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1079         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1080         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1082 2016-11-14  Zack Weinberg  <zackw@panix.com>
1084         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1085         creating or re-creating it.
1087         * string/bits/string2.h: Fix typo in comment.
1089 2016-11-14  Zack Weinberg  <zackw@panix.com>
1091         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1092         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1093         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1094         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1095         of redirected function names.
1097         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1098         as well.  Document that MESSAGE must be a single string literal.
1100 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1102         * scripts/build-many-glibcs.py: New file.
1104         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1105         (do_test): Disable -Wmaybe-uninitialized around uses of
1106         except_mask.
1108         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1110 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1112         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1113         (atomic_store_release): Provide tilepro-specific implementations.
1115 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1117         * math/math.h (__MATH_TG): New macro.
1118         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1119         [__USE_ISOC99] (signbit): Likewise.
1120         [__USE_ISOC99] (isfinite): Likewise.
1121         [__USE_ISOC99] (isnan): Likewise.
1122         [__USE_ISOC99] (isinf): Likewise.
1123         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1125         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1126         __MATH_TG and __MATH_EVAL_FMT2.
1127         * sysdeps/generic/math_private.h (fabs_tg): Define using
1128         __MATH_TG.
1129         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1130         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1131         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1132         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1133         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1134         macro.
1135         (__iscanonical): Likewise.
1136         (iscanonical): Define using __MATH_TG.
1138 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1140         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1141         guards.
1143         * sysdeps/unix/sysv/linux/access.c: New file.
1144         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1146 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1148         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1149         and __WORDSIZE32_PTRDIFF_LONG.
1151 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1153         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1155 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1157         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1158         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1159         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1160         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1161         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1163         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1164         * sysdeps/unix/sysv/linux/truncate.c: New file.
1165         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1166         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1167         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1168         Remove.
1169         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1170         Likewise.
1172         * posix/tst-truncate-common.c: New file.
1173         * posix/tst-truncate.c: Use tst-truncate-common.c.
1174         * posix/tst-truncate64.c: Likewise and add LFS tests.
1175         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1176         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1177         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1179         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1181         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1182         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1183         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1184         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1185         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1186         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1187         Remove.
1188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1189         Likewise.
1191 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1193         [BZ #20790]
1194         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1195         to MAXLINESIZE.
1196         * sunrpc/bug20790.x: New file.
1197         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1198         variable.
1199         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1200         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1202         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1204         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1206         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1207         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1208         calloc, realloc, free, memalign and __libc_memalign rather than
1209         making them optional.
1211         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1212         for libc.so.
1214 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1216         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1217         ptw-lseek64.
1218         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1219         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1220         Likewise.
1221         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1222         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1223         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1224         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1225         * sysdeps/unix/sysv/linux/lseek.c: New file.
1226         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1227         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1228         __libc_lseek64 from auto-generation.
1229         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1230         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1232 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1234         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1235         * nptl/tst-cleanup1.c (do_test): Likewise.
1236         * nptl/tst-cleanup3.c (do_test): Likewise.
1237         * nptl/tst-key1.c (do_test): Likewise.
1238         * nptl/tst-key2.c (tf, do_test): Likewise.
1239         * nptl/tst-key3.c (tf, do_test): Likewise.
1240         * nptl/tst-stdio1.c (do_test): Likewise.
1241         * nptl/tst-stdio2.c (do_test): Likewise.
1243         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1244         * nptl/tst-kill6.c (handler): Likewise.
1245         * nptl/tst-tls2.c (CB): Likewise.
1246         * nptl/tst-tls3.c (CB): Likewise.
1248 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1250         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1252 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1253             Steve Ellcey  <sellcey@caviumnetworks.com>
1255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1256           __ASSUME_ST_INO_64_BIT as 0
1257         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1258         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1259           over the code where __ASSUME_ST_INO_64_BIT is used.
1260         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1261         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1262         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1264 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1266         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1267         Document ABI exposure of the __kind offset.
1268         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1269         Mention reason for the __kind offset exposure in the ABI.
1270         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1271         Likewise.
1272         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1273         Likewise.
1274         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1275         Likewise.
1276         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1277         (struct __pthread_mutex_s): Likewise.
1278         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1279         Likewise.
1280         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1281         Likewise.
1282         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1283         Likewise.
1284         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1285         Likewise.
1286         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1287         Likewise.
1288         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1291         (struct __pthread_mutex_s): Likewise.
1292         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1293         (struct __pthread_mutex_s): Likewise.
1294         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1295         Likewise.
1297 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1299         * test-skeleton.c: Document do_test usage.
1301 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1303         * iconv/gconv.h (__gconv_info): Define __data element using a
1304         zero-length array.
1306 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1308         * math/test-tgmath2.c: Split up test function.
1310 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1312         * Rules (tests-expected): New variable, depending on
1313         $(run-built-tests).
1314         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1315         $(tests).
1317         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1318         $(tests-unsupported).
1320 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1322         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1323         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1325 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #20768]
1328         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1329         __fegetenv instead of fegetenv.
1331         [BZ #14139]
1332         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1333         (find_files): Obtain platform name from libm-test-ulps-name and
1334         store in %pplatforms.
1335         (canonicalize_platform): Remove.
1336         (print_platforms): Use $pplatforms directly.
1337         (by_platforms): Do not allow for platforms missing from
1338         %pplatforms.
1339         * sysdeps/aarch64/libm-test-ulps-name: New file.
1340         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1341         * sysdeps/arm/libm-test-ulps-name: Likewise.
1342         * sysdeps/generic/libm-test-ulps-name: Likewise.
1343         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1344         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1345         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1346         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1347         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1348         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1349         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1350         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1351         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1352         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1353         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1354         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1355         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1356         * sysdeps/sh/libm-test-ulps-name: Likewise.
1357         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1358         * sysdeps/tile/libm-test-ulps-name: Likewise.
1359         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1361         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1363         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1364         (test-xfail-check-execstack): New variable.
1366         * sysdeps/mips/localplt.data: New file.
1368 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1369             Steve Ellcey  <sellcey@caviumnetworks.com>
1371         * bits/wordsize.h: Add documentation.
1372         * sysdeps/aarch64/bits/wordsize.h : New file
1373         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1374         definitions.
1375         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1376         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1377         with #if instead of #ifdef.
1378         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1379         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1380         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1381         Add or change defines.
1382         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1383         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1384         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1385         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1386         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1387         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1388         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1389         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1390         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1391         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1392         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1393         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1394         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1395         * sysdeps/x86/bits/wordsize.h: Likewise.
1397 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1398             Kevin Petit  <kevin.petit@arm.com>
1400         * sysdeps/aarch64/memchr.S (__memchr): New file.
1402 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1404         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1406 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1408         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1409         $(linknamespace-symlists-tests).
1411 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1413         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1415 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1416             Carlos O'Donell  <carlos@redhat.com>
1418         [Bug #20729]
1419         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1420         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1421         for -Os related change.
1423 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1425         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1427 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1429         [BZ #19673]
1430         * manual/math.texi (Exponents and Logarithms): Correct description
1431         of clog10.
1433 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1435         [Bz #20729]
1436         * locale/weight.h: Include libc-internal.h.
1437         * locale/weightwc.h: Likewise.
1438         * nptl/nptl_dbP.h: Likewise.
1440 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1442         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1443         when it is MACH_PORT_NULL.
1445 2016-10-31  Andreas Schwab  <schwab@suse.de>
1447         [BZ #20707]
1448         * posix/glob.c (glob): Initialize pglob before checking for
1449         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1450         valid brace expression despite GLOB_BRACE.
1451         * posix/globtest.sh: Test it.
1453 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1455         [BZ #20729]
1456         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1457         Define.
1458         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1459         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1460         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1461         for seq2.back_us and seq1.back_us only for -Os compiles.
1462         * locale/weightwc.h (findix): Likewise.
1463         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1464         DB_GET_FIELD_ADDRESS only for -Os compiles.
1465         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1466         for slen only for -Os compiles.
1467         * string/strcoll_l.c (get_next_seq): Ignore
1468         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1469         for -Os compiles.
1471         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1472         * include/crypt.h: New file.
1474 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1476         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1477         from test-skeleton.c.
1478         (statclass): Replace calls to write with calls to write_message.
1480 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1482         * math/math.h
1483         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1484         New macro.
1485         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1486         Likewise.
1487         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1488         Likewise.
1489         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1490         SNANL.
1491         * math/test-double.h (snan_value_MACRO): New macro.
1492         * math/test-float.h (snan_value_MACRO): Likewise.
1493         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1494         * math/libm-test.inc (issignaling_test_data): Add tests of
1495         snan_value_MACRO.
1497 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1499         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1500         behavior when eliding a lock not held by the current thread.
1501         * sysdeps/powerpc/nptl/elide.h: Likewise.
1503 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1505         [BZ #20728]
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1507         branch to _exit() by a function call.
1509 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1511         * malloc/malloc.c: Update chunk layout comments.
1512         (chunk_main_arena): Update comment.
1514 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1516         * crypt/sha256.c, crypt/sha256-block.c,
1517         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1518         sha256_process_block to __sha256_process_block.
1519         * crypt/sha512.c, crypt/sha512-block.c,
1520         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1521         sha512_process_block to __sha512_process_block.
1523 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1525         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1527         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1529 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1531         [BZ #20019]
1532         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1533         definition in unrelocated shared library.
1534         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1536 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1538         [BZ #20729]
1539         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1540         * sysdeps/unix/sysv/linux/i386/Makefile
1541         (uses-6-syscall-arguments): Define.
1542         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1543         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1544         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1545         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1546         Likewise.
1547         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1548         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1549         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1550         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1551         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1552         (CFLAGS-fallocate64.os): Likewise.
1553         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1554         (CFLAGS-pthread_rwlock_timedrdlock.os)
1555         (CFLAGS-pthread_rwlock_timedwrlock.o)
1556         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1557         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1558         (CFLAGS-sem_timedwait.os): Likewise.
1560 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1562         * elf/tst-linkall-static.c: New file.
1563         * elf/Makefile (tests-static): Add tst-linkall-static.
1564         (tst-linkall-static): Link against static libraries.
1566 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1568         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1569         mmaped chunks.
1571 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1573         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1574         members to mchunk_prev_size, mchunk_size.
1575         (chunk_main_arena): Reverse sense and rename from
1576         chunk_non_main_arena.
1577         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1578         mchunk_size instead of size.
1579         (set_non_main_arena): Define.
1580         (chunksize): Use chunksize_nomask instead of direct member access.
1581         (chunksize_nomask): Define.
1582         (next_chunk): Use chunksize instead of direct member access.
1583         (prev_size, set_prev_size): Define.
1584         (prev_chunk): Use prev_size instead of direct member access.
1585         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1586         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1587         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1588         (mchunk_prev_size, mchunk_size): Poison tokens.
1589         (unlink): Use chunksize_nomask, prev_size accessors.
1590         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1591         (do_check_free_chunk): Use prev_size accessor.
1592         (sysmalloc): Use set_prev_size, set_head accessors.
1593         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1594         (__libc_free): Use chunksize_nomask accessor.
1595         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1596         chunk_main_arena accessors.
1597         (_int_free): Use chunksize_nomask, prev_size accessors.
1598         (malloc_consolidate): Use chunksize, prev_size accessors.
1599         (_int_realloc): Use chunksize_nomask accessor.
1600         (_int_memalign): Use set_prev_size accessor.
1601         (__malloc_info): Use chunksize_nomask accessor.
1602         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1603         accessors.
1604         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1605         (heap_trim): Use chunksize_nomask, prev_size accessors.
1607 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1609         [BZ #19380]
1610         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1611         for inexact results.
1612         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1613         of inexact result where mpfr_subnormalize is the only inexact
1614         step.
1615         * stdlib/tst-strtod-round-data.h: Regenerated.
1616         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1617         Define to 0.
1618         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1620 2016-10-27  David S. Miller  <davem@davemloft.net>
1622         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1624 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1626         * malloc/malloc.c (do_set_mallopt_check): New function.
1627         (do_set_mmap_threshold): Likewise.
1628         (do_set_mmaps_max): Likewise.
1629         (do_set_top_pad): Likewise.
1630         (do_set_perturb_byte): Likewise.
1631         (do_set_trim_threshold): Likewise.
1632         (do_set_arena_max): Likewise.
1633         (do_set_arena_test): Likewise.
1634         (__libc_mallopt): Use them.
1636 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1638         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1639         (canonicalize): New declaration.
1640         * math/Versions (canonicalize): New libm symbol at version
1641         GLIBC_2.25.
1642         (canonicalizef): Likewise.
1643         (canonicalizel): Likewise.
1644         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1645         * math/s_canonicalize_template.c: New file.
1646         * math/libm-test.inc: Update comment on functions tested and
1647         testing of NaN payloads.
1648         (TEST_NAN_PAYLOAD): New macro.
1649         (NO_TEST_INLINE): Update value.
1650         (XFAIL_TEST): Likewise.
1651         (ERRNO_UNCHANGED): Likewise.
1652         (ERRNO_EDOM): Likewise.
1653         (ERRNO_ERANGE): Likewise.
1654         (IGNORE_RESULT): Likewise.
1655         (NON_FINITE): Likewise.
1656         (TEST_SNAN): Likewise.
1657         (NO_TEST_MATHVEC): Likewise.
1658         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1659         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1660         (struct test_Ffp_b1_data): New type.
1661         (RUN_TEST_Ffp_b1): New macro.
1662         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1663         (canonicalize_test_data): New array.
1664         (canonicalize_test): New function.
1665         (main): Call canonicalize_test.
1666         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1667         canonicalizef and canonicalizel.
1668         * manual/libm-err-tab.pl: Update comment on interfaces without
1669         ulps tabulated.
1670         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1671         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1672         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1673         canonicalize.
1674         (CFLAGS-nldbl-canonicalize.c): New variable.
1675         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1676         to ...
1677         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1678         ... here.
1679         (do_test): Also test canonicalizel.
1680         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1681         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1682         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1683         file.
1684         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1685         Use libm_hidden_def.
1686         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1687         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1688         (do_test): Also test canonicalizel.
1689         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1690         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1691         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1692         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1693         libm_hidden_def.
1694         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1695         macro.
1696         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1697         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1698         * sysdeps/nacl/libm.abilist: Update.
1699         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1707         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1708         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1709         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1710         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1718         Likewise.
1719         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1721         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1723         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1725         Likewise.
1726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1732         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1733         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1734         getpayload.
1735         (CFLAGS-nldbl-getpayload.c): New variable.
1737 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1739         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1740         integer from the format string.
1742 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1744         [BZ #19473]
1745         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1746         declarations.
1747         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1748         weak aliases.
1749         * malloc/hooks.c (__malloc_get_state): Remove definition.
1750         (malloc_get_state): New stub implementation as
1751         compatibility symbol.
1752         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1753         compat symbol.
1754         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1755         malloc_set_state.
1756         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1758 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1760         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1761         (names): Turn into concatenation of strings.
1762         (gconv_init): Adapt iteration over names.
1764 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1766         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1767         make const.
1768         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1769         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1770         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1771         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1772         character in sbconv.
1773         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1774         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1775         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1777 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1779         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1781         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1782         (M_TRIM_THRESHOLD): Likewise.
1784         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1785         (M_ARENA_MAX): Likewise.
1786         * malloc/malloc.c: Remove obsolete comment.
1788         * manual/memory.texi: Add environment variable alternatives to
1789         setting mallopt parameters.
1791 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1793         * include/atomic.h
1794         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1795         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1797 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1799         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1800         * stdlib/tst-strfrom.h: New file.
1801         * stdlib/tst-strfrom.c: New file.
1802         * stdlib/tst-strfrom-locale.c: New file.
1804         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1805         * stdlib/bug-strtod2.c: Likewise.
1806         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1807         * stdlib/tst-strtod6.c: Likewise.
1808         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1810 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1812         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1813         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1814         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1815         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1816         * stdlib/stdlib.h (strfromd): New declaration.
1817         (strfromf): Likewise.
1818         (strfroml): Likewise.
1819         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1820         strfrom.
1821         * stdlib/strfromd.c: New file.
1822         * stdlib/strfromf.c: Likewise.
1823         * stdlib/strfroml.c: Likewise.
1824         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1825         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1826         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1827         * sysdeps/arm/nacl/libc.abilist: Update.
1828         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1831         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1832         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1833         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1834         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1835         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1857 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1859         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1860         instead of cmpli.
1861         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1862         instead of cmpli.
1864 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1866         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1867         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1868         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1869         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1870         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1871         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1873 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1875         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1876         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1877         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1878         SYSCALL_LL64_PRW.
1879         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1880         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1881         __ASSUME_PRW_DUMMY_ARG.
1882         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1883         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1884         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1885         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1886         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1887         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1889 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1891         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1893 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1895         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1896         "C++", to override a potential extern "C" directive around the
1897         header file inclusion.
1899 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1901         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1903 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1905         * sysdeps/powerpc/fpu/fenv_private.h:
1906         (_FPU_MASK_ALL): Rename to...
1907         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1908         XE FPSCR bits.
1910         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1912         (_FPU_MASK_ROUNDING): Rename to...
1913         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1914         NI bits.
1916         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1917         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1918         bits and rounding bits.
1920         (__libc_feholdbits_ppc): New inline function to mask, set,
1921         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1922         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1923         (libc_feholdexcept_setround_ppc): Likewise.
1925         (__libc_femergeenv_ppc): New function to dynamically mask both
1926         old and new FP environments and merge.
1927         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1928         (libc_feresetround_ppc): Likewise.
1929         (libc_feupdateenv_test_ppc): Likewise.
1930         (libc_feupdateenv_ppc): Likewise.
1932         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1933         of ISA RN bits, and update macro names.
1934         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1935         effectively the same as the previously mentioned function.
1937         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1938         usage with fe_resetround_ppc.
1940         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1941         to be used.
1942         (libc_feholdexcept_setround_ctxf): Likewise.
1943         (libc_feholdexcept_setround_ctxl): Likewise.
1945 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1947         [BZ #20715]
1948         * math/math.h [__cplusplus] (iszero): Define as function template.
1949         * math/Makefile [CXX] (tests): Add test-math-iszero.
1950         (CFLAGS-test-math-iszero.cc): Set.
1951         * math/test-math-iszero.cc: New file.
1953 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1955         [BZ #20660]
1956         * sysdeps/arm/e_sqrt.c: New file.
1957         * sysdeps/arm/e_sqrtf.c: Likewise.
1959 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1961         [BZ #20718]
1962         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1963         not use floating-point comparisons to test sign.
1964         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1965         Likewise.
1967         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1968         (getpayload): New declaration.
1969         * math/Versions (getpayload): New libm symbol at version
1970         GLIBC_2.25.
1971         (getpayloadf): Likewise.
1972         (getpayloadl): Likewise.
1973         * math/Makefile (libm-calls): Add s_getpayloadF.
1974         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1975         (struct test_f_f_data): Add comment.
1976         (RUN_TEST_fp_f): New macro.
1977         (RUN_TEST_LOOP_fp_f): Likewise.
1978         (getpayload_test_data): New array.
1979         (getpayload_test): New function.
1980         (main): Call getpayload_test.
1981         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1982         descriptor.
1983         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1984         getpayloadf and getpayloadl.
1985         * manual/libm-err-tab.pl: Update comment on interfaces without
1986         ulps tabulated.
1987         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1988         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1989         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1990         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1991         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1992         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1993         * sysdeps/nacl/libm.abilist: Update.
1994         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1995         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1996         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1997         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1998         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1999         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2000         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2001         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2002         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2003         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2004         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2007         Likewise.
2008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2009         Likewise.
2010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2011         Likewise.
2012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2015         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2016         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2017         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2018         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2020         Likewise.
2021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2027 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2029         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2030         tst-fallocate{64}.
2031         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2032         on syscall return.
2034 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2036         [BZ #20689]
2037         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2038         usable.
2040 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2042         * sysdeps/generic/nan-high-order-bit.h: New file.
2043         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2044         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2045         * sysdeps/hppa/math_private.h: Remove file.
2046         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2047         not define here.
2048         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2049         <nan-high-order-bit.h>.
2050         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2051         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2052         <nan-high-order-bit.h>.
2053         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2054         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2055         <nan-high-order-bit.h>.
2056         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2057         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2058         <nan-high-order-bit.h>.
2059         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2060         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2061         <nan-high-order-bit.h>.
2062         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2063         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2064         <nan-high-order-bit.h>.
2065         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2066         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2067         <nan-high-order-bit.h>.
2068         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2069         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2070         <nan-high-order-bit.h>.
2071         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2072         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2073         <nan-high-order-bit.h>.
2074         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2075         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2076         <nan-high-order-bit.h>.
2077         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2078         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2079         <nan-high-order-bit.h>.
2080         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2081         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2082         <nan-high-order-bit.h>.
2083         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2084         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2085         <nan-high-order-bit.h>.
2086         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2087         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2088         <nan-high-order-bit.h>.
2089         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2090         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2091         <nan-high-order-bit.h>.
2092         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2093         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2094         <nan-high-order-bit.h>.
2095         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2096         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2097         <nan-high-order-bit.h>.
2098         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2099         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2100         <nan-high-order-bit.h>.
2101         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2103 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2105         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2107 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2109         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2110         abort-instr.h.
2111         (EFAULT): Remove conditional define.
2112         (ENOSYS): Likewise.
2113         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2114         instead of conditional branch instructions.
2116 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2118         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2119         (totalordermag): New declaration.
2120         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2121         New macro.
2122         * math/Versions (totalordermag): New libm symbol at version
2123         GLIBC_2.25.
2124         (totalordermagf): Likewise.
2125         (totalordermagl): Likewise.
2126         * math/Makefile (libm-calls): Add s_totalordermagF.
2127         * math/libm-test.inc (totalordermag_test_data): New array.
2128         (totalordermag_test): New function.
2129         (main): Call totalordermag_test.
2130         * math/test-tgmath.c (NCALLS): Increase to 125.
2131         (F(compile_test)): Call totalordermag.
2132         (F(totalordermag)): New function.
2133         * manual/arith.texi (FP Comparison Functions): Document
2134         totalordermag, totalordermagf and totalordermagl.
2135         * manual/libm-err-tab.pl: Update comment on interfaces without
2136         ulps tabulated.
2137         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2138         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2139         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2140         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2141         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2142         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2143         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2144         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2145         totalordermag.
2146         (CFLAGS-nldbl-totalordermag.c): New variable.
2147         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2148         (do_test): Also test totalordermagl.
2149         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2150         Likewise.
2151         * sysdeps/nacl/libm.abilist: Update.
2152         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2153         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2154         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2155         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2156         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2157         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2158         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2160         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2161         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2162         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2165         Likewise.
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2167         Likewise.
2168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2169         Likewise.
2170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2175         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2176         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2178         Likewise.
2179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2180         Likewise.
2181         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2185 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2187         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2188         boolean.
2190 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2192         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2193         raising FE_INVALID with feraisexcept in case where part of
2194         argument is infinite, subtract that part of argument from itself.
2195         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2196         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2197         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2199 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2201         * math/libm-test.inc (totalorder_test_data): Add more tests.
2203 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2205         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2206         Undefine weak_alias and add a comment why mips64 require
2207         versioning.
2209 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2211         [BZ #20647]
2212         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2213         maximum CPUID level is less than 2.
2215 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2217         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2218         (totalorder): New declaration.
2219         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2220         New macro.
2221         * math/Versions (totalorder): New libm symbol at version
2222         GLIBC_2.25.
2223         (totalorderf): Likewise.
2224         (totalorderl): Likewise.
2225         * math/Makefile (libm-calls): Add s_totalorderF.
2226         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2227         string.
2228         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2229         (qnan_value_pl): Likewise.
2230         (snan_value_pl): Likewise.
2231         (qnan_value): Define using qnan_value_pl.
2232         (snan_value): Define using snan_value_pl.
2233         (struct test_ff_i_data): Add comment about which tests use this
2234         structure.
2235         (RUN_TEST_ff_b): New macro.
2236         (RUN_TEST_LOOP_ff_b): Likewise.
2237         (totalorder_test_data): New array.
2238         (totalorder_test): New function.
2239         (main): Call totalorder_test.
2240         * math/test-tgmath.c (NCALLS): Increase to 122.
2241         (F(compile_test)): Call totalorder.
2242         (F(totalorder)): New function.
2243         * manual/arith.texi (FP Comparison Functions): Document
2244         totalorder, totalorderf and totalorderl.
2245         * manual/libm-err-tab.pl: Update comment on interfaces without
2246         ulps tabulated.
2247         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2248         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2249         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2250         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2251         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2252         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2253         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2254         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2255         totalorder.
2256         (CFLAGS-nldbl-totalorder.c): New variable.
2257         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2258         file.
2259         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2260         Add test-totalorderl-ldbl-128ibm.
2261         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2262         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2263         test-totalorderl-ldbl-96.
2264         * sysdeps/nacl/libm.abilist: Update.
2265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2278         Likewise.
2279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2280         Likewise.
2281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2282         Likewise.
2283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2287         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2288         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2291         Likewise.
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2298 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2300         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2301         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2302         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2303         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2304         remove ENOSYS implementation.
2305         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2306         Consolidate all Linux implementations.
2308 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2310         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2311         * resolv/herror.c (herror): Cast away const-ness.
2312         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2313         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2315 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2317         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2318         instead of M_NAN + M_NAN.
2319         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2321 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2323         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2324         unused variable 'p'.
2326 2016-10-09  Alan Modra  <amodra@gmail.com>
2327             Andreas Schwab  <schwab@linux-m68k.org>
2329         [BZ #20554]
2330         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2331         [PIC && !SHARED]: Set up PIC register for PLT call.
2333 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2335         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2336         conditional on value of [__FLT_EVAL_METHOD__].
2337         * math/test-iseqsig-excess-precision.c: New file.
2338         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2340 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2342         * math/s_iseqsig_template.c: Include math-private.h.
2344         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2345         * posix/tst-posix_fadvise.c: New file.
2346         * posix/tst-posix_fadvise64.c: Likewise.
2347         * posix/tst-posix_fadvise-common.c: Likewise.
2348         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2349         (__ASSUME_FADVISE64_64_6ARG): Define.
2350         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2351         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2353         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2354         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2355         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2356         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2357         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2358         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2359         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2360         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2361         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2364         Likewise.
2365         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2367         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2368         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2369         Alias to __posix_fadvise64_l32.
2370         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2371         Add compat definition to posix_fadvise64.
2372         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2373         Add versioned definition to posix_fadvise64.
2374         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2375         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2376         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2377         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2378         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2380         * io/Makefile (tests): Add tst-posix_fallocate and
2381         tst-posix_fallocate64.
2382         * io/tst-posix_fallocate-common.c: New file.
2383         * io/tst-posix_fallocate.c: Likewise.
2384         * io/tst-posix_fallocate64.c: Likewise.
2385         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2386         file.
2387         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2388         Likewise.
2389         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2390         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2393         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2394         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2395         SYSCALL_LL to pass both offset and len arguments.
2396         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2397         Likewise.
2398         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2399         __libc_pwrite64 alias used by posix_fallocate64.
2401         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2402         tst-fallocate64.
2403         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2404         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2405         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2406         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2407         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2408         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2409         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2410         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2411         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2412         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2413         macro on offset argument.
2414         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2415         SYSCALL_LL64 on offset argument.
2417         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2418         tst-fallocate64.
2419         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2420         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2421         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2422         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2423         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2424         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2425         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2426         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2427         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2428         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2429         macro on offset argument.
2430         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2431         SYSCALL_LL64 on offset argument.
2432         * test-skeleton.c (FAIL_RET): Add macro.
2433         (FAIL_EXIT): Likewise.
2434         (FAIL_EXIT1): Likewise.
2435         (_FAIL): Likewise.
2437 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2439         [BZ #20629]
2440         resolv: Remove RES_USEBSTRING and its implementation.
2441         * resolv/resolv.h (RES_USEBSTRING): Remove.
2442         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2443         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2444         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2445         (labellen): Remove extended label types support.
2446         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2447         * resolv/res_init.c (res_setoptions): Likewise.
2448         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2450 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2452         resolv: Remove RES_NOIP6DOTINT and its implementation.
2453         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2454         (RES_NOIP6DOTINT): Remove.
2455         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2456         handling.
2457         * resolv/res_debug.c (p_option): Likewise.
2458         * resolv/res_init.c (res_setoptions): Likewise.
2459         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2461 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2463         resolv: Deprecate unimplemented flags.
2464         * misc/sys/cdefs.h (__glibc_macro_warning1)
2465         (__glibc_macro_warning): Define.
2466         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2467         (RES_KEEPTSIG): Mark as deprecated.
2468         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2469         RES_NOCHECKNAME, RES_KEEPTSIG.
2470         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2472 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2474         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2475         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2476         Use strong_alias to create symbols for glibc verison 2.19.
2478 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2480         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2482 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2484         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2486 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2488         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2490 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2492         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2493         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2494         in header for using it as type for ifunc function because __GI_* symbols
2495         for ppc32 do not target the ifunc symbols.
2496         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2498 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2500         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2501         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2502         libc_ifunc_hidden_def.
2503         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2504         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2505         Redirect ifunced function in header for using it as type of ifunc'ed
2506         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2507         function for __GI_* symbol.
2508         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2509         * include/libc-symbols.h
2510         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2512 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2514         [BZ #20478]
2515         * sysdeps/s390/multiarch/ifunc-resolve.h
2516         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2517         to create ifunc symbols.
2518         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2519         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2520         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2521         for using it as type for ifunc function.
2522         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2523         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2524         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2525         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2526         * sysdeps/s390/multiarch/strcat.c: Likewise.
2527         * sysdeps/s390/multiarch/strchr.c: Likewise.
2528         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2529         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2530         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2531         * sysdeps/s390/multiarch/strlen.c: Likewise.
2532         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2533         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2534         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2535         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2536         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2537         * sysdeps/s390/multiarch/strspn.c: Likewise.
2538         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2539         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2540         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2541         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2542         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2543         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2544         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2545         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2546         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2547         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2548         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2549         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2551 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2553         * include/libc-symbols.h (__ifunc_resolver):
2554         New macro is used by __ifunc* macros.
2555         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2556         depending on HAVE_GCC_IFUNC.
2557         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2558         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2560         Redirect ifunced function in header for using as type for ifunc function.
2561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2565         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2566         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2567         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2568         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2570         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2571         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2573         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2574         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2580         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2581         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2582         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2583         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2584         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2585         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2586         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2587         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2588         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2589         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2590         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2591         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2592         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2593         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2595         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2596         instead of libc_ifunc() macro.
2597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2598         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2600 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2602         * config.h.in (HAVE_GCC_IFUNC): New undef.
2603         * configure.ac: Add check if gcc supports attribute ifunc feature.
2604         * configure: Regenerated.
2605         * manual/install.texi: Add recommendation for gcc with
2606         indirect-function support.
2607         * INSTALL: Regenerated.
2609 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2611         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2612         macro.
2613         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2614         (__iseqsig): New declaration.
2615         * math/s_iseqsig_template.c: New file.
2616         * math/Versions (__iseqsigf): New libm symbol at version
2617         GLIBC_2.25.
2618         (__iseqsig): Likewise.
2619         (__iseqsigl): Likewise.
2620         * math/libm-test.inc (iseqsig_test_data): New array.
2621         (iseqsig_test): New function.
2622         (main): Call iseqsig_test.
2623         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2624         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2625         * manual/libm-err-tab.pl: Update comment on interfaces without
2626         ulps tabulated.
2627         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2628         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2629         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2630         * sysdeps/nacl/libm.abilist: Update.
2631         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2634         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2635         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2636         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2639         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2640         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2641         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2642         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2644         Likewise.
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2646         Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2648         Likewise.
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2650         Likewise.
2651         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2653         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2654         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2655         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2657         Likewise.
2658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2659         Likewise.
2660         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2664 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2666         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2667         do_sincos_2, sloww, sloww1): Update comments.
2669         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2670         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2672         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2673         K boolean and rename it.
2674         (__sin): Adjust.
2675         (__cos): Adjust.
2677 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2678             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2680         * manual/nss.texi: Fix typos in the manual.
2682 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2684         * manual/contrib.texi: Fix typos in the manual.
2686         * manual/maint.texi: Fix typos in the manual.
2688         * manual/install.texi: Fix typos in the manual.
2689         * INSTALL: Regenerated.
2691         * manual/lang.texi: Fix typos in the manual.
2693         * manual/probes.texi: Fix typos in the manual.
2695         * manual/threads.texi: Fix typos in the manual.
2697         * manual/debug.texi: Fix typos in the manual.
2699         * manual/crypt.texi: Fix typos in the manual.
2701         * manual/conf.texi: Fix typos in the manual.
2703         * manual/sysinfo.texi: Fix typos in the manual.
2705         * manual/users.texi: Fix typos in the manual.
2707         * manual/job.texi: Fix typos in the manual.
2709         * manual/process.texi: Fix typos in the manual.
2711         * manual/argp.texi: Fix typos in the manual.
2712         * manual/getopt.texi: Likewise.
2713         * manual/startup.texi: Likewise.
2715         * manual/signal.texi: Fix typos in the manual.
2717         * manual/setjmp.texi: Fix typos in the manual.
2719         * manual/resource.texi: Fix typos in the manual.
2721         * manual/time.texi: Fix typos in the manual.
2723         * manual/arith.texi: Fix typos in the manual.
2725         * manual/math.texi: Fix typos in the manual.
2727         * manual/syslog.texi: Fix typos in the manual.
2729         * manual/terminal.texi: Fix typos in the manual.
2731         * manual/socket.texi: Fix typos in the manual.
2733         * manual/filesys.texi: Fix typos in the manual.
2735         * manual/llio.texi: Fix typos in the manual.
2737         * manual/stdio.text: Fix typos in the manual.
2739 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2741         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2742         instead of K1.
2744         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2745         SHIFT_QUADRANT and make it bool.
2746         (do_sincos_2): Likewise.
2747         (sloww): Likewise.
2748         (sloww1): Likewise.
2749         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2750         (__cos): Likewise.
2752 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2754         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2756 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2758         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2759         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2760         0x7fffffffL].
2761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2763 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2765         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2766         inline by __inline__.
2767         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2768         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2769         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2770         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2771         sigset_t from signal.h.
2772         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2773         which is already required.
2775 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2777         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2779 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2781         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2782         (struct tcp_repair_window): New type.
2784 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2786         * libio/tst-memstream3.c: Include string.h.
2788 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2790         [BZ #18241]
2791         [BZ #20181]
2792         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2793         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2794         write position is at the end the buffer.
2795         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2796         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2797         (_IO_str_seekoff): Set correct offset from negative displacement and
2798         set EINVAL for invalid ones.
2799         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2800         buffer length.
2801         (_IO_wstr_switch_to_get_mode): New function.
2802         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2803         set EINVAL for invalid ones.
2804         * libio/tst-memstream3.c: New file.
2805         * libio/tst-wmemstream3.c: Likewise.
2806         * manual/examples/memstrm.c: Remove warning when priting size_t.
2808 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2810         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2811         macro to use __builtin_fma.
2812         * sysdeps/x86_64/fpu/dla.h: Remove file.
2814         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2815         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2816         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2818 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2820         [BZ #20292]
2821         * elf/Makefile (routines): Add dl-addr-obj.
2822         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2823         tst-_dl_addr_inside_object.
2824         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2825         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2826         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2827         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2828         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2829         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2830         * elf/dl-open.c: Likewise.
2831         * elf/dl-addr-obj.c: New file.
2832         * elf/tst-_dl_addr_inside_object.c: New file.
2834 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2836         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2837         <bits/iscanonical.h>.
2838         * bits/iscanonical.h: New file.
2839         * math/s_iscanonicall.c: Likewise.
2840         * math/Versions (__iscanonicall): New libm symbol at version
2841         GLIBC_2.25.
2842         * math/libm-test.inc (iscanonical_test_data): New array.
2843         (iscanonical_test): New function.
2844         (main): Call iscanonical_test.
2845         * math/Makefile (headers): Add bits/iscanonical.h.
2846         (type-ldouble-routines): Add s_iscanonicall.
2847         * manual/arith.texi (Floating Point Classes): Document
2848         iscanonical.
2849         * manual/libm-err-tab.pl: Update comment on interfaces without
2850         ulps tabulated.
2851         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2852         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2854         Likewise.
2855         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2856         test-iscanonical-ldbl-128ibm.
2857         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2858         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2859         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2860         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2861         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2865         Likewise.
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2867         Likewise.
2868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2869         Likewise.
2870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2871         Likewise.
2872         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2873         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2875 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2877         * string/bits/string3.h: Remove C++ style comments.
2879 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2881         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2882         instead of ternary condition.
2883         (do_sincos_2): Likewise.
2884         (__sin): Likewise.
2885         (__cos): Likewise.
2886         (slow): Likewise.
2887         (sloww): Likewise.
2888         (sloww1): Likewise.
2889         (bsloww): Likewise.
2890         (bsloww1): Likewise.
2892         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2893         instead of ternary condition.
2894         (do_sin_slow): Likewise.
2895         (do_sincos_1): Likewise.
2896         (do_sincos_2): Likewise.
2897         (__cos): Likewise.
2898         (sloww): Likewise.
2899         (sloww1): Likewise.
2900         (sloww2): Likewise.
2901         (bsloww): Likewise.
2902         (bsloww1): Likewise.
2903         (bsloww2): Likewise.
2905         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2906         check from here...
2907         (slow2): ... and here...
2908         (__sin): ... to here.
2910 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2912         * math/math.h
2913         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2914         Cast argument to its own type.
2915         * math/test-iszero-excess-precision.c: New file.
2916         * math/Makefile (tests): Add test-iszero-excess-precision.
2917         (CFLAGS-test-iszero-excess-precision.c): New variable.
2919 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2921         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2922         field, add err field.
2923         (__spawni_child): Report error through err member instead of pipe.
2924         (__spawnix): Likewise.
2926 2016-09-28  Zack Weinberg  <zackw@panix.com>
2928         * scripts/check-installed-headers.sh: Generalize treatment of
2929         sys/elf.h to all target architectures.
2931         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2932         deleted typedef ucontext_t.
2934 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2936         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2937         (__INTERNAL_SYSCALL1): Likewise.
2938         (__INTERNAL_SYSCALL2): Likewise.
2939         (__INTERNAL_SYSCALL3): Likewise.
2940         (__INTERNAL_SYSCALL4): Likewise.
2941         (__INTERNAL_SYSCALL5): Likewise.
2942         (__INTERNAL_SYSCALL6): Likewise.
2943         (__INTERNAL_SYSCALL7): Likewise.
2944         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2945         (__INTERNAL_SYSCALL_NARGS): Likewise.
2946         (__INTERNAL_SYSCALL_DISP): Likewise.
2947         (INTERNAL_SYSCALL_CALL): Likewise.
2948         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2949         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2950         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2951         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2952         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2953         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2954         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2955         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2956         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2957         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2958         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2959         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2960         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2962 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2964         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2965         macro.
2966         * math/libm-test.inc (iszero_test_data): New array.
2967         (iszero_test): New function.
2968         (main): Call iszero_test.
2969         * manual/arith.texi (Floating Point Classes): Document iszero.
2970         * manual/libm-err-tab.pl: Update comment on interfaces without
2971         ulps tabulated.
2973 2016-09-23  Zack Weinberg  <zackw@panix.com>
2975         * scripts/check-installed-headers.sh: New script.
2976         * Rules: In each directory that defines header files to be installed,
2977         run check-installed-headers.sh on them as a special test.
2978         * Makefile: Likewise for the headers installed at top level.
2980         * include/aliases.h, include/alloca.h, include/argz.h
2981         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2982         * include/elf.h, include/envz.h, include/err.h
2983         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2984         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2985         * include/link.h, include/malloc.h, include/mcheck.h
2986         * include/mntent.h, include/netinet/ether.h
2987         * include/nss.h, include/obstack.h, include/printf.h
2988         * include/pty.h, include/resolv.h, include/rpc/auth.h
2989         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2990         * include/rpc/clnt.h, include/rpc/des_crypt.h
2991         * include/rpc/key_prot.h, include/rpc/netdb.h
2992         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2993         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2994         * include/rpc/rpc_msg.h, include/rpc/svc.h
2995         * include/rpc/svc_auth.h, include/rpc/xdr.h
2996         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2997         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2998         * include/rpcsvc/ypupd.h, include/shadow.h
2999         * include/stdio_ext.h, include/sys/epoll.h
3000         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3001         * include/sys/prctl.h, include/sys/profil.h
3002         * include/sys/statfs.h, include/sys/sysctl.h
3003         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3004         * sysdeps/arm/nacl/include/bits/setjmp.h
3005         * sysdeps/mips/include/sys/asm.h
3006         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3007         * sysdeps/unix/sysv/linux/include/sys/timex.h
3008         * sysdeps/x86/fpu/include/bits/fenv.h:
3009         Add #ifndef _ISOMAC guard around internal declarations.
3010         Add multiple-inclusion guard if not already present.
3012 2016-09-23  Zack Weinberg  <zackw@panix.com>
3014         * sysdeps/generic/sys/ucontext.h
3015         * sysdeps/arm/sys/ucontext.h
3016         * sysdeps/i386/sys/ucontext.h
3017         * sysdeps/m68k/sys/ucontext.h
3018         * sysdeps/mips/sys/ucontext.h
3019         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3020         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3021         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3022         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3023         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3024         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3025         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3026         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3027         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3028         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3029         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3030         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3031         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3032         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3033         Include both bits/sigcontext.h and bits/sigstack.h.
3034         Fix grammar error in comment, if present.
3036         * bits/sigstack.h
3037         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3038         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3039         * sysdeps/unix/sysv/linux/bits/sigstack.h
3040         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3041         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3042         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3043         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3044         * bits/sigcontext.h
3045         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3046         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3047         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3048         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3049         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3050         as well as signal.h, if this was not already allowed.  Request
3051         definition of size_t if necessary.  Minimize semantically-null
3052         differences across files.
3054 2016-09-23  Zack Weinberg  <zackw@panix.com>
3056         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3057         Remove all logic conditional on __need macros.  Move all the
3058         conditionally defined types to their own headers...
3059         * time/bits/types/clock_t.h: Define clock_t here.
3060         * time/bits/types/clockid_t.h: Define clockid_t here.
3061         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3062         * time/bits/types/struct_timespec.h: Define struct timespec here.
3063         * time/bits/types/struct_timeval.h: Define struct timeval here.
3064         * time/bits/types/struct_tm.h: Define struct tm here.
3065         * time/bits/types/time_t.h: Define time_t here.
3066         * time/bits/types/timer_t.h: Define timer_t here.
3067         * time/Makefile: Install the new headers.
3069         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3070         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3071         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3072         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3073         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3074         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3075         * sysdeps/unix/sysv/linux/bits/resource.h
3076         * sysdeps/unix/sysv/linux/bits/timex.h
3077         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3078         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3079         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3080         * sysdeps/unix/sysv/linux/sys/acct.h
3081         * sysdeps/unix/sysv/linux/sys/timerfd.h
3082         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3083         * time/sys/time.h, time/sys/timeb.h
3084         Use the new bits/types headers.
3086         * include/time.h: Remove __need logic.
3087         * include/bits/time.h
3088         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3089         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3090         * include/bits/types/struct_itimerspec.h
3091         * include/bits/types/struct_timespec.h
3092         * include/bits/types/struct_timeval.h
3093         * include/bits/types/struct_tm.h:
3094         New wrapper headers.
3096 2016-09-23  Zack Weinberg  <zackw@panix.com>
3098         * sysdeps/mach/hurd/net/if_ppp.h
3099         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3100         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3101         if __USE_MISC is defined, to ensure struct ifreq is declared.
3103         * inet/netinet/ether.h: Condition all function prototypes
3104         on __USE_MISC, to ensure struct ether_addr is declared.
3106         * socket/bits/types/struct_osockaddr.h: New header.
3107         * include/bits/types/struct_osockaddr.h: New wrapper.
3108         * socket/Makefile: Install the new header.
3109         * socket/sys/socket.h, inet/protocols/talkd.h:
3110         Refer to bits/types/struct_osockaddr.h for the definition of
3111         struct osockaddr.
3113 2016-09-23  Zack Weinberg  <zackw@panix.com>
3115         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3116         * inet/protocols/routed.h, inet/protocols/talkd.h
3117         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3118         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3119         * sysdeps/generic/netinet/if_ether.h
3120         * sysdeps/generic/netinet/in_systm.h
3121         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3122         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3123         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3124         * sysdeps/mach/hurd/net/if_arp.h
3125         * sysdeps/mach/hurd/net/if_ppp.h
3126         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3127         * sysdeps/unix/sysv/linux/bits/in.h
3128         * sysdeps/unix/sysv/linux/net/ethernet.h
3129         * sysdeps/unix/sysv/linux/net/if_arp.h
3130         * sysdeps/unix/sysv/linux/net/if_ppp.h
3131         * sysdeps/unix/sysv/linux/net/if_shaper.h
3132         * sysdeps/unix/sysv/linux/net/route.h
3133         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3134         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3135         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3136         * sysdeps/unix/sysv/linux/netipx/ipx.h
3137         * sysdeps/unix/sysv/linux/sys/acct.h
3138         * include/arpa/nameser.h, include/resolv.h:
3139         Change all uses of u_char to unsigned char,
3140         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3141         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3142         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3143         and u_int64_t and u_quad_t to uint64_t.
3145         * mach/sys/reboot.h: Remove two casts of integer literals
3146         to the types they already have.
3148         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3149         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3150         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3151         from referring to 'unsigned char' to 'uint8_t' for consistency with
3152         the macro definition below.
3154         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3155         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3156         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3157         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3158         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3159         * sysdeps/unix/sysv/linux/sys/acct.h
3160         * include/arpa/nameser.h, include/resolv.h:
3161         Fix indentation disrupted by mechanical edits.
3163         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3164         * sysdeps/generic/netinet/in_systm.h
3165         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3166         * sysdeps/gnu/netinet/udp.h
3167         * sysdeps/unix/sysv/linux/net/ethernet.h
3168         * sysdeps/unix/sysv/linux/net/if_arp.h
3169         * sysdeps/unix/sysv/linux/net/if_ppp.h
3170         * sysdeps/unix/sysv/linux/net/if_shaper.h
3171         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3172         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3173         * sysdeps/unix/sysv/linux/netipx/ipx.h
3174         * sysdeps/unix/sysv/linux/sys/acct.h
3175         Include stdint.h for uintNN_t definitions.
3176         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3178 2016-09-23  Zack Weinberg  <zackw@panix.com>
3180         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3181         * sysdeps/unix/sysv/linux/netrose/rose.h:
3182         Include sys/socket.h and netax25/ax25.h.
3184         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3185         * resolv/arpa/nameser_compat.h:
3186         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3188         * sysdeps/unix/sysv/linux/sys/quota.h:
3189         Use __caddr_t instead of caddr_t.
3190         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3191         Use __clockid_t instead of clockid_t.
3193         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3195         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3196         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3197         expanding it.
3199         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3200         Define __glibc_c99_flexarr_available to 1 when the compiler
3201         supports C99-compatible flexible array members, 0 otherwise.
3202         * sysdeps/unix/sysv/linux/bits/socket.h
3203         * sysdeps/mach/hurd/bits/socket.h
3204         * bits/socket.h: Use __glibc_c99_flexarr_available in
3205         definitions of struct cmsghdr and CMSG_DATA.
3207 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3209         * manual/nss.texi (NSS Modules Interface): Adjust function return
3210         type to enum nss_status.  Document errnop argument.  Clarify
3211         h_errnop semantics.  Fix cross-reference formatting.
3212         (NSS Module Function Internals): Mention that *errnop needs to be
3213         set on failure, but not to zero.
3215 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3217         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3218         (get_random_name): New functions.
3219         (check_wrapper_flags_mode): Use linkat to give the new file a name
3220         determined by get_random_name.
3221         (do_test): Add calls to test open64 and openat64.
3223 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3225         * test-skeleton.c: Remove #include <stdarg.h>.
3227 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3229         [BZ #19826]
3230         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3231         initialization of static TLS entries.
3232         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3233         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3235 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3237         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3238         _hurd_malloc_fork_prepare.
3239         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3240         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3241         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3242         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3243         (_hurd_fork_child_hook): Drop malloc_fork_child.
3244         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3245         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3246         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3247         after locking locks (notably hurd_dtable_lock). Call
3248         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3249         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3250         __malloc_fork_unlock_child.
3251         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3253 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3255         * soft-fp/extendhftf2.c: New.
3256         * soft-fp/fixhfti.c: Likewise.
3257         * soft-fp/fixunshfti.c: Likewise.
3258         * soft-fp/floattihf.c: Likewise.
3259         * soft-fp/floatuntihf.c: Likewise.
3260         * soft-fp/half.h: Likewise.
3261         * soft-fp/trunctfhf2.c: Likewise.
3263 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3265         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3266         macro.
3267         * math/libm-test.inc (issubnormal_test_data): New array.
3268         (issubnormal_test): New function.
3269         * manual/arith.texi (Floating Point Classes): Document
3270         issubnormal.
3271         * manual/libm-err-tab.pl: Update comment on interfaces without
3272         ulps tabulated.
3274         * sysdeps/generic/stdint.h: Define
3275         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3276         <bits/libc-header-start.h> instead of including <features.h>.
3277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3280         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3283         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3310         * manual/arith.texi (Integers): Document these macros for types
3311         specified by width properties.
3312         * manual/lang.texi (Width of Type): Document these macros for
3313         other standard typedefs.
3314         * stdlib/tst-width-stdint.c: New file.
3315         * stdlib/Makefile (tests): Add tst-width-stdint.
3317 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3319         [BZ #20016]
3320         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3321         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3322         Move ...
3323         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3324         ... here, as compatibility symbols in a new file.
3325         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3326         * resolv/res_init.c (__res_vinit): Adjust member names.
3327         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3328         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3329         (res_send_rhook): Remove.
3330         (struct __res_state): Rename qhook, rhook members.
3332 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3334         malloc: Use __libc_lock wrappers.
3335         * malloc/arena.c (list_lock, free_list_lock): Define using
3336         __libc_lock_define_initialized.
3337         (arena_lock): Adjust formatting.
3338         * malloc/malloc.c (struct malloc_state): Define mutex using
3339         __libc_lock_define.
3340         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3341         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3342         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3343         (mutex_unlock, mutex_trylock): Remove.
3344         (__pthread_initialize): Remove unused macro.
3345         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3346         (mutex_unlock, mutex_trylock): Remove.
3348 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3350         [BZ #20592]
3351         Remove RR type classification macros.
3352         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3353         (ns_t_udp_p, ns_t_xfr_p): Remove.
3355 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3357         Remove misleading version information.
3358         * resolv/arpa/nameser.h (__NAMESER): Remove.
3359         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3361 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3363         Remove the always-defined BIND_4_COMPAT macro.
3364         * resolv/arpa/nameser.h: Unconditionally include
3365         <arpa/nameser_compat.h>.
3366         (BIND_4_COMPAT): Remove.
3367         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3369 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3371         [BZ #20591]
3372         Remove obsolete DNSSEC support.
3373         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3374         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3375         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3376         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3377         (ns_cert_types): Add comment.
3378         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3379         separately.
3380         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3381         (dst_s_dns_key_id): Remove.
3382         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3383         variables.
3385 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3387         [BZ #20524]
3388         * manual/string.texi (String/Array Comparison): Clarify the
3389         strverscmp behavior.
3391 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3393         * test-skeleton.c (xasprintf): Add function.
3394         * io/tst-open-tmpfile.c: New test.
3395         * io/Makefile (tests): Add it.
3397 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3399         Avoid running $(CXX) during build to obtain header file paths.
3400         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3401         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3402         * Makerules (cstdlib, cmath): Remove variables.  Use
3403         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3404         * configure: Regenerate.
3406 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3408         * Makeconfig (all-object-suffixes): Include .op only if
3409         $(build-profile).
3411 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3413         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3414         conditionals.  Do not define PATH_MAX.
3416 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3418         * posix/Makefile (tests): Add tst-spawn3.
3419         * posix/tst-spawn3.c: New file.
3420         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3421         if it is already opened for open action.
3423         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3424         all signals when executing the clone vfork child.
3425         (SIGALL_SET): Remove macro.
3427         * nptl/Makefile (tests): Add tst-exec5.
3428         * nptl/tst-exec5.c: New file.
3429         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3430         asynchronous cancellation.
3432 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3434         * hurd/exc2signal.c: #include <hurd/signal.h>
3435         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3436         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3437         accordingly.
3438         * mach/mach_error.c (mach_error): Fix old-style function definition.
3439         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3441 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3443         * math/Makefile (libm-calls): Remove s_nanF.
3444         (gen-libm-calls): Add s_nanF.
3446         * math/s_nan.c: Refactor into ...
3447         * math/s_nan_template.c: New file.
3449         * math/s_nanf.c: Removed.
3450         * math/s_nanl.c: Removed.
3451         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3452         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3454         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3455         (LDOUBLE_nanl_libm_version): New macro.
3457         * sysdeps/generic/math-type-macros-double.h:
3458         (M_STRTO_NAN): New macro.
3459         * sysdeps/generic/math-type-macros-float.h: Likewise.
3460         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3462         * sysdeps/generic/math-type-macros.h: Document
3463         M_STRTO_NAN.
3465 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3467         * math/s_nanf.c: Remove __nanf undef.
3468         * math/s_nan.c: Remove __nan undef.
3469         * math/s_nanl.c: Remove __nanl undef.
3471         * sysdeps/generic/math_private.h (__nan): Remove macro
3472         override.
3473         (__nanf): Likewise.
3474         (__nanl): Likewise.
3476 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3478         * math/Makefile (gen-all-calls): New variable.
3479         (generated): Replace gen-libm-calls with gen-all-calls.
3480         (gen-libm-templates.stmp): Likewise.  Also, ensure
3481         the output directory exists or is created and add
3482         dependency on the Makefile.
3483         (calls): Move s_ldexpF into gen-calls.
3484         (gen-calls): New variable.
3486         * math/s_ldexpf.c: Removed.
3487         * math/s_ldexpl.c: Removed.
3488         * math/s_ldexp.c: Refactored into ...
3489         * math/s_ldexp_template.c: New file.
3491         * sysdeps/generic/math-type-macros-double.h: Remove
3492         redundant fall-through definition of declare_mgen_alias.
3493         (declare_mgen_alias_2): New macro.
3495         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3496         New macro for function aliased to two exported symbols.
3498         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3499         new template file.
3500         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3502 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3504         * Makeconfig (all-object-suffixes): Remove .og.
3505         * Makerules (elide-routines.og): Remove.
3506         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3507         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3508         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3510 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3512         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3513         .os objects.
3515 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3517         [BZ #20615]
3518         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3519         fpu directory by non-fpu.
3520         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3521         on non-fpu directory from a fpu directory.
3523 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3525         * include/limits.h: Define
3526         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3527         <bits/libc-header-start.h> instead of including <features.h>.
3528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3535         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3536         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3539         * manual/lang.texi (Width of Type): Document these macros.
3540         * stdlib/tst-width.c: New file.
3541         * stdlib/Makefile (tests): Add tst-width.
3543 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3545         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3546         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3548 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3550         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3551         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3552         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3554 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3556         [BZ #18243]
3557         * rt/Makefile (test): Add tst-shm-cancel.
3558         * rt/tst-shm-cancel.c: New file.
3559         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3561         [BZ #18243]
3562         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3563         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3564         definition.
3565         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3566         uncontended case.
3567         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3568         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3569         (tf): Fix check for uncontended case.
3570         (do_test): Likewise.
3571         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3572         (tf): Fix check for uncontended case.
3573         (do_test): Likewise.
3574         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3575         (tf): Fix check for uncontended case.
3576         (do_test): Likewise.
3577         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3578         (tf): Fix check for uncontended case.
3579         (do_test): Likewise.
3581         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3582         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3584         [BZ #15765]
3585         * nptl/Makefile (tests): Add tst-sem16.
3586         * nptl/tst-sem16.c: New file.
3587         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3589         * nptl/sem_open.c (sem_open): Init pad value to 0.
3590         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3591         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3593 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3595         [BZ #20611]
3596         * inet/Makefile (routines): Add inet6_scopeid_pton.
3597         (tests): Add tst-inet6_scopeid_pton.
3598         * inet/inet6_scopeid_pton.c: New file.
3599         * inet/net-internal.h: Likewise.
3600         * inet/tst-inet6_scopeid_pton.c: New test.
3601         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3602         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3605 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3607         Remove support for compiling wrappers with PTW.
3608         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3609         * nptl/Makefile (pthread-compat-wrappers): Define.
3610         (libpthread-routines): Use pthread-compat-wrappers.
3611         * sysdeps/unix/sysv/linux/alpha/Makefile
3612         (libpthread-routines, libpthread-shared-only-routines): Remove
3613         ptw- prefix.
3614         * sysdeps/s390/nptl/Makefile
3615         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3616         * sysdeps/ia64/nptl/Makefile
3617         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3618         * sysdeps/nacl/Makefile (libpthread-routines): Use
3619         pthread-compat-wrappers to filter the routines list instead of the
3620         ptw- prefix.
3622 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3624         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3625         with L() and remove explicit suffix, convert real literals
3626         which can be equivalentally substituted with integers, and
3627         transform -L(x) to L(-x).
3629         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3630         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3631         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3632         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3633         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3634         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3635         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3636         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3637         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3638         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3639         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3640         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3643         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3646         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3647         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3649         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3650         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3651         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3652         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3654         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3655         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3656         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3657         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3658         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3660         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3664         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3665         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3670         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3672         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3673         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3674         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3676         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3677         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3680 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3682         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3684 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3686         * malloc/Makefile (tests): Remove individual static test names
3687         and just add all of tests-static.
3689         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3691 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3693         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3694         file.
3696         * sysdeps/sparc/fpu/fegetmode.c: New file.
3697         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3699         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3700         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3702         * sysdeps/s390/fpu/fegetmode.c: New file.
3703         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3705         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3706         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3707         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3708         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3709         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3710         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3712         * sysdeps/mips/fpu/fegetmode.c: New file.
3713         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3715         * sysdeps/m68k/fpu/fegetmode.c: New file.
3716         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3718         * sysdeps/ia64/fpu/fegetmode.c: New file.
3719         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3721         * sysdeps/hppa/fpu/fegetmode.c: New file.
3722         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3724         * sysdeps/arm/fegetmode.c: New file.
3725         * sysdeps/arm/fesetmode.c: Likewise.
3727         * sysdeps/alpha/fpu/fegetmode.c: New file.
3728         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3730         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3731         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3733         * math/fegetmode.c: New file.
3734         * math/fesetmode.c: Likewise.
3735         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3736         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3737         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3738         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3739         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3741         declaration.
3742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3743         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3744         typedef.
3745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3746         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3747         (femode_t): New typedef.
3748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3749         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3750         (femode_t): New typedef.
3751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3752         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3753         (femode_t): New typedef.
3754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3755         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3756         (femode_t): New typedef.
3757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3758         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3759         (femode_t): New typedef.
3760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3761         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3762         (femode_t): New typedef.
3763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3764         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3765         (femode_t): New typedef.
3766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3767         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3768         (femode_t): New typedef.
3769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3770         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3771         (femode_t): New typedef.
3772         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3773         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3774         (femode_t): New typedef.
3775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3776         declaration.
3777         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3778         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3779         (femode_t): New typedef.
3780         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3781         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3782         (femode_t): New typedef.
3783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3784         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3785         (femode_t): New typedef.
3786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3787         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3788         (femode_t): New typedef.
3789         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3790         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3791         (femode_t): New typedef.
3792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3793         * manual/arith.texi (FE_DFL_MODE): Document macro.
3794         (fegetmode): Document function.
3795         (fesetmode): Likewise.
3796         * math/Versions (fegetmode): New libm symbol at version
3797         GLIBC_2.25.
3798         (fesetmode): Likewise.
3799         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3800         (tests): Add test-femode and test-femode-traps.
3801         * math/test-femode-traps.c: New file.
3802         * math/test-femode.c: Likewise.
3803         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3804         alias for __fe_dfl_env.
3805         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3806         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3807         (__fe_dfl_mode): Likewise.
3808         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3809         version GLIBC_2.25.
3810         * sysdeps/nacl/libm.abilist: Update.
3811         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3812         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3813         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3814         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3815         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3816         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3817         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3818         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3819         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3820         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3821         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3822         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3824         Likewise.
3825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3826         Likewise.
3827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3828         Likewise.
3829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3830         Likewise.
3831         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3833         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3834         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3835         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3837         Likewise.
3838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3839         Likewise.
3840         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3844 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3846         [BZ #20495]
3847         [BZ #20508]
3848         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3849         processors, set Use_dl_runtime_resolve_slow and set
3850         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3851         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3852         New.
3853         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3854         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3855         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3856         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3857         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3858         if Use_dl_runtime_resolve_opt is set.  Use
3859         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3860         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3861         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3862         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3863         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3864         New.
3865         (_dl_runtime_resolve_opt): Likewise.
3866         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3867         defined.
3869 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3871         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3872         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3874 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3876         Convert malloc to __libc_lock.  Automated part, using this Perl
3877         s/// command:
3878           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3879             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3880         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3881         conversion.
3883 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3885         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3886         (linknamespace-symlists-tests): Likewise.
3887         (linknamespace-header-tests): Likewise.
3889 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3891         [BZ #19810]
3892         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3893         * elf/tst-noload.c: New test case.
3894         * elf/Makefile (tests): Add tst-noload.
3896 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3898         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3900         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3901         not any more.
3903         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3905 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3907         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3908         (do_cos_slow): Likewise.
3909         (do_sin): Likewise.
3910         (do_sin_slow): Likewise.
3911         (slow): Likewise.
3912         (slow1): Likewise.
3913         (slow2): Likewise.
3914         (sloww): Likewise.
3915         (sloww1): Likewise.
3916         (sloww2): Likewise.
3917         (bsloww): Likewise.
3918         (bsloww1): Likewise.
3919         (bsloww2): Likewise.
3920         (cslow2): Likewise.
3922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3924         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3925         arguments.  Consolidate input partitioning from callers here.
3926         (do_cos_slow): Likewise.
3927         (do_sin): Likewise.
3928         (do_sin_slow): Likewise.
3929         (do_sincos_1): Remove the no longer necessary input partitioning.
3930         (do_sincos_2): Likewise.
3931         (__sin): Likewise.
3932         (__cos): Likewise.
3933         (slow1): Likewise.
3934         (slow2): Likewise.
3935         (sloww1): Likewise.
3936         (sloww2): Likewise.
3937         (bsloww1): Likewise.
3938         (bsloww2): Likewise.
3939         (cslow2): Likewise.
3941 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3943         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3944         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3945         outside of allocated array.
3947 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3949         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3950         instead of MB_CUR_MAX to avoid variable-length array.
3952 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3954         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3955         (type-double-routines): Add k_rem_pio2.
3956         (type-float-routines): Add k_rem_pio2f.
3958         * sysdeps/generic/math_private.h:
3959         (__kernel_rem_pio2l): Removed.
3961         * math/k_rem_pio2l.c: Removed.
3962         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3963         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3964         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3965         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3967 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3969         * math/Makefile (gen-libm-calls): Add s_fmin
3970         (libm-calls): Remove above.
3972         * math/s_fmin.c: Refactor into ...
3973         * math/s_fmin_template.c: New file.
3975         * math/s_fminf.c: Removed.
3976         * math/s_fminl.c: Removed.
3977         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3978         (LDOUBLE_fmin_libm_version): New macro.
3980         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3981         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3983 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3985         * math/Makefile: (gen-libm-calls): Add s_fmax.
3986         (libm-calls): Remove above.
3988         * math/s_fmax.c: Refactor into ...
3989         * math/s_fmax_template.c: New file.
3990         * math/s_fmaxf.c: Removed.
3991         * math/s_fmaxl.c: Removed.
3993         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3994         (LDOUBLE_fmaxl_libm_version): New macro.
3996         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3997         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3999         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4000         s_fmin.c to pick the aarch64 version of the file.
4001         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4002         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4004 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4006         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4007         (libm-calls): Remove above.
4009         * math/s_nextdown.c: Refactor into ...
4010         * math/s_nextdown_template.c: New file.
4011         * math/s_nextdownf.c: Removed.
4012         * math/s_nextdownl.c: Removed.
4014         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4016 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4018         * math/Makefile (gen-libm-calls): Add s_fdim.
4019         (libm-calls): Move to above.
4021         * math/s_fdim.c: Renamed and refactored into to ...
4022         * math/s_fdim_template.c: New file.
4023         * math/s_fdiml.c: Removed.
4024         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4025         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4027         * sysdeps/generic/math-type-macros-double.h:
4028         (declare_mgen_alias): Don't declare if already declared.
4029         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4030         Likewise.
4032         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4033         (declare_mgen_alias): Don't declare if already declared.
4034         (M_LIBM_NEED_COMPAT): Likewise.
4035         (declare_mgen_libm_compat): Likewise.
4036         (LDOUBLE_fdiml_libm_version): New macro.
4038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4039         Include math/s_fdim.c now that ldbl-opt version is not needed.
4040         (declare_mgen_alias): New macro to disable aliasing.
4042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4043         (declare_mgen_alias): Likewise.
4044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4045         (declare_mgen_alias): Likewise.
4046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4047         (declare_mgen_alias): Likewise.
4048         (M_LIBM_NEED_COMPAT): Likewise.
4050 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4052         [BZ #20525]
4053         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4054         Include <linux/quota.h>.
4055         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4056         and btodb.
4057         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4058         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4059         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4060         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4061         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4062         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4063         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4064         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4065         types.
4066         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4067         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4069 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4071         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4072         (gammal_positive): Fix spacing.
4073         (__ieee754_gammal_r): Likewise.
4075 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4077         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4078         (_Float128): Define as long double, always.
4079         (L): Apply long double type suffix, always.
4081         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4082         _Float128, excepting comments.
4084         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4085         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4086         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4087         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4088         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4090         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4091         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4092         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4093         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4105         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4107         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4113         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4150         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4154         _Float128, and include math_private.h.
4155         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4158         long double semantics.
4159         (_Float128): Likewise.
4160         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4161         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4163         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4165 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4167         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4168         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4169         * sysdeps/s390/configure: Regenerated.
4170         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4171         instruction for raising over-/underflow if z196 zarch is supported
4172         by default.
4173         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4175 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4177         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4178         it point to a dumb buffer for RPC to fill it.
4180 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4182         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4183         instead of if/else.
4184         (do_sin_slow): Likewise.
4185         (do_sincos_1): Use fabs instead of if/else.
4186         (do_sincos_2): Likewise.
4187         (__sin): Likewise.
4188         (__cos): Likewise.
4189         (slow2): Likewise.
4190         (sloww): Likewise.
4191         (sloww1): Likewise.  Drop argument M.
4192         (sloww2): Use fabs instead of if/else.
4193         (bsloww): Likewise.
4194         (bsloww1): Likewise.
4195         (bsloww2): Likewise.
4197         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4198         fall through comment.
4199         (do_sincos_1): Likewise.
4201         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4202         Consolidate switch cases 0 and 2.
4204 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4206         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4207         (libm-calls): Remove the above.
4209         * math/s_cexp_template.c: Update using type-generic macros.
4210         * math/s_clog10_template.c: Likewise.
4211         * math/s_cpow_template.c: Likewise.
4212         * math/s_clog_template.c: Likewise.
4213         * math/s_cproj_template.c: Likewise.
4214         * math/s_csqrt_template.c: Likewise.
4216         * math/s_cexp.c: Removed.
4217         * math/s_cexpf.c: Removed.
4218         * math/s_cexpl.c: Removed.
4219         * math/s_clog10.c: Removed.
4220         * math/s_clog10f.c: Removed.
4221         * math/s_clog10l.c: Removed.
4222         * math/s_cpow.c: Removed.
4223         * math/s_cpowf.c: Removed.
4224         * math/s_cpowl.c: Removed.
4225         * math/s_clog.c: Removed.
4226         * math/s_clogf.c: Removed.
4227         * math/s_clogl.c: Removed.
4228         * math/s_cproj.c: Removed.
4229         * math/s_cprojf.c: Removed.
4230         * math/s_cprojl.c: Removed.
4231         * math/s_csqrt.c: Removed.
4232         * math/s_csqrtf.c: Removed.
4233         * math/s_csqrtl.c: Removed.
4235         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4236         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4237         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4238         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4239         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4240         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4242         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4243         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4244         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4245         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4246         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4247         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4248         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4249         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4250         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4251         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4252         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4254         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4255         version.
4257         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4258         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4259         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4260         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4262 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4264         * s_cexp_template.c: Copy of s_cexp.c.
4265         * s_clog_template.c: Copy of s_clog.c.
4266         * s_clog10_template.c: Copy of s_clog10.c.
4267         * s_cpow_template.c: Copy of s_cpow.c.
4268         * s_cproj_template.c: Copy of s_cproj.c.
4269         * s_csqrt_template.c: Copy of s_csqrt.c.
4271 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4273         [BZ #20517]
4274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4275         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4276         exported.
4278 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4280         * math/fetestexceptflag.c: New file.
4281         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4282         Stefan Liebler.
4283         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4284         (fetestexceptflag): New function declaration.
4285         * manual/arith.texi (fetestexceptflag): Document function.
4286         * math/Versions (fetestexceptflag): New libm symbol at version
4287         GLIBC_2.25.
4288         * math/Makefile (libm-support): Add fetestexceptflag.
4289         (tests): Add test-fetestexceptflag.
4290         * math/test-fetestexceptflag.c: New file.
4291         * sysdeps/nacl/libm.abilist: Update.
4292         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4293         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4294         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4295         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4296         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4297         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4298         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4299         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4300         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4301         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4302         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4303         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4305         Likewise.
4306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4307         Likewise.
4308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4309         Likewise.
4310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4311         Likewise.
4312         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4314         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4315         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4316         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4318         Likewise.
4319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4320         Likewise.
4321         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4325 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4327         [BZ #20432]
4328         Avoid strong references to malloc-internal symbols when linking
4329         statically, to support statically interposed mallocs.
4330         * include/libc-symbols.h (call_function_static_weak): New macro.
4331         * malloc/Makefile (tests): Add tst-interpose-nothread,
4332         tst-interpose-thread, tst-interpose-static-nothread,
4333         tst-interpose-static-thread.
4334         (tests-static): Add tst-interpose-static-nothread,
4335         tst-interpose-static-thread.
4336         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4337         tst-interpose-aux-thread.o.
4338         (test-extras): Add tst-interpose-aux-nothread,
4339         tst-interpose-aux-thread.
4340         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4341         tst-interpose-aux-nothread.o.
4342         (tst-interpose-thread, tst-interpose-static-thread): Link with
4343         tst-interpose-aux-thread.o and libthread.
4344         * malloc/tst-interpose-aux-nothread.c: New file.
4345         * malloc/tst-interpose-aux-thread.c: Likewise.
4346         * malloc/tst-interpose-aux.c: Likewise.
4347         * malloc/tst-interpose-aux.h: Likewise.
4348         * malloc/tst-interpose-nothread.c: Likewise.
4349         * malloc/tst-interpose-skeleton.c: Likewise.
4350         * malloc/tst-interpose-static-nothread.c: Likewise.
4351         * malloc/tst-interpose-static-thread.c: Likewise.
4352         * malloc/tst-interpose-thread.c: Likewise.
4353         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4354         * sysdeps/mach/hurd/fork.c (__fork): Only call
4355         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4356         __malloc_fork_unlock_child if defined.
4357         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4359 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4361         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4362         timespec C99 designated initialization.
4364 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4366         [BZ #19946]
4367         Avoid expected SIGALRM signals.
4368         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4369         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4370         (xpthread_create, xpthread_detach, xpthread_join)
4371         (delayed_exit_thread, delayed_exit): New functions.
4372         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4373         (tf): Use xpthread_cond_wait.
4374         (do_test): Likewise.  Replace alarm with delayed_exit.
4375         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4376         (do_test): Call delayed_exit.  Report failure.
4377         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4378         (do_test): Call delayed_exit.
4379         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4380         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4381         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4382         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4383         error.
4384         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4385         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4386         error.
4387         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4388         (do_test): Call delayed_exit.
4389         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4390         (do_test): Call delayed_exit.
4391         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4392         (do_test): Call delayed_exit instead of alarm.  Use
4393         xpthread_mutex_lock.
4394         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4395         (do_test): Call delayed_exit instead of alarm.  Use
4396         xpthread_mutex_lock.
4397         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4398         (do_test): Call delayed_exit instead of alarm.
4399         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4400         (do_test): Call delayed_exit instead of alarm.  Use
4401         xpthread_spin_lock.
4402         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4403         (do_test): Call delayed_exit instead of alarm.  Use
4404         xpthread_join.
4406 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4408         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4409         adjust CFA when allocating register save area on re-aligned
4410         stack.
4412 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4414         * string/tst-cmp.c: New test.
4415         * string/Makefile (tests): Add it.
4417 2016-08-25  Mark Wielaard  <mark@klomp.org>
4419         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4420         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4421         (check_tree_recurse): Use newly defined accessors.
4422         (check_tree): Likewise.
4423         (maybe_split_for_insert): Likewise.
4424         (__tfind): Likewise.
4425         (__tdelete): Likewise.
4426         (trecurse): Likewise.
4427         (tdestroy_recurse): Likewise.
4428         (__tsearch): Likewise. And add asserts for malloc alignment.
4429         (__twalk): Cast root to node in case CHECK_TREE is defined.
4431 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4433         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4435 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4437         * math/Makefile (libm-gen-calls): Add
4438         catan, catanh, ctan, ctanh.
4439         (libm-calls): Remove the above.
4441         * math/s_catan_template.c: Update using type-generic macros.
4442         * math/s_catanh_template.c: Likewise.
4443         * math/s_ctan_template.c: Likewise.
4444         * math/s_ctanh_template.c: Likewise.
4446         * math/s_catanf.c: Removed.
4447         * math/s_catan.c: Removed.
4448         * math/s_catanl.c: Removed.
4449         * math/s_catanhf.c: Removed.
4450         * math/s_catanh.c: Removed.
4451         * math/s_catanhl.c: Removed.
4452         * math/s_ctanf.c: Removed.
4453         * math/s_ctan.c: Removed.
4454         * math/s_ctanl.c: Removed.
4455         * math/s_ctanhf.c: Removed.
4456         * math/s_ctanh.c: Removed.
4457         * math/s_ctanhl.c: Removed.
4459         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4460         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4461         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4462         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4463         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4464         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4466         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4467         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4468         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4469         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4471 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4473         * s_catan_template.c: Copy of s_catan.c.
4474         * s_catanh_template.c: Copy of s_catanh.c.
4475         * s_ctan_template.c: Copy of s_ctan.c.
4476         * s_ctanh_template.c: Copy of s_ctanh.c.
4478 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4480         * math/Makefile (gen-libm-calls): Move
4481         casin, casinh, csin, csinh here.
4482         (libm-calls): Remove the above.
4484         * math/s_casin_template.c: Update using type-generic macros.
4485         * math/s_casinh_template.c: Likewise.
4486         * math/s_csin_template.c: Likewise.
4487         * math/s_csinh_template.c: Likewise.
4488         * math/k_casinh_template.c: Likewise.
4490         * math/s_casinf.c: Removed.
4491         * math/s_casin.c: Removed.
4492         * math/s_casinl.c: Removed.
4493         * math/s_casinh.c: Removed.
4494         * math/s_casinhf.c: Removed.
4495         * math/s_casinhl.c: Removed.
4496         * math/s_csin.c: Removed.
4497         * math/s_csinf.c: Removed.
4498         * math/s_csinl.c: Removed.
4499         * math/s_csinh.c: Removed.
4500         * math/s_csinhf.c: Removed.
4501         * math/s_csinhl.c: Removed.
4502         * math/k_casinh.c: Removed.
4503         * math/k_casinhf.c: Removed.
4504         * math/k_casinhl.c: Removed.
4506         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4507         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4508         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4509         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4511         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4512         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4513         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4514         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4515         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4516         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4517         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4518         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4520         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4521         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4522         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4523         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4525         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4526         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4527         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4528         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4530 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4532         * s_casin_template.c: Copy of s_casin.c.
4533         * s_casinh_template.c: Copy of s_casinh.c.
4534         * s_csin_template.c: Copy of s_csin.c.
4535         * s_csinh_template.c: Copy of s_csinh.c.
4536         * k_casinh_template.c: Copy of k_casinh.c.
4538 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4540         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4542 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4544         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4545         (mul_split) Remove, rename as mul_splitl, remove
4546         redundant float.h include, and include via mul_splitl.h
4548         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4550         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4551         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4552         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4554         * math/mul_splitl.h: New file.
4556         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4557         Move into mul_split.h, and remove redundant float.h include.
4559         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4560         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4561         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4562         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4564         * math/mul_split.h: New file.
4566 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4568         * math/Makefile (libm-gen-calls): Move
4569         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4570         (libm-calls): Remove above.
4572         * math/s_cacos_template.c: Update using type-generic macros.
4573         * math/s_cacosh_template.c: Likewise.
4574         * math/s_ccos_template.c: Likewise.
4575         * math/s_ccosh_template.c: Likwise.
4577         * math/s_cacosf.c: Removed.
4578         * math/s_cacos.c: Removed.
4579         * math/s_cacosl.c: Removed.
4580         * math/s_cacoshf.c: Removed.
4581         * math/s_cacosh.c: Removed.
4582         * math/s_cacoshl.c: Removed.
4583         * math/s_ccosf.c: Removed.
4584         * math/s_ccos.c: Removed.
4585         * math/s_ccosl.c: Removed.
4586         * math/s_ccoshf.c: Removed.
4587         * math/s_ccosh.c: Removed.
4588         * math/s_ccoshl.c: Removed.
4590         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4591         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4592         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4593         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4594         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4595         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4597         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4598         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4599         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4600         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4602         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4603         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4604         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4605         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4607 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4609         * s_cacos_template.c: Copy of s_cacos.c.
4610         * s_cacosh_template.c: Copy of s_cacosh.c.
4611         * s_ccos_template.c: Copy of s_ccos.c.
4612         * s_ccosh_template.c: Copy of s_ccosh.c.
4614 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4616         * stdlib/tst-strtod-round-skeleton.c:
4617         Refactored from tst-strtod-round.c.
4619         (L_): New macro to apply literal modifier.
4620         (FNPFX): New macro to select str or wcs prefix.
4621         (CHAR): New macro to choose wchar_t or char.
4622         (STRM): New macro to choose printf for tested character type.
4624         (STRTO): New macro to choose appropriate string -> real function.
4625         (FNPFXS): Stringitized version of FNPFX.
4626         (STR): Support for above macro.
4627         (STRX): Likewise.
4629         (TEST): Update with above macros.
4630         (test): Likewise.
4631         (GEN_ONE_TEST): Likewise.
4632         (test_in_one_mode): Likewise.
4634         * stdlib/tst-strtod-round.c: New file.
4635         * wcsmbs/tst-wcstod-round.c: New file.
4637         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4638         (tst-wcstod-round): Add libm depencency for fesetround.
4640 2016-08-19  Zack Weinberg  <zackw@panix.com>
4642         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4644 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4646         [BZ #20477]
4647         * resolv/res_hconf.c (do_init): Use atomic access.
4648         * resolv/res_hconf.h: Add comments.
4649         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4650         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4653 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4655         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4656         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4657         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4658         Likewise.
4660 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4662         [BZ #16907]
4663         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4664         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4665         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4666         (__attribute__): Remove definition.
4668 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4670         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4671         Remove unused sqrtl declaration.
4673 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4675         * math/Makefile: (gen-libm-templates.stmp): New rule.
4676         (libm-calls): Move carg conj cimag and cabs into ...
4677         (gen-libm-calls): New variable.
4678         (generated): Inform Make objects from gen-libm-calls
4679         may be generated.
4681         * sysdeps/generic/math-type-macros.h: New file.
4682         * sysdeps/generic/math-type-macros-float.h: Likewise.
4683         * sysdeps/generic/math-type-macros-double.h: Likewise.
4684         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4685         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4686         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4688         * math/cabs.c: Refactor into
4689         * math/cabs_template.c: new file.
4690         * math/cabsf.c: Removed.
4691         * math/cabsl.c: Removed.
4692         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4693         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4695         * math/carg.c: Refactor into
4696         * math/carg_template.c: new file.
4697         * math/cargf.c: Removed.
4698         * math/cargl.c: Removed.
4699         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4700         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4702         * math/conj.c: Refactor into
4703         * math/conj_template.c: new file.
4704         * math/conjf.c: Removed.
4705         * math/conjl.c: Removed.
4706         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4707         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4709         * math/cimag.c: Refactor into
4710         * math/cimag_template.c: new file.
4711         * math/cimagf.c: Removed.
4712         * math/cimagl.c: Removed.
4713         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4714         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4716         * math/cimag.c: Refactor into
4717         * math/cimag_template.c: new file.
4718         * math/cimagf.c: Removed.
4719         * math/cimagl.c: Removed.
4720         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4721         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4723 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4725         Reduce time to expected nptl/tst-once5 failure.
4726         * nptl/tst-once5.cc (TIMEOUT): Define.
4728 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4730         [BZ #20452]
4731         Avoid additional copies of objects in libc.a in static libraries.
4732         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4733         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4734         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4735         rt-sysdep.
4736         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4737         Add nptl-sysdep.
4738         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4739         Add ptw-sysdep.
4740         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4741         rt-sysdep.
4742         * sysdeps/unix/sysv/linux/alpha/Makefile
4743         (libpthread-shared-only-routines): Add ptw-sysdep,
4744         ptw-sigprocmask, ptw-rt_sigaction.
4745         * sysdeps/unix/sysv/linux/ia64/Makefile
4746         (librt-shared-only-routines): Add rt-sysdep.
4747         * sysdeps/unix/sysv/linux/i386/Makefile
4748         (libpthread-shared-only-routines): Add libc-do-syscall.
4749         * sysdeps/unix/sysv/linux/microblaze/Makefile
4750         (libpthread-shared-only-routines): Add sysdep.
4751         * sysdeps/unix/sysv/linux/powerpc/Makefile
4752         (librt-shared-only-routines): Add rt-sysdep.
4753         (libpthread-shared-only-routines): Add sysdep.
4754         * sysdeps/unix/sysv/linux/s390/Makefile
4755         (librt-shared-only-routines): Add rt-sysdep.
4756         * sysdeps/unix/sysv/linux/sparc/Makefile
4757         (librt-shared-only-routines): Add rt-sysdep.
4758         (libpthread-shared-only-routines): Add sysdep.
4759         * sysdeps/unix/sysv/linux/tile/Makefile
4760         (libpthread-shared-only-routines): Likewise.
4762 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4764         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4765         Mask implicit bit out of unpacked value.
4766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4767         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4770         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4772         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4774         * sysdeps/s390/fpu/fesetexcept.c: New file.
4776         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4777         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4778         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4780         * sysdeps/mips/fpu/fesetexcept.c: New file.
4782         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4784         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4786         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4788         * sysdeps/arm/fesetexcept.c: New file.
4790         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4792         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4794         * math/fesetexcept.c: New file.
4795         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4796         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4797         * math/fenv.h: Define
4798         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4799         <bits/libc-header-start.h> instead of including <features.h>.
4800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4801         declaration.
4802         * manual/arith.texi (fesetexcept): Document function.
4803         * math/Versions (fesetexcept): New libm symbol at version
4804         GLIBC_2.25.
4805         * math/Makefile (libm-support): Add fesetexcept.
4806         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4807         * math/test-fesetexcept.c: New file.
4808         * math/test-fesetexcept-traps.c: Likewise.
4809         * sysdeps/nacl/libm.abilist: Update.
4810         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4825         Likewise.
4826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4827         Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4832         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4834         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4843 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4845         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4846         New.
4847         (do_test): Apply default_stack_size_in_mb if not set.
4848         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4850 2016-08-15  Andreas Schwab  <schwab@suse.de>
4852         [BZ #20435]
4853         CVE-2016-6323
4854         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4855         as .cantunwind.
4857 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4859         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4860         comment from fraiseexcpt.c.
4862         * math/test-fexcept.c (feraiseexcept_exact): New function.
4863         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4864         (test_except): Likewise.
4866 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4868         [BZ #20455]
4869         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4870         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4871         to be restored.
4873         * math/test-fexcept-traps.c: New file.
4874         * math/test-fexcept.c: Likewise.
4875         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4876         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4877         macro.
4878         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4879         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4881 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4883         * include/atomic.h (atomic_fetch_and_relaxed,
4884         atomic_fetch_and_release, atomic_fetch_or_release,
4885         atomic_fetch_xor_release): New.
4887 2016-08-06  Christian Seiler  <christian@iwakd.de>
4889         [BZ #20444]
4890         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4891         MACH_PORT_NULL.
4893 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4895         * math/s_fdim.c: Avoid alias renamed.
4896         * math/s_fdimf.c: Likewise.
4897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4898         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4899         Add s_fdimf-vis3, s_fdim-vis3.
4900         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4901         (CFLAGS-s_fdim-vis3.c): Likewise.
4902         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4903         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4905 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4908         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4909         Remove s_fdimf-vis3, s_fdim-vis3.
4910         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4911         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4918         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4919         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4921 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4923         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4924         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4925         -Wa,-Av9a -mvis.
4927 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4929         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4930         LIT() to individual constants in simple expressions
4931         after splitting on spaces.
4932         (_apply_lit): Rename replaced version, and use it to
4933         apply to what appears to be a token.
4935         * math/libm-test.inc: Fix many, many issues with
4936         spacing.
4938 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4940         * math/math.h: Move comment about <bits/mathdef.h> definitions
4941         above inclusion of <bits/mathdef.h>.  Do not mention
4942         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4944 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4946         * include/atomic.h (atomic_exchange_relaxed): New.
4948 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4950         * math/e_scalb.c: Do not include <fenv.h>.
4951         (invalid_fn): Do calculation resulting in NaN instead of raising
4952         FE_INVALID and returning a NaN explicitly.
4953         * math/e_scalbf.c: Do not include <fenv.h>.
4954         (invalid_fn): Do calculation resulting in NaN instead of raising
4955         FE_INVALID and returning a NaN explicitly.
4956         * math/e_scalbl.c: Do not include <fenv.h>.
4957         (invalid_fn): Do calculation resulting in NaN instead of raising
4958         FE_INVALID and returning a NaN explicitly.
4960 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4962         * po/de.po: Updated from Translation Project.
4963         * po/fi.po: Likewise.
4964         * po/sv.po: Likewise.
4966 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4968         [BZ #20452]
4969         Use sysdep.o from libc.a in static libraries.
4970         * sysdeps/unix/sysv/linux/i386/Makefile
4971         (libpthread-shared-only-routines): Add sysdep.
4972         (librt-shared-only-routines): Likewise.
4974 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4976         * math/tgmath.h (nextdown): Define if
4977         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4978         (nextup): Likewise.
4980         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4981         macro.
4982         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4983         Document.
4984         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4985         Document macro.
4986         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4987         (exp10f): Likewise.
4988         (exp10l): Likewise.
4989         * math/bits/mathcalls.h (exp10): Declare if
4990         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4992         * manual/arith.texi (nextup): Fix typo in last change.
4994 2016-08-03  Zack Weinberg  <zackw@panix.com>
4996         [BZ #19239]
4997         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4998         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4999         define major, minor, and makedev to issue deprecation warnings on use.
5000         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5001         previously-activated deprecation warnings for these macros and prevent
5002         subsequent inclusions of this header from having any effect.
5003         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5004         including <sys/sysmacros.h>, and undefine it again afterward.
5006 2016-08-03  Zack Weinberg  <zackw@panix.com>
5008         * sysdeps/generic/sys/sysmacros.h: Delete file.
5009         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5010         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5011         * bits/sysmacros.h: ... here; this encoding is now the generic
5012         encoding.  Now defines only the following macros:
5013         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5014         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5015         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5017         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5018         bits/sysmacros.h and the above new macros to generate the
5019         public implementations of major, minor, and makedev.
5020         * misc/tst-makedev.c: New test.
5021         * include/sys/sysmacros.h: New wrapper.
5023         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5024         (routines): Add makedev.
5025         (tests): Add tst-makedev.
5026         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5027         gnu_dev_makedev.
5028         * posix/Makefile (headers): Remove sys/sysmacros.h.
5029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5031         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5032         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5033         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5034         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5035         * sysdeps/unix/sysv/linux/arm/libc.abilist
5036         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5037         * sysdeps/unix/sysv/linux/i386/libc.abilist
5038         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5040         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5041         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5042         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5043         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5044         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5046         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5051         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5052         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5053         * sysdeps/unix/sysv/linux/sh/libc.abilist
5054         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5059         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5060         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5061         Add GLIBC_2.25.
5063         * include/features.h (__glibc_clang_prereq): New macro.
5064         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5065         (__attribute_deprecated_msg__): New macros.
5067 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5069         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5070         macro.
5071         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5072         * manual/arith.texi (issignaling): Document as ISO from TS
5073         18661-1:2014.
5074         (nextup): Likewise.
5075         (nextupf): Likewise.
5076         (nextupl): Likewise.
5077         (nextdown): Likewise.
5078         (nextdownf): Likewise.
5079         (nextdownl): Likewise.
5080         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5081         macro.
5082         * math/math.h: Define
5083         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5084         <bits/libc-header-start.h> instead of including <features.h>.
5085         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5086         [__USE_GNU].
5087         * math/bits/mathcalls.h (nextdown): Declare if
5088         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5089         (nextup): Likewise.
5090         (__issignaling): Likewise.
5092 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5094         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5095         check, and remove __glibc_likely hint
5096         from FP_INFINITE check.
5097         * s_csinhf.c (__csinhf): Likewise.
5099         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5100         hint from FP_INFINITE check.
5101         * s_csinhl.c (__csinhl): Likewise.
5103 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5105         * math/Makefile (libm-calls): Insert F placeholder into
5106         object names.  Move w_lgamma_compat* routines into
5107         (libm-compat-calls): New variable.
5108         (libm-compat-calls-ldouble-yes): New variable.
5109         (calls): Insert F placeholder.
5110         (generated): Redefine using new type-foreach macro call.
5111         (routines): Likewise.
5113         (types): New variable to hold a list of symbolic names
5114         for each type supported by the target machine.
5115         (libm-routines): Redefine using new types variable.
5116         (type-foreach): macro to replace fooF with the
5117         appropriately suffixed foo for each types.
5119         (type-ldouble-suffix): New variable.
5120         (type-ldouble-routines): Likewise.
5121         (type-ldouble-yes): Likewise.
5122         (type-double-suffix): Likewise.
5123         (type-double-routines): Likewise.
5124         (type-float-suffix): Likewise.
5125         (type-float-routines): Likewise.
5127         (dbl-only-routines): Remove.
5128         (long-c-yes): Likewise.
5129         (long-m-routines): Likewise.
5130         (long-m-support): Likewise.
5131         (long-m-yes): Likewise.
5132         (test-longdouble-yes): Likewise.
5134         (test-float.o): Simplify by increasing the scope of the
5135         recipe which adds libm-test.stmp to the vector types.
5136         (test-ifloat.o): Likewise.
5137         (test-float-finite.o): Likewise.
5138         (test-double.o): Likewise
5139         (test-idouble.o): Likewise.
5140         (test-double-finite.o): Likewise.
5141         (test-ldouble.o): Likewise
5142         (test-ildoubl.o): Likewise.
5143         (test-ldouble-finite.o): Likewise.
5145         (libm-tests): Redefine type tests using foreach and the
5146         list of types in types.
5148         (CPPFLAGS-test-ildoubl.c): Rename to
5149         (CPPFLAGS-test-ildouble.c): New variable
5151         * math/test-ildoubl.c: Rename to
5152         * math/test-ildouble.c: New file.
5154 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5156         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5157         Use fabsl instead of fabs.
5158         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5159         Likewise.
5160         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5161         Add long double suffix to constant to ensure proper
5162         promotion to long double.
5164 2016-08-03  Tom Tromey  <tom@tromey.com>
5166         [BZ #20311]
5167         * nptl_db/Makefile (headers): Add proc_service.h.
5168         * nptl_db/proc_service.h: Add include guard.  Use
5169         __BEGIN/__END_DECLS.
5170         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5171         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5172         arguments.
5175 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5177         [BZ #17730]
5178         Avoid using memalign for TCB allocations.
5179         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5180         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5181         Avoid alignment gap in the TLS_DTV_AT_TP case.
5182         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5183         determine the pointer to free.
5184         * nptl/tst-tls3-malloc.c: New test.
5185         * nptl/Makefile (tests): Add it.
5186         (tst-tls3-malloc): Link with libdl, libpthread.
5187         (LDFLAGS-tst-tls3-malloc): Set.
5188         (tst-tls3-malloc.out): Depend on DSO used in test.
5190 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5192         [BZ #17730]
5193         Avoid using memalign for TLS allocations.
5194         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5195         is_static member with to_free member.
5196         (union dtv): Use struct dtv_pointer.
5197         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5198         dtv_pointer instead of is_static.
5199         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5200         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5201         instead of val.
5202         (allocate_dtv_entry): New function.
5203         (allocate_and_init): Return struct dtv_pointer.  Call
5204         allocate_dtv_entry instead of __libc_memalign.
5205         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5206         instead of val.
5207         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5208         instead of is_static.  Adjust call to allocate_and_init.
5209         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5210         struct dtv_pointer instead of val.
5212 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5214         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5215         (MALLOC_ALIGN_MASK): Move ...
5216         * malloc/malloc-internal.h: ... to here.
5217         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5219 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5221         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5222         (UDP_ENCAP_GTP1U): Likewise.
5224         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5225         (PF_MAX): Update value.
5226         (AF_QIPCRTR): New macro.
5228 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5230         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5231         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5232         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5234         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5235         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5236         s_truncf-vis3, s_trunc-vis3.
5237         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5238         (CFLAGS-s_ceil-vis3.c): Likewise.
5239         (CFLAGS-s_floorf-vis3.c): Likewise.
5240         (CFLAGS-s_floor-vis3.c): Likewise.
5241         (CFLAGS-s_truncf-vis3.c): Likewise.
5242         (CFLAGS-s_trunc-vis3.c): Likewise.
5243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5244         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5245         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5247         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5251         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5252         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5253         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5254         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5256 2016-08-02  David S. Miller  <davem@davemloft.net>
5258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5259         (__nearbyint_vis3): Don't check for sNaN before float register is
5260         loaded with the incoming argument.
5261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5262         (__nearbyintf_vis3): Likewise.
5263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5264         Likewise.
5265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5266         Likewise.
5268         * string/test-strncmp.c (do_test_limit): Make sure the test data
5269         stream is aligned as required for the type "CHAR".
5270         (do_test): Likewise.
5272 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5274         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5275         by beq instructions jumping to the end of the function.
5276         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5277         clobber list. Use "i" constraint instead of "X".
5278         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5279         of "X".
5281 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5283         * bits/libc-header-start.h: New file.
5284         * Makefile (headers): Add bits/libc-header-start.h.
5285         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5286         (__GLIBC_USE): New macro.
5287         * libio/stdio.h: Define
5288         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5289         <bits/libc-header-start.h> instead of including <features.h>.
5290         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5291         (open_memstream): Likewise.
5292         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5293         (__asprintf): Likewise.
5294         (asprintf): Likewise.
5295         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5296         (getdelim): Likewise.
5297         (getline): Likewise.
5298         * string/string.h: Define
5299         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5300         <bits/libc-header-start.h> instead of including <features.h>.
5301         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5302         (strndup): Likewise.
5303         * wcsmbs/wchar.h: Define
5304         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5305         <bits/libc-header-start.h> instead of including <features.h>.
5306         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5307         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5309 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5311         Support linking against compatibility symbols, for use in tests.
5312         * include/libc-symbols.h (symbol_version_reference): New macro.
5313         (symbol_version): Use it.
5314         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5315         (compat_symbol): Use compat_symbol_reference.
5316         (compat_symbol_1, compat_symbol_2): Remove.
5317         (compat_symbol_reference, compat_symbol_reference_1)
5318         (compat_symbol_reference_2): New macro.  Use
5319         symbol_version_reference.
5321 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5323         [BZ #19469]
5324         * malloc/Makefile (CPPFLAGS): Compile tests with
5325         -DTEST_NO_MALLOPT.
5326         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5328 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5330         [BZ #20033]
5331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5332         finite version.
5333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5334         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5335         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5336         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5337         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5338         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5339         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5346         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5350         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5351         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5352         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5353         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5354         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5355         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5356         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5357         in zero power.
5359 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5361         [BZ #20370]
5362         * malloc/arena.c (get_free_list): Update comment.  Assert that
5363         arenas on the free list have no attached threads.
5364         (remove_from_free_list): New function.
5365         (reused_arena): Call it.
5367 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5369         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5370         when it is a NaN.
5371         [_IEEE_FP_INEXACT] Remove.
5372         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5373         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5374         when it is a NaN.
5375         [_IEEE_FP_INEXACT] Remove.
5376         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5377         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5378         when it is a NaN.
5379         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5380         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5381         when its absolute value is greater than 0x1.0p52.
5382         [_IEEE_FP_INEXACT] Remove.
5383         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5384         when its absolute value is greater than 0x1.0p23.
5385         [_IEEE_FP_INEXACT] Remove.
5387 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5389         * version.h (RELEASE): Set to "development"
5390         (VERSION): Set to 2.24.90.
5391         * NEWS: Add 2.25 section.
5393         * version.h (RELEASE): Set to "stable"
5394         (VERSION): Set to 2.24.
5395         * include/features.h (__GLIBC_MINOR__): Set to 24.
5397         * NEWS: Add 2.24 fixed bugs.
5398         * po/libc.pot: Regenerate.
5400 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5403         [$(subdir) = math] (libm-sysdep_routines): Remove.
5404         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5405         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5406         s_truncf-vis3, s_trunc-vis3.
5407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5409         file.
5410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5443         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5444         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5445         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5446         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5449         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5450         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5451         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5452         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5454 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5456         [BZ #20384]
5457         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5458         test-double-libmvec-sincos-avx-main.o,
5459         test-double-libmvec-sincos-avx2-main.o,
5460         test-double-libmvec-sincos-main.o,
5461         test-float-libmvec-sincosf-avx-main.o,
5462         test-float-libmvec-sincosf-avx2-main.o and
5463         test-float-libmvec-sincosf-main.o.
5464         test-float-libmvec-sincosf-avx512-main.o.
5465         ($(objpfx)test-double-libmvec-sincos): Also link with
5466         $(objpfx)test-double-libmvec-sincos-main.o.
5467         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5468         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5469         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5470         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5471         ($(objpfx)test-float-libmvec-sincosf): Also link with
5472         $(objpfx)test-float-libmvec-sincosf-main.o.
5473         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5474         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5475         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5476         test-double-libmvec-sincos-avx512-main.o and
5477         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5478         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5479         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5480         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5481         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5482         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5483         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5484         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5485         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5486         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5487         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5488         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5489         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5490         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5491         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5492         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5493         -DREQUIRE_AVX2.
5494         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5495         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5496         -DREQUIRE_AVX512F.
5497         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5498         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5499         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5500         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5501         file.
5502         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5503         Likewise.
5504         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5505         Likewise.
5506         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5507         Likewise.
5508         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5509         Likewise.
5510         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5511         Likewise.
5512         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5513         Likewise.
5514         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5515         Likewise.
5517 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5519         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5521 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5523         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5524         and typo in a comment about AT_HWCAP entry.
5526 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5528         * sysdeps/aarch64/libm-test-ulps: Updated.
5530 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5532         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5533         of r13 as it is not restored in mvcle case.
5535 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5537         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5538         Rename "ret" to "__ret".
5539         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5540         inline_syscall5, inline_syscall6): Likewise.
5542 2016-07-19   Will Newton  <will.newton@gmail.com>
5544         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5545         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5546         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5547         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5548         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5550 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5552         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5553         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5554         -mfpmath=387 with $(rtld-CFLAGS).
5555         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5556         $(rtld-CFLAGS).
5558 2016-07-18   Ross Burton  <ross.burton@intel.com>
5559              Khem Raj  <raj.khem@gmail.com>
5561         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5562         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5563         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5564         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5565         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5566         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5567         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5568         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5569         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5570         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5571         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5572         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5573         R_METAG_TLS_DTPOFF): New.
5575 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5576             Matt Clay  <mclay@lycos.com>
5578         [BZ #20357]
5579         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5580         to call __mpsin/__mpcos and to negate values.
5581         * math/auto-libm-test-in: Add test.
5582         * math/auto-libm-test-out: Regenerate.
5584 2016-07-18  Zack Weinberg  <zackw@panix.com>
5586         * grp/Makefile: Don't install the internal header grp-merge.h.
5588 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5590         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5592 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5594         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5596 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5598         [BZ #15368]
5599         * sysdeps/unix/sysv/linux/nptl-signals.h
5600         (__nptl_clear_internal_signals): New function.
5601         (__libc_signal_block_all): Likewise.
5602         (__libc_signal_block_app): Likewise.
5603         (__libc_signal_restore_set): Likewise.
5604         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5605         implementation.
5606         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5607         the cached pid/tid value in pthread structure.
5609 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5611         [BZ #20347]
5612         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5614 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5616         [BZ #20348]
5617         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5618         preadv64, pwrite64 and pwritev64.
5620 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5622         [BZ #20350]
5623         * posix/tst-preadwrite.c: Renamed to ...
5624         * posix/tst-preadwrite-common.c: This.
5625         (PREAD): Removed.
5626         (PWRITE): Likewise.
5627         (STRINGIFY): Likewise.
5628         (STRINGIFY2): Likewise.
5629         (do_prepare): Make it static and remove function arguments.
5630         (do_test): Likewise.
5631         (PREPARE): Updated.
5632         (TEST_FUNCTION): New.
5633         (name): Make it static.
5634         (fd): Likewise.
5635         (do_prepare): Use create_temp_file.
5636         (do_test): Renamed to ...
5637         (do_test_with_offset): This.  Make it static and accept offset.
5638         Properly check return value of PWRITE and PREAD.  Return bytes
5639         read.  Don't close fd nor unlink name.
5640         * posix/tst-preadwrite.c: Rewrite.
5641         * posix/tst-preadwrite64.c: Likewise.
5643 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5645         [BZ #20309]
5646         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5647         -mtls-dialect=gnu2 works.
5648         * configure: Regenerated.
5649         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5650         (tests): Add tst-gnu2-tls1.
5651         (modules-names): Add tst-gnu2-tls1mod.
5652         ($(objpfx)tst-gnu2-tls1): New.
5653         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5654         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5655         * elf/tst-gnu2-tls1.c: New file.
5656         * elf/tst-gnu2-tls1mod.c: Likewise.
5657         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5658         bytes for push in the PLT entry to align the stack.
5660 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5662         [BZ #20349]
5663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5665 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5667         [BZ #18707]
5668         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5669         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5671 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5673         * sysdeps/unix/sysv/linux/sysdep.h
5674         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5675         guards.
5676         * misc/tst-preadvwritev-common.c: New file.
5677         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5678         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5679         a check for files larger than 2GB.
5681         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5682         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5683         * sysdeps/unix/sysv/linux/pread.c
5684         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5685         __OFF_T_MATCHES_OFF64_T.
5686         * sysdeps/unix/sysv/linux/pread64.c
5687         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5688         * sysdeps/unix/sysv/linux/preadv.c
5689         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5690         * sysdeps/unix/sysv/linux/preadv64.c
5691         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5692         * sysdeps/unix/sysv/linux/pwrite.c
5693         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5694         * sysdeps/unix/sysv/linux/pwrite64.c
5695         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5696         * sysdeps/unix/sysv/linux/pwritev.c
5697         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5698         * sysdeps/unix/sysv/linux/pwritev64.c
5699         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5701 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5703         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5704         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5706 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5708         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5710 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5712         [BZ #20240]
5713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5714         (CFLAGS-s_modf-ppc32.c): New variable.
5715         (CFLAGS-s_modff-ppc32.c): Likewise.
5716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5717         (CFLAGS-s_modf-ppc64.c): Likewise.
5718         (CFLAGS-s_modff-ppc64.c): Likewise.
5720 2016-07-07  Andreas Schwab  <schwab@suse.de>
5722         [BZ #20263]
5723         * nptl/tst-robust10.c: New test.
5724         * nptl/Makefile (tests): Add tst-robust10.
5726 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5728         [BZ #20263]
5729         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5731 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5733         * sysdeps/s390/linkmap.h (struct link_map_machine):
5734         Remove member gotplt and add member jmprel.
5735         * sysdeps/s390/s390-32/dl-machine.h
5736         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5737         instead of gotplt with &got[3].
5738         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5739         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5741 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5743         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5745 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5747         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5748         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5749         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5750         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5751         * libio/vtables.c (_IO_vtable_check)
5752         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5753         * libio/libioP.h (IO_set_accept_foreign_vtables)
5754         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5756 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5758         [BZ #20314]
5759         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5760         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5761         $(common-objpfx)cmath.
5762         ($(common-objpfx)cstdlib): New target.
5763         ($(common-objpfx)cmath): Likewise.
5765 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5767         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5769 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5771         [BZ #20327]
5772         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5773         are not part of the string.
5775 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5777         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5778         * nptl/tst-cancel4-common.h (fifoname): New variable.
5779         (fifofd): Likewise.
5780         (cl_fifo): New function.
5781         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5782         SIGINT.
5783         (tf_open): Add early cancel test.
5785 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5787         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5789 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5791         * sysdeps/generic/ldsodefs.h
5792         (dl_symbol_visibility_binds_local_p): New inline function.
5793         * elf/dl-addr.c (determine_info): Treat hidden and internal
5794         symbols as local.
5795         * elf/dl-lookup.c (do_lookup_x): Likewise.
5796         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5798 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5800         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5801         invalid exception for a sNaN input.
5802         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5803         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5804         (__nearbyint_vis3): Likewise
5805         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5806         (__nearbyintf_vis3): Likewise
5807         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5808         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5809         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5810         Likewise.
5811         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5812         Likewise.
5814 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5816         [BZ #20139]
5817         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5818         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5819         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5820         2.24 or above.
5821         (HAVE_AVX512_ASM_SUPPORT): Removed.
5822         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5823         * sysdeps/x86_64/configure: Regenerated.
5824         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5825         check unconditional.
5826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5827         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5828         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5829         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5830         Likewise.
5831         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5832         Likewise.
5833         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5834         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5835         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5837         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5838         Likewise.
5839         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5840         Likewise.
5841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5844         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5846         Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5848         Likewise.
5849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5850         Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5852         Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5854         Likewise.
5855         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5856         Likewise.
5857         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5858         Likewise.
5859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5860         Likewise.
5861         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5862         Likewise.
5863         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5864         Likewise.
5865         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5866         Likewise.
5868 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5870         [BZ #20024]
5871         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5872         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5873         of this implementation of vector function.
5874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5876         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5877         Likewise.
5878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5879         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5880         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5881         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5882         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5883         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5884         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5885         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5886         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5887         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5889         for testing vector sincos with fixed ABI.
5890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5891         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5892         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5893         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5894         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5895         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5896         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5897         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5898         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5899         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5900         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5902         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5903         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5904         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5905         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5907 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5909         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5911 2016-06-30  Anton Blanchard  <anton@samba.org>
5913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5914         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5915         s_sinf-ppc64.
5916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5919         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5921 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5925         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5926         e_expf-ppc64.
5927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5929         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5930         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5932 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5934         [BZ #20277]
5935         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5936         when SHARED is defined.
5938 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5940         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5941         (index_arch_Prefer_ERMS): Likewise.
5942         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5943         __memcpy_erms for Prefer_ERMS.
5944         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5945         (__memmove_erms): Enabled for libc.a.
5946         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5947         __memmove_erms or Prefer_ERMS.
5948         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5949         __mempcpy_erms for Prefer_ERMS.
5950         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5951         __memset_erms for Prefer_ERMS.
5953 2016-06-30  Andreas Schwab  <schwab@suse.de>
5955         [BZ #20262]
5956         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5957         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5958         of memory.
5960 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5962         [BZ #18645]
5963         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5964         (test-extras): Add tst-cleanupx4aux.
5965         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5966         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5967         tst-cleanupx4aux.o.
5968         * nptl/tst-cleanupx4aux.c: New file.
5970 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5972         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5974 2016-06-29  Andreas Schwab  <schwab@suse.de>
5976         [BZ #20260]
5977         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5978         address before the beginning of the string as an integer to avoid
5979         array-bounds warning.
5981 2016-06-28  Richard Henderson  <rth@redhat.com>
5983         * elf/elf.h (EM_BPF): New.
5984         (EM_NUM): Update.
5985         (R_BPF_NONE, R_BPF_MAP_FD): New.
5987         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5988         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5989         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5990         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5991         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5992         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5993         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5994         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5995         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5996         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5997         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5998         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5999         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6000         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6001         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6002         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6003         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6004         (EM_NUM): Update.
6006 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6008         [BZ #18960]
6009         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6010         Set _nl_current_LC_CATEGORY_used to two instead of one.
6012 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6014         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6015         (do_test): ... this.
6016         (TEST_FUNCTION): New macro.
6017          Include test-skeleton.c.
6018         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6019         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6021 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #15479]
6024         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6025         floating-point environment rather than just control word.
6026         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6027         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6028         floating-point environment, with "invalid" exceptions merged in,
6029         rather than just control word.
6030         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6031         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6032         "inexact" exceptions.
6034         [BZ #15479]
6035         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6036         floating-point environment rather than just control word.
6037         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6038         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6039         floating-point environment, with "invalid" exceptions merged in,
6040         rather than just control word.
6041         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6042         * math/libm-test.inc (floor_test_data): Do not allow spurious
6043         "inexact" exceptions.
6045         [BZ #15479]
6046         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6047         floating-point environment rather than just control word.
6048         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6049         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6050         floating-point environment, with "invalid" exceptions merged in,
6051         rather than just control word.
6052         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6053         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6054         "inexact" exceptions.
6056 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6058         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6059         __libc_vfork.
6060         (__vfork) [IS_IN (libc)]: Remove alias.
6061         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6062         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6063         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6065 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6067         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6068         of atomic_compare_and_exchange_bool_rel.
6069         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6070         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6071         catomic_compare_and_exchange_bool_rel): Remove.
6072         * sysdeps/aarch64/atomic-machine.h
6073         (atomic_compare_and_exchange_bool_rel): Likewise.
6074         * sysdeps/alpha/atomic-machine.h
6075         (atomic_compare_and_exchange_bool_rel): Likewise.
6076         * sysdeps/arm/atomic-machine.h
6077         (atomic_compare_and_exchange_bool_rel): Likewise.
6078         * sysdeps/mips/atomic-machine.h
6079         (atomic_compare_and_exchange_bool_rel): Likewise.
6080         * sysdeps/microblaze/atomic-machine.h
6081         ( __arch_compare_and_exchange_bool_8_rel,
6082         __arch_compare_and_exchange_bool_16_rel): Likewise.
6083         * sysdeps/powerpc/atomic-machine.h
6084         ( __arch_compare_and_exchange_bool_8_rel,
6085         __arch_compare_and_exchange_bool_16_rel): Likewise.
6086         * sysdeps/powerpc/powerpc32/atomic-machine.h
6087         ( __arch_compare_and_exchange_bool_32_rel,
6088         __arch_compare_and_exchange_bool_64_rel): Likewise.
6089         * sysdeps/powerpc/powerpc64/atomic-machine.h
6090         ( __arch_compare_and_exchange_bool_32_rel,
6091         __arch_compare_and_exchange_bool_64_rel): Likewise.
6092         * sysdeps/tile/atomic-machine.h
6093         (atomic_compare_and_exchange_bool_rel): Likewise.
6095 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6097         [BZ #20296]
6098         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6099         when either argument is a NaN.
6100         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6101         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6103         * math/libm-test.inc (snan_value_ld): New macro.
6104         (isgreater_test_data): Add sNaN tests.
6105         (isgreaterequal_test_data): Likewise.
6106         (isless_test_data): Likewise.
6107         (islessequal_test_data): Likewise.
6108         (islessgreater_test_data): Likewise.
6109         (isunordered_test_data): Likewise.
6110         (nextafter_test_data): Likewise.
6111         (nexttoward_test_data): Likewise.
6112         (remainder_test_data): Likewise.
6113         (remquo_test_data): Likewise.
6114         (significand_test_data): Likewise.
6115         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6117 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6119         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6120         environment macros are defined.
6121         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6123 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6125         [BZ #20191]
6126         Implement vtable verification in libio.
6127         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6128         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6129         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6130         _IO_new_file_init_internal instead of _IO_file_init.
6131         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6132         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6133         * libio/Makefile (routines): Add vtables.
6134         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6135         (_IO_init): Remove, not for internal use.
6136         (_IO_init_internal): Declare, internal replacement for _IO_init.
6137         (_IO_file_init): Remove, not for internal use.
6138         (_IO_new_file_init): Remove, not for internal use.
6139         (_IO_new_file_init_internal): Declare, internal replacement for
6140         _IO_new_file_init.
6141         (_IO_old_file_init): Remove, not for internal use.
6142         (_IO_old_file_init_internal): Declare, internal replacement for
6143         _IO_old_file_init.
6144         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6145         internal use.
6146         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6147         Declare.
6148         (libio_vtable): New macro.
6149         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6150         functions.
6151         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6152         _IO_new_file_init.
6153         (_IO_new_file_init): New externally visible wrapper which disables
6154         vtable verification.
6155         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6156         Define as vtables.
6157         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6158         (_IO_init): New externally visible wrapper which disables
6159         vtable verification.
6160         * libio/iofdopen.c (_IO_new_fdopen): Call
6161         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6162         comment.
6163         * libio/iofopen.c (__fopen_internal): Call
6164         _IO_new_file_init_internal instead of _IO_file_init.
6165         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6166         Define as vtables.
6167         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6168         _IO_new_file_init_internal instead of _IO_file_init.
6169         * libio/iopopen.c (_IO_new_popen): Likewise.
6170         (_IO_proc_jumps): Define as vtable.
6171         * libio/iovdprintf.c (_IO_vdprintf): Call
6172         _IO_new_file_init_internal instead of _IO_file_init.
6173         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6174         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6175         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6176         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6177         _IO_old_file_init.
6178         (_IO_old_file_init): New externally visible wrapper which disables
6179         vtable verification.
6180         (_IO_old_file_jumps): Define as vtable.
6181         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6182         _IO_old_file_init_internal instead of _IO_old_file_init.
6183         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6184         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6185         (_IO_old_proc_jumps): Define as vtable.
6186         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6187         Define as vtables.
6188         * libio/vtables.c: New file.
6189         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6190         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6191         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6192         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6193         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6194         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6195         instead of _IO_init.
6197 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6199         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6201 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6203         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6204         potentially unused.
6206 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6208         * test-skeleton.c (write_message): New function.
6209         * malloc/tst-mallocfork2.c (write_message): Remove.
6210         * debug/tst-longjmp_chk2.c (write_indented): New function.
6211         (write_message): Remove.
6212         (stackoverflow_handler): Call write_indented.
6214 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6216         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6217         "inexact" exceptions after fnstenv.
6218         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6219         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6220         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6222 2015-06-22  Zack Weinberg  <zackw@panix.com>
6224         * sysdeps/generic/bits/hwcap.h: Moved to ...
6225         * bits/hwcap.h: Here.
6227 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6229         * sysdeps/aarch64/memcpy.S (memcpy):
6230         Further tuning for performance.
6232 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6234         [BZ #20284]
6235         * malloc/arena.c (reused_arena): Do not return NULL if we start
6236         out with a non-corrupted arena.
6238 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6240         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6241         * misc/tst-preadvwritev.c: New file.
6242         * misc/tst-preadvwritev64.c: Likewise.
6243         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6244         usage.
6245         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6246         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6247         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6248         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6250 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6252         [BZ #19654]
6253         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6254         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6255         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6256         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6257         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6258         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6259         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6260         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6261         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6262         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6263         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6264         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6265         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6266         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6267         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6268         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6269         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6270         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6271         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6272         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6273         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6274         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6275         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6276         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6277         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6278         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6280 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6282         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6283         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6285 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6287         * sysdeps/aarch64/memcpy.S (memcpy):
6288         Rewrite of optimized memcpy and memmove.
6289         * sysdeps/aarch64/memmove.S (memmove): Remove
6290         memmove code (merged into memcpy.S).
6292 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6294         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6295         * sysdeps/generic/dl-dtv.h: New file.
6296         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6297         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6298         (dtv_t): Remove.
6299         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6300         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6301         (dtv_t): Remove.
6302         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6303         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6304         (dtv_t): Remove.
6305         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6306         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6307         (dtv_t): Remove.
6308         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6309         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6310         (dtv_t): Remove.
6311         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6312         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6313         (dtv_t): Remove.
6314         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6315         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6316         (dtv_t): Remove.
6317         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6318         (dtv_t): Remove.
6319         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6320         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6321         (dtv_t): Remove.
6322         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6323         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6324         (dtv_t): Remove.
6325         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6326         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6327         (dtv_t): Remove.
6328         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6329         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6330         (dtv_t): Remove.
6331         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6332         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6333         (dtv_t): Remove.
6334         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6335         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6336         (dtv_t): Remove.
6337         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6338         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6339         (dtv_t): Remove.
6340         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6341         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6342         (dtv_t): Remove.
6344 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6346         Revert symbol poisoning of  __malloc_initialize_hook.
6347         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6348         poisoning.
6349         * malloc/Makefile: Remove un-poisoning.
6350         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6351         instead of old__malloc_initialize_hook.
6352         * malloc/malloc-hooks.h: Likewise.
6353         * malloc/malloc.c: Likewise.
6354         * malloc/mcheck-init.c: Likewise.
6356 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6358         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6360 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6362         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6363         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6364         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6365         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6367 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6369         * NEWS: Mention addition of nextup and nextdown.
6370         * manual/arith.texi: Document nextup and nextdown.
6371         * manual/libm-err-tab.pl: Add nextup and nextdown.
6372         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6373         * math/Versions (libm): Add GLIBC_2.24.
6374         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6375         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6376         Add new test.
6377         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6378         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6379         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6380         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6381         (nextup_test_data): Likewise.
6382         (nextdown_test_data): Likewise.
6383         * math/s_nextdown.c: New file.
6384         * math/s_nextdownf.c: Likewise.
6385         * math/s_nextdownl.c: Likewise.
6386         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6387         F(nextup): New function.
6388         F(nextdown): Likewise.
6389         * math/tgmath.h: Add nextup and nextdown.
6390         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6391         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6392         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6394         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6395         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6396         Add nextup and nextdown.
6397         (CFLAGS-nldbl-nextup.c): New variable.
6398         (CFLAGS-nldbl-nextdown.c): Likewise.
6399         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6400         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6401         * sysdeps/nacl/libm.abilist: Update.
6402         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6406         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6407         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6408         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6409         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6411         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6412         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6413         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6416         Likewise.
6417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6426         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6431 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6433         * manual/pattern.texi: Fix typos & grammar errors.
6435 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6437         * manual/search.texi: Fix typos & grammar errors.
6439 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6441         * manual/message.texi: Fix typos & grammar errors.
6443 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6445         * manual/contrib.texi: Fix spelling typos.
6446         * manual/crypt.texi: Likewise.
6447         * manual/filesys.texi: Likewise.
6448         * manual/locale.texi: Likewise.
6449         * manual/message.texi: Likewise.
6450         * manual/nss.texi: Likewise.
6451         * manual/string.texi: Likewise.
6453 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6455         * manual/locale.texi: Fix typos & grammar errors.
6457 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6459         * manual/charset.texi: Fix typos & grammar errors.
6461 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6463         * manual/string.texi: Fix typos.
6465 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6467         * manual/ctype.texi: Fix typos.
6469 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6471         * manual/memory.texi: Fix various typos & grammar errors.
6473 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #20255]
6476         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6477         * math/libm-test.inc (fdim_test_data): Add another test.
6479         [BZ #6796]
6480         [BZ #20255]
6481         [BZ #20256]
6482         * math/s_fdim.c: Include <math_private.h>.
6483         (__fdim): Use math_narrow_eval on result.
6484         * math/s_fdimf.c: Include <math_private.h>.
6485         (__fdimf): Use math_narrow_eval on result.
6486         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6487         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6488         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6489         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6490         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6491         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6492         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6493         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6494         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6495         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6496         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6497         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6498         overflow.  Add sNaN tests.
6500         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6501         fpclassify.
6502         * math/s_fdimf.c (__fdimf): Likewise.
6503         * math/s_fdiml.c (__fdiml): Likewise.
6505 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6507         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6508         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6510         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6511         ifunc'ed strcasecmp/strncasecmp.
6512         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6513         [EALIGN]: Removed.
6514         [END]: Likewise.
6515         [__strcasecmp]: Define instead of the above to control symbol name.
6516         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6517         for __strcasecmp_power8.
6518         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6519         for __strncasecmp_power8.
6520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6522         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6523         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6524         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6525         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6527 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6529         [BZ #20252]
6530         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6531         arguments when second argument is a NaN.
6532         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6533         qNaN tests.
6535         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6536         (conj_test_data): Likewise.
6537         (copysign_test_data): Likewise.
6538         (creal_test_data): Likewise.
6539         (fma_test_data): Likewise.
6540         (fmod_test_data): Likewise.
6542         [BZ #20250]
6543         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6544         itself.
6545         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6546         zero input to itself.
6547         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6548         Likewise.
6549         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6550         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6551         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6552         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6553         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6555 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6557         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6558         * nptl/tst-cancel4-common.c: New file.
6559         * nptl/tst-cancel4-common.h: Likewise.
6560         * nptl/tst-cancel4.c: Move common definitions to
6561         tst-cancel4-common.{c,h} file.
6562         * nptl/tst-cancel4_1.c: New test.
6563         * nptl/tst-cancel4_2.c: New test.
6565 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6567         [BZ #20248]
6568         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6569         (write_message): New function.
6570         (stackoverflow_handler): Call it instead of printf, to avoid
6571         excessive stack usage by printf.
6572         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6574 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6576         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6577         (prio_inherit_missing): Remove define.
6578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6579         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6581         Likewise.
6582         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6583         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6584         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6585         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6586         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6587         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6589 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6591         [BZ #19670]
6592         [BZ #19672]
6594         * io/test-lfs.c (do_prepare): Use xmalloc.
6595         * io/tst-fcntl.c (do_prepare): Likewise.
6596         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6597         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6598         * login/tst-utmp.c (do_prepare): Likewise.
6599         * posix/tst-exec.c (do_prepare): Likewise.
6600         * posix/tst-pathconf.c (prepare): Likewise.
6601         * posix/tst-spawn.c (do_prepare): Likewise.
6602         * posix/tst-truncate.c (do_prepare): Likewise.
6603         * rt/tst-aio.c (do_prepare): Likewise.
6604         * rt/tst-aio64.c (do_prepare): Likewise.
6606 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6608         [BZ #20237]
6609         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6610         (get*ent): Set entidx to NULL during initialization.  If entidx is
6611         NULL, start iteration from the beginning.
6613 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6615         * malloc/malloc.c (musable): Return correct size for dumped fake
6616         mmapped chunk.
6618 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6620         [BZ #20222]
6621         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6622         (_IO_cookie_write): Likewise.
6623         (_IO_cookie_seek): Likewise.
6624         (_IO_cookie_close): Likewise.
6625         (_IO_old_cookie_seek): Likewise.
6626         (set_callbacks): New function.
6627         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6629 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6631         * locale/programs/localedef.c (oldstyle_tables): Remove.
6632         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6634 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6636         [BZ #20240]
6637         * math/Makefile (CFLAGS-s_modf.c): New variable.
6638         (CFLAGS-s_modff.c): Likewise.
6639         (CFLAGS-s_modfl.c): Likewise.
6640         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6642 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6644         [BZ #20215]
6645         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6646         [!__GNUC_PREREQ (3,2)]: Likewise.
6648 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6650         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6651         (msghdr.msg_controllen): Likewise.
6652         (cmsghdr.cmsg_len): Likewise.
6653         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6654         ptw-oldsendmsg.
6655         (CFLAGS-oldrecvmsg.c): Remove rule.
6656         (CFLAGS-oldsendmsg.c): Likewise.
6657         (CFLAGS-recvmsg.c): Add rule.
6658         (CFLAGS-sendmsg.c): Likewise.
6659         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6660         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6661         (CFLAGS-recvmsg.c): Remove rule.
6662         (CFLAGS-sendmsg.c): Likewise.
6663         (CFLAGS-oldrecvmsg.c): Likewise.
6664         (CFLAGS-oldsendmsg.c): Likewise.
6665         (CFLAGS-recvmmsg.c): Likewise.
6666         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6667         to kernel defined interfaces.
6668         (msghdr.msg_controllen): Likewise.
6669         (cmsghdr.cmsg_len): Likewise.
6670         (msghdr.__glibc_reserved1): Remove member.
6671         (msghdr.__glibc_reserved2): Likewise.
6672         (cmsghdr.__glibc_reserved1): Likewise.
6673         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6674         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6675         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6676         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6677         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6678         version.
6679         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6680         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6681         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6682         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6683         Remove recvmsg and sendmsg.
6684         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6685         Likewise.
6686         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6689         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6690         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6691         Likewise.
6692         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6693         Likewise.
6694         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6695         [libc] (GLIBC_2.24): Likewise.
6696         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6697         Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6699         Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6701         [libc] (GLIBC_2.24): Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6703         Likewise.
6704         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6705         Likewise.
6706         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6707         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6708         Likewise.
6709         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6712         Likewise.
6713         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6716         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6717         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6718         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6719         version for {recv,send,recm,sendm}msg.
6720         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6721         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6722         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6723         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6724         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6725         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6726         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6727         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6730         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6731         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6733         Likewise.
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6738         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6739         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6740         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6741         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6742         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6743         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6746         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6747         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6748         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6750 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6752         [BZ #19564]
6753         Remove __malloc_initialize_hook from the API.
6754         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6755         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6756         #pragma GCC poison.
6757         * malloc/malloc-hooks.h: New file.
6758         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6759         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6760         (old__malloc_initialize_hook): Rename from
6761         __malloc_initialize_hook to evade poisoning.  Turn into compat
6762         symbol.
6763         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6764         __malloc_initialize_hook.
6765         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6766         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6767         * manual/memory.texi (Hooks for Malloc): Remove
6768         __malloc_initialize_hook.  Adjust hook example.
6770 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #20235]
6773         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6774         itself.
6775         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6776         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6778         [BZ #20234]
6779         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6780         infinity or NaN input to itself.
6782         [BZ #20233]
6783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6784         to itself.
6786         [BZ #20232]
6787         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6788         itself.
6790 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6792         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6793         __libc_start_main via GOT.
6795 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6797         * sysdeps/x86_64/memcopy.h: New file.
6798         * sysdeps/x86_64/wordcopy.c: Likewise.
6800 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6802         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6803         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6804         <cstdlib>.
6805         (optimization_barrier): New.
6806         (do_test): Use it.  Call quick_exit in the global namespace.
6807         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6808         instead of <cstdlib>, <thread>.
6809         (optimization_barrier): New.
6810         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6811         Call quick_exit in the global namespace.
6812         (do_test): Call optimization_barrier.  Use pthread_create,
6813         pthread_join instead of std::thread.
6815 2016-06-09  Andreas Schwab  <schwab@suse.de>
6817         [BZ #19755]
6818         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6819         new entries in auto-propagate mode.
6820         * nscd/grpcache.c (cache_addgr): Likewise.
6822 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6824         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6825         New functions.
6826         (add_temp_file): Use them.
6828 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6830         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6832 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6834         [BZ #20229]
6835         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6836         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6837         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6839         [BZ #20228]
6840         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6841         itself.
6842         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6843         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6845         [BZ #20227]
6846         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6847         itself.
6848         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6849         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6850         * math/libm-test.inc (log_test_data): Add sNaN tests.
6852         [BZ #20226]
6853         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6854         itself.
6855         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6856         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6857         (exp10_test_data): Likewise.
6858         (expm1_test_data): Likewise.
6860         [BZ #20225]
6861         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6862         itself.
6863         * math/s_ldexpf.c (__ldexpf): Likewise.
6864         * math/s_ldexpl.c (__ldexpl): Likewise.
6865         * math/w_scalbln.c (__w_scalbln): Likewise.
6866         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6867         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6868         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6869         (scalbln_test_data): Likewise.
6871         [BZ #20224]
6872         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6873         argument to itself.
6874         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6876 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6878         [BZ #19776]
6879         * sysdeps/x86_64/memcpy.S: Make it dummy.
6880         * sysdeps/x86_64/mempcpy.S: Likewise.
6881         * sysdeps/x86_64/memmove.S: New file.
6882         * sysdeps/x86_64/memmove_chk.S: Likewise.
6883         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6884         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6885         * sysdeps/x86_64/memmove.c: Removed.
6886         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6887         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6888         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6889         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6890         Likewise.
6891         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6892         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6894         memcpy-sse2-unaligned, memmove-avx-unaligned,
6895         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6897         (__libc_ifunc_impl_list): Replace
6898         __memmove_chk_avx512_unaligned_2 with
6899         __memmove_chk_avx512_unaligned.  Remove
6900         __memmove_chk_avx_unaligned_2.  Replace
6901         __memmove_chk_sse2_unaligned_2 with
6902         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6903         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6904         with __memmove_avx512_unaligned.  Replace
6905         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6906         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6907         with __memcpy_chk_avx512_unaligned.  Remove
6908         __memcpy_chk_avx_unaligned_2.  Replace
6909         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6910         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6911         Replace __memcpy_avx512_unaligned_2 with
6912         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6913         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6914         with __mempcpy_chk_avx512_unaligned.  Remove
6915         __mempcpy_chk_avx_unaligned_2.  Replace
6916         __mempcpy_chk_sse2_unaligned_2 with
6917         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6918         Replace __mempcpy_avx512_unaligned_2 with
6919         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6920         Replace __mempcpy_sse2_unaligned_2 with
6921         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6922         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6923         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6924         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6925         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6926         (ENTRY): Removed.
6927         (END): Likewise.
6928         (ENTRY_CHK): Likewise.
6929         (libc_hidden_builtin_def): Likewise.
6930         Don't include ../memcpy.S.
6931         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6932         __memcpy_chk_avx512_unaligned_erms and
6933         __memcpy_chk_avx512_unaligned.  Use
6934         __memcpy_chk_avx_unaligned_erms and
6935         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6936         Default to __memcpy_chk_sse2_unaligned.
6937         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6938         Change function suffix from unaligned_2 to unaligned.
6939         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6940         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6941         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6942         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6943         (ENTRY): Removed.
6944         (END): Likewise.
6945         (ENTRY_CHK): Likewise.
6946         (libc_hidden_builtin_def): Likewise.
6947         Don't include ../mempcpy.S.
6948         (mempcpy): New.  Add a weak alias.
6949         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6950         __mempcpy_chk_avx512_unaligned_erms and
6951         __mempcpy_chk_avx512_unaligned.  Use
6952         __mempcpy_chk_avx_unaligned_erms and
6953         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6954         Default to __mempcpy_chk_sse2_unaligned.
6956 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6958         [BZ #19881]
6959         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6960         into ...
6961         * sysdeps/x86_64/memset.S: This.
6962         (__bzero): Removed.
6963         (__memset_tail): Likewise.
6964         (__memset_chk): Likewise.
6965         (memset): Likewise.
6966         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6967         defined.
6968         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6969         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6970         (__memset_zero_constant_len_parameter): Check SHARED instead of
6971         PIC.
6972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6973         memset-avx2 and memset-sse2-unaligned-erms.
6974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6975         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6976         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6977         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6978         (__bzero): Enabled.
6979         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6980         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6981         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6982         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6983         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6984         (memset): Removed.
6985         (__memset_chk): Likewise.
6986         (MEMSET_SYMBOL): New.
6987         (libc_hidden_builtin_def): Replace __memset_sse2 with
6988         __memset_sse2_unaligned.
6989         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6990         __memset_chk_sse2 and __memset_chk_avx2 with
6991         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6992         Use __memset_chk_sse2_unaligned_erms or
6993         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6994         __memset_chk_avx512_unaligned_erms and
6995         __memset_chk_avx512_unaligned.
6997 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6999         * math/gen-auto-libm-test.c (fp_format_desc): remove
7000         suffix member.
7001         (output_generic_value): Remove usage of suffix member,
7002         and the resulting unuse of the fp_format argument.
7003         (output_for_one_input_case): Remove unused fp_format
7004         parameter.
7006         * math/auto-libm-test-out: Regenerate.
7008         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7009         usage with TEST_COND_ibm128.
7010         (TEST_COND_flt_32): Remove.
7011         (TEST_COND_dbl_64): Remove.
7012         (TEST_COND_ldbl_96_intel): Remove.
7013         (TEST_COND_ldbl_96_m68k): Remove.
7014         (TEST_COND_ldbl_128): Remove.
7016 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7018         * auto-libm-test-in:
7019         Replace flt-32 usage with binary32.
7020         Replace dbl-64 usage with binary64.
7021         Replace ldbl-intel-96 usage with intel96.
7022         Replace ldbl-m68k-96 usage with m68k96.
7023         Replace ldbl-128ibm usage with ibm128.
7024         Replace ldbl-128 usage with binary128.
7026         * auto-libm-test-out: Regenerate.
7028 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7030         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7031         (parse_ulps): Dynamically generate type name matching
7032         string from all_floats.
7033         (get_ulps): Generate the ulps as an array instead.
7034         (output_ulps): Dynamically compose the type based
7035         on the number of supported formats, and print
7036         the indices as type specific helper macros.
7038         * math/libm-test.inc: Remove comment about CHOOSE.
7039         (ulp_data): Generate the type in libm-test-ulps.h.
7040         (ULP_IDX): New macro.
7041         (find_ulps): Update usage of max_ulp.
7043         * math/test-double-vlen2.h (CHOOSE): Remove.
7044         * math/test-double-vlen4.h (CHOOSE): Likewise.
7045         * math/test-double-vlen8.h (CHOOSE): Likewise.
7046         * math/test-float.c (CHOOSE): Likewise.
7047         * math/test-float-finite.c (CHOOSE): Likewise.
7048         * math/test-double.c (CHOOSE): Likewise.
7049         * math/test-double-finite.c (CHOOSE): Likewise.
7050         * math/test-idouble.c (CHOOSE): Likewise.
7051         * math/test-ifloat.c (CHOOSE): Likewise.
7052         * math/test-ildoubl.c (CHOOSE): Likewise.
7053         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7054         * math/test-ldouble.c (CHOOSE): Likewise.
7056         * math/test-float.h (TEST_FLOAT): Remove.
7057         * math/test-double.h (TEST_DOUBLE): Likewise.
7058         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7060 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7062         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7063         (parse_args): Strip C suffix from floating point literals
7064         typed with 'f' and wrap them with LIT().
7066         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7067         (test_ff_f_data_nexttoward): Rename to
7068         (test_fj_f_data): New struct.
7069         (nexttoward_test_data): Relabel tests as
7070         TEST_fj_f instead of TEST_ff_f.
7072 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7074         Emacs bug 23726.
7075         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7076         (__libc_realloc): Correct size computation for dumped fake mmapped
7077         chunks.
7079 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #20219]
7082         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7083         to itself.
7084         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7086         [BZ #20218]
7087         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7088         to itself.
7089         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7091 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7093         [BZ #20195]
7094         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7095         check to ...
7096         (init_cpu_features): Here.
7098 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7100         [BZ #20214]
7101         * sysdeps/unix/sysv/linux/bits/in.h
7102         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7103          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7104         Define to 1.
7105         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7106          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7107         Define to 0.
7108         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7109         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7111 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7113         [BZ #20198]
7114         * stdlib/Makefile (tests): Add tst-quick_exit, and
7115         tst-thread-quick_exit.
7116         [ifeq ($(have-cxx-thread_local),yes)]
7117         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7118         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7119         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7120         (LDLIBS-tst-thread-quick_exit): Likewise.
7121         [ifneq ($(have-cxx-thread_local),yes)]
7122         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7123         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7124         If run_dtors is true call __call_tls_dtors.
7125         (exit): Call __run_exit_handlers with run_dtors set to true.
7126         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7127         definition.
7128         * stdlib/quick_exit.c (quick_exit): Remove function.
7129         (__new_quick_exit): New function.
7130         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7131         function.
7132         * stdlib/tst-quick_exit.cc: New file.
7133         * stdlib/tst-thread-quick_exit.cc: New file.
7134         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7135         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7136         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7137         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7138         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7139         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7140         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7141         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7142         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7143         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7144         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7145         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7146         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7147         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7148         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7149         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7154         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7155         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7156         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7157         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7161         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7162         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7165 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7167         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7168         a typo in comments.
7170 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7172         [BZ #20213]
7173         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7174         argument to itself.
7175         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7177 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7179         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7180         required flags.
7181         (CFLAGS-pwritev64.c): Likewise.
7182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7184         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7185         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7186         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7187         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7188         syscall from auto-generation.
7189         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7190         [WORDSIZE == 64] (pwritev64): Remove macro.
7191         [!PWRITEV] (PWRITEV): Likewise.
7192         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7193         [!PWRITEV] (PWRITE): Likewise.
7194         [!PWRITEV] (OFF_T): Likewise.
7195         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7196         (LO_HI_LONG): Remove macro.
7197         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7198         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7199         (PWRITEV): Remove macro.
7200         (PWRITEV_REPLACEMENTE): Likewise.
7201         (PWRITE): Likewise.
7202         (OFF_T): Likewise.
7203         (pwritev64): New function.
7204         * nptl/tst-cancel4.c (tf_writev): Add test.
7206         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7207         required flags.
7208         (CFLAGS-preadv64.c): Likewise.
7209         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7210         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7211         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7212         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7213         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7214         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7215         syscall from auto-generation.
7216         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7217         [WORDSIZE == 64] (preadv64): Remove macro.
7218         [!PREADV] (PREADV): Likewise.
7219         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7220         [!PREADV] (PREAD): Likewise.
7221         [!PREADV] (OFF_T): Likewise.
7222         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7223         (LO_HI_LONG): Remove macro.
7224         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7225         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7226         (PREADV): Remove macro.
7227         (PREADV_REPLACEMENTE): Likewise.
7228         (PREAD): Likewise.
7229         (OFF_T): Likewise.
7230         (preadv64): New function.
7231         * nptl/tst-cancel4.c (tf_preadv): Add test.
7233 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7235         [BZ #20212]
7236         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7237         argument to itself.
7238         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7240 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7242         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7243         New symbol defined as libc_hidden_def.
7244         (strcasestr): Became a weak alias to __strcasestr.
7245         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7246         according to multi-arch support.  Move __stpncpy hidden
7247         definition from here to...
7248         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7249         symbol stpncpy.
7250         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7251         libc_hidden_builtin_def.
7252         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7253         memset symbol to use when multi-arch support is available.
7255 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7257         * dlfcn/tst-rec-dlopen.c: Include string.h.
7259 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7261         * manual/install.texi: Remove mention of --without-tls
7262         * INSTALL: Regenerate.
7264 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7266         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7267         Remove.
7268         (call_function, interposed_malloc_called): New variables.
7269         (malloc): New function.
7270         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7271         and clear call_function as needed.
7273 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7275         * include/wchar.h (__wmemset): Use __typeof.
7277 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7279         * include/wchar.h (__wmemset): Declare function without typeof.
7281 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7283         [BZ #20205]
7284         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7285         exponent when incrementing negative subnormal with low mantissa
7286         word zero.
7287         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7288         Add another test.
7290 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7292         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7293         __wmemset instead of wmemset.
7295 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7297         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7298         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7299         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7300         __USE_KERNEL_IPV6_DEFS to 0.
7301         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7302         Update comment.
7304 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7306         [BZ #19861]
7307         Do not use IFUNC resolver with potentially unrelocated symbol.
7308         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7309         (DEFINE_FORK): Remove macro and inline definition.
7310         (fork_alias): Renamed from fork_ifunc.
7311         (__fork_alias): Renamed from __fork_ifunc.
7313 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7315         [BZ 19653]
7316         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7317         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7319 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7321         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7322         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7323         i386-linux-gnu).
7324         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7325         Set to no.
7326         * sysdeps/mach/hurd/configure: Refresh.
7328 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7330         [BZ #20178]
7331         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7332         on failure instead of exit.
7334 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7336         [BZ #3629]
7337         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7338         of POSIX.1-2008.
7340 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7342         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7343           Use PLT entry for calling _hurd_self_sigstate.
7345 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7347         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7348         available logical processors with SMT level type sharing L2
7349         cache for Intel processors.
7351 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7353         [BZ #20160]
7354         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7355         argument to itself before returning the result.
7356         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7357         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7358         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7360         Likewise.
7361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7362         Likewise.
7363         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7364         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7365         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7366         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7367         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7368         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7370         [BZ #20160]
7371         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7372         argument to itself before returning the result.
7373         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7374         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7375         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7376         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7377         Likewise.
7378         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7379         Likewise.
7380         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7381         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7382         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7383         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7384         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7385         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7387 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7389         * libm-test.inc: Replace usage of M_El with
7390         (lit_e): New macro.
7392 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7394         * libm-test.inc: Replace usage of M_PI_4l with
7395         (lit_pi_4_d): New macro.
7397 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7399         * libm-test.inc: Replace usage of M_PIl with
7400         (lit_pi): New macro.
7402 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7404         * libm-test.inc: Replace usage of M_PI2l with
7405         (lit_pi_2_d): New macro.
7407         * math/test-double.h (LITM): New macro.
7408         * math/test-float.h (LITM): Likewise.
7409         * math/test-ldouble.h (LITM): Likewise.
7411 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7413         * libm-test.inc (M_PI_34l): Rename to
7414         (lit_pi_3_m_4_d): New Macro.
7415         (M_PI_34_LOG10El): Rename to
7416         (lit_pi_3_m_4_ln10_m_d): New Macro.
7417         (M_PI2_LOG10El): Rename to
7418         (lit_pi_2_ln10_m_d):  New Macro.
7419         (M_PI4_LOG10El): Rename to
7420         (lit_pi_4_ln10_m_d):  New Macro.
7421         (M_PI_LOG10El): Rename to
7422         (lit_pi_ln10_d):  New Macro.
7424 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #20157]
7427         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7428         determine whether to negate low half if [_ARCH_PPCGR], and integer
7429         comparison otherwise.
7430         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7431         determine whether to negate low half.
7433         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7434         (NO_TEST_INLINE_DOUBLE): Likewise.
7435         (TEST_COND_x86_64): Likewise.
7436         (TEST_COND_x86): Likewise.
7437         (M_PI_6l): Likewise.
7439 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7441         * math/libm-test.inc:
7442         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7443         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7444         (TEST_LDOUBLE): Update usage to evaluate as true if
7445         the guarded tests match the property being tested.
7446         (LDBL_MAX_EXP): Change to MAX_EXP.
7447         (LDBL_MIN_EXP): Change to MIN_EXP.
7448         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7449         nexttoward tests.
7451 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7453         * math/libm-test.inc:
7454         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7455         (TYPE_MIN): Likewise.
7456         (TYPE_TRUE_MIN): Likewise.
7457         (TYPE_MAX): Likewise.
7458         (MIN_EXP): Likewise.
7459         (MAX_EXP): Likewise.
7460         (MANT_DIG): Likewise.
7462         (FSTR_MAX): New macro.
7463         (__CONCATX): Likewise.
7464         (QTYPE_STR): Likewise.
7465         (TEST_COND_binary32): Likewise.
7466         (TEST_COND_binary64): Likewise.
7467         (TEST_COND_binary128): Likewise.
7468         (TEST_COND_ibm128): Likewise.
7469         (TEST_COND_intel96): Likewise.
7470         (TEST_COND_m68k96): Likewise.
7472         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7473         (TEST_COND_dbl_64): Likewise.
7474         (TEST_COND_ldbl_96_intel): Likewise.
7475         (TEST_COND_ldbl_96_m68k): Likewise.
7476         (TEST_COND_ldbl_128): Likewise.
7477         (TEST_COND_ldbl_128ibm): Likewise.
7479         (plus_zero): Redefine using LIT macro.
7480         (minus_zero): Likewise.
7481         (plus_infty): Redefine as (INF).
7482         (minux_infty): Redefine as (-INF).
7483         (max_value): Redefine as TYPE_MAX.
7484         (min_value): Redefine as TYPE_MIN.
7485         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7487         (print_float): Refactor to use snprintf to convert FLOAT values
7488         to string. This brings it closer to dropin replacement of strtof
7489         for the TS 18661 defined types.
7490         (update_stats): Likewise.
7491         (print_complex_function_ulps): Likewise.
7492         (print_max_error): Likewise.
7493         (print_complex_max_error): Likewise.
7494         (check_float_internal): Likewise.
7496         * math/test-float.h (PREFIX): New macro.
7497         (LIT): Likewise.
7498         (TYPE_STR): Likewise.
7499         (FTOSTR): Likewise.
7501         * math/test-double.h (PREFIX): New macro.
7502         (LIT): Likewise.
7503         (TYPE_STR): Likewise.
7504         (FTOSTR): Likewise.
7506         * math/test-ldouble.h (PREFIX): New macro.
7507         (LIT): Likewise.
7508         (TYPE_STR): Likewise.
7509         (FTOSTR): Likewise.
7511 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7513         [BZ #20156]
7514         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7515         to itself when zero or not finite.
7516         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7517         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7518         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7519         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7521 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7523         [BZ #20153]
7524         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7525         x * x + x for infinities and NaNs.
7527         [BZ #20151]
7528         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7529         argument to itself before returning result.
7530         (__ieee754_y0l): Likewise.
7531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7532         (__ieee754_y1l).
7534         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7535         (atan_test_data): Likewise.
7536         (ceil_test_data): Likewise.
7537         (cos_test_data): Likewise.
7538         (cosh_test_data): Likewise.
7539         (erf_test_data): Likewise.
7540         (exp2_test_data): Likewise.
7541         (fabs_test_data): Likewise.
7542         (floor_test_data): Likewise.
7543         (ilogb_test_data): Likewise.
7544         (j0_test_data): Likewise.
7545         (j1_test_data): Likewise.
7546         (jn_test_data): Likewise.
7547         (lgamma_test_data): Likewise.
7548         (lrint_test_data): Likewise.
7549         (llrint_test_data): Likewise.
7550         (logb_test_data): Likewise.
7551         (lround_test_data): Likewise.
7552         (llround_test_data): Likewise.
7553         (nearbyint_test_data): Likewise.
7554         (rint_test_data): Likewise.
7555         (round_test_data): Likewise.
7556         (sin_test_data): Likewise.
7557         (sincos_test_data): Likewise.
7558         (sinh_test_data): Likewise.
7559         (sqrt_test_data): Likewise.
7560         (tan_test_data): Likewise.
7561         (tanh_test_data): Likewise.
7562         (tgamma_test_data): Likewise.
7563         (trunc_test_data): Likewise.
7564         (y0_test_data): Likewise.
7565         (y1_test_data): Likewise.
7566         (yn_test_data): Likewise.
7568         * math/libm-test.inc: Update comment about NaN testing.
7569         (TEST_SNAN): New macro.
7570         (snan_value): Likewise.
7571         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7572         (fpclassify_test_data): Add sNaN tests.
7573         (isfinite_test_data): Likewise.
7574         (isinf_test_data): Likewise.
7575         (isnan_test_data): Likewise.
7576         (isnormal_test_data): Likewise.
7577         (issignaling_test_data): Likewise.
7578         (signbit_test_data): Likewise.
7579         * math/gen-libm-test.pl (%beautify): Add snan_value.
7580         (show_exceptions): Add argument $test_snan.
7581         (parse_args): Handle snan_value as non-finite.  Update call to
7582         show_exceptions.
7583         * math/Makefile (libm-test-no-inline-cflags): Add
7584         -fsignaling-nans.
7586 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7588         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7589         (CFLAGS-oldsendmsg.c): Add rule.
7590         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7591         Correct recvmsg symbol name.
7592         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7593         Likewise.
7595 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7597         * sysdeps/unix/sysv/linux/Makefile
7598         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7599         oldsendmmsg.
7600         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7601         sendmmsg.
7602         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7605         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7610         Likewise.
7611         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7612         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7613         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7614         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7615         iovlen and controllen fields to adjust to POSIX specification.
7616         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7618         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7619         and change to correct expected type.
7620         (msghdr.msg_controllen): Likewise.
7621         (cmsghdr.cmsg_len): Likewise.
7622         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7623         expected POSIX assumption about the size.
7624         (msghdr.msg_controllen): Likewise.
7625         (msghdr.__glibc_reserved1): Likewise.
7626         (msghdr.__glibc_reserved2): Likewise.
7627         (cmsghdr.cmsg_len): Likewise.
7628         (cmsghdr.__glibc_reserved1): Likewise.
7629         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7630         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7631         (CFLAGS-sendmsg.c): Remove rule.
7632         (CFLAGS-recvmsg.c): Likewise.
7633         (CFLAGS-oldsendmsg.c): Add rule.
7634         (CFLAGS-oldrecvmsg.c): Likewise.
7635         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7636         recvmsg and sendmsg.
7637         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7638         Likewise.
7639         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7640         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7641         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7642         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7643         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7644         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7645         Likewise.
7646         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7647         Likewise.
7648         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7649         Likewise.
7650         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7651         Likewise.
7652         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7653         Likewise.
7654         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7655         Likewise.
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7657         (GLIBC_2.24): Likewise.
7658         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7659         Likewise.
7660         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7661         Likewise.
7662         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7663         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7664         Likewise.
7665         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7666         Likewise.
7667         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7668         Likewise.
7669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7670         (GLIBC_2.24): Likewise.
7671         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7672         Likewise.
7673         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7674         Likewise.
7675         * sysdeps/unix/sysv/linux/Makefile
7676         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7677         (CFLAGS-sendmsg.c): Add rule.
7678         (CFLAGS-recvmsg.c): Likewise.
7679         (CFLAGS-oldsendmsg.c): Likewise.
7680         (CFLAGS-oldrecvmsg.c): Likewise.
7681         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7682         initialization.
7683         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7684         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7685         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7686         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7687         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7688         iovlen and controllen fields to adjust to POSIX specification.
7689         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7690         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7691         added recvmsg and sendmsg.
7692         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7693         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7694         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7695         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7696         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7697         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7698         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7699         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7700         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7701         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7702         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7703         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7705         Likewise.
7706         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7708         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7709         Likewise.
7710         Likewise.
7711         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7712         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7713         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7714         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7715         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7718         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7720         Likewise.
7721         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7725         from auto-generation.
7726         (sendmsg): Likewise.
7727         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7728         (sendmsg): Likewise.
7729         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7730         (sendmsg): Likewise.
7731         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7732         (sendmsg): Likewise.
7733         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7734         (sendmsg): Likewise.
7735         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7736         (sendmsg): Likewise.
7737         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7738         Likewise.
7739         (sendmsg): Likewise.
7740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7741         (sendmsg): Likewise.
7742         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7743         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7744         Remove.
7745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7746         Likewise.
7747         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7748         Undefine.
7749         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7750         Likewise.
7751         * sysdeps/unix/sysv/linux/kernel-features.h
7752         (__ASSUME_SENDMSG_SYSCALL): Define.
7753         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7754         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7756         Remove.
7757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7758         Likewise.
7759         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7760         Undefine.
7761         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7762         Likewise.
7763         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7765         Remove.
7766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7767         Likewise.
7768         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7769         Undefine.
7770         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7771         Likewise.
7772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7773         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7774         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7775         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7776         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7777         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7778         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7779         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7780         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7782 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7784         * stdlib/gen-tst-strtod-round.c: Add backslash to
7785         compile command in comment.
7786         (printfp): Remove the literal suffix, and define an infinite
7787         value as INF to avoid expansion clash with INFINITY.
7788         (round_str): Remove the literal suffix.
7789         (round_for_all): Likewise, remove the now duplicate ldbl-64
7790         entry, and remove some magic constants.
7792         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7793         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7794         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7795         (_CONCAT): New macro.
7796         (CONCAT): Likewise.
7797         (CHOOSE_ld): Likewise.
7798         (CHOOSE_f): Likewise.
7799         (CHOOSE_d): Likewise.
7800         (FTYPE_MEMBER): Likewise.
7801         (BOOL_MEMBER): Likewise.
7802         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7803         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7804         (_XNTRY): Likewise.
7805         (XNTRY): Likewise.
7806         (_ENTRY): Likewise.
7807         (ENTRY): Likewise.
7808         (test_exactness): Generate members via macro.
7809         (test_results): Likewise.
7810         (test): Update members.
7811         (TEST): Redefine using new macros.
7812         (INF): New macro.
7813         (fetestmodes): New structure.
7814         (do_test): Refactor to be type generic.
7815         (test_in_one_mode): Refactor duplicate code into
7816         (GEN_ONE_TEST): New macro.
7818         * stdlib/tst-strtod-round-data.h: Regenerate.
7820         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7821         Extend to pass additional arbitrary parameters to
7822         generators.
7824 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7826         [BZ #15479]
7827         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7828         floating-point state after first floating-point operation on
7829         input.  Restore full floating-point state instead of just rounding
7830         mode.
7831         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7832         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7833         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7834         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7835         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7837         [BZ #15479]
7838         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7839         floating-point state after first floating-point operation on
7840         input.  Restore full floating-point state instead of just rounding
7841         mode.
7842         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7843         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7844         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7845         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7846         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7848 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7850         [BZ #19727]
7851         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7852         valid high surrogate.
7853         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7854         of an utf16 surrogate.
7855         * iconv/gconv_simple.c (BODY): Likewise.
7856         * iconvdata/bug-iconv12.c: New file.
7857         * iconvdata/Makefile (tests): Add bug-iconv12.
7859 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7861         [BZ #19726]
7862         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7863         outptrp in case of an illegal input.
7864         * iconv/tst-iconv6.c: New file.
7865         * iconv/Makefile (tests): Add tst-iconv6.
7867 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7869         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7870         an error in case of a value in range of an utf16 low surrogate.
7872 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7874         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7875         an error in case of a value in range of an utf16 low surrogate.
7877 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7879         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7880         Move to ...
7881         * sysdeps/s390/Makefile: ... here.
7882         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7883         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7884         (BRANCH_ON_COUNT): New define.
7885         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7886         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7887         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7888         run on s390-32, too.
7889         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7890         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7891         run on s390-32, too.
7892         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7893         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7894         run on s390-32, too.
7896 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7898         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7899         etf3eh or new vector loop-variant.
7901 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7903         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7904         etf3eh or new vector loop-variant.
7906 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7908         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7909         or new vector loop-variant.
7911 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7913         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7914         Rename to TR_LOOP and usage of tr instead of troo instruction.
7916 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7918         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7921 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7923         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7924         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7925         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7926         New override define.
7927         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7929 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7931         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7932         * sysdeps/s390/configure.ac: Add test for S390 vector register
7933         support in gcc.
7934         * sysdeps/s390/configure: Regenerated.
7936 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7938         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7939         Install file from $(objpfx)gconv-modules.
7940         ($(objpfx)gconv-modules): Concatenate architecture specific file
7941         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7942         * sysdeps/s390/gconv-modules: New file.
7943         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7944         Deleted.
7945         ($(objpfx)gconv-modules-s390): Deleted.
7946         (sysdeps-gconv-modules): New variable.
7948 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7950         [BZ #15479]
7951         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7952         of immediate operand to rounding instruction.
7953         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7954         Likewise.
7955         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7956         Likewise.
7957         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7958         Likewise.
7960 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7962         * math/libm-test.inc (MIN_EXP): Directly define as
7963         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7965 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7967         * math/libm-test.inc (MANT_DIG): Directly define as
7968         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7970 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7972         * stdlib/gen-tst-strtod-round.c (main):
7973           Change usage to more closely match the generated
7974           output.  Add usage and compilation instructions.
7975           (string_to_fp): Add and use FILE* parameter as
7976           output target.
7977           (print_fp): Likewise.
7978           (round_str): Likewise.
7979           (round_for_all): Likewise.
7980         * stdlib/tst-strtod-round.c (tests): Move into
7981         * stdlib/tst-strtod-round-data.h: New file.
7983 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7985         [BZ #15479]
7986         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7987         (__round): Do not force "inexact" exception.
7988         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7989         variable.
7990         (__round): Do not force "inexact" exception.
7991         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7992         (__roundf): Do not force "inexact" exception.
7993         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7994         (__roundl): Do not force "inexact" exception.
7995         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7996         (__roundl): Do not force "inexact" exception.
7997         * math/libm-test.inc (round_test_data): Do not allow spurious
7998         "inexact" exceptions.
8000         [BZ #15479]
8001         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8002         exception in comment.
8003         (huge): Remove variable.
8004         (__floor): Do not force "inexact" exception.
8005         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8006         "inexact" exception in comment.
8007         (huge): Remove variable.
8008         (__floor): Do not force "inexact" exception.
8009         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8010         exception in comment.
8011         (huge): Remove variable.
8012         (__floorf): Do not force "inexact" exception.
8013         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8014         exception in comment.
8015         (huge): Remove variable.
8016         (__floorl): Do not force "inexact" exception.
8018         [BZ #15479]
8019         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8020         exception in comment.
8021         (huge): Remove variable.
8022         (__ceil): Do not force "inexact" exception.
8023         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8024         "inexact" exception in comment.
8025         (huge): Remove variable.
8026         (__ceil): Do not force "inexact" exception.
8027         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8028         (__ceilf): Do not force "inexact" exception.
8029         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8030         exception in comment.
8031         (huge): Remove variable.
8032         (__ceill): Do not force "inexact" exception.
8034 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8036         * config.h.in (BIND_NOW): New.
8037         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8038         * configure: Regenerated.
8039         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8040         indirect branch via the GOT slot.
8042 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8044         [BZ #19765]
8045         * sysdeps/s390/mempcpy.S: New File.
8046         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8047         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8048         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8049         Add mempcpy variants.
8050         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8051         (memcpy): Adjust to be usable from mempcpy entry point.
8052         (__memcpy_mvcle): Likewise.
8053         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8054         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8055         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8056         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8057         (__memcpy_z10): Likewise.
8058         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8060 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8062         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8063         Remove __GI_ symbol.
8064         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8065         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8066         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8067         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8068         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8069         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8071 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8073         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8074         Use cghi instead of chi to compare 64bit value.
8076 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8078         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8079         Jump to 1MB check before executing mvc-loop.
8081 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8083         [BZ #6527]
8084         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8085         unconditionally.
8086         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8088 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8090         * stdlib/tst-strtod6.c (do_test): Use new type generic
8091         invocation of the test function.
8092         (test): Refactor into ...
8093         (TEST_STRTOD): New macro base function.
8095 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8097         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8098         (TEST_STRTOD): New macro.
8099         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8101 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8103         * stdlib/tst-strtod6.c (do_test): Use new type generic
8104         invocation of the test function.
8105         (test): Refactor into ...
8106         (TEST_STRTOD): New macro base function.
8108 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8110         CVE-2016-4429
8111         [BZ #20112]
8112         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8113         payload.
8115 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8117         [BZ #20111]
8118         * bits/sockaddr.h (_SS_SIZE): Define.
8119         * bits/socket.h (_SS_SIZE): Remove.
8120         (_SS_PADSIZE): Adjust to account for all padding.
8121         (struct sockaddr_storage): Update comment.  Avoid implicit
8122         padding.
8123         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8124         (_SS_PADSIZE): Adjust to account for all padding.
8125         (struct sockaddr_storage): Update comment.  Avoid implicit
8126         padding.
8127         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8128         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8129         (_SS_PADSIZE): Adjust to account for all padding.
8130         (struct sockaddr_storage): Update comment.  Avoid implicit
8131         padding.
8132         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8133         __SS_SIZE is 126 in this version.
8134         * inet/tst-sockaddr.c: New file.
8135         * inet/Makefile (tests): Add tst-sockaddr.c
8136         (tst-sockaddr.c): Compile with non-strict aliasing.
8138 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8140         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8141         [XPG3 || XPG4].
8142         (NL_ARGMAX): Also expect for [XPG3].
8143         (NL_LANGMAX): Likewise.
8144         (NL_MSGMAX): Likewise.
8145         (NL_NMAX): Likewise.
8146         (NL_SETMAX): Likewise.
8147         (NL_TEXTMAX): Likewise.
8148         (NZERO): Likewise.
8149         (TMP_MAX): Likewise.
8150         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8151         variable.
8153         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8154         (PF_MAX): Update value.
8155         (AF_KCM): New macro.
8156         (SOL_NETBEUI): Likewise.
8157         (SOL_LLC): Likewise.
8158         (SOL_DCCP): Likewise.
8159         (SOL_NETLINK): Likewise.
8160         (SOL_TIPC): Likewise.
8161         (SOL_RXRPC): Likewise.
8162         (SOL_PPPOL2TP): Likewise.
8163         (SOL_BLUETOOTH): Likewise.
8164         (SOL_PNPIPE): Likewise.
8165         (SOL_RDS): Likewise.
8166         (SOL_IUCV): Likewise.
8167         (SOL_CAIF): Likewise.
8168         (SOL_ALG): Likewise.
8169         (SOL_NFC): Likewise.
8170         (SOL_KCM): Likewise.
8171         (MSG_BATCH): New enum value and macro.
8173 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8175         [BZ #18185]
8176         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8177         sharing L2 cache to 2 for Knights Landing.
8179 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8181         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8182         (FTW_DP): Do not expect for [XPG3 || XPG4].
8183         (FTW_SL): Do not expect for [XPG3].
8184         (FTW_SLN): Likewise.
8185         (FTW_PHYS): Likewise.
8186         (FTW_MOUNT): Likewise.
8187         (FTW_DEPTH): Likewise.
8188         (FTW_CHDIR): Likewise.
8189         (nftw): Likewise.
8190         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8191         variable.
8193 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8195         * manual/errno.texi: Fix various typos & grammar errors.
8197 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8199         * manual/intro.texi: Fix duplicated typo.
8201 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8203         [BZ #13304]
8204         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8205         <float.h>, <math_private.h> and <stdlib.h>.
8206         (add_split): New function.
8207         (mul_split): Likewise.
8208         (ext_val): New typedef.
8209         (store_ext_val): New function.
8210         (mul_ext_val): New function.
8211         (compare): New function.
8212         (add_split_ext): New function.
8213         (__fmal): After checking for Inf, NaN and zero, compute result as
8214         an exact sum of scaled double values in round-to-nearest before
8215         adding those up and adjusting for other rounding modes.
8216         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8217         tests of fma.
8218         * math/auto-libm-test-out: Regenerated.
8220 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8222         [BZ #20119]
8223         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8224         processor level type mask for CPUID with EAX == 11.
8226 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8228         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8229         logical threads if the HTT bit is 0.
8230         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8231         (index_cpu_HTT): Likewise.
8232         (reg_HTT): Likewise.
8234 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8236         [BZ #20115]
8237         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8238         Remove alignments on jump targets.
8240 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8242         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8243         (getpwent): Likewise.
8244         (setpwent): Likewise.
8245         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8246         variable.
8248         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8249         (remque): Likewise.
8250         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8251         variable.
8253 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8255         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8256         not being tested.
8258 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8261         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8262         call.
8263         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8264         (__condvar_cleanup1): Likewise.
8266 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8268         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8269         New
8270         (__pthread_unwind): Renamed to ...
8271         (PTHREAD_UNWIND): This.
8272         (__pthread_enable_asynccancel): Replace
8273         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8275 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8277         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8278         (CLONE_NEWCGROUP): New macro.
8280         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8281         (Q_GETNEXTQUOTA): New macro.
8283 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8285         [BZ #19907]
8286         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8287         buffer updated by the previous run.
8288         * string/test-memcpy.c (do_one_test): Likewise.
8289         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8290         * string/test-memmove.c (do_one_test): Likewise.
8292 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8294         [BZ #20094]
8295         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8296         not [__USE_XOPEN].
8297         (unlockpt): Likewise.
8298         (ptsname): Likewise.
8299         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8300         variable.
8302         [BZ #20076]
8303         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8304         instead of [__USE_UNIX98].
8305         (S_ISSOCK): Likewise.
8306         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8307         variable.
8309         [BZ #20074]
8310         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8311         [__USE_POSIX].
8312         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8313         variable.
8315         [BZ #20051]
8316         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8317         (ttyslot): Do not declare.
8318         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8319         (ttyslot): New prototype.
8320         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8321         variable.
8322         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8324 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8326         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8328 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8330         Fix race condition in tst-mallocfork2, use fewer resources.
8331         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8332         to current process group.
8333         (signal_sender): Yield in the non-sleeping case.
8335 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8337         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8338         (ecvt): Likewise.
8339         (fcvt): Likewise.
8340         (gcvt): Likewise.
8341         (getsubopt): Likewise.
8342         (grantpt): Likewise.
8343         (initstate): Likewise.
8344         (l64a): Likewise.
8345         (mktemp): Likewise.
8346         (mkstemp): Likewise.
8347         (ptsname): Likewise.
8348         (random): Likewise.
8349         (realpath): Likewise.
8350         (setstate): Likewise.
8351         (srandom): Likewise.
8352         (ttyslot): Likewise.
8353         (unlockpt): Likewise.
8354         (valloc): Likewise.
8356         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8357         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8358         variable.
8360 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8362         [BZ #20072]
8363         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8364         init_cpu_features only if SHARED is defined.
8365         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8367 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8369         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8370         non-inclusive caches on Intel processors.
8372 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8374         * malloc/malloc.c (dumped_main_arena_start)
8375         (dumped_main_arena_end): New variables.
8376         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8377         (do_check_chunk): Skip dumped fake mmapped chunks.
8378         (munmap_chunk): Likewise.
8379         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8380         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8381         mmapped chunks.
8382         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8383         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8384         and dumped_main_arena_end to cover the dumped heap.
8386 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8388         * conform/data/time.h-data (getdate_err): Do not expect for
8389         [XPG3].
8390         (getdate): Likewise.
8391         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8392         variable.
8394         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8395         (F_ULOCK): Likewise.
8396         (F_TEST): Likewise.
8397         (F_TLOCK): Likewise.
8398         (useconds_t): Likewise.
8399         (intptr_t): Do not expect for [XPG3] or [XPG4].
8400         (brk): Do not expect for [XPG3]
8401         (fchown): Likewise.
8402         (fchdir): Likewise.
8403         (ftruncate): Likewise.
8404         (getdtablesize): Likewise.
8405         (gethostid): Likewise.
8406         (getpagesize): Likewise.
8407         (getpgid): Likewise.
8408         (getsid): Likewise.
8409         (getwd): Likewise.
8410         (lchown): Likewise.
8411         (lockf): Likewise.
8412         (readlink): Likewise.
8413         (sbrk): Likewise.
8414         (setpgrp): Likewise.
8415         (setregid): Likewise.
8416         (setreuid): Likewise.
8417         (symlink): Likewise.
8418         (sync): Likewise.
8419         (truncate): Likewise.
8420         (ualarm): Likewise.
8421         (usleep): Likewise.
8422         (vfork): Likewise.
8423         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8424         variable.
8426         [BZ #20054]
8427         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8428         not [__USE_UNIX98].
8429         * conform/data/unistd.h-data (gethostname): Do not expect for
8430         [XPG3].
8432         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8433         [!POSIX] (S_IFBLK): Likewise.
8434         [!POSIX] (S_IFCHR): Likewise.
8435         [!POSIX] (S_IFIFO): Likewise.
8436         [!POSIX] (S_IFREG): Likewise.
8437         [!POSIX] (S_IFDIR): Likewise.
8438         [!POSIX] (S_IFLNK): Likewise.
8439         [!POSIX] (S_IFSOCK): Likewise.
8440         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8441         variable.
8442         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8444 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8446         * sysdeps/aarch64/memset.S (__memset):
8447         Rewrite of optimized memset.
8449 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8451         [BZ #19703]
8452         Partially async-signal-safe fork for single-threaded processes.
8453         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8454         variable.  Do not acquire and reset/release malloc and libio locks
8455         in single-threaded processes.
8456         * malloc/tst-mallocfork2.c: New file.
8457         * malloc/Makefile (tests): Add it.
8459 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8461         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8462         argument.  Use scratch buffer instead of extend_alloca.
8463         (gethosts): Use scratch buffer instead of extend_alloca.
8464         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8465         extend_alloca.
8466         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8468 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8470         [BZ #20055]
8471         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8472         instead of [__USE_UNIX98].
8473         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8474         [__USE_UNIX98].
8475         * conform/data/termios.h-data (tcgetsid): Do not expect for
8476         [XPG3].
8477         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8478         variable.
8479         (test-xfail-XPG4/termios.h/conform): Likewise.
8481 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8483         Do not use mcheck in localedef.
8484         * locale/programs/localedef.c (turn_on_mcheck)
8485         (__malloc_initialize_hook): Remove.
8487 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8489         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8490         * sysdeps/s390/s390-64/Makefile: Likewise.
8492 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8494         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8495         Remove ifunc-defines.sym.
8496         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8497         Likewise.
8498         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8499         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8500         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8501         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8502         rtld-global-offsets.sym.
8503         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8504         * sysdeps/x86/cpu-features-offsets.sym: This.
8505         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8506         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8508 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8510         [BZ #20073]
8511         * io/sys/stat.h (fchmod): Declare for
8512         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8513         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8514         variable.
8516         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8517         [XPG3] (S_IFSOCK): Likewise.
8518         [XPG3] (S_ISVTX): Likewise.
8519         [XPG3] (S_ISLNK): Likewise.
8520         [XPG3] (S_ISSOCK): Likewise.
8521         [XPG3] (fchmod): Likewise.
8522         [XPG3] (lstat): Likewise.
8523         [XPG3] (mknod): Likewise.
8525         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8526         [XPG3].  Expect type long and XFAIL for [XPG4].
8527         (st_blocks): Likewise.
8529         [BZ #20044]
8530         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8531         (pthread_atfork): New prototype.
8532         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8533         variable.
8535         [BZ #20043]
8536         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8537         prototype.
8539 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8541         [BZ #20017]
8542         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8543         gmtime.
8545 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8547         [BZ #19994]
8548         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8549         flag in _res.options.
8551 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8553         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8554         [XPG3 || XPG4].
8555         (blksize_t): Likewise.
8556         (clockid_t): Likewise.
8557         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8558         variable.
8559         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8561 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8563         * sysdeps/unix/sysv/linux/s390/init-first.c:
8564         Add VDSO_SYMBOL(getcpu).
8565         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8566         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8567         Add VDSO_SYMBOL(getcpu).
8568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8569         New define HAVE_GETCPU_VSYSCALL.
8570         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8572 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8574         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8575         instead of <sysdeps/x86_64/cacheinfo.c>.
8576         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8577         * sysdeps/x86/cacheinfo.c: Here.
8579 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8581         * malloc/malloc-internal.h: Adjust header file guard.
8583 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8585         [BZ #19787]
8586         * inet/getnameinfo.c (check_sprintf_result): New function.
8587         (CHECKED_SNPRINTF): New macro.
8588         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8589         to the host buffer.
8590         (gni_host_local): Use checked_copy to copy the host name.
8591         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8592         (gni_serv_local): Use checked_copy to copy the service name.
8593         (getnameinfo): Remove unnecessary truncation of result buffers.
8595 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8597         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8598         in case of inet_ntop failure.
8600 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8602         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8603         avoid long lines.
8604         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8605         variables.
8606         (gni_host_inet, gni_host_local): Add comment.
8607         (gni_host): Add comment.  Use temporary to avoid long lines.
8609 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8611         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8612         registers specifiers where general purpose registers specifiers should
8613         have been used.
8615 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8617         [BZ #19779]
8618         CVE-2016-1234
8619         Avoid copying names of directory entries.
8620         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8621         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8622         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8623         (struct readdir_result): New type.
8624         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8625         (GL_READDIR): New macros.
8626         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8627         (convert_dirent, convert_dirent64): New functions.
8628         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8629         convert_dirent64.  Adjust references to the readdir result.
8630         * sysdeps/unix/sysv/linux/i386/glob64.c:
8631         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8632         * posix/bug-glob2.c (LONG_NAME): Define.
8633         (filesystem): Add LONG_NAME.
8634         (my_DIR): Increase the size of room_for_dirent.
8636 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #20041]
8639         * misc/sys/select.h (__need_timespec): Only define if
8640         [__USE_XOPEN2K].
8641         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8642         variable.
8643         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8644         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8645         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8647 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8648             Segher Boessenkool  <segher@gcc.gnu.org>
8650         [BZ #20004]
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8652         (__novec_swapcontext): Add missing load.
8654 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8656         [BZ #20023]
8657         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8658         <time.h>.
8659         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8660         variable.
8661         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8663 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8666         flags CLONE_VM compare.
8668 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8670         [BZ #20031]
8671         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8672         completely empty.
8674 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8676         [BZ #19573]
8677         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8678         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8679         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8680         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8681         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8682         (hesiod_free_list): Mark as hidden.
8683         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8684         res_set, res_get.
8685         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8686         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8687         (hesiod_init): Remove obsolete res_ninit call.
8688         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8689         (hesiod_bind): Do not call init.
8690         (get_txt_records): Use res_mkquery, res_send instead of
8691         res_nmkquery, res_nsend.
8692         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8693         instead of _nss_hesiod_init.
8694         (_nss_hesiod_initgroups_dyn): Likewise.
8695         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8696         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8697         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8699 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8701         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8702         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8704 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8706         * hesiod/hesiod.h: Remove RCS keyword.
8707         * hesiod/hesiod_p.h: Likewise.
8709         * hesiod/hesiod.c: Likewise.
8711 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8713         [BZ #12450]
8714         * locale/iso-639.def: Add Samogitian/sgs.
8716 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8718         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8720         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8722 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8723             Carlos O'Donell  <carlos@redhat.com>
8725         [BZ #19072]
8726         * grp/Makefile (headers): Add grp-merge.h
8727         (routines): Add grp-merge.
8728         * grp/getgrgid_r.c: Include grp-merge.h.
8729         (DEEPCOPY_FN): Define.
8730         (MERGE_FN): Define.
8731         * grp/getgrname_r.c: Include grp-merge.h.
8732         (DEEPCOPY_FN): Define.
8733         (MERGE_FN): Define.
8734         * grp/grp-merge.c: New file.
8735         * grp/grp-merge.h: New file.
8736         * include/grp-merge.h: New file.
8737         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8738         __copy_grp@GLIBC_PRIVATE.
8739         * manual/nss.texi (Actions in the NSS configuration): Describe
8740         return, continue, and merge.
8741         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8742         (DEEPCOPY_FN): Define.
8743         (MERGE_FN): Define.
8744         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8745         (DEEPCOPY_FN): Define.
8746         (MERGE_FN): Define.
8747         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8748         [!MERGE_FN]: Define __merge_einval.
8749         (CHECK_MERGE): Define.
8750         (REENTRANT_NAME): Process merge if do_merge is true.
8751         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8752         (__nss_getent_r): Likewise.
8753         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8754         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8756 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8758         [BZ #20012]
8759         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8760         length to calculate the buffer to read.
8761         (fmemopen_write): Set the buffer position based on bytes written.
8762         (fmemopen_seek): Return EINVAL for invalid whence modes.
8764         [BZ #19957]
8765         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8766         tst-getpid2.
8767         (test): Add tst-clone2.
8768         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8769         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8770         pid/tid fields for CLONE_VM.
8771         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8772         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8773         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8774         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8775         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8776         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8777         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8778         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8780         Likewise.
8781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8784         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8785         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8786         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8787         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8788         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8789         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8790         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8792 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8794         [BZ #19642]
8795         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8796         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8797         (gni_serv_local, gni_serv): New functions extracted from
8798         getnameinfo.
8799         (getnameinfo): Call gni_host and gni_serv to perform the
8800         processing.  Always free scratch buffer.
8802 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8804         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8805         remaining bytes in the dest string, with zeros.
8807 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8809         [BZ #20010]
8810         CVE-2016-3706
8811         * sysdeps/posix/getaddrinfo.c
8812         (convert_hostent_to_gaih_addrtuple): New function.
8813         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8814         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8815         AF_INET data.
8817 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8819         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8820         callback function gl_readdir.
8821         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8822         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8823         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8824         memcpy to copy the name.
8825         * manual/pattern.texi (Calling Glob): Document requirements for
8826         implementations of the gl_readdir callback function.
8827         * manual/examples/mkdirent.c: New example.
8828         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8829         per the manual guidance.
8830         * posix/tst-gnuglob.c (my_readdir): Likewise.
8832 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8834         [BZ #20014]
8835         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8836         not [__USE_POSIX].
8837         (getchar_unlocked): Likewise.
8838         (putc_unlocked): Likewise.
8839         (putchar_unlocked): Likewise.
8840         (flockfile): Likewise.
8841         (ftrylockfile): Likewise.
8842         (funlockfile): Likewise.
8843         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8844         variable.
8845         (test-xfail-XPG4/stdio.h/conform): Likewise.
8847         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8848         Expect constant.
8849         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8850         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8851         variable.
8852         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8853         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8855         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8856         [__USE_LARGEFILE64] (off64_t): Likewise.
8857         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8858         variable.
8860 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8862         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8864 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8866         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8867         * resolv/res_init.c: Likewise.
8868         * resolv/res_mkquery.c: Likewise.
8870 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8872         * resolv/res_init.c (isascii): Do not define.  Use definition in
8873         <ctype.h>.
8874         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8875         (LOG_AUTH): Remove.
8876         (SPRINTF): Remove, adjust caller.
8877         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8879 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8881         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8882         SUNSECURITY conditional.
8883         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8885 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8887         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8888         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8889         Remove BSD-related preprocessor conditionals.
8890         * conf/portability.h: Remove.
8892 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8894         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8895         * resolv/res_data.c: Likewise.
8897 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8899         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8900         * resolv/res_data.c: Remove code conditional on ultrix.
8902 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8904         * resolv/res_init.c (RFC1535): Do not define.  Remove
8905         RFC1535 preprocessor conditionals.
8906         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8907         because there configuration options which make the resolver
8908         behavior different.
8910 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8912         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8913         RESOLVSORT preprocessor conditionals.
8914         * resolv/nss_dns/dns-host.c: Likewise.
8915         * resolv/res_init.c: Likewise.
8917 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8919         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8920         is never defined.
8922 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8924         * inet/inet_lnaof.c: Remove SCSS keyword.
8925         * inet/inet_mkadr.c: Likewise.
8926         * inet/inet_net.c: Likewise.
8927         * inet/inet_netof.c: Likewise.
8928         * inet/rcmd.c: Likewise.
8929         * inet/rexec.c: Likewise.
8930         * inet/ruserpass.c: Likewise.
8932 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8934         * resolv/inet_addr.c: Remove _LIBC conditionals.
8935         * resolv/res_data.c: Likewise.
8936         * resolv/res_init.c: Likewise.
8937         * resolv/res_mkquery.c: Likewise.
8938         * resolv/res_libc.c: Update comment.
8939         * resolv/README: Update.
8941 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8943         * resolv/gethnamaddr.c: Remove SCSS keyword.
8944         * resolv/herror.c: Likewise.
8945         * resolv/inet_addr.c: Likewise.
8946         * resolv/inet_net_ntop.c: Likewise.
8947         * resolv/inet_net_pton.c: Likewise.
8948         * resolv/inet_neta.c: Likewise.
8949         * resolv/inet_ntop.c: Likewise.
8950         * resolv/inet_pton.c: Likewise.
8951         * resolv/ns_date.c: Remove RCS keyword.
8952         * resolv/ns_name.c: Likewise.
8953         * resolv/ns_netint.c: Likewise.
8954         * resolv/ns_parse.c: Likewise.
8955         * resolv/ns_print.c: Likewise.
8956         * resolv/ns_samedomain.c: Likewise.
8957         * resolv/ns_ttl.c: Likewise.
8958         * resolv/nsap_addr.c: Likewise.
8959         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8960         * resolv/res_data.c: Remove RCS keyword.
8961         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8962         * resolv/res_init.c: Likewise.
8963         * resolv/res_mkquery.c: Likewise.
8964         * resolv/res_query.c: Likewise.
8965         * resolv/res_send.c: Likewise.
8967 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8969         * conform/data/stdio.h-data (fdopen): Expect also for
8970         [XPG3 || XPG4].
8972         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8973         (fseeko): Likewise.
8974         (ftello): Likewise.
8975         (ftrylockfile): Likewise.
8976         (funlockfile): Likewise.
8977         (getc_unlocked): Likewise.
8978         (getchar_unlocked): Likewise.
8979         (putc_unlocked): Likewise.
8980         (putchar_unlocked): Likewise.
8982 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8984         [BZ #19868]
8985         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8986         DNS packet syntax checks (which were not needed before).  Skip
8987         over non-PTR records.
8989 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8991         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8992         definition.  Include <stddef.h> instead.
8994 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8996         [BZ #19831]
8997         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8998         function.
8999         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9000         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9002 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9004         [BZ #19862]
9005         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9006         (getanswer_r): Do not call syslog.
9007         (gaih_getanswer_slice): Likewise.
9008         * resolv/gethnamaddr.c (AskedForGot): Remove.
9009         (getanswer): Do not call syslog.
9010         (gethostbyaddr): Likewise.
9012 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9014         * conform/data/signal.h-data (union sigval): Expect also if
9015         [XOPEN2K].
9016         (struct sigevent): Likewise.
9017         (SIGEV_NONE): Likewise.
9018         (SIGEV_SIGNAL): Likewise.
9019         (SIGEV_THREAD): Likewise.
9020         (SIGRTMIN): Likewise.
9021         (SIGRTMAX): Likewise.
9022         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9023         variable.
9024         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9026 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9028         [BZ #19830]
9029         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9030         (gaih_getanswer_slice): Likewise.
9031         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9032         Also check for availability of RR metadata.
9034 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9036         [BZ #19825]
9037         * resolv/res_send.c (send_vc): Remove early *resplen2
9038         initialization.  Set *resplen2 on socket error.  Call
9039         close_and_return_error for other errors.
9041 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9043         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9044         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9045         (SCM_IUCV_TRGCLS): New define.
9047 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9049         [BZ #20005]
9050         * libio/fmemopen.c (fmemopen_write): Update internal position after
9051         write.
9052         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9053         * stdio-common/tst-fmemopen4.c: New file..
9055 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9057         [BZ #19996]
9058         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9059         not [__USE_XOPEN2K].
9060         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9061         variable.
9063         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9064         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9065         variable.
9067         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9068         [__USE_XOPEN2K8].
9069         [__USE_LARGEFILE64] (off64_t): Likewise.
9070         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9071         variable.
9073 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9075         [BZ #19989]
9076         * libio/stdio.h (cuserid): Do not declare if
9077         [__USE_XOPEN2K && !__USE_GNU].
9078         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9079         variable.
9081 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9083         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9084         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9086         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9087         ifunc'ed strcspn.
9088         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9089         [EALIGN]: Removed.
9090         [END]: Likewise
9091         [STRSPN]: Define instead of the above to control symbol name.
9092         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9093         New file.
9094         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9095         Likewise.
9096         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9097         Likewise.
9098         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9099         Likewise.
9100         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9101         [INITIAL_MASK]: New macro.
9102         [STRCSPN]: Likewise.
9103         [UPDATE_MASK]: Likewise.
9104         [USE_AS_STRCSPN]: Lisewise.
9106 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9108         [BZ #19931]
9109         * stdio-common/tst-vfprintf-width-prec.c: New file.
9110         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9111         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9112         (generated): Add mtrace-related files.
9113         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9114         (tst-%-mem.out): New pattern rule, replaces
9115         tst-printf-bz18872-mem.out.
9116         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9117         specifier, deallocate any previously allocated work buffer.
9119 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9121         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9122         Add nop before __startcontext, add explaining comments.
9124 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9126         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9127         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9128         completely different API.
9130         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9131         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9132         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9133         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9134         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9135         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9136         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9137         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9138         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9139         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9141 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9143         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9145 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9147         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9148         when it is the default of 0.
9150 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9152         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9153         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9154         (sysdep_routines): Add new strcasestr targets.
9155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9156         (__libc_ifunc_impl_list): Likewise.
9157         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9158         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9159         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9160         * sysdeps/powerpc/powerpc64/power8/Makefile:
9161         New file to add strcasestr-ppc64 to sysdep_routines.
9162         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9163         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9165 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9167         * benchtests/Makefile (wcsmbs-benchset): Include only for
9168         native builds and runs.
9169         (LOCALES): Likewise.
9170         (bench-build): Build timing-type here instead of the bench
9171         target.  Generate locale only for native builds.
9172         * benchtests/README: Add note for cross-building.
9174         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9176         * benchtests/README: Update README to include instructions on
9177         using bench-build.
9179         * Makefile.in (bench-build): New target.
9180         * Rules (PHONY): Add bench-build target.
9181         * benchtests/Makefile (bench): Depend on bench-build.
9182         (bench-build): New target.
9184 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9186         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9187         profil_reply_port.
9188         (profile_waiter): Do not initialize profil_reply_port.
9189         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9190         frequency instead of tick length in us.
9192 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9194         [BZ #18712]
9195         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9196         (__old_mempcpy_small): Likewise.
9197         (__old_strcpy_small): Likewise.
9198         (__old_stpcpy_small): Likewise.
9199         (__old_strpbrk_c2): Fix compat symbol name.
9200         (__old_strpbrk_c3): Likewise.
9201         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9202         (__mempcpy_small): Remove.
9203         (__strcpy_small): Remove.
9204         (__stpcpy_small): Remove.
9206 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9208         [BZ #19400]
9209         * locale/iso-639.def: Add the Talossan/tzl language.
9211 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9213         [BZ #16983]
9214         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9215         comment.  Add "ln" to strchr check on postal_fmt.
9217 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9219         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9220         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9221         tel_dom_fmt.
9223 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9225         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9226         (sysdep_routines): Added __strlen_power8.
9227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9228         __strlen_power8 entry.
9229         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9230         Implementation for POWER8.
9231         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9232         for __strlen_power8.
9233         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9234         Implementation for POWER8.
9236 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9238         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9240 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9242         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9243         Goldmont and Airmont processors.
9245 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9247         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9248         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9249         (__STRING2_SMALL_GET32): Remove.
9250         (memset): Remove.
9251         (__memset_1): Remove.
9252         (__memset_gc): Remove.
9253         (__mempcpy): Remove.
9254         (mempcpy): Remove.
9255         (__mempcpy_args): Remove.
9256         (strchr): Remove.
9257         (strcpy): Remove.
9258         (strcpy_args): Remove.
9259         (__stpcpy_args): Remove.
9260         (__strcmp_cc): Remove.
9261         (__strcmp_gc): Remove.
9262         (strstr): Remove.
9264 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9266         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9267         * nis/nis_call.c (nis_server_cache_add): Likewise.
9269 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9271         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9273 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9275         * malloc/arena.c (__malloc_fork_lock_parent)
9276         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9277         internal_function attribute.
9279 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9281         * stdio-common/printf_fp.c (__printf_fp_l):
9282         Rename ___printf_fp_l to __printf_fp_l and
9283         remove strong alias. Use libc_hidden_def instead
9284         of ldbl_hidden_def macro.
9286 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9288         Remove malloc hooks from fork handler.  They are no longer needed
9289         because malloc runs right before fork, and no malloc calls from
9290         other fork handlers are not possible anymore.
9291         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9292         declarations.
9293         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9294         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9295         (atfork_recursive_cntr): Remove.
9296         (__malloc_fork_lock_parent): Do not override malloc hooks and
9297         thread_arena.
9298         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9299         thread_arena.
9300         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9301         thread_arena instead of save_arena.
9303 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9305         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9306         (thread_atfork, thread_atfork_static): Remove.
9307         * sysdeps/mach/hurd/malloc-machine.h:
9308         (thread_atfork, thread_atfork_static): Remove.
9310 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9312         [BZ #19431]
9313         Run the malloc fork handler as late as possible to avoid deadlocks.
9314         * malloc/malloc-internal.h: New file.
9315         * malloc/malloc.c: Include it.
9316         * malloc/arena.c (ATFORK_MEM): Remove.
9317         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9318         Update comment.
9319         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9320         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9321         Remove outdated comment.
9322         (ptmalloc_init): Do not call thread_atfork.  Remove
9323         thread_atfork_static.
9324         * malloc/tst-malloc-fork-deadlock.c: New file.
9325         * Makefile (tests): Add tst-malloc-fork-deadlock.
9326         (tst-malloc-fork-deadlock): Link against libpthread.
9327         * manual/memory.texi (Aligned Memory Blocks): Update safety
9328         annotation comments.
9329         * sysdeps/nptl/fork.c (__libc_fork): Call
9330         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9331         __malloc_fork_unlock_child.
9332         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9334 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9336         [BZ #19613]
9337         Remove union wait.
9338         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9339         (w_stopsig, w_stopval): Remove.
9340         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9341         stat_loc argument.
9342         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9343         (__WAIT_STATUS_DEFN): Remove.
9344         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9345         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9346         (wait, wait3, wait4): Use int * for the stat_loc argument.
9347         * posix/wait.c (__wait): Likewise.
9348         * posix/wait3.c (__wait3): Likewise.
9349         * posix/wait4.c (__wait4): Likewise.
9350         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9351         (__WAIT_STATUS_DEFN): Remove.
9352         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9353         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9354         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9355         argument.
9356         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9357         * sysdeps/posix/wait3.c (__wait3): Likewise.
9358         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9359         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9360         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9361         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9362         stat_loc argument.
9363         * manual/process.texi (BSD Wait Functions): Remove union wait.
9365 2016-04-13  Andreas Schwab  <schwab@suse.de>
9367         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9368         (test-extras): Add tst-tlsalign-vars.
9369         * math/Makefile: Wrap long lines.
9370         (libm-vec-test-wrappers): Define.
9371         (test-extras): Add $(libm-vec-test-wrappers).
9372         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9373         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9374         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9375         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9376         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9377         (extra-test-objs): Add corresponding objects.
9379 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9381         [BZ #19928]
9382         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9383         New.
9384         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9385         times of shared cache size.
9386         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9387         (VMOVNT): New.
9388         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9389         (VMOVNT): Likewise.
9390         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9391         (VMOVNT): Likewise.
9392         (VMOVU): Changed to movups for smaller code sizes.
9393         (VMOVA): Changed to movaps for smaller code sizes.
9394         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9395         comments.
9396         (PREFETCH): New.
9397         (PREFETCH_SIZE): Likewise.
9398         (PREFETCHED_LOAD_SIZE): Likewise.
9399         (PREFETCH_ONE_SET): Likewise.
9400         Rewrite to use forward and backward loops, which move 4 vector
9401         registers at a time, to support overlapping addresses and use
9402         non temporal store if size is above the threshold and there is
9403         no overlap between destination and source.
9405 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9407         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9408         Include dl-vdso.
9409         * sysdeps/unix/sysv/linux/mips/Versions: Add
9410         __vdso_clock_gettime.
9411         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9412         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9413         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9414         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9415         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9416         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9417         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9418         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9419         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9421 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9423         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9424         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9427         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9428         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9431         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9432         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9433         syscalls generation.
9434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9435         [__NR_pwrite64] (__NR_write): Remove define.
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9437         [__NR_pwrite64] (__NR_write): Remove define.
9438         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9439         Remove define.
9440         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9441         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9442         Remove define.
9443         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9444         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9445         Linux implementation as base.
9446         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9448         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9449         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9451         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9454         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9456         syscall generation.
9457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9458         [__NR_pread64] (__NR_pread): Remove define.
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9460         [__NR_pread64] (__NR_pread): Likewise.
9461         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9462         define.
9463         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9464         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9465         Remove define.
9466         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9467         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9468         Linux implementation as base.
9469         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9470         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9471         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9473         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9474         definition.
9475         (__ALIGNMENT_COUNT): Likewise.
9476         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9477         (__ALIGNMENT_COUNT): Likewise.
9478         (SYSCALL_LL): New define.
9479         (SYSCALL_LL64): Likewise.
9480         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9481         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9482         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9483         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9485         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9486         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9488         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9489         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9490         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9492 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9494         [BZ #19865]
9495         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9496         original buffer before retry.
9498 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9500         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9501         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9502         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9503         GLRO(dl_auxv) list.
9504         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9505         including <ldsodefs.h>.
9506         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9508 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9510         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9511         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9512         $(CPPFLAGS).
9514 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9516         [BZ #17950]
9517         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9518         Add -mfpmath=387.
9520 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9522         * sysdeps/i386/configure.ac: Change == to = when calling test.
9523         * sysdeps/x86_64/configure.ac: Likewise.
9524         * sysdeps/i386/configure: Regenerated.
9525         * sysdeps/x86_64/configure: Likewise.
9527 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9529         [BZ #16137]
9530         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9531         * benchtests/bench-strcoll.c (input_files): Likewise.
9532         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9533         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9534         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9536 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9538         [BZ #19929]
9539         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9540         [__USE_XOPEN2K8 && !__USE_GNU].
9541         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9542         variable.
9544         [BZ #19925]
9545         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9546         define if [!__USE_MISC && __USE_XOPEN2K].
9547         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9548         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9550         Likewise.
9551         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9552         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9553         variable.
9554         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9556 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9558         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9559         (sysdep_routines): Add new strspn targets.
9560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9561         (__libc_ifunc_impl_list): Add strspn.
9562         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9563         New file.
9564         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9565         Likewise.
9566         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9567         Likewise.
9568         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9569         Likewise.
9571 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9573         * misc/hsearch_r.c: Include <limits.h>.
9575 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9577         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9579 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9581         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9582         (MEMCPY_SYMBOL): New.
9583         (MEMPCPY_SYMBOL): Likewise.
9584         (MEMMOVE_CHK_SYMBOL): Likewise.
9585         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9586         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9587         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9588         Provide alias for memcpy in libc.a and ld.so.
9590 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9592         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9593         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9594         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9595         Disabled fro now.
9596         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9597         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9599 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9601         * benchtests/Makefile (string-benchset): Add memcpy-large,
9602         memmove-large and memset-large.
9603         * benchtests/bench-memcpy-large.c: New file.
9604         * benchtests/bench-memmove-large.c: Likewise.
9605         * benchtests/bench-memmove-large.c: Likewise.
9606         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9608 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9610         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9611         32-bit displacement to avoid long nop between instructions.
9613 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9615         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9616         a comment on VMOVU and VMOVA.
9618 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9620         [BZ #19633]
9621         Use specified locale for number formatting in strfmon_l.
9622         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9623         (__nl_lookup_word): New inline functions.
9624         * include/printf.h (__print_fp_l): Declare.
9625         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9626         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9627         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9628         (___printf_fp): New function.
9629         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9630         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9631         * stdlib/tst-strfmon_l.c (do_test): New test.
9632         * stdlib/Makefile (tests): Add kt.
9633         (LOCALES): Build additional locales.
9634         (tst-strfmon_l.out): Require locales.
9636 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9638         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9639         if not in libc.
9640         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9641         Likewise.
9642         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9643         Likewise.
9644         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9645         Likewise.
9647 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9649         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9650         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9651         with unaligned_erms.
9652         (__memmove_erms): Skip if source == destination.
9653         (__memmove_unaligned_erms): Don't check source == destination
9654         first.
9656 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9658         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9659         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9661 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9663         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9664         * string/strspn.c (strspn): Likewise.
9666 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9668         * benchtests/bench-memset.c (do_test): Support 64-byte
9669         alignment.
9670         (test_main): Test 64-byte alignment.
9672 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9674         * benchtests/bench-memmove.c (test_main): Test 64-byte
9675         alignment.
9677 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9679         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9681 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9683         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9684         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9685         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9687         * string/strpbrk.c (strpbrk): Rewrite function.
9688         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9689         (__strpbrk_c2): Likewise.
9690         (__strpbrk_c3): Likewise.
9691         * string/string-inlines.c
9692         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9693         Likewise.
9694         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9695         Likewise.
9697         * string/strspn.c (strcspn): Rewrite function.
9698         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9699         (__strspn_c1): Remove inline function.
9700         (__strspn_c2): Likewise.
9701         (__strspn_c3): Likewise.
9702         * string/string-inlines.c
9703         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9704         compatibility symbol.
9705         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9706         Likewise.
9707         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9708         Likewise.
9709         * string/string-inlines.c: Include generic version.
9711 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9712             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9714         * string/Version (libc): Add GLIBC_2.24.
9715         * string/strcspn.c (strcspn): Rewrite function.
9716         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9717         (__strcspn_c1): Remove inline function.
9718         (__strcspn_c2): Likewise.
9719         (__strcspn_c3): Likewise.
9720         * string/string-inline.c
9721         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9722         compatibility symbol.
9723         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9724         Likewise.
9725         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9726         Likewise.
9727         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9729 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9731         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9732         Use ahi instead of aghi to adjust stack pointer.
9734 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9736         [BZ #19853]
9737         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9738         TEST to take significant digits as second parameter.
9739         [TEST]: Redefine in terms of TEST_N taking 30
9740         significant digits.
9741         (do_test): Add test case to demonstrate precision
9742         failure in the ldbl-128ibm printf.
9743         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9744         (__mpn_extract_long_double): Carry 7 extra intermediate
9745         bits of precision to aide computing difference when
9746         signs differ.
9748 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9750         [BZ #19881]
9751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9752         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9753         memset-avx512-unaligned-erms.
9754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9755         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9756         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9757         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9758         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9759         __memset_sse2_unaligned_erms, __memset_erms,
9760         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9761         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9762         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9763         file.
9764         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9765         Likewise.
9766         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9767         Likewise.
9768         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9769         Likewise.
9771 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9773         [BZ #19776]
9774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9775         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9776         memmove-avx512-unaligned-erms.
9777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9778         (__libc_ifunc_impl_list): Test
9779         __memmove_chk_avx512_unaligned_2,
9780         __memmove_chk_avx512_unaligned_erms,
9781         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9782         __memmove_chk_sse2_unaligned_2,
9783         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9784         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9785         __memmove_avx512_unaligned_erms, __memmove_erms,
9786         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9787         __memcpy_chk_avx512_unaligned_2,
9788         __memcpy_chk_avx512_unaligned_erms,
9789         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9790         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9791         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9792         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9793         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9794         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9795         __mempcpy_chk_avx512_unaligned_erms,
9796         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9797         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9798         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9799         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9800         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9801         __mempcpy_erms.
9802         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9803         file.
9804         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9805         Likwise.
9806         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9807         Likwise.
9808         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9809         Likwise.
9811 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9813         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9814         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9815         (La_s390_64_regs): Likewise.
9816         (La_s390_32_retval): Append vector register lrv_v24.
9817         (La_s390_64_retval): Likeweise.
9818         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9819         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9820         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9821         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9823 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9825         [BZ #19916]
9826         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9827         to create a non-vector/vector version for _dl_runtime_resolve and
9828         _dl_runtime_profile. Move implementation to ...
9829         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9830         (_dl_runtime_resolve) Save and restore fpr/vrs.
9831         (_dl_runtime_profile) Save and restore vrs and fix some issues
9832         if _dl_call_pltexit is called.
9833         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9834         Choose the correct resolver function if running on a machine with vx.
9835         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9836         to create a non-vector/vector version for _dl_runtime_resolve and
9837         _dl_runtime_profile. Move implementation to ...
9838         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9839         (_dl_runtime_resolve) Save and restore fpr/vrs.
9840         (_dl_runtime_profile) Save and restore vrs and fix some issues
9841         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9842         Choose the correct resolver function if running on a machine with vx.
9844 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9846         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9848 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9850         [BZ #19509]
9851         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9852         skip_map != NULL.
9853         * elf/tst-dlsym-error.c: New file.
9854         * elf/Makefile (tests): Add tst-dlsym-error.
9855         (tst-dlsym-error): Link against libdl.
9857 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9859         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9860         (__ASSUME_FUTIMESAT): Remove macro.
9861         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9863 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9865         [BZ #19879]
9866         CVE-2016-3075
9867         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9868         copy name.
9870 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9872         [BZ #19837]
9873         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9874         error if parse_line fails.
9876 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9878         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9879         (index_cpu_ERMS): Likewise.
9880         (reg_ERMS): Likewise.
9882 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9884         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9885         PER_LINUX_FDPIC): Add.
9887 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9890         memcpy-avx512-no-vzeroupper.
9891         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9892         to ...
9893         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9894         (MEMCPY): Don't define.
9895         (MEMCPY_CHK): Likewise.
9896         (MEMPCPY): Likewise.
9897         (MEMPCPY_CHK): Likewise.
9898         (MEMPCPY_CHK): Renamed to ...
9899         (__mempcpy_chk_avx512_no_vzeroupper): This.
9900         (MEMPCPY_CHK): Renamed to ...
9901         (__mempcpy_chk_avx512_no_vzeroupper): This.
9902         (MEMCPY_CHK): Renamed to ...
9903         (__memmove_chk_avx512_no_vzeroupper): This.
9904         (MEMCPY): Renamed to ...
9905         (__memmove_avx512_no_vzeroupper): This.
9906         (__memcpy_avx512_no_vzeroupper): New alias.
9907         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9909 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9911         [BZ #18858]
9912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9913         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9914         and mempcpy-avx512-no-vzeroupper.
9915         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9916         New.
9917         (MEMPCPY): Likewise.
9918         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9919         (MEMPCPY_CHK): New.
9920         (MEMPCPY): Likewise.
9921         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9922         (MEMPCPY): Likewise.
9923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9924         (MEMPCPY): Likewise.
9925         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9926         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9927         Likewise.
9928         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9929         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9931 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9932              Amit Pawar  <Amit.Pawar@amd.com>
9934         [BZ #19583]
9935         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9936         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9937         processors.  Set Fast_Copy_Backward for AMD Excavator
9938         processors.
9939         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9940         New.
9941         (index_arch_Fast_Unaligned_Copy): Likewise.
9942         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9943         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9945 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9947         [BZ #19791]
9948         * resolv/res_send.c (close_and_return_error): New function.
9949         (send_dg): Initialize *resplen2 after reopen failure.  Call
9950         close_and_return_error for error returns.  On error paths without
9951         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9952         successful return.
9954 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9956         [BZ# 19860]
9957         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9958         zero if the compiler does not provide the AVX512F bit.
9960 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #19848]
9963         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9964         from 8 to 4.
9965         (__ieee754_powl): Compare integer exponent against 4 not 8.
9966         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9967         from 8 to 4.
9968         (__ieee754_powl): Compare integer exponent against 4 not 8.
9969         * math/auto-libm-test-in: Add more tests of pow.
9970         * math/auto-libm-test-out: Regenerated.
9971         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9974 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9976         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9977         Make code unconditional.
9978         [!__NR_utimensat]: Remove conditional code.
9979         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9980         Make code unconditional.
9981         [!__NR_utimensat]: Remove conditional code.
9982         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9983         Make code unconditional.
9984         [!__NR_utimensat]: Remove conditional code.
9986 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9988         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9989         Make code unconditional.
9991 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9993         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9994         call-clobbered %eax on retry path.
9995         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9997 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9999         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10000         Don't set %rcx twice before "rep movsb".
10002 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10004         [BZ #19583]
10005         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10006         inline.  Check family before setting family, model and
10007         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10008         bits here.
10009         (init_cpu_features): Replace HAS_CPU_FEATURE and
10010         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10011         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10012         for Intel processors with usable AVX2.  Call get_common_indeces
10013         for other processors with family == NULL.
10014         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10015         (CPU_FEATURES_ARCH_P): Likewise.
10016         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10017         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10019 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10021         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10022         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10023         $(shared-thread-library) instead of hardcoding the path to libpthread.
10025 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10027         * sysdeps/unix/sysv/linux/kernel-features.h
10028         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10029         * sysdeps/unix/sysv/linux/getdents.c
10030         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10031         [!have_no_getdents64_defined]: Likewise.
10032         (__GETDENTS): Remove __have_no_getdents64 conditional.
10034 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10037         Remove macro.
10038         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10039         <kernel-features.h>.
10040         (signalfd) [__NR_signalfd4]: Make code unconditional.
10041         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10043 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10045         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10046         style.
10048 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10050         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10051         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10052         __pthread_unwind.
10053         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10054         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10056         (__condvar_cleanup1): Likewise.
10058 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10060         [BZ #19822]
10061         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10062         move it to the final $@ location.
10064 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10066         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10067         access where posix_spawn success and pid argument is null.
10068         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10069         success case.
10071 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10073         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10075         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10077         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10078         and __fcntl.
10079         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10080         __fcntl only.
10081         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10082         adding attribute_hidden to __open and __fcntl.
10084         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10085         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10086         depend on libc-modules.h,
10087         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10089 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10091         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10092         Remove macro.
10093         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10094         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10095         entry.
10097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10098         Remove macro.
10099         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10100         include <kernel-features.h>.
10101         [!__ASSUME_FALLOCATE]: Remove conditional code.
10102         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10104 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10106         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10107         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10109         (_ZGVdN4v_cos_avx2): Likewise.
10110         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10111         (_ZGVdN4v_cos): Likewise.
10112         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10113         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10114         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10115         (_ZGVdN4v_exp_avx2): Likewise.
10116         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10117         (_ZGVdN4v_exp): Likewise.
10118         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10119         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10120         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10121         (_ZGVdN4v_log_avx2): Likewise.
10122         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10123         (_ZGVdN4v_log): Likewise.
10124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10125         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10126         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10127         (_ZGVdN4vv_pow_avx2): Likewise.
10128         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10129         (_ZGVdN4vv_pow): Likewise.
10130         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10131         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10133         (_ZGVdN4v_sin_avx2): Likewise.
10134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10135         (_ZGVdN4v_sin): Likewise.
10136         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10137         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10138         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10139         (_ZGVdN4vvv_sincos_avx2): Likewise.
10140         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10141         (_ZGVdN4vvv_sincos): Likewise.
10142         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10143         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10144         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10145         (_ZGVbN4v_cosf_sse4): Likewise.
10146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10147         (_ZGVdN8v_cosf_avx2): Likewise.
10148         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10149         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10150         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10151         (_ZGVbN4v_expf_sse4): Likewise.
10152         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10153         (_ZGVdN8v_expf_avx2): Likewise.
10154         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10155         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10156         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10157         (_ZGVbN4v_logf_sse4): Likewise.
10158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10159         (_ZGVdN8v_logf_avx2): Likewise.
10160         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10161         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10163         (_ZGVbN4vv_powf_sse4): Likewise.
10164         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10165         (_ZGVdN8vv_powf_avx2): Likewise.
10166         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10167         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10169         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10171         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10173         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10174         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10175         (_ZGVbN4v_sinf_sse4): Likewise.
10176         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10177         (_ZGVdN8v_sinf_avx2): Likewise.
10178         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10179         Use JUMPTARGET to call callee.
10180         (WRAPPER_IMPL_SSE2_ff): Likewise.
10181         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10182         (WRAPPER_IMPL_AVX): Likewise.
10183         (WRAPPER_IMPL_AVX_ff): Likewise.
10184         (WRAPPER_IMPL_AVX_fFF): Likewise.
10185         (WRAPPER_IMPL_AVX512): Likewise.
10186         (WRAPPER_IMPL_AVX512_ff): Likewise.
10187         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10188         Likewise.
10189         (WRAPPER_IMPL_SSE2_ff): Likewise.
10190         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10191         (WRAPPER_IMPL_AVX): Likewise.
10192         (WRAPPER_IMPL_AVX_ff): Likewise.
10193         (WRAPPER_IMPL_AVX_fFF): Likewise.
10194         (WRAPPER_IMPL_AVX512): Likewise.
10195         (WRAPPER_IMPL_AVX512_ff): Likewise.
10196         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10198 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10200         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10201         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10202         qualifier.
10203         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10204         internal_function qualifiers.
10206 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10208         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10209         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10210         * math/atest-exp.c (exp_mpn): Mark chk unused.
10211         * math/atest-exp2.c (exp_mpn): Likwise.
10212         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10213         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10215 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10218         Remove macro.
10219         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10220         <kernel-features.h>.
10221         [__NR_ppoll]: Make code unconditional.
10222         [!__ASSUME_PPOLL]: Remove conditional code.
10224         * sysdeps/unix/sysv/linux/kernel-features.h
10225         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10226         (__ASSUME_ACCEPT4): Likewise.
10227         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10228         Define.
10229         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10230         Likewise.
10231         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10232         Likewise.
10233         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10234         Likewise.
10235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10236         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10237         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10238         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10239         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10242         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10243         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10244         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10245         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10246         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10247         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10248         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10249         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10251         Likewise.
10252         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10253         Likewise.
10254         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10255         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10256         0x040300].
10257         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10258         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10260         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10261         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10262         0x030300].
10263         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10264         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10265         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10266         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10267         0x040300].
10268         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10269         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10271         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10272         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10273         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10274         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10275         0x030300].
10276         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10277         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10278         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10279         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10281         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10282         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10283         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10284         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10285         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10286         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10287         0x040300].
10288         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10290         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10291         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10294         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10295         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10296         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10297         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10298         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10299         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10300         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10301         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10302         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10303         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10305         Likewise.
10306         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10307         Likewise.
10309 2016-03-15  Andreas Schwab  <schwab@suse.de>
10311         [BZ #19257]
10312         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10313         statp->_u._ext.nscount as loop count.
10315 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10317         * math/test-signgam-finite-c99.c: Also #undef
10318         __LIBC_INTERNAL_MATH_INLINES.
10319         * math/test-signgam-main.c: Likewise.
10321 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10323         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10324         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10325         (MADV_FREE): Likewise.
10326         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10327         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10328         EPOLLEXCLUSIVE.
10330 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10332         * timezone/README: Remove mention of checktab.awk. Mention wiki
10333         SharedSourceFiles.
10335 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10337         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10338         WUNTRACED.
10340 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10342         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10343         order to match the type of p when calling atomic_exchange_acq().
10345 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10347         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10348         cfi_offset calls.
10349         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10350         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10351         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10352         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10353         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10355 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10357         * timezone/checktab.awk: Removed.
10359 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10361         * manual/math.texi (Errors in Math Functions): Document relaxed
10362         accuracy goals for IBM long double.
10363         * math/libm-test.inc (test_exceptions): Always allow spurious
10364         "underflow" and "inexact" exceptions for IBM long double.
10366 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10368         [BZ #19762]
10369         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10370         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10371         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10372         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10373         (bit_arch_*): This for feature array.
10374         (bit_*): Renamed to ...
10375         (bit_cpu_*): This for cpu array.
10376         (index_*): Renamed to ...
10377         (index_arch_*): This for feature array.
10378         (index_*): Renamed to ...
10379         (index_cpu_*): This for cpu array.
10380         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10381         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10382         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10383         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10384         bit_##name with index_cpu_##name and bit_cpu_##name.
10385         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10386         bit_##name with index_arch_##name and bit_arch_##name.
10388 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10390         [BZ #19792]
10391         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10392         Terminate FDE before return label.
10394 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10396         [BZ #19790]
10397         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10398         (rintl): Define as macro.
10399         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10400         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10401         of fesetround.  Ensure results are evaluated before end of scope.
10402         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10403         USE_AS_NEARBYINTL and include s_rintl.c.
10404         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10405         Disable exception traps in new environment.
10406         (libc_feholdsetround_ppc_ctx): Likewise.
10408 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10410         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10411         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10412         (tst_audit10_aux) [__AVX512F__]: ... here.
10414 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10416         * include/sys/auxv.h: New file.
10418 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10420         [BZ #19759]
10421         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10423 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10425         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10426         operand modifier.
10427         (feclearexcept): Likewise.
10429 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10431         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10432         to reflect the entire 32-bit HWCAP.
10433         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10434         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10436 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10438         [BZ #19783]
10439         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10440         $(test-via-rtld-prefix).
10441         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10443 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10445         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10446         union wait.  Report any non-zero exit status as error.
10448 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10450         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10451         configured with --enable-hardcoded-path-in-tests.
10453 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10455         [BZ #19677]
10456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10457         (__ieee754_remainderl): Put zero low parts in canonical form.
10458         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10459         file.  Based on
10460         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10461         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10462         with wrapper round test-fmodrem-ldbl-128ibm.c.
10463         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10464         file.
10465         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10466         Likewise.
10467         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10468         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10470 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10472         [BZ #19610]
10473         * elf/ldconfig.c (opt_link): Update comment.
10474         (options): Update help string for option -X.
10475         (search_dir): Unlink stale symbolic link only if updating symbolic
10476         links.
10477         * elf/tst-ldconfig-X.sh: New file.
10478         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10479         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10481 2016-03-07  Andreas Schwab  <schwab@suse.de>
10483         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10484         needed arguments.
10486 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10488         [BZ #15333]
10489         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10490         to lstat64.
10492 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10494         * libio/filedoalloc.c (isatty): Remove.
10495         (local_isatty): Add comment.  Call __isatty directly.
10496         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10497         * libio/wfiledoalloc.c (isatty): Remove.
10498         (_IO_wfile_doallocate): Update comment.
10500 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10502         [BZ #19269]
10503         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10504         tst-audit4-aux.o.
10505         (tst-audit10): Depend on tst-audit10-aux.o.
10506         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10507         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10508         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10509         instead of inline AVX code.
10510         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10511         instead of inline AVX512 code.
10512         * sysdeps/x86_64/tst-audit4-aux.c: New file
10513         * sysdeps/x86_64/tst-audit10-aux.c: New file
10515         [BZ #19648]
10516         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10518 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10520         [BZ #14750]
10521         [BZ #10354]
10522         [BZ #18433]
10523         * include/sched.h (__clone): Add hidden prototype.
10524         (__clone2): Likewise.
10525         * include/unistd.h (__dup): Likewise.
10526         * posix/Makefile (tests): Add tst-spawn2.
10527         * posix/tst-spawn2.c: New file.
10528         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10529         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10530         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10531         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10532         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10533         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10534         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10535         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10536         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10537         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10538         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10540         Likewise.
10541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10542         Likewise.
10543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10544         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10545         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10546         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10547         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10548         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10549         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10550         * sysdeps/unix/sysv/linux/nptl-signals.h
10551         (____nptl_is_internal_signal): New function.
10552         * sysdeps/unix/sysv/linux/spawni.c: New file.
10554         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10555         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10556         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10557         * posix/tst-execvp2.c (do_test): Likewise.
10558         * posix/tst-execvp3.c (do_test): Likewise.
10559         * posix/tst-execvp4.c (do_test): Likewise.
10560         * posix/tst-execvpe1.c: New file.
10561         * posix/tst-execvpe2.c: Likewise.
10562         * posix/tst-execvpe3.c: Likewise.
10563         * posix/tst-execvpe4.c: Likewise.
10564         * posix/tst-execvpe5.c: Likewise.
10565         * posix/tst-execvpe6.c: Likewise.
10567         [BZ #19534]
10568         * posix/execl.c (execl): Remove dynamic memory allocation.
10569         * posix/execle.c (execle): Likewise.
10570         * posix/execlp.c (execlp): Likewise.
10572 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10574         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10575         Replace .text with .text.avx512.
10576         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10577         Likewise.
10579 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10581         * sysdeps/generic/libnsl.abilist: New file.
10582         * sysdeps/generic/libutil.abilist: New file.
10584 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10586         [BZ #19762]
10587         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10588         HAS_ARCH_FEATURE with Fast_Rep_String.
10589         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10590         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10591         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10592         Likewise.
10593         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10594         Likewise.
10595         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10596         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10597         Likewise.
10598         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10599         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10600         Likewise.
10602 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10604         [BZ #19745]
10605         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10606         with *%rax in call.
10608 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10610         [BZ #19745]
10611         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10612         with *__libc_start_main@GOTPCREL(%rip) in call.
10614 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10616         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10617         inside conditional for nonempty $(CXX).
10619         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10620         nonempty.
10622         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10623         to test for empty $(CXX) rather than $(CXX) of "no".
10625 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10627         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10629 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10630             H.J. Lu  <hongjiu.lu@intel.com>
10632         [BZ #18880]
10633         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10634         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10635         enable __memcpy_ssse3_back.
10637 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10639         [BZ #19758]
10640         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10641         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10643 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10645         [BZ #19490]
10646         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10647         (__fentry__): Likewise.
10649 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10651         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10652         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10654 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10656         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10657         __mcount_internal directly.
10658         (C_LABEL(__fentry__)): Likewise.
10659         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10660         directly.
10662 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10664         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10665         (__start_context): Call __setcontext directly.
10667 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10669         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10670         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10671         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10672         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10673         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10674         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10675         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10676         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10677         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10678         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10679         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10680         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10681         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10682         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10683         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10684         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10685         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10687         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10688         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10689         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10691         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10692         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10693         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10694         Remove conditional code.
10695         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10696         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10697         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10698         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10699         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10700         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10701         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10702         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10703         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10704         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10706         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10708 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10710         * NEWS (2.23): Fix typo in bug 19048 text.
10712 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10714         [BZ #14259]
10715         * Makeconfig: Rename msgcatdir to localedir.
10716         Rename inst_msgcatdir to inst_localedir.
10717         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10718         * config.make.in: Add localedir.
10719         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10720         (ldd-rewrite): Likewise.
10721         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10722         (install-others): Use inst_localedir.
10723         (CPPFLAGS): Use localedir.
10724         * locale/Makefile (locale-CPPFLAGS): Likewise.
10725         * po/Makefile (mo-installed): Use inst_localedir.
10727         [BZ #19575]
10728         * localedata/charmaps/GB18030: Update comments regarding PAU to
10729         non-PUA mappings.
10731 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10733         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10734         test for header.
10735         * sysdeps/unix/sysv/linux/configure: Regenerated.
10736         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10737         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10738         Remove conditional code.
10739         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10741         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10742         Define to 3.2.0.
10743         (arch_minimum_kernel): Likewise.
10744         * sysdeps/unix/sysv/linux/configure: Regenerated.
10745         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10746         Define to 2.6.32.
10747         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10748         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10749         (arch_minimum_kernel): Define to 2.6.32.
10750         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10751         * README: Document Linux 3.2 requirement.
10752         * manual/install.texi (Linux): Document Linux 3.2 headers
10753         requirement.
10754         * INSTALL: Regenerated.
10756 2016-02-24  Andreas Schwab  <schwab@suse.de>
10758         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10759         if !NO_LONG_DOUBLE.
10761 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10763         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10764         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10766 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10768         [BZ #19512]
10769         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10771 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10773         * posix/tst-dir.c: Include libc-internal.h.
10775 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10777         [BZ #19056]
10778         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10779         * manual/filesys.texi (Reading/Closing Directory): Mention
10780         deprecaion.
10781         * posix/tst-dir.c (main): Disable deprecation warning in test.
10783 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10785         [BZ #19679]
10786         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10787         Renamed to ...
10788         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10789         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10790         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10791         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10792         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10793         * sysdeps/x86_64/dl-trampoline.h
10794         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10795         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10797 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10799         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10801 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10803         * elf/elf.h (R_386_GOT32X): New.
10804         (R_386_NUM): Update.
10805         (R_X86_64_GOTPCRELX: New.
10806         (R_X86_64_REX_GOTPCRELX): New.
10807         (R_X86_64_NUM): Update.
10809 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10811         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10813 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10815         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10816         assign attr->stackaddr to it, and adjust it down when
10817         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10818         [_STACK_GROWS_UP]: Delete assert.
10819         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10820         Implement stack grows up logic.
10821         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10822         stack grows up logic.
10824 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10826         * NEWS: Update with 2.24 template.
10828 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10830         [BZ #19678]
10831         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10832         Ensure +0.0 is returned when taking the next value below the least
10833         positive value.
10835 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10837         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10838         available.  Do not define NO_THREADS.
10839         * malloc/malloc.c: Do not check NO_THREADS.
10840         * malloc/arena.c: Likewise.
10842 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10844         * malloc/malloc.c (__libc_mallinfo): Update comment.
10845         (struct malloc_par): Remove max_total_mem member, it was always 0.
10846         (int_mallinfo): Store 0 into usmblks (no functional change).
10847         * malloc/hooks.c (struct malloc_state): Document that
10848         max_total_mem is always 0.
10849         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10850         always 0.
10851         * manual/memory.texi (Statistics of Malloc): Likewise.
10853 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10855         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10856         * malloc/arena.c (arena_max): Remove.
10857         (heap_trim, _int_new_arena): Do not update arena_max.
10859 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10861         * resolv/res_init.c (res_ninit): Update comment.
10863 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10865         [BZ #19505]
10866         * posix/spawn_int.h: Add headers and include guard.
10867         (__spawn_valid_fd): New function.
10868         * posix/spawn_faction_addopen.c
10869         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10870         * posix/spawn_faction_addclose.c
10871         (posix_spawn_file_actions_addclose): Likewise.
10872         * posix/spawn_faction_adddup2.c
10873         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10874         second file descriptor.
10875         * posix/spawn_valid_fd.c: New file.
10876         * posix/tst-posix_spawn-fd.c: New file.
10877         * posix/Makefile (routines): Add spawn_valid_fd.
10878         (tests): Add tst-posix_spawn-fd.
10880 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10882         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10883         (do_test): Limit the number of arenas, so that we can use fewer
10884         outer threads.  Limit timeout to 3 seconds, in preparation for a
10885         larger TIMEOUT value.
10887 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10889         [BZ #19674]
10890         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10891         sign in overflowing and underflowing results when overflow or
10892         underflow is detected early.  Include sign in result before rather
10893         than after scaling.
10895         [BZ #19603]
10896         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10897         (__ieee754_remainderl): Adjust sign of integer version of low part
10898         when taking absolute value of high part.
10899         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10900         * math/libm-test.inc (remainder_test_data): Add another test.
10901         (remquo_test_data): Likewise.
10903 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10905         [BZ #19602]
10906         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10907         equal high parts and both low parts zero specially.
10908         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10909         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10910         Add test-fmodl-ldbl-128ibm.
10912         [BZ #19595]
10913         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10914         common logic for all cases of shifting subnormal results.  Do not
10915         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10916         exponent to ldbl_insert_mantissa in subnormal case.
10918         [BZ #19594]
10919         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10920         on high and low parts then adjust result and use
10921         ldbl_canonicalize_int if needed.
10923         [BZ #19593]
10924         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10925         on high part and __floor or __ceil on low part then use
10926         ldbl_canonicalize_int if needed.
10928         [BZ #19592]
10929         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10930         high and low parts then use ldbl_canonicalize_int if needed.
10932         [BZ #17899]
10933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10934         New function.
10935         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10936         on high and low parts then use ldbl_canonicalize_int if needed.
10938 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10940         * configure: Regenerated.
10942         * po/libc.pot: Regenerated.
10944         * po/be.po: Updated translation.
10945         * po/bg.po: Likewise.
10946         * po/ca.po: Likewise.
10947         * po/cs.po: Likewise.
10948         * po/da.po: Likewise.
10949         * po/el.po: Likewise.
10950         * po/eo.po: Likewise.
10951         * po/es.po: Likewise.
10952         * po/fi.po: Likewise.
10953         * po/fr.po: Likewise.
10954         * po/gl.po: Likewise.
10955         * po/hr.po: Likewise.
10956         * po/hu.po: Likewise.
10957         * po/ia.po: Likewise.
10958         * po/id.po: Likewise.
10959         * po/it.po: Likewise.
10960         * po/ja.po: Likewise.
10961         * po/lt.po: Likewise.
10962         * po/nb.po: Likewise.
10963         * po/nl.po: Likewise.
10964         * po/pt_BR.po: Likewise.
10965         * po/rw.po: Likewise.
10966         * po/sk.po: Likewise.
10967         * po/sl.po: Likewise.
10968         * po/sv.po: Likewise.
10969         * po/tr.po: Likewise.
10970         * po/zh_CN.po: Likewise.
10971         * po/zh_TW.po: Likewise.
10973         * version.h (RELEAES): Set to "development".
10974         (VERSION): Set to 2.23.90.
10976         * version.h (RELEASE): Set to "stable".
10977         (VERSION): Set to 2.23.
10978         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10980         * NEWS: Updated fixed bugs.
10982 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10983             Wilco Dijkstra  <wdijkstr@arm.com>
10985         [BZ #19462]
10986         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10987         (_STRING_INLINE_unaligned): This.
10988         * include/string.h: Include <string_private.h>.
10989         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10990         _STRING_INLINE_unaligned.
10991         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10992         (_STRING_INLINE_unaligned): New.
10993         * sysdeps/aarch64/string_private.h: New file.
10994         * sysdeps/generic/string_private.h: Likewise.
10995         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10996         * sysdeps/s390/string_private.h: Likewise.
10997         * sysdeps/x86/string_private.h: Likewise.
10998         * sysdeps/m68k/m680x0/m68020/bits/string.h
10999         (_STRING_ARCH_unaligned): Renamed to ...
11000         (_STRING_INLINE_unaligned): This.
11001         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11002         to ...
11003         (_STRING_INLINE_unaligned): This.
11004         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11005         to ...
11006         (_STRING_INLINE_unaligned): This.
11007         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11008         to ...
11009         (_STRING_INLINE_unaligned): This.
11011 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11012             H.J. Lu  <hongjiu.lu@intel.com>
11014         [BZ #19590]
11015         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11016         relocation.
11018 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11020         [BZ #18665]
11021         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11022         *herrno_p.
11023         (gaih_getanswer): Document functional behviour. Return tryagain
11024         if any result is tryagain.
11025         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11026         when freed.
11027         * resolv/res_send.c: Add copyright text.
11028         (__libc_res_nsend): Document that MAXPACKET is expected.
11029         (send_vc): Document. Remove buffer reuse.
11030         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11031         size of the buffer. Add Dprint for truncated UDP buffer.
11033 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11035         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11036         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11037         * INSTALL: Regenerate.
11039 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11040             Jonathan Wakely  <jwakely@redhat.com>
11041             Carlos O'Donell  <carlos@redhat.com>
11043         [BZ 19439]
11044         * math/Makefile (tests): Add test-math-isinff.
11045         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11046         * math/bits/mathcalls.h [__USE_MISC]: Use
11047         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11048         functions not in C++11 and which don't conflict e.g. isinff,
11049         isinfl etc.
11050         * math/test-math-isinff.cc: New file.
11052 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11054         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11056 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11058         [BZ #19529]
11059         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11061 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11063         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11065 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11067         [BZ #19550]
11068         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11069         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11070         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11071         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11072         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11073         New syscall entry.
11074         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11075         New syscall entry.
11076         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11077         syscall entry.
11079 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11081         [BZ #18240]
11082         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11083         unsigned int wraparound.
11085 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11087         [BZ #18240]
11088         * misc/bug18240.c: New test.
11089         * misc/Makefile (tests): Add it.
11091 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11092             Joseph Myers  <joseph@codesourcery.com>
11094         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11095         load in branch delay slot when less than a word of input left.
11097 2016-01-27  Andreas Schwab  <schwab@suse.de>
11099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11100         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11101         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11102         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11104 2016-01-26  David S. Miller  <davem@davemloft.net>
11106         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11108 2016-01-25  David S. Miller  <davem@davemloft.net>
11110         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11111         __sqrtl_finite.
11112         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11113         instead using versioned_symbol.
11114         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11115         of entries.
11117         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11118         __sqrtl_finite to GLIBC_2.23
11120 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11122         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11124 2016-01-25  Andreas Schwab  <schwab@suse.de>
11126         [BZ #17514]
11127         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11128         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11129         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11130         * nptl/tst-mutex-errorcheck.c: New file.
11132 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11134         [BZ #18560]
11135         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11136         (IPCOP_semop): Likewise.
11137         (IPCOP_semget): Likewise.
11138         (IPCOP_semctl): Likewise.
11139         (IPCOP_msgsnd): Likewise.
11140         (IPCOP_msgrcv): Likewise.
11141         (IPCOP_msgget): Likewise.
11142         (IPCOP_msgctl): Likewise.
11143         (IPCOP_shmat): Likewise.
11144         (IPCOP_shmdt): Likewise.
11145         (IPCOP_shmget): Likewise.
11146         (IPCOP_shmctl): Likewise.
11148 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11150         * string/tst-endian.c: Include <libc-internal.h>.
11151         (do_test): Ignore tautological-compare warnings around
11152         "htobeXX (beXXtoh (i)) != i" and
11153         "htoleXX (leXXtoh (i)) != i" if-statements.
11155 2016-01-24  David S. Miller  <davem@davemloft.net>
11157         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11158         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11159         alias.
11160         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11161         __sqrtl_finite.
11163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11165 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11167         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11168         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11169         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11171 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11173         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11174         (thread_func): Use new function to simplify barrier check.
11175         (do_test): Use new function to simplify checking barrier exit
11176         code, and actually join the child thread.
11178 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11180         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11181         semicolon.
11182         (__libc_tend): Likewise.
11183         (__libc_tabort): Likewise.
11185 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11187         * sysdeps/nios2/libm-test-ulps: Update.
11188         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11189         (__gtsf2): Likewise.
11190         (__unorddf2): Likewise.
11191         (__unordsf2): Likewise.
11192         (__ledf2): Likewise.
11194 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11196         * nis/nis_table.c (__follow_path): Disable diagnostic for
11197         uninitialized variable that is a false positive for gcc 4.7.
11198         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11200 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11202         * sysdeps/nacl/lowlevellock-futex.h
11203         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11204         Always evaluate PRIVATE argument.
11206 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11208         [BZ #19490]
11209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11210         (pthread_cond_broadcast): Use ENTRY/END
11211         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11212         (pthread_cond_signal): Likewise.
11213         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11214         Likewise.
11215         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11216         Likewise.
11217         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11218         Likewise.
11220 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11222         * sysdeps/ieee754/dbl-64/s_finite.c
11223         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11224         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11225         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11226         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11227         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11230         (__gtsf2): Add as optional for libc.so.
11231         (__unordsf2): Likewise.
11232         (__signbit): Remove for libc.so.
11233         (__signbitl): Likewise.
11235 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11237         * iconvdata/bug-iconv11.c (test_ibm93x):
11238         Use %zu printf format specifier for size_t argument.
11240 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11242         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11243         already-recorded ulps.
11244         * sysdeps/arm/libm-test-ulps: Regenerated.
11245         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11247         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11249 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11250             Paul Pluzhnikov  <ppluzhnikov@google.com>
11252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11253         assembler not supporting AVX-512.
11255 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11257         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11259 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11261         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11262         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11264         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11266         * sysdeps/arm/libm-test-ulps: Regenerated.
11268 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11270         [BZ #19451]
11271         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11273 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11275         [BZ #19486]
11276         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11277         * sysdeps/generic/fix-fp-int-convert-overflow.h
11278         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11279         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11280         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11281         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11282         Likewise.
11283         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11284         Avoid conversions to long int where inexact exceptions
11285         could be raised.
11286         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11287         Likewise.
11288         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11289         Avoid conversions to long long int where inexact exceptions
11290         could be raised.
11291         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11292         Likewise.
11294 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11296         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11297         * configure: Regenerated.
11299 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11301         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11303 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11306         outside of comment.
11308 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11310         * nptl/tst-barrier1.c: Add description on first line.
11311         * nptl/tst-barrier2.c: Likewise.
11312         * nptl/tst-barrier3.c: Likewise.
11313         * nptl/tst-barrier4.c: Likewise.
11314         * nptl/tst-barrier5.c: Likewise.
11316 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11318         [BZ #18868]
11319         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11321 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11324         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11325         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11326         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11327         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11328         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11329         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11330         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11331         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11332         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11333         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11335 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11337         [BZ #13065]
11338         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11339         new implementation.
11340         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11341         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11342         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11343         (BARRIER_IN_THRESHOLD): New macro.
11344         * nptl/pthread_barrierattr_setpshared.c
11345         (pthread_barrierattr_setpshared): Clean up.
11346         * nptl/tst-barrier4.c: Correct comment.
11347         * nptl/tst-barrier5.c: New file.
11348         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11349         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11350         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11351         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11352         * nptl/lowlevelbarrier.sym: Remove.
11353         * nptl/DESIGN-barrier.txt: Remove.
11354         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11355         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11356         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11357         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11358         error.
11359         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11360         implementation.
11362 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11364         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11365         (do_child): Mask SIGRTMIN while thr is running.
11367 2016-01-15  Martin Sebor  <msebor@redhat.com>
11369         [BZ #19432]
11370         * iconvdata/Makefile: Add bug-iconv11.
11371         * iconvdata/bug-iconv11.c: New test.
11372         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11373         * iconvdata/ibm933.c: Same.
11374         * iconvdata/ibm935.c: Same.
11375         * iconvdata/ibm937.c: Same.
11376         * iconvdata/ibm939.c: Same.
11378 2016-01-15  Martin Sebor  <msebor@redhat.com>
11380         [BZ #19443]
11381         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11382         [DEBUG] (_ufc_set_bits): Declare used.
11383         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11384         [DEBUG] (print_all): Declare used.
11385         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11386         operands of the ternary ?: expression to target type.
11387         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11388         calling the undeclared abort.
11389         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11391 2016-01-15  Martin Sebor  <msebor@redhat.com>
11393         [BZ #18755]
11394         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11395         warnings.
11396         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11397         (__gai_create_helper_thread): Same.
11398         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11399         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11400         to suppress -Wmaybe-uninitialized warnings.
11402 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11404         [BZ #19465]
11405         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11406         inside if.
11407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11408         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11409         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11411 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11413         [BZ #19466]
11414         * time/tst-mktime2.c (time_t_max): Removed.
11415         (time_t_min): Likewise.
11416         (TYPE_SIGNED): New.
11417         (TYPE_MINIMUM): Likewise.
11418         (TYPE_MAXIMUM): Likewise.
11419         (TIME_T_MIN): Likewise.
11420         (TIME_T_MAX): Likewise.
11421         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11422         and TIME_T_MIN.
11423         (do_test): Likewise.
11425 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11427         [BZ #19467]
11428         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11429         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11431 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11433         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11435 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11437         * benchtests/Makefile (PYTHON): Define.
11438         (bench-func): Use $(PYTHON) to run python scripts.
11439         ($(objpfx)bench-%.c): Likewise.
11441 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11443         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11444         leading slash when `file_name' is "/".
11446 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11448         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11449         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11450         Likewise.
11451         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11452         Likewise.
11453         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11454         Likewise.
11455         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11456         enum constant and macro.
11457         (PTRACE_SETSIGMASK): Likewise.
11458         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11459         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11460         (PTRACE_GETSIGMASK): Likewise.
11461         (PTRACE_SETSIGMASK): Likewise.
11462         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11463         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11464         Likewise.
11465         (PTRACE_SETSIGMASK): Likewise.
11466         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11468         (PTRACE_GETSIGMASK): Likewise.
11469         (PTRACE_SETSIGMASK): Likewise.
11470         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11472         Likewise.
11473         (PTRACE_SETSIGMASK): Likewise.
11474         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11475         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11476         Likewise.
11477         (PTRACE_SETSIGMASK): Likewise.
11478         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11479         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11480         Likewise.
11481         (PTRACE_SETSIGMASK): Likewise.
11482         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11484 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11485             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11487         [BZ #19439]
11488         * math/bits/mathcalls.h
11489         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11490         prototype.
11491         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11493 2016-01-11  Andreas Schwab  <schwab@suse.de>
11495         [BZ #19253]
11496         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11497         cache when TZDEFRULES was used.
11498         * time/tst-tzname.c: New file.
11499         * time/Makefile (test): Add tst-tzname.
11500         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11501         * timezone/Makefile (test-zones): Add $(posixrules-file).
11502         ($(testdata)/$(posixrules-file)): New rule.
11504 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11506         Fix doc quoting problems with Texinfo 5
11507         Without this change, in the info file output, Texinfo 5 quotes code
11508         in text with undirected single quotes 'like this' and generates
11509         code examples that with many PDF readers cannot be cut out of PDFs
11510         and pasted into code.
11511         * manual/libc.texinfo: Configure the libc manual like the GNU
11512         Emacs manual, by using @documentencoding and setting
11513         txicodequoteundirected and txicodequotebacktick.  This way,
11514         Texinfo 5 quotes code in text with directed single quotes ‘like
11515         this’ and produces examples that can be cut out of PDFs.  This
11516         change causes Texinfo 5 to generate info files that contain UTF-8
11517         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11518         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11520 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11522         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11523         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11524         barriers to their respective compiler built-ins.
11525         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11526         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11527         * sysdeps/powerpc/sysdep.h: Likewise.
11528         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11529         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11530         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11532 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11534         * scripts/config.guess: Revert previous shebang change.
11535         * scripts/config.sub: Likewise.
11536         * scripts/mkinstalldirs: Likewise.
11538 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11540         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11541         PPC_FEATURE2_HAS_IEEE128.
11542         * sysdeps/powerpc/dl-procinfo.c:
11543         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11545 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11547         [BZ #19415]
11548         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11549         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11550         (_dl_lookup_address): Rewrite using function resolver trampoline.
11551         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11552         two bits in address.
11554 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11556         * longlong.h: Change !__SHMEDIA__ to
11557         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11558         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11560 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11561             Joseph Myers  <joseph@codesourcery.com>
11562             Mark Shinwell  <shinwell@codesourcery.com>
11563             Andrew Stubbs  <ams@codesourcery.com>
11564             Rich Felker <dalias@libc.org>
11566         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11568 2016-01-07  Richard Henderson  <rth@redhat.com>
11570         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11572 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11574         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11575         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11576         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11577         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11578         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11580 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11581             Joseph Myers  <joseph@codesourcery.com>
11583         * timezone/private.h: Update from tzcode 2015g.
11584         * timezone/tzfile.h: Likewise.
11585         * timezone/tzselect.ksh: Likewise.
11586         * timezone/zdump.c: Likewise.
11587         * timezone/zic.c: Likewise.
11588         * timezone/ialloc.c: Remove file.
11589         * timezone/scheck.c: Likewise.
11590         * timezone/Makefile (extra-objs): Remove variable.
11591         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11592         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11593         -Wno-maybe-uninitialized.
11594         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11595         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11596         (CFLAGS-ialloc.c): Remove variable.
11597         (CFLAGS-scheck.c): Likewise.
11598         * timezone/README: Update list of files from tzcode.
11600 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11602         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11603         instead of __fxprintf when _LIBC is undefined.
11605 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11607         * catgets/test-gencat.sh: Remove space after shebang.
11608         * conform/GlibcConform.pm: Likewise.
11609         * conform/check-header-lists.sh: Likewise.
11610         * conform/conformtest.pl: Likewise.
11611         * conform/linknamespace.pl: Likewise.
11612         * conform/list-header-symbols.pl: Likewise.
11613         * debug/catchsegv.sh: Likewise.
11614         * elf/genrtldtbl.awk: Likewise.
11615         * elf/tst-pathopt.sh: Likewise.
11616         * elf/tst-rtld-load-self.sh: Likewise.
11617         * grp/tst_fgetgrent.sh: Likewise.
11618         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11619         * iconvdata/gen-8bit-gap.sh: Likewise.
11620         * iconvdata/gen-8bit.sh: Likewise.
11621         * iconvdata/run-iconv-test.sh: Likewise.
11622         * intl/tst-gettext.sh: Likewise.
11623         * intl/tst-gettext2.sh: Likewise.
11624         * intl/tst-gettext4.sh: Likewise.
11625         * intl/tst-gettext6.sh: Likewise.
11626         * intl/tst-translit.sh: Likewise.
11627         * io/ftwtest-sh: Likewise.
11628         * libio/test-freopen.sh: Likewise.
11629         * locale/gen-translit.pl: Likewise.
11630         * malloc/tst-mtrace.sh: Likewise.
11631         * manual/check-safety.sh: Likewise.
11632         * manual/libc-texinfo.sh: Likewise.
11633         * manual/tsort.awk: Likewise.
11634         * manual/xtract-typefun.awk: Likewise.
11635         * nptl/tst-cancel-wrappers.sh: Likewise.
11636         * nptl/tst-tls6.sh: Likewise.
11637         * posix/globtest.sh: Likewise.
11638         * posix/tst-getconf.sh: Likewise.
11639         * posix/wordexp-tst.sh: Likewise.
11640         * scripts/check-c++-types.sh: Likewise.
11641         * scripts/check-local-headers.sh: Likewise.
11642         * scripts/config.guess: Likewise.
11643         * scripts/config.sub: Likewise.
11644         * scripts/cpp: Likewise.
11645         * scripts/cross-test-ssh.sh: Likewise.
11646         * scripts/documented.sh: Likewise.
11647         * scripts/evaluate-test.sh: Likewise.
11648         * scripts/gen-libc-abis: Likewise.
11649         * scripts/gen-sorted.awk: Likewise.
11650         * scripts/list-fixed-bugs.py: Likewise.
11651         * scripts/merge-test-results.sh: Likewise.
11652         * scripts/mkinstalldirs: Likewise.
11653         * scripts/rellns-sh: Likewise.
11654         * scripts/test-installation.pl: Likewise.
11655         * scripts/update-copyrights: Likewise.
11656         * stdio-common/tst-printf.sh: Likewise.
11657         * stdio-common/tst-unbputc.sh: Likewise.
11658         * stdlib/tst-fmtmsg.sh: Likewise.
11659         * stdlib/tst-setcontext3.sh: Likewise.
11660         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11661         * sysdeps/unix/make-syscalls.sh: Likewise.
11663 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11665         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11666         asm stw with atomic_exchange_rel.  Add explanatory comment.
11667         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11668         Likewise.
11670 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11672         [BZ #19122]
11673         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11674         * sysdeps/generic/dl-unistd.h: New file.
11675         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11677 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11679          [BZ #19122]
11680          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11681          * sysdeps/generic/dl-mman.h: New file.
11682          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11684 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11686         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11687         trailing whitespace removed.
11688         * scripts/config.guess: Update to version 2016-01-01.
11689         * scripts/config.sub: Update to version 2016-01-01.
11690         * scripts/move-if-change: Update from gnulib.
11692 2016-01-04  Anton Blanchard  <anton@samba.org>
11694         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11695         for array indices.
11696         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11698 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11700         * NEWS: Update copyright dates.
11701         * catgets/gencat.c (print_version): Likewise.
11702         * csu/version.c (banner): Likewise.
11703         * debug/catchsegv.sh: Likewise.
11704         * debug/pcprofiledump.c (print_version): Likewise.
11705         * debug/xtrace.sh (do_version): Likewise.
11706         * elf/ldconfig.c (print_version): Likewise.
11707         * elf/ldd.bash.in: Likewise.
11708         * elf/pldd.c (print_version): Likewise.
11709         * elf/sotruss.sh: Likewise.
11710         * elf/sprof.c (print_version): Likewise.
11711         * iconv/iconv_prog.c (print_version): Likewise.
11712         * iconv/iconvconfig.c (print_version): Likewise.
11713         * locale/programs/locale.c (print_version): Likewise.
11714         * locale/programs/localedef.c (print_version): Likewise.
11715         * login/programs/pt_chown.c (print_version): Likewise.
11716         * malloc/memusage.sh (do_version): Likewise.
11717         * malloc/memusagestat.c (print_version): Likewise.
11718         * malloc/mtrace.pl: Likewise.
11719         * manual/libc.texinfo: Likewise.
11720         * nptl/version.c (banner): Likewise.
11721         * nscd/nscd.c (print_version): Likewise.
11722         * nss/getent.c (print_version): Likewise.
11723         * nss/makedb.c (print_version): Likewise.
11724         * posix/getconf.c (main): Likewise.
11725         * scripts/test-installation.pl: Likewise.
11726         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11728         * All files with FSF copyright notices: Update copyright dates
11729         using scripts/update-copyrights.
11730         * intl/plural.c: Regenerated.
11731         * locale/programs/charmap-kw.h: Likewise.
11732         * locale/programs/locfile-kw.h: Likewise.
11734 2016-01-02  Helge Deller  <deller@gmx.de>
11736         [BZ #19285]
11737         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11738         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11739         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11740         (MADV_xxK_PAGES): Remove.
11742 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11744         [BZ #15421]
11745         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11746         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11747         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11748         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11750 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11752         [BZ #19408]
11753         * sysdeps/unix/sysv/linux/personality.c: New file.
11754         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11755         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11756         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11757         (sysdep_routines): Add personality.
11758         (tests): Add tst-personality.
11759         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11760         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11761         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11762         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11763         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11764         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11765         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11766         Likewise.
11767         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11768         Likewise.
11769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11770         Likewise.
11771         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11772         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11773         Likewise.
11775 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11777         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11778         (PATH_ARM_SYSTYPE): Remove.
11779         (PATH_CPUINFO): Likewise.
11780         (IO_BASE_FOOTBRIDGE): Likewise.
11781         (IO_SHIFT_FOOTBRIDGE): Likewise.
11782         (struct platform): Likewise.
11783         (init_iosys): Remove compatibility code for 2.4 kernels.
11784         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11786 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11788         * malloc/tst-malloc-thread-fail.c: New file.
11789         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11790         (tst-malloc-thread-fail): Link against libpthread.
11792 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11794         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11795         (get_parser): New function.
11796         (main): New function.
11798 2015-12-29  Rob Wu  <rob@robwu.nl>
11800         [BZ #19369]
11801         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11803 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11805         [BZ #19270]
11806         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11808 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11810         [BZ #15421]
11811         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11813 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11815         [BZ #13690]
11816         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11817         after releasing it.
11818         (__lll_robust_unlock): Likewise.
11819         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11821         (lll_robust_unlock): Likewise.
11822         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11823         Prevent warnings in callers.
11825 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11827         * malloc/arena.c (list_lock): Update comment.
11829 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11831         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11832         __parse_hwcap_and_convert_at_platform to libc.a.
11834 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11837         platform and feature support for POWER9.
11838         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11839         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11840         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11841         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11842         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11843         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11844         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11845         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11847 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11849         Harmonize generic stdio-lock support with nptl
11851         This fixes build when _IO_funlockfile is a macro, fixes build where
11852         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11853         stack unwind.
11855         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11856         _IO_release_lock ): Use cleanup attribute on new
11857         _IO_acquire_lock_file variable instead of assuming that
11858         _IO_release_lock will be called.
11859         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11860         _IO_acquire_lock_needs_exceptions_enabled.
11861         (_IO_acquire_lock_clear_flags2): New macro.
11863 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11865         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11867 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11869         [BZ #19182]
11870         * malloc/arena.c (list_lock): Document lock ordering requirements.
11871         (free_list_lock): New lock.
11872         (ptmalloc_lock_all): Comment on free_list_lock.
11873         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11874         (detach_arena): Update comment.  free_list_lock is now needed.
11875         (_int_new_arena): Use free_list_lock around detach_arena call.
11876         Acquire arena lock after list_lock.  Add comment, including FIXME
11877         about incorrect synchronization.
11878         (get_free_list): Switch to free_list_lock.
11879         (reused_arena): Acquire free_list_lock around detach_arena call
11880         and attached threads counter update.  Add two FIXMEs about
11881         incorrect synchronization.
11882         (arena_thread_freeres): Switch to free_list_lock.
11883         * malloc/malloc.c (struct malloc_state): Update comments to
11884         mention free_list_lock.
11886 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11888         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11889         Remove functions.
11890         (sloww, sloww1): Accept argument to offset quadrant.
11891         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11892         quadrant.
11893         (__sin, __cos): Consolidate common code into new functions.
11894         (reduce_sincos_1, do_sincos_1): New functions.
11895         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11898         code to new functions.
11899         (reduce_sincos_2, do_sincos_2): New functions.
11900         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11902         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11903         common code for sincos.
11904         (__cos) [!IN_SINCOS]: Likewise.
11905         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11906         New function.
11907         (__sincos): Use it.
11909 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11911         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11912         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11913         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11915 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11917         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11920         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11921         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11922         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11923         index_Prefer_No_VZEROUPPER): New feature.
11924         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11925         Prefer_No_VZEROUPPER for Knights Landing.
11927 015-12-18  Torvald Riegel  <triegel@redhat.com>
11929         * math/atest-exp2.c (mp_exp_m1): Remove.
11931 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11933         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11934         syscalls.
11935         (__SYSCALL0): New macro.
11936         (__SYSCALL1): Likewise.
11937         (__SYSCALL2): Likewise.
11938         (__SYSCALL3): Likewise.
11939         (__SYSCALL4): Likewise.
11940         (__SYSCALL5): Likewise.
11941         (__SYSCALL6): Likewise.
11942         (__SYSCALL_CONCAT_X): Likewise.
11943         (__SYSCALL_CONCAT): Likewise.
11944         (__SYSCALL_DIST): Likewise.
11945         (__SYSCALL_CALL): Likewise.
11947 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11949         [BZ #19363]
11950         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11952 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11954         [BZ #19375]
11955         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11956         negative subnormals.
11958 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11961         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11962         (INTERNAL_SYSCALL_NCS): Use it.
11963         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11965 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11967         [BZ #19243]
11968         * malloc/arena.c (get_free_list): Remove assert and adjust
11969         reference count handling.  Add comment about reused_arena
11970         interaction.
11971         (reused_arena): Add comments abount get_free_list interaction.
11972         * malloc/tst-malloc-thread-exit.c: New file.
11973         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11974         (tst-malloc-thread-exit): Link against libpthread.
11976 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11978         [BZ #19367]
11979         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11980         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11981         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11982         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11983         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11985 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11987         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11988         Silvermont optimizations for Knights Landing.
11990 2015-12-15  Andreas Schwab  <schwab@suse.de>
11992         [BZ #17197]
11993         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11994         immediately after emitting SI.
11995         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11996         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11997         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11998         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11999         * iconvdata/bug-iconv10.c: New file.
12000         * iconvdata/Makefile (tests): Add bug-iconv10.
12001         ($(objpfx)bug-iconv10.out): New rule.
12003 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12005         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12006         aliasing violation.
12008 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12010         [BZ #18472]
12011         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12012         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12013         conditionals for them.
12014         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12015         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12017         sys/kdaemon.h.
12018         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12019         compat-only syscall, obsoleted in glibc 2.23.
12020         (create_module): Likewise.
12021         (get_kernel_syms): Likewise.
12022         (query_module): Likewise.
12023         (uselib): Likewise.
12024         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12026 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12028         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12029         <linux/version.h>.
12030         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12031         conditional code.
12032         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12033         and ioshift_name initialization.
12035 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12038         Fix indentation.
12040 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12042         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12044 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12046         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12048 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12049             Jakub Wilk  <jwilk@debian.org>
12051         [BZ #19347]
12052         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12053         to change the group of the device to the tty group.
12055 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12057         Split large string section; add truncation advice
12058         * manual/examples/strncat.c: Remove.
12059         This example was misleading, as the code would have undefined
12060         behavior if "hello" was longer than SIZE.  Anyway, the manual
12061         shouldn't encourage strncpy+strncat for this sort of thing.
12062         * manual/string.texi (Copying Strings and Arrays): Split into
12063         three sections Copying Strings and Arrays, Concatenating Strings,
12064         and Truncating Strings, as this section was way too long.  All
12065         cross-referenced changed.  Add advice about string-truncation
12066         functions.  Remove misleading strncat example.
12068 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12070         * manual/nss.texi (NSS Modules Interface): Document
12071         NSS_STATUS_NOTFOUND and SUCCESS.
12073 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12075         [BZ 18568]
12076         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12077         201505L, for Unicode 8.
12079 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12081         * locale/C-translit.h: Regenerate.
12083 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12085         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12086         and U+0153.
12088 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12090         [BZ #19351]
12091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12092         expanding log(1+z), compare z rather than its square with epsilon
12093         to determine when to avoid evaluating the expansion.
12095         [BZ #19350]
12096         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12097         Increase overflow threshold.
12099         [BZ #19349]
12100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12101         when small.
12103         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12104         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12105         New macro.
12106         [__LINUX_KERNEL_VERSION >= 0x040300]
12107         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12109         Likewise.
12110         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12111         Likewise.
12112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12113         Likewise.
12114         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12115         Likewise.
12116         [__LINUX_KERNEL_VERSION >= 0x040300]
12117         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12118         [__LINUX_KERNEL_VERSION >= 0x040300]
12119         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12120         [__LINUX_KERNEL_VERSION >= 0x040300]
12121         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12122         [__LINUX_KERNEL_VERSION >= 0x040300]
12123         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12124         [__LINUX_KERNEL_VERSION >= 0x040300]
12125         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12127         Likewise.
12128         [__LINUX_KERNEL_VERSION >= 0x040300]
12129         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12131         Likewise.
12132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12133         Likewise.
12134         [__LINUX_KERNEL_VERSION >= 0x040300]
12135         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12137         Likewise.
12138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12142         Likewise.
12143         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12144         Likewise.
12145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12146         Likewise.
12147         [__LINUX_KERNEL_VERSION >= 0x040300]
12148         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12150         Likewise.
12151         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12152         Likewise.
12153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12154         Likewise.
12155         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12156         Likewise.
12157         [__LINUX_KERNEL_VERSION >= 0x040300]
12158         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12159         [__LINUX_KERNEL_VERSION >= 0x040300]
12160         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12161         [__LINUX_KERNEL_VERSION >= 0x040300]
12162         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12163         [__LINUX_KERNEL_VERSION >= 0x040300]
12164         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12165         [__LINUX_KERNEL_VERSION >= 0x040300]
12166         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12168         Likewise.
12169         [__LINUX_KERNEL_VERSION >= 0x040300]
12170         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12172         Likewise.
12173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12174         Likewise.
12175         [__LINUX_KERNEL_VERSION >= 0x040300]
12176         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12178         Likewise.
12179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12180         Likewise.
12181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12182         (__ASSUME_SOCKET_SYSCALL): Likewise.
12183         (__ASSUME_BIND_SYSCALL): Likewise.
12184         (__ASSUME_CONNECT_SYSCALL): Likewise.
12185         (__ASSUME_LISTEN_SYSCALL): Likewise.
12186         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12187         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12188         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12189         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12190         (__ASSUME_SEND_SYSCALL): Likewise.
12191         (__ASSUME_SENDTO_SYSCALL): Likewise.
12192         (__ASSUME_RECV_SYSCALL): Likewise.
12193         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12194         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12195         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12196         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12197         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12198         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12199         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12200         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12201         Likewise.
12202         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12203         Likewise.
12204         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12205         Likewise.
12206         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12207         Likewise.
12208         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12209         Likewise.
12210         [__LINUX_KERNEL_VERSION >= 0x020625]
12211         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12212         [__LINUX_KERNEL_VERSION >= 0x020625]
12213         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12214         [__LINUX_KERNEL_VERSION >= 0x020625]
12215         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12216         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12217         Likewise.
12218         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12219         Likewise.
12220         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12221         Likewise.
12222         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12223         Likewise.
12224         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12225         Likewise.
12226         [__LINUX_KERNEL_VERSION >= 0x020625]
12227         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12228         [__LINUX_KERNEL_VERSION >= 0x020625]
12229         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12230         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12231         Likewise.
12232         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12233         Likewise.
12235 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12237         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12238         record the current if the current ABI and CPU support the FP64
12239         extension.
12240         (has-modd-spreg): Define to record the current if the current ABI and
12241         CPU support 32-bit floating point values in odd FPU registers.
12242         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12243         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12244         $(has-modd-spreg) equals yes.
12245         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12246         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12247         $(has-modd-spreg) equal yes.
12249 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12251         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12252         basename.
12254 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12256         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12257         (bench-string): ... here.
12258         (bench): Add bench-string.
12259         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12260         to *-benchset to reflect what they are.
12261         (benchset): Adjust.
12263         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12264         cos-inputs.
12266 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12268         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12269         __attribute__ ((__simd__)) for vector math function declarations.
12271 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12273         Fix typo in strncat, wcsncat manual entries
12274         * manual/string.texi (Copying and Concatenation): Fix typos in
12275         sample implementations of strncat and wcsncat, by having them use
12276         the old value of the destination length, not the new one.
12278 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12280         [BZ #16961]
12281         [BZ #16962]
12282         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12283         string on the stack for strtod.
12284         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12285         a string on the stack for strtof.
12286         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12287         constructing a string on the stack for strtold.
12288         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12289         __strtold_nan to GLIBC_PRIVATE.
12290         * math/test-nan-overflow.c: New file.
12291         * math/test-nan-payload.c: Likewise.
12292         * math/Makefile (tests): Add test-nan-overflow and
12293         test-nan-payload.
12295 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12297         Consistency about byte vs character in string.texi
12298         * manual/string.texi (String and Array Utilities):
12299         Distinguish more carefully among bytes, multibyte characters,
12300         and wide characters.  Use "byte" when talking about C 'char',
12301         to distinguish it more clearly from multibyte characters.
12302         Say "wide character" or "multibyte character" instead of
12303         "character", when a wide or multibyte character is intended.
12304         Similarly for "multibyte string" versus "string".
12305         Define these terms more carefully.
12307 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12309         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12310         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12311         Likewise.
12312         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12313         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12314         * sysdeps/sh/math_private.h: New file.
12315         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12316         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12317         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12318         long double function name.
12319         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12320         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12321         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12323         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12325         Remove __finitel, __isinfl, and __isnanl.
12326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12330         Remove __finitel.
12331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12332         Likewise.
12333         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12335 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12337         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12338         installed libmvec_nonshared.a.
12340 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12342         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12343         (sysdep_routines): Likewise.
12344         (sysdep-rtld-routines): Likewise.
12345         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12346         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12347         * sysdeps/powerpc/Versions: Added new
12348         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12349         * sysdeps/powerpc/hwcapinfo.c: New file.
12350         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12351         and parse hwcap, hwcap2 and platform number information.
12352         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12353         to store HWCAP+HWCAP2 and platform number.
12354         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12355         for HWCAP+HWCAP2 and platform number in the TCB.
12356         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12357         the HWCAP, HWCAP2 and platform number in the TCB.
12358         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12359         (TLS_INIT_TP): Included calls to add the hwcap and
12360         at_platform values in the TCB in TP initialization.
12361         (TLS_DEFINE_INIT_TP): Likewise.
12362         (THREAD_GET_HWCAP): New macro.
12363         (THREAD_SET_HWCAP): Likewise.
12364         (THREAD_GET_AT_PLATFORM): Likewise.
12365         (THREAD_SET_AT_PLATFORM): Likewise.
12366         * sysdeps/powerpc/powerpc32/dl-machine.h:
12367         (dl_platform_init): New function that calls
12368         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12369         powerpc32.
12370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12371         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12372         this functionality, static linking case.
12373         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12374         linking case.
12375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12376         __parse_hwcap_and_convert_at_platform for the static linking case.
12377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12378         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12379         ABI list for GLIBC 2.23.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12381         Likewise.
12382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12383         Likewise.
12385 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12387         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12388         * configure: Regenerate.
12389         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12390         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12392 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12394         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12395         * iconvdata/ibm933.c: Likewise.
12396         * iconvdata/ibm935.c: Likewise.
12397         * iconvdata/ibm937.c: Likewise.
12398         * iconvdata/ibm939.c: Likewise.
12400 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12402         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12403         pthread_join.
12404         * nptl/tst-cancel21.c (tf): Likewise.
12406 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12408         [BZ #19313]
12409         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12410         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12411         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12412         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12413         Likewise.
12414         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12415         Likewise.
12416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12417         Likewise.
12418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12419         Likewise.
12420         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12421         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12422         unsigned long int with __CPU_MASK_TYPE.
12424 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12426         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12428 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12430         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12431         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12432         t512.x.
12433         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12435 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12437         [BZ #19214]
12438         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12439         argument to return extended model.  Update family and model
12440         with extended family and model when family == 0x0f.
12441         (init_cpu_features): Updated.
12443 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12445         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12446         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12448         * sysdeps/mach/hurd/mmap64.c: New file.
12450 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12452         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12453         rights for its main user thread in NEWTASK.
12455 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12457         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12458         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12460 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12462         [BZ #14259]
12463         * Makeconfig: Rename localedir to complocaledir.
12464         Rename inst_localedir to inst_complocaledir.
12465         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12466         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12467         * configure.ac: Use libc_cv_complocaledir.
12468         * configure: Regenerate.
12469         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12470         -DCOMPLOCALEDIR.
12471         * locale/findlocale.c: Use COMPLOCALEDIR.
12472         * locale/loadarchive.c: Likewise.
12473         * locale/programs/locale.c: Likewise.
12474         * locale/programs/localedef.c: Likewise.
12475         * locale/programs/locarchive.c: Likewise.
12476         * localedata/Makefile: Use inst_complocaledir.
12477         * sysdeps/gnu/configure: Regenerate.
12478         * sysdeps/hppa/configure: Regenerate.
12479         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12480         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12482         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12483         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12484         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12487 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12489         [BZ #19058]
12490         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12491         AS_NEEDED.
12492         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12493         workaround.
12494         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12495         libmvec-static-only-routines): Added new file.
12496         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12498 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12500         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12501         of interrupted RPC instead of restoring it.
12503         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12504         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12505         libc_hidden_def.
12506         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12507         into initialized data instead of common. Define rtld_hidden_data_def.
12508         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12509         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12510         libc_hidden_def.
12511         (if_freenameindex): Add libc_hidden_weak.
12512         (if_nameindex): Add libc_hidden_weak.
12513         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12514         __open64.
12515         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12516         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12517         * sysdeps/mach/nanosleep.c: Include <time.h>
12518         (__nanosleep): Rename to __libc_nanosleep.
12519         (__nanosleep): Add weak_alias.
12520         (nanosleep): Update alias.
12522 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12524         * stdlib/strtod_nan.c: New file.
12525         * stdlib/strtod_nan_double.h: Likewise.
12526         * stdlib/strtod_nan_float.h: Likewise.
12527         * stdlib/strtod_nan_main.c: Likewise.
12528         * stdlib/strtod_nan_narrow.h: Likewise.
12529         * stdlib/strtod_nan_wide.h: Likewise.
12530         * stdlib/strtof_nan.c: Likewise.
12531         * stdlib/strtold_nan.c: Likewise.
12532         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12533         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12534         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12535         * wcsmbs/wcstod_nan.c: Likewise.
12536         * wcsmbs/wcstof_nan.c: Likewise.
12537         * wcsmbs/wcstold_nan.c: Likewise.
12538         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12539         strtold_nan.
12540         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12541         wcstof_nan.
12542         * include/stdlib.h (__strtof_nan): Declare and use
12543         libc_hidden_proto.
12544         (__strtod_nan): Likewise.
12545         (__strtold_nan): Likewise.
12546         (__wcstof_nan): Likewise.
12547         (__wcstod_nan): Likewise.
12548         (__wcstold_nan): Likewise.
12549         * include/wchar.h (____wcstoull_l_internal): Declare.
12550         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12551         (____strtoull_l_internal): Remove declaration.
12552         (STRTOF_NAN): Define macro.
12553         (SET_MANTISSA): Remove macro.
12554         (STRTOULL): Likewise.
12555         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12556         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12557         (STRTOF_NAN): Define macro.
12558         (SET_MANTISSA): Remove macro.
12559         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12560         (SET_MANTISSA): Remove macro.
12561         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12562         macro.
12563         (SET_MANTISSA): Remove macro.
12564         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12565         macro.
12566         (SET_MANTISSA): Remove macro.
12567         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12568         (SET_MANTISSA): Remove macro.
12569         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12570         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12571         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12573         [BZ #19266]
12574         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12575         upper case and lower case letters inside NAN(), not using TOLOWER.
12576         * stdlib/tst-strtod-nan-locale-main.c: New file.
12577         * stdlib/tst-strtod-nan-locale.c: Likewise.
12578         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12579         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12580         Depend on $(gen-locales).
12581         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12582         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12583         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12584         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12585         Depend on $(gen-locales).
12586         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12588 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12590         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12592         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12594         __finitel, __isinfl, and __isnanl.
12595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12596         Likewise.
12597         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12599         __finitel.
12600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12601         Likewise.
12602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12604 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12606         * malloc/memusage.c (me): Remove redundant getenv call.
12608 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12610         [BZ #19143]
12611         [BZ #19164]
12612         * nptl/check-cpuset.h: Remove.
12613         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12614         Remove CPU set size check.
12615         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12616         Likewise.
12617         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12618         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12619         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12620         (__pthread_setaffinity_new): Remove CPU set size check.
12621         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12622         (__kernel_cpumask_size): Remove.
12623         (__sched_setaffinity_new): Remove CPU set size check.
12624         * manual/threads.texi (Default Thread Attributes): Remove stale
12625         reference to check_cpuset_attr, determine_cpumask_size in comment.
12626         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12627         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12628         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12629         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12630         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12631         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12632         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12633         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12634         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12635         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12636         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12637         skeleton test file.
12638         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12639         tst-affinity-pid.
12641 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12643         * scripts/update-abilist.sh: New file.
12644         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12645         * Makerules (update-all-abi-%, update-all-abi)
12646         (subdir_update-all-abi): New targets.
12647         * elf/Makefile (update-all-abi): New target.
12649 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12651         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12652         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12653         (__libc_lock_define_initialized): Use it.
12654         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12655         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12656         * malloc/malloc.c (main_arena): Likewise.
12657         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12658         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12660 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12662         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12663         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12664         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12665         (PTRACE_O_MASK): Update value.
12666         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12667         New value in enum __ptrace_setoptions.
12668         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12669         (PTRACE_O_MASK): Update value.
12670         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12671         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12672         (PTRACE_O_MASK): Update value.
12673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12674         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12675         (PTRACE_O_MASK): Update value.
12676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12677         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12678         (PTRACE_O_MASK): Update value.
12679         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12680         New value in enum __ptrace_setoptions.
12681         (PTRACE_O_MASK): Update value.
12682         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12683         New value in enum __ptrace_setoptions.
12684         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12685         (PTRACE_O_MASK): Update value.
12687         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12688         New macro.
12689         (PACKET_AUXDATA): Likewise.
12690         (PACKET_ORIGDEV): Likewise.
12691         (PACKET_VERSION): Likewise.
12692         (PACKET_HDRLEN): Likewise.
12693         (PACKET_RESERVE): Likewise.
12694         (PACKET_TX_RING): Likewise.
12695         (PACKET_LOSS): Likewise.
12696         (PACKET_VNET_HDR): Likewise.
12697         (PACKET_TX_TIMESTAMP): Likewise.
12698         (PACKET_TIMESTAMP): Likewise.
12699         (PACKET_FANOUT): Likewise.
12700         (PACKET_TX_HAS_OFF): Likewise.
12701         (PACKET_QDISC_BYPASS): Likewise.
12702         (PACKET_ROLLOVER_STATS): Likewise.
12703         (PACKET_FANOUT_DATA): Likewise.
12704         (PACKET_MR_UNICAST): Likewise.
12706         [BZ #19242]
12707         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12708         (TOUPPER): Likewise.
12709         * stdlib/tst-strtol-locale-main.c: New file.
12710         * stdlib/tst-strtol-locale.c: Likewise.
12711         * stdlib/Makefile (tests): Add tst-strtol-locale.
12712         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12713         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12714         Depend on $(gen-locales).
12715         * wcsmbs/tst-wcstol-locale.c: New file.
12716         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12717         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12718         tr_TR.ISO-8859-9.
12719         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12720         Depend on $(gen-locales).
12722 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12724         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12725         __glibc_likely instead of __builtin_expect.  After falling back to
12726         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12727         system interface to register the code pages as occupied.
12729 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12731         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12732         [!ARM_MATH_PRIVATE_H].
12733         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12734         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12735         [!HPPA_MATH_PRIVATE_H].
12736         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12737         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12738         to [!I386_MATH_PRIVATE_H].
12739         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12740         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12741         Change guard to [!M68K_MATH_PRIVATE_H].
12742         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12743         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12744         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12745         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12746         macro.
12747         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12748         [!MIPS_MATH_PRIVATE_H].
12749         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12750         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12751         [!NIO2_MATH_PRIVATE_H].
12752         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12753         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12754         [!TILE_MATH_PRIVATE_H].
12755         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12757         [BZ #15421]
12758         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12759         initialize with 0 and define as weak alias of __signgam.
12760         * include/math.h [!_ISOMAC] (__signgam): Declare.
12761         * math/Makefile (libm-calls): Add w_lgamma_compat.
12762         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12763         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12764         test-signgam-ullong-init.
12765         (tests-static): Add test-signgam-uchar-static,
12766         test-signgam-uchar-init-static, test-signgam-uint-static,
12767         test-signgam-uint-init-static, test-signgam-ullong-static and
12768         test-signgam-ullong-init-static.
12769         (CFLAGS-test-signgam-uchar.c): New variable.
12770         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12771         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12772         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12773         (CFLAGS-test-signgam-uint.c): Likewise.
12774         (CFLAGS-test-signgam-uint-init.c): Likewise.
12775         (CFLAGS-test-signgam-uint-static.c): Likewise.
12776         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12777         (CFLAGS-test-signgam-ullong.c): Likewise.
12778         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12779         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12780         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12781         * math/Versions (libm): Add GLIBC_2.23.
12782         * math/lgamma-compat.h: New file.
12783         * math/test-signgam-main.c: Likewise.
12784         * math/test-signgam-uchar-init-static.c: Likewise.
12785         * math/test-signgam-uchar-init.c: Likewise.
12786         * math/test-signgam-uchar-static.c: Likewise.
12787         * math/test-signgam-uchar.c: Likewise.
12788         * math/test-signgam-uint-init-static.c: Likewise.
12789         * math/test-signgam-uint-init.c: Likewise.
12790         * math/test-signgam-uint-static.c: Likewise.
12791         * math/test-signgam-uint.c: Likewise.
12792         * math/test-signgam-ullong-init-static.c: Likewise.
12793         * math/test-signgam-ullong-init.c: Likewise.
12794         * math/test-signgam-ullong-static.c: Likewise.
12795         * math/test-signgam-ullong.c: Likewise.
12796         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12797         wrapper of w_lgamma_main.c.
12798         * math/w_lgamma_compat.c: New file.
12799         * math/w_lgamma_compatf.c: Likewise.
12800         * math/w_lgamma_compatl.c: Likewise.
12801         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12802         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12803         defining compatibility symbols.
12804         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12805         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12806         wrapper of w_lgammaf_main.c.
12807         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12808         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12809         defining compatibility symbols.
12810         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12811         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12812         wrapper of w_lgammal_main.c.
12813         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12814         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12815         defining compatibility symbols.
12816         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12817         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12818         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12819         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12820         <lgamma-compat.h>.
12821         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12822         (__ieee754_gamma): Define as alias.
12823         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12824         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12825         <lgamma-compat.h>.
12826         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12827         (__ieee754_gammaf): Define as alias.
12828         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12829         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12830         <lgamma-compat.h>.
12831         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12832         (__ieee754_gammal): Define as alias.
12833         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12834         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12835         <math/w_lgamma_compat.c>.
12836         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12837         Define as alias of __lgamma_compat and use in defining lgammal.
12838         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12839         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12840         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12841         (USE_AS_COMPAT): New macro.
12842         (LGAMMA_OLD_VER): Undefine and redefine.
12843         (lgammal): Do not define here.
12844         (gammal): Only define here if [GAMMA_ALIAS].
12845         * conform/linknamespace.pl (@whitelist): Remove signgam.
12846         * sysdeps/nacl/libm.abilist: Update.
12847         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12848         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12849         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12850         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12851         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12852         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12853         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12854         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12855         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12856         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12857         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12858         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12860         Likewise.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12862         Likewise.
12863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12864         Likewise.
12865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12866         Likewise.
12867         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12868         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12869         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12870         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12871         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12873         Likewise.
12874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12875         Likewise.
12876         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12877         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12880 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12882         [BZ #16364]
12883         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12884         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12886 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12888         * sysdeps/s390/fpu/bits/mathinline.h:
12889         Use __asm__ [__volatile__] instead of asm [volatile].
12890         * sysdeps/s390/abort-instr.h: Likewise.
12891         * sysdeps/s390/atomic-machine.h: Likewise.
12892         * sysdeps/s390/bits/string.h: Likewise.
12893         * sysdeps/s390/dl-tls.h: Likewise.
12894         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12895         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12896         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12897         * sysdeps/s390/fpu/fesetround.c: Likewise.
12898         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12899         * sysdeps/s390/fpu/s_fma.c: Likewise.
12900         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12901         * sysdeps/s390/memusage.h: Likewise.
12902         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12903         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12904         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12905         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12906         * sysdeps/s390/nptl/tls.h: Likewise.
12907         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12908         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12909         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12910         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12911         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12912         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12913         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12914         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12915         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12916         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12917         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12918         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12919         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12920         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12921         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12922         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12923         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12924         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12925         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12927         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12929         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12931 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12932             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12934         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12935         Add lwarx hint, and use macro for acquire instruction.
12936         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12937         Likewise.
12938         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12939         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12940         update to use new atomic macros.
12942 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12944         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12945         (__lll_trylock_elision): Fix setting of adapt_count.
12946         * sysdeps/unix/sysv/linux/powerpc/htm.h
12947         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12948         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12949         (_ABORT_SYSCALL): Renumber, and clarify definition.
12950         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12952 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12954         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12955         after system headers to prevent MIN/MAX redefinition.  Define
12956         HAVE_ALLOCA to preserve builtin alloca usage.
12958 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12960         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12961         static and don't set or restore rounding.
12962         (__cos)[IN_SINCOS]: Likewise.
12963         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12964         (__sincos): Set and restore rounding mode.  Remove check for infinite
12965         or NaN input.
12967         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12969         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12970         as used.
12972 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12974         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12976 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12978         * config.make.in (have-glob-dat-reloc): New.
12979         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12980         target supports GLOB_DAT relocaton. AC_SUBST.
12981         * configure: Regenerated.
12982         * elf/Makefile (tests): Add tst-prelink.
12983         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12984         (tst-prelink-ENV): New.
12985         ($(objpfx)tst-prelink-conflict.out): Likewise.
12986         ($(objpfx)tst-prelink-cmp.out): Likewise.
12987         * sysdeps/x86/tst-prelink.c: Moved to ...
12988         * elf/tst-prelink.c: Here.
12989         * sysdeps/x86/tst-prelink.exp: Moved to ...
12990         * elf/tst-prelink.exp: Here.
12991         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12992         (tst-prelink-ENV): Removed.
12993         ($(objpfx)tst-prelink-conflict.out): Likewise.
12994         ($(objpfx)tst-prelink-cmp.out): Likewise.
12995         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12997 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12999         [BZ #14551]
13000         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13001         (__mpn_construct_long_double): If high part overflows to infinity,
13002         set errno and recompute overflowed result of the correct sign.
13003         * sysdeps/ieee754/ldbl-128ibm/Makefile
13004         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13005         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13006         $(libm).
13007         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13009 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13011         [BZ #15479]
13012         [BZ #19238]
13013         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13014         floating-point state after first operation on input.  Restore full
13015         state rather than just rounding mode.
13016         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13017         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13018         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13020         [BZ #19235]
13021         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13022         add 0.5 to integer arguments.
13023         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13024         Likewise.
13025         (.LC2): New object.
13027 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13029         * scripts/pylintrc (reports): Set to no.
13031 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13033         * elf/dl-load.c (open_verify): Take new argument FD.
13034         Skip __open call if passed FD is not -1.
13035         (_dl_map_object, open_path): Update callers.
13036         * elf/dl-sysdep-open.h: New file.
13037         * elf/dl-load.c: Include it.
13038         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13039         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13040         * sysdeps/nacl/dl-sysdep-open.h: New file.
13041         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13042         from libc to rtld.
13044 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #19228]
13047         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13048         and restore full floating-point state.
13049         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13050         Likewise.
13051         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13052         Likewise.
13053         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13054         Likewise.
13055         * math/test-nearbyint-except-2.c: New file.
13056         * math/Makefile (tests): Add test-nearbyint-except-2.
13058 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13060         [BZ #19178]
13061         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13062         (tst-prelink-ENV): New.
13063         ($(objpfx)tst-prelink-conflict.out): Likewise.
13064         ($(objpfx)tst-prelink-cmp.out): Likewise.
13065         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13066         * sysdeps/x86/tst-prelink.c: New file.
13067         * sysdeps/x86/tst-prelink.exp: Likewise.
13069 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13071         * math/auto-libm-test-in: Add another test of pow.
13072         * math/auto-libm-test-out: Regenerated.
13073         * math/libm-test.inc (pow_test_data): Add another test.
13075 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13077         [BZ #19219]
13078         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13079         weak_alias to nearbyintl.
13081 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13083         * sysdeps/aarch64/bits/string.h: New file.
13084         (_STRING_ARCH_unaligned): Define.
13086 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13088         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13089         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13090         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13091         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13094 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13096         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13097         for original name of the DSO.  Add it to the name list of the DSO
13098         if it is actually given.
13099         (_dl_map_object): Keep track of whether an audit module rewrote
13100         the file name.  If yes, pass the original name to
13101         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13102         debugging is enabled, log the change of the file name.
13103         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13104         _dl_map_object_from_fd.
13105         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13106         * elf/tst-audit11.c: New file
13107         * elf/tst-auditmod11.c: New file.
13108         * elf/tst-audit11mod1.c: New file.
13109         * elf/tst-audit11mod2.c: New file.
13110         * elf/tst-audit11mod2.map: New file.
13111         * elf/tst-audit12.c: New file
13112         * elf/tst-auditmod12.c: New file.
13113         * elf/tst-audit12mod1.c: New file.
13114         * elf/tst-audit12mod2.c: New file.
13115         * elf/tst-audit12mod2.map: New file.
13116         * elf/tst-audit12mod3.c: New file.
13118 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13120         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13121         Don't create weak aliases,
13122         because versioned symbols are created later.
13123         * sysdeps/s390/s390-32/setjmp.S
13124         (setjmp, _setjmp): Remove weak and rename to an unique name
13125         in SHARED case due to existing versioned symbols.
13126         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13127         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13128         (getcontext): Create weak alias only in non SHARED case.
13129         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13131 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13133         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13134         (__ASSUME_*_SYSCALL) Define new macros.
13135         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13136         Remove socketcall syscalls.
13137         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13138         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13139         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13140         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13141         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13142         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13144 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13146         [BZ #12926]
13147         Terminate process on invalid netlink response.
13148         * sysdeps/unix/sysv/linux/netlinkaccess.h
13149         (__netlink_assert_response): Declare.
13150         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13151         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13152         (sysdep_routines): Add netlink_assert_response.
13153         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13154         __netlink_assert_response.
13155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13156         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13157         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13158         __netlink_assert_response.
13160 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13162         [BZ #19178]
13163         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13164         (RTYPE_CLASS_PLT): Likewise.
13165         (RTYPE_CLASS_COPY): Likewise.
13166         (RTYPE_CLASS_TLS): Likewise.
13167         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13168         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13169         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13170         DL_DEBUG_PRELINK.
13172 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13174         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13175         calls with argument -0.5.
13176         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13178         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13179         (libc_cv_z_nodlopen): Likewise.
13180         (libc_cv_z_initfirst): Likewise.
13181         * configure: Regenerated.
13183 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13185         Simplify abilist format to be line-based.
13186         * scripts/abilist.awk: Collect descriptors in the descs variable.
13187         (emit): Write descs variable and sort it
13188         externally, with sort.
13189         * sysdeps/**/*.abilist: Convert to new format.
13191 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13193         [BZ #11460]
13194         * io/Makefile (routines): Add fts64.
13195         (tests): Add tst-fts and tst-fts-lfs.
13196         (CFLAGS-fts64.c): New.
13197         * io/Versions (GLIBC_2.23): New.
13198         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13199         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13200         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13201         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13202         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13203         (FTSENT64): Likewise.
13204         (fts64_children): Likewise.
13205         (fts64_close): Likewise.
13206         (fts64_open): Likewise.
13207         (fts64_read): Likewise.
13208         (fts64_set): Likewise.
13209         * io/fts64.c: New file.
13210         * io/tst-fts.c: New test.
13211         * io/tst-fts-lfs.c: Likewise.
13212         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13213         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13214         fts64_set.
13215         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13217         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13218         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13219         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13221         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13222         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13223         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13224         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13226         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13227         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13229         Likewise.
13230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13231         Likewise.
13232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13234         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13236         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13241         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13242         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13243         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13244         * sysdeps/wordsize-64/fts.c: New file.
13245         * sysdeps/wordsize-64/fts64.c: Likewise.
13246         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13247         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13248         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13249         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13251 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13253         * math/libm-test.inc (NON_FINITE): New macro.
13254         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13255         * math/gen-libm-test.pl (show_exceptions): Add argument
13256         $non_finite.
13257         (parse_args): Update call to show_exceptions.
13258         * math/test-math-finite.h: New file.
13259         * math/test-math-no-finite.h: Likewise.
13260         * math/test-double-finite.c: Likewise.
13261         * math/test-float-finite.c: Likewise.
13262         * math/test-ldouble-finite.c: Likewise.
13263         * math/test-double.c: Include "test-math-no-finite.h".
13264         * math/test-float.c: Include "test-math-no-finite.h".
13265         * math/test-ldouble.c: Include "test-math-no-finite.h".
13266         * math/test-math-inline.h (TEST_FINITE): New macro.
13267         * math/test-math-vector.h (TEST_FINITE): Likewise.
13268         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13269         (libm-tests): Add test-float-finite and test-double-finite.
13270         ($(objpfx)test-float-finite.o): New dependency on
13271         $(objpfx)libm-test.stmp.
13272         ($(objpfx)test-double-finite.o): Likewise.
13273         ($(objpfx)test-ldouble-finite.o): Likewise.
13274         (libm-test-no-inline-cflags): New variable.
13275         (libm-test-finite-cflags): Likewise.
13276         (CFLAGS-test-float-finite.c): Likewise.
13277         (CFLAGS-test-double-finite.c): Likewise.
13278         (CFLAGS-test-ldouble-finite.c): Likewise.
13279         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13280         (CFLAGS-test-double.c): Likewise.
13281         (CFLAGS-test-ldouble.c): Likewise.
13283 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13285         * io/fcntl.c (__fcntl): Add ... to prototype.
13286         * misc/ioctl.c (__ioctl): Likewise.
13287         * misc/syscall.c (syscall): Likewise.
13289 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13291         * scripts/list-fixed-bugs.py: New file.
13293         [BZ #19213]
13294         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13295         returned for argument 1.
13296         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13297         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13298         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13299         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13300         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13301         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13303         [BZ #19211]
13304         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13305         __USE_XOPEN], not if [!__USE_ISOC99].
13306         (lgammaf): Likewise.
13307         (lgammal): Likewise.
13308         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13309         (gammaf): Likewise.
13310         (gammal): Likewise.
13311         * math/test-signgam-finite-c11.c: New file.
13312         * math/test-signgam-finite-c99.c: Likewise.
13313         * math/test-signgam-finite.c: Likewise.
13314         * math/Makefile (tests): Add test-signgam-finite,
13315         test-signgam-finite-c99 and test-signgam-finite-c11.
13316         (CFLAGS-test-signgam-finite.c): New variable.
13317         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13318         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13320         [BZ #19212]
13321         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13322         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13323         500].
13324         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13325         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13326         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13327         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13328         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13329         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13330         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13331         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13332         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13333         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13335         [BZ #19209]
13336         * math/bits/math-finite.h (ldexp): Remove declaration.
13337         (ldexpf): Likewise.
13338         (ldexpl): Likewise.
13340         [BZ #19205]
13341         * math/bits/math-finite.h (acosf): Condition declaration on
13342         [__USE_ISOC99].
13343         (acosl): Likewise.
13344         (acoshf): Likewise.
13345         (acoshl): Likewise.
13346         (asinf): Likewise.
13347         (asinl): Likewise.
13348         (atan2f): Likewise.
13349         (atan2l): Likewise.
13350         (atanhf): Likewise.
13351         (atanhl): Likewise.
13352         (coshf): Likewise.
13353         (coshl): Likewise.
13354         (expf): Likewise.
13355         (expl): Likewise.
13356         (fmodf): Likewise.
13357         (fmodl): Likewise.
13358         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13359         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13360         (j0l): Likewise.
13361         (y0f): Likewise.
13362         (y0l): Likewise.
13363         (j1f): Likewise.
13364         (j1l): Likewise.
13365         (y1f): Likewise.
13366         (y1l): Likewise.
13367         (jnf): Likewise.
13368         (jnl): Likewise.
13369         (ynf): Likewise.
13370         (ynl): Likewise.
13371         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13372         (lgammal_r): Likewise.
13373         (__lgamma_r_finite): New declaration.
13374         (__lgammaf_r_finite): Likewise.
13375         (__lgammal_r_finite): Likewise.
13376         (lgamma): Use __lgamma_r_finite.
13377         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13378         __lgammaf_r_finite.
13379         (lgammal): Condition definition on [__USE_ISOC99].  Use
13380         __lgammal_r_finite.
13381         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13382         __lgamma_r_finite.
13383         (gammaf): Condition definition on [__USE_ISOC99].  Use
13384         __lgammaf_r_finite.
13385         (gammal): Condition definition on [__USE_ISOC99].  Use
13386         __lgammal_r_finite.
13387         (logf): Condition declaration on [__USE_ISOC99].
13388         (logl): Likewise.
13389         (log10f): Likewise.
13390         (log10l): Likewise.
13391         (ldexpf): Likewise.
13392         (ldexpl): Likewise.
13393         (powf): Likewise.
13394         (powl): Likewise.
13395         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13396         __USE_ISOC99].
13397         (remainderf): Condition declaration on [__USE_ISOC99].
13398         (remainderl): Likewise.
13399         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13400         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13401         (scalbl): Likewise.
13402         (sinhf): Condition declaration on [__USE_ISOC99].
13403         (sinhl): Likewise.
13404         (sqrtf): Likewise.
13405         (sqrtl): Likewise.
13407 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13409         * sysdeps/arm/atomic-machine.h
13410         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13411         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13412         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13413         Remove conditional code.
13414         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13415         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13416         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13417         Change conditional to [__ASSEMBLER__].
13418         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13419         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13420         [!__ASSEMBLER__].
13421         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13422         code.
13423         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13424         conditional macro definitions.
13425         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13426         (__arch_compare_and_exchange_val_16_acq): Likewise.
13427         (__arch_compare_and_exchange_val_32_acq): Likewise.
13428         (atomic_exchange_and_add): Likewise.
13429         (atomic_add): Likewise.
13430         (atomic_add_negative): Likewise.
13431         (atomic_add_zero): Likewise.
13432         (atomic_bit_set): Likewise.
13433         (atomic_bit_test_set): Likewise.
13434         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13435         code unconditional.
13436         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13438         * math/test-math-errno.h: New file.
13439         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13440         empty.
13441         (TEST_ERRNO): New macro.
13442         (TEST_EXCEPTIONS): Likewise.
13443         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13444         (TEST_EXCEPTIONS): Likewise.
13445         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13446         * math/test-double.c: Include "test-math-errno.h".
13447         * math/test-float.c: Likewise.
13448         * math/test-ldouble.c: Likewise.
13449         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13450         code unconditional.
13451         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13452         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13453         unconditional.
13454         (test_errno): Only run code if TEST_ERRNO.
13455         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13457 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13459         * nptl/tst-once5.cc: Remove attribution.
13461 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13463         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13464         sqrt, tan, tanh, y0, y1 and yn.
13465         * math/auto-libm-test-out: Regenerated.
13466         * math/libm-test.inc (scalb_test_data): Add more tests.
13467         (scalbn_test_data): Likewise.
13468         (scalbln_test_data): Likewise.
13469         (signbit_test_data): Likewise.
13470         (sin_test_data): Likewise.
13471         (sincos_test_data): Likewise.
13472         (sinh_test_data): Likewise.
13473         (sqrt_test_data): Likewise.
13474         (tan_test_data): Likewise.
13475         (tanh_test_data): Likewise.
13476         (tgamma_test_data): Likewise.
13477         (y0_test_data): Likewise.
13478         (y1_test_data): Likewise.
13479         (yn_test_data): Likewise.
13480         (significand_test_data): Likewise.
13481         * sysdeps/i386/fpu/libm-test-ulps: Update.
13483 2015-11-03  David Kastrup  <dak@gnu.org>
13485         [BZ #18604]
13486         * assert/assert.h (assert): Don't macro-expand failed assertion
13487         expression in error message.
13488         * malloc/malloc.c (assert): Likewise.
13490 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13492         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13493         test.
13494         * configure: Regenerated.
13496 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13498         * math/libm-test.inc (modf_test_data): Add more tests.
13499         (nearbyint_test_data): Likewise.
13500         (nextafter_test_data): Likewise.
13501         (nexttoward_test_data): Likewise.
13502         (pow_test_data): Likewise.
13503         (remainder_test_data): Likewise.
13504         (remquo_test_data): Likewise.
13505         (rint_test_data): Likewise.
13507         [BZ #19201]
13508         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13509         Check for zero remainder in case of large exponents and ensure
13510         correct sign of result in that case.
13511         * math/libm-test.inc (remainder_test_data): Add more tests.
13513         [BZ #6799]
13514         * math/s_nextafter.c: Include <errno.h>.
13515         (__nextafter): Set errno on overflow and underflow.
13516         * math/s_nexttowardf.c: Include <errno.h>.
13517         (__nexttowardf): Set errno on overflow and underflow.
13518         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13519         (__nextafterl): Set errno on overflow and underflow.
13520         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13521         (__nexttoward): Set errno on overflow and underflow.
13522         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13523         (__nexttowardf): Set errno on overflow and underflow.
13524         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13525         (__nextafterf): Set errno on overflow and underflow.
13526         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13527         (__nextafterl): Set errno on overflow and underflow.
13528         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13529         (__nexttoward): Set errno on overflow and underflow.
13530         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13531         (__nexttowardf): Set errno on overflow and underflow.
13532         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13533         (__nextafterl): Set errno on overflow and underflow.
13534         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13535         (__nexttoward): Set errno on overflow and underflow.
13536         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13537         (__nexttowardf): Set errno on overflow and underflow.
13538         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13539         (__nexttoward): Set errno on overflow and underflow.
13540         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13541         (__nexttowardf): Set errno on overflow and underflow.
13542         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13543         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13544         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13545         (__nextafterl): Set errno on overflow and underflow.
13546         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13547         setting to be missing on overflow.  Add more tests.
13548         (nexttoward_test_data): Likewise.
13550         * configure.ac (libc_cv_initfini_array): Remove configure test.
13551         * configure: Regenerated.
13553 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13555         [BZ #19189]
13556         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13557         non-finite argument handle arguments with negative sign.
13559         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13560         result from infinite argument.
13561         (j1_test_data): Likewise.
13562         (jn_test_data): Likewise.
13563         (y0_test_data): Likewise.
13564         (y1_test_data): Likewise.
13565         (yn_test_data): Likewise.
13567         [BZ #16171]
13568         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13569         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13570         * math/w_remainderf.c (dremf): Define as weak alias of
13571         __remainderf.
13572         * math/w_remainderl.c (dreml): Define as weak alias of
13573         __remainderl.
13574         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13575         __remainder.
13576         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13577         __remainderf.
13578         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13579         __remainderl.
13580         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13581         weak alias of remainderl.
13582         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13583         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13584         alias of __remainder.
13585         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13586         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13587         strong alias of __remainderl.
13588         (dreml): Use long_double_symbol.
13589         * math/Makefile (libm-calls): Remove w_drem.
13590         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13591         (CFLAGS-nldbl-drem.c): Remove variable.
13592         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13593         * math/w_drem.c: Remove file.
13594         * math/w_dremf.c: Likewise.
13595         * math/w_dreml.c: Likewise.
13596         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13597         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13598         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13600         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13601         * sysdeps/i386/configure: Regenerated.
13602         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13603         * sysdeps/x86_64/configure: Regenerated.
13605         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13606         test.
13607         (libc_cv_visibility_attribute): Likewise.
13608         (libc_cv_protected_data): Test unconditionally.
13609         (libc_cv_broken_visibility_attribute): Remove configure test.
13610         (libc_cv_have_sdata_section): Test unconditionally.
13611         * configure: Regenerated.
13613         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13614         * include/scratch_buffer.h: Include <stddef.h> instead of
13615         <libc-internal.h>.
13616         (struct scratch_buffer): Use max_align_t instead of
13617         libc_max_align_t.
13619 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13621         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13622         instead of extend_alloca.  Change control flow to avoid a goto.
13623         Remove assert which is trivially always true.
13625 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #16068]
13628         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13629         (FE_ALL_EXCEPT_X86): New macro.
13630         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13631         FE_ALL_EXCEPT.  Ensure precision control is included in
13632         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13633         handle "denormal operand exception" and clear FZ and DAZ bits.
13634         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13635         (FE_ALL_EXCEPT_X86): New macro.
13636         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13637         FE_ALL_EXCEPT.  Ensure precision control is included in
13638         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13639         handle "denormal operand exception" and clear FZ and DAZ bits.
13640         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13641         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13642         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13643         test-fenv-x87 and test-fenv-sse-2.
13644         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13646         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13647         * math/test-double.h (BUILD_COMPLEX): New macro.
13648         * math/test-float.h (BUILD_COMPLEX): Likewise.
13649         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13651         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13652         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13653         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13655         instead of DBL_DENORM_MIN in comment.
13656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13657         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13659         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13661         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13663 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13665         [BZ# 19048]
13666         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13667         attached_threads member.
13668         (main_arena): Initialize attached_threads.
13669         * malloc/arena.c (list_lock): Update comment.
13670         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13671         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13672         (deattach_arena): New function.
13673         (_int_new_arena): Initialize arena reference count and deattach
13674         replaced arena.
13675         (get_free_list, reused_arena): Update reference count and deattach
13676         replaced arena.
13677         (arena_thread_freeres): Update arena reference count and only put
13678         unreferenced arenas on the free list.
13680 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13682         [BZ #19181]
13683         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13684         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13685         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13686         * math/test-fenv-clear-main.c: New file.
13687         * math/test-fenv-clear.c: Likewise.
13688         * math/Makefile (tests): Add test-fenv-clear.
13689         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13690         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13691         test-fenv-clear-sse.
13692         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13694         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13695         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13696         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13698 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13700         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13701         static libc.
13703 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13705         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13706         test.
13707         * sysdeps/i386/configure: Regenerated.
13708         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13709         test.
13710         * sysdeps/x86_64/configure: Regenerated.
13711         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13713         memset-avx2 unconditionally instead of conditionally on
13714         [$(config-cflags-avx2) = yes].
13715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13716         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13717         unconditional.
13718         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13719         * sysdeps/x86_64/multiarch/memset_chk.S
13720         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13721         to [IS_IN (libc) && SHARED].
13723 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13725         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13726         configure test.
13727         * sysdeps/arm/configure: Regenerated.
13728         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13729         Define variable if not already defined.
13731         [BZ #17404]
13732         * sysdeps/mips/atomic-machine.h
13733         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13734         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13735         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13737         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13738         unconditional.
13739         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13740         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13741         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13742         unconditional.
13743         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13744         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13745         unconditional.
13746         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13747         * stdlib/setenv.c
13748         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13749         code unconditional.
13750         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13751         Remove conditional code.
13752         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13753         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13754         unconditional.
13755         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13756         code.
13757         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13758         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13759         unconditional.
13760         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13761         code.
13762         * sysdeps/ieee754/ldbl-128/k_tanl.c
13763         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13764         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13765         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13766         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13767         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13768         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13769         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13770         unconditional.
13771         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13772         code.
13773         * sysdeps/ieee754/ldbl-96/k_tanl.c
13774         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13775         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13777         * nptl/tst-initializers1-c11.c: New file.
13778         * nptl/tst-initializers1-gnu11.c: Likewise.
13779         * nptl/Makefile (tests): Add these new tests.
13780         (CFLAGS-tst-initializers1-c11.c): New variable.
13781         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13783         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13784         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13785         instead of -std=gnu99.
13786         * configure.ac (systemtap): Test with -std=gnu11 instead of
13787         -std=gnu99.
13788         * configure: Regenerated.
13789         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13790         in compilation command in comment.
13792         * sysdeps/nptl/configure.ac: Remove file.
13793         * sysdeps/nptl/configure: Remove generated file.
13794         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13795         * configure: Regenerated.
13796         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13797         * config.make.in (have-forced-unwind): Remove variable.
13798         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13799         unconditional.
13800         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13801         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13802         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13803         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13804         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13805         unconditional.
13807 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13809         [BZ #19174]
13810         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13811         .skip_lock_out_of_tbegin_retries.
13812         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13813         (__lll_lock_elision): Likewise, and respect a value of
13814         try_tbegin <= 0.
13816 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13818         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13819         statement.
13821 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13823         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13824         variable.
13825         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13826         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13828         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13829         of -std=c1x -D_ISOC11_SOURCE.
13831         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13832         * configure: Regenerated.
13833         * manual/install.texi (Tools for Compilation): Document
13834         requirement for GCC 4.7 or later.
13835         * INSTALL: Regenerated.
13837 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13839         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13840         on CNT to a conditional jump to 'puntdata'.
13842 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13844         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13845         (libc_cv_gcc_tls_model_attr): Likewise.
13846         * configure: Regenerated.
13848         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13849         * configure: Regenerated.
13850         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13852 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13854         * configure.ac (old_glibc_headers): Remove configure test.
13855         * configure: Regenerated.
13856         * config.make.in (old-glibc-headers): Remove variable.
13857         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13858         (install): Remove dependency on remove-old-headers.
13859         (headers2_0): Remove variable.
13860         (remove-old-headers): Remove rule.
13862         * configure.ac (libc_cv_dot_text): Remove configure test.
13863         (libc_cv_asm_set_directive): Use .text instead of
13864         ${libc_cv_dot_text} in configure test.
13865         * configure: Regenerated.
13867 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13869         [BZ #19168]
13870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13872 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13874         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13875         not support static linking.
13876         * configure: Regenerate.
13878 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13880         * math/libm-test.inc (check_float_internal): Do not special-case
13881         errors up to 0.5 ulp.
13883         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13884         log2.
13885         * math/auto-libm-test-out: Regenerated.
13886         * math/libm-test.inc (MAX_EXP): New macro.
13887         (ilogb_test_data): Add more tests.
13888         (isfinite_test_data): Likewise.
13889         (isgreater_test_data): Likewise.
13890         (isgreaterequal_test_data): Likewise.
13891         (isinf_test_data): Likewise.
13892         (isless_test_data): Likewise.
13893         (islessequal_test_data): Likewise.
13894         (islessgreater_test_data): Likewise.
13895         (isnan_test_data): Likewise.
13896         (isnormal_test_data): Likewise.
13897         (issignaling_test_data): Likewise.
13898         (isunordered_test_data): Likewise.
13899         (j0_test_data): Likewise.
13900         (j1_test_data): Likewise.
13901         (jn_test_data): Likewise.
13902         (lgamma_test_data): Likewise.
13903         (log_test_data): Likewise.
13904         (log10_test_data): Likewise.
13905         (log1p_test_data): Likewise.
13906         (log2_test_data): Likewise.
13907         (logb_test_data): Likewise.
13908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13910         [BZ #18611]
13911         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13912         avoid excess range and precision on underflow.
13913         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13914         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13915         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13916         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13917         underflow.
13918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13920         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13921         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13922         * math/auto-libm-test-in: Do not allow missing errno setting for
13923         tests of j1 and jn.
13924         * math/auto-libm-test-out: Regenerated.
13926 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13928         [BZ #15491]
13929         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13930         floating-point environment instead of clearing all exceptions.
13931         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13932         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13933         merging in "invalid" exceptions from frndint.
13934         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13935         * math/test-nearbyint-except.c: New file.
13936         * math/Makefile (tests): Add test-nearbyint-except.
13938 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13940         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13942         * sysdeps/tile/libm-test-ulps: Regenerated.
13944 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13947         (__NR_sync_file_range2): Assume it is always defined.
13948         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13949         (__NR_sync_file_range): Assume it is always defined.
13951 2015-10-22  Andreas Schwab  <schwab@suse.de>
13953         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13954         INTERNAL_SYSCALL_ERRNO.
13955         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13956         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13957         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13958         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13959         Likewise.
13960         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13962 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13964         * io/tst-fcntl.c (fd): New static variable.
13965         (do_prepare): Open temporary file here....
13966         (do_test): ...not here.
13968         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13970 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13972         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13973         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13974         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13975         Moved before "#ifdef __ASSEMBLER__".
13977 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13979         [BZ #19156]
13980         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13981         arguments very close to 0.
13983 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13985         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13986         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13988 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13990         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13991         New.  Defined for GCC 5 and above when not compiling for
13992         profiling.
13993         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13995         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13996         Renamed to ...
13997         (CFLAGS-epoll_pwait.o): This.
13998         (CFLAGS-mmap.c): Renamed to ...
13999         (CFLAGS-mmap.o): This.
14000         (CFLAGS-mmap64.c): Renamed to ...
14001         (CFLAGS-mmap64.o): This.
14002         (CFLAGS-epoll_pwait.os): New.
14003         (CFLAGS-mmap.os): Likewise.
14004         (CFLAGS-mmap64.os): Likewise.
14005         (CFLAGS-semtimedop.os): Likewise.
14006         (CFLAGS-semtimedop.c): Renamed to ...
14007         (CFLAGS-semtimedop.o): This.
14009 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14011         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14012         warning message.
14014 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14016         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14017         * Makefile ($(objpfx)c++-types-check.out): Filter out
14018         $(+gccwarn-c) instead of -Wstrict-prototypes.
14020         * io/fts.c (fts_open): Convert to prototype-style function
14021         definition.
14022         * malloc/mcheck.c (mcheck): Likewise.
14023         (mcheck_pedantic): Likewise.
14024         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14025         internal_function.
14026         (re_search_internal): Likewise.
14027         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14028         prototype-style function definition.
14029         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14030         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14031         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14032         (xdr_utmpptr): Likewise.
14033         (xdr_utmparr): Likewise.
14034         (xdr_utmpidle): Likewise.
14035         (xdr_utmpidleptr): Likewise.
14036         (xdr_utmpidlearr): Likewise.
14038         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14039         log, log10 and log2.
14040         * math/auto-libm-test-out: Regenerated.
14041         * math/libm-test.inc (fmod_test_data): Add more tests.
14042         (fpclassify_test_data): Likewise.
14043         (frexp_test_data): Likewise.
14044         (hypot_test_data): Likewise.
14045         (ilogb_test_data): Likewise.
14047 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14049         * debug/fortify_fail.c (__fortify_fail): Convert to
14050         prototype-style function definition.  Use internal_function.
14051         * libio/genops.c (save_for_backup): Convert to prototype-style
14052         function definition.
14053         * libio/wgenops.c (save_for_wbackup): Likewise.
14054         * login/grantpt.c (grantpt): Likewise.
14055         * login/ptsname.c (ptsname): Likewise.
14056         (__ptsname_r): Likewise.
14057         * login/unlockpt.c (unlockpt): Likewise.
14058         * mach/msgserver.c (__mach_msg_server): Likewise.
14059         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14060         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14061         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14062         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14063         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14064         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14065         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14066         Likewise.
14067         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14068         internal_function.
14069         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14070         prototype-style function definition.
14071         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14072         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14073         (__pthread_create_2_0): Likewise.
14074         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14075         * nptl/register-atfork.c (__register_atfork): Likewise.
14076         * posix/glob.c (glob): Likewise.
14077         * posix/regcomp.c (re_comp): Likewise.
14078         * posix/regexec.c (re_exec): Likewise.
14079         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14080         [!__STDC__]: Remove conditional code.
14081         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14082         [!__STDC__]: Remove conditional code.
14083         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14084         [!__STDC__]: Remove conditional code.
14085         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14086         [!__STDC__]: Remove conditional code.
14087         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14088         [!__STDC__]: Remove conditional code.
14089         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14090         [!__STDC__]: Remove conditional code.
14091         * stdlib/mul.c [__STDC__]: Make code unconditional.
14092         [!__STDC__]: Remove conditional code.
14093         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14094         [!__STDC__]: Remove conditional code.
14095         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14096         [!__STDC__]: Remove conditional code.
14097         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14098         function definition.
14099         (STRTOF): Likewise.
14100         * stdlib/strtod_l.c (__STRTOF): Likewise.
14101         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14102         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14103         (__strtol_l): Likewise.
14104         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14105         [!__STDC__]: Remove conditional code.
14106         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14107         definition.
14108         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14109         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14110         type.
14111         (__strcasecmp): Convert to prototype-style function definition.
14112         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14113         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14114         type.
14115         (__strncasecmp): Convert to prototype-style function definition.
14116         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14117         * sunrpc/xdr.c (xdr_union): Likewise.
14118         * sunrpc/xdr_array.c (xdr_array): Likewise.
14119         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14120         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14121         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14122         Likewise.
14123         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14124         Likewise.
14125         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14126         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14127         Likewise.
14128         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14129         (LOCALE_PARAM_PROTO): Likewise.
14130         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14131         argument type.
14132         (ut_argument_spec): Remove macro.
14133         (ut_argument_spec_iso): Rename to ut_argument_spec.
14134         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14135         prototype-style function definition.
14136         (memcpy_uppcase): Likewise.
14137         (__strftime_internal): Likewise.
14138         (my_strftime): Likewise.
14139         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14140         (LOCALE_PARAM_DECL): Likewise.
14141         [_LIBC] (LOCALE_PARAM): Include argument type.
14142         (__strptime_internal): Convert to prototype-style function
14143         definition.
14144         (strptime): Likewise.
14145         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14146         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14147         type.
14148         (__wcscasecmp): Convert to prototype-style function definition.
14149         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14150         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14151         type.
14152         (__wcsncasecmp): Convert to prototype-style function definition.
14154         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14155         function definition.
14156         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14157         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14158         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14159         * elf/dl-minimal.c (_itoa): Likewise.
14160         * hurd/hurdmalloc.c (malloc): Likewise.
14161         (free): Likewise.
14162         (realloc): Likewise.
14163         * inet/inet6_option.c (inet6_option_space): Likewise.
14164         (inet6_option_init): Likewise.
14165         (inet6_option_append): Likewise.
14166         (inet6_option_alloc): Likewise.
14167         (inet6_option_next): Likewise.
14168         (inet6_option_find): Likewise.
14169         * io/ftw.c (FTW_NAME): Likewise.
14170         (NFTW_NAME): Likewise.
14171         (NFTW_NEW_NAME): Likewise.
14172         (NFTW_OLD_NAME): Likewise.
14173         * libio/iofwide.c (_IO_fwide): Likewise.
14174         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14175         (_IO_str_init_static): Likewise.
14176         (_IO_str_init_readonly): Likewise.
14177         (_IO_str_overflow): Likewise.
14178         (_IO_str_underflow): Likewise.
14179         (_IO_str_count): Likewise.
14180         (_IO_str_seekoff): Likewise.
14181         (_IO_str_pbackfail): Likewise.
14182         (_IO_str_finish): Likewise.
14183         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14184         (_IO_wstr_overflow): Likewise.
14185         (_IO_wstr_underflow): Likewise.
14186         (_IO_wstr_count): Likewise.
14187         (_IO_wstr_seekoff): Likewise.
14188         (_IO_wstr_pbackfail): Likewise.
14189         (_IO_wstr_finish): Likewise.
14190         * locale/programs/localedef.c (normalize_codeset): Likewise.
14191         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14192         (add_locales_to_archive): Likewise.
14193         (delete_locales_from_archive): Likewise.
14194         * malloc/malloc.c (__libc_mallinfo): Likewise.
14195         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14196         * misc/tsearch.c (__tfind): Likewise.
14197         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14198         * nptl/pthread_attr_getdetachstate.c
14199         (__pthread_attr_getdetachstate): Likewise.
14200         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14201         Likewise.
14202         * nptl/pthread_attr_getinheritsched.c
14203         (__pthread_attr_getinheritsched): Likewise.
14204         * nptl/pthread_attr_getschedparam.c
14205         (__pthread_attr_getschedparam): Likewise.
14206         * nptl/pthread_attr_getschedpolicy.c
14207         (__pthread_attr_getschedpolicy): Likewise.
14208         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14209         Likewise.
14210         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14211         Likewise.
14212         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14213         Likewise.
14214         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14215         Likewise.
14216         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14217         (__pthread_attr_init_2_0): Likewise.
14218         * nptl/pthread_attr_setdetachstate.c
14219         (__pthread_attr_setdetachstate): Likewise.
14220         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14221         Likewise.
14222         * nptl/pthread_attr_setinheritsched.c
14223         (__pthread_attr_setinheritsched): Likewise.
14224         * nptl/pthread_attr_setschedparam.c
14225         (__pthread_attr_setschedparam): Likewise.
14226         * nptl/pthread_attr_setschedpolicy.c
14227         (__pthread_attr_setschedpolicy): Likewise.
14228         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14229         Likewise.
14230         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14231         Likewise.
14232         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14233         Likewise.
14234         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14235         Likewise.
14236         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14237         Likewise.
14238         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14239         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14240         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14241         use internal_function.
14242         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14243         prototype-style function definition.
14244         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14245         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14246         internal_function.
14247         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14248         Convert to prototype-style function definition.
14249         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14250         Likewise.
14251         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14252         Likewise.
14253         (__pthread_mutex_unlock): Likewise.
14254         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14255         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14256         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14257         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14258         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14259         * nss/makedb.c (process_input): Likewise.
14260         * posix/fnmatch.c (__strchrnul): Likewise.
14261         (__wcschrnul): Likewise.
14262         (fnmatch): Likewise.
14263         * posix/fnmatch_loop.c (FCT): Likewise.
14264         * posix/glob.c (globfree): Likewise.
14265         (__glob_pattern_type): Likewise.
14266         (__glob_pattern_p): Likewise.
14267         * posix/regcomp.c (re_compile_pattern): Likewise.
14268         (re_set_syntax): Likewise.
14269         (re_compile_fastmap): Likewise.
14270         (regcomp): Likewise.
14271         (regerror): Likewise.
14272         (regfree): Likewise.
14273         * posix/regexec.c (regexec): Likewise.
14274         (re_match): Likewise.
14275         (re_search): Likewise.
14276         (re_match_2): Likewise.
14277         (re_search_2): Likewise.
14278         (re_search_stub): Likewise.  Use internal_function
14279         (re_copy_regs): Likewise.
14280         (re_set_registers): Convert to prototype-style function
14281         definition.
14282         (prune_impossible_nodes): Likewise.  Use internal_function.
14283         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14284         prototype-style function definition.
14285         (inet_net_pton_ipv4): Likewise.
14286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14287         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14288         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14289         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14290         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14291         Make variadic.
14292         * time/strptime_l.c (localtime_r): Convert to prototype-style
14293         function definition.
14294         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14295         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14296         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14297         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14299         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14300         definition.
14301         (_ufc_doit_r): Likewise.
14302         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14303         (_ufc_output_conversion_r): Likewise.
14304         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14305         * inet/rcmd.c (rcmd_af): Likewise.
14306         (rcmd): Likewise.
14307         (ruserok_af): Likewise.
14308         (ruserok): Likewise.
14309         (ruserok2_sa): Likewise.
14310         (ruserok_sa): Likewise.
14311         (iruserok_af): Likewise.
14312         (iruserok): Likewise.
14313         (__ivaliduser): Likewise.
14314         (__validuser2_sa): Likewise.
14315         * inet/rexec.c (rexec_af): Likewise.
14316         (rexec): Likewise.
14317         * inet/ruserpass.c (ruserpass): Likewise.
14318         * locale/programs/xmalloc.c (xcalloc): Likewise.
14319         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14320         * math/w_drem.c (__drem): Likewise.
14321         * math/w_dremf.c (__dremf): Likewise.
14322         * math/w_dreml.c (__dreml): Likewise.
14323         * misc/daemon.c (daemon): Likewise.
14324         * resolv/res_debug.c (p_fqnname): Likewise.
14325         * stdlib/div.c (div): Likewise.
14326         * string/memcmp.c (memcmp_bytes): Likewise.
14327         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14328         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14330         * crypt/cert.c (main): Convert to prototype-style function
14331         definition.
14332         * io/pipe.c (__pipe): Likewise.
14333         * io/pipe2.c (__pipe2): Likewise.
14334         * misc/futimesat.c (futimesat): Likewise.
14335         * misc/utimes.c (__utimes): Likewise.
14336         * posix/execve.c (__execve): Likewise.
14337         * posix/execvp.c (execvp): Likewise.
14338         * posix/execvpe.c (__execvpe): Likewise.
14339         * posix/fexecve.c (fexecve): Likewise.
14340         * socket/socketpair.c (socketpair): Likewise.
14341         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14342         * stdlib/erand48.c (erand48): Likewise.
14343         * stdlib/erand48_r.c (__erand48_r): Likewise.
14344         * stdlib/jrand48.c (jrand48): Likewise.
14345         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14346         * stdlib/lcong48.c (lcong48): Likewise.
14347         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14348         * stdlib/nrand48.c (nrand48): Likewise.
14349         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14350         * stdlib/seed48.c (seed48): Likewise.
14351         * stdlib/seed48_r.c (__seed48_r): Likewise.
14352         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14353         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14354         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14356 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14358         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14359         * configure: Regenerated.
14360         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14361         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14362         unconditional.
14363         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14364         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14365         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14366         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14367         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14368         unconditional.
14369         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14371         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14372         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14374         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14375         function definition.
14376         * crypt/crypt_util.c (__encrypt_r): Likewise.
14377         * libio/genops.c (_IO_no_init): Likewise.
14378         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14379         (_IO_old_fopencookie): Likewise.
14380         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14381         * libio/iogetline.c (_IO_getline): Likewise.
14382         (_IO_getline_info): Likewise.
14383         * libio/iogetwline.c (_IO_getwline): Likewise.
14384         (_IO_getwline_info): Likewise.
14385         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14386         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14387         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14388         (find_entry): Likewise.
14389         (iterate_table): Likewise.
14390         (lookup): Likewise.
14391         * login/forkpty.c (forkpty): Likewise.
14392         * misc/hsearch_r.c (__hsearch_r): Likewise.
14393         * misc/select.c (__select): Likewise.
14394         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14395         Likewise.
14396         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14397         Likewise.
14398         * nptl/old_pthread_cond_timedwait.c
14399         (__pthread_cond_timedwait_2_0): Likewise.
14400         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14401         * nptl/pthread_barrierattr_getpshared.c
14402         (pthread_barrierattr_getpshared): Likewise.
14403         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14404         Likewise.
14405         * nptl/pthread_mutex_setprioceiling.c
14406         (pthread_mutex_setprioceiling): Likewise.
14407         * nptl/pthread_mutexattr_getprioceiling.c
14408         (pthread_mutexattr_getprioceiling): Likewise.
14409         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14410         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14411         Likewise.
14412         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14413         Likewise.
14414         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14415         Likewise.
14416         * socket/recvfrom.c (__recvfrom): Likewise.
14417         * socket/sendto.c (__sendto): Likewise.
14418         * socket/setsockopt.c (__setsockopt): Likewise.
14419         * stdio-common/_itoa.c (_itoa): Likewise.
14420         * stdio-common/_itowa.c (_itowa): Likewise.
14421         * stdio-common/reg-printf.c (__register_printf_specifier):
14422         Likewise.
14423         (__register_printf_function): Likewise.
14424         * stdio-common/tempname.c (__path_search): Likewise.
14425         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14426         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14427         * stdlib/random_r.c (__initstate_r): Likewise.
14428         * stdlib/setenv.c (__add_to_environ): Likewise.
14429         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14430         * streams/getpmsg.c (getpmsg): Likewise.
14431         * streams/putmsg.c (putmsg): Likewise.
14432         * streams/putpmsg.c (putpmsg): Likewise.
14433         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14434         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14435         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14436         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14437         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14438         * sunrpc/svc_udp.c (cache_get): Likewise.
14439         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14440         * sysdeps/mach/hurd/getcwd.c
14441         (__canonicalize_directory_name_internal): Likewise.
14442         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14443         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14444         * sysdeps/mach/hurd/select.c (__select): Likewise.
14445         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14446         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14447         * sysdeps/sparc/nptl/pthread_barrier_init.c
14448         (__pthread_barrier_init): Likewise.
14449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14450         (__pthread_cond_timedwait): Likewise.
14451         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14452         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14453         Likewise.
14454         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14455         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14456         Likewise.
14457         * sysvipc/semtimedop.c (semtimedop): Likewise.
14458         * time/setitimer.c (__setitimer): Likewise.
14459         * time/strftime_l.c (emacs_strftime): Likewise.
14461 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14463         * config.make.in (have-ssp): Delete.
14464         (stack-protector): New variable.
14465         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14466         cache test for -fstack-protector-strong.  Export stack_protector to
14467         the best ssp flag.
14468         * configure: Regenerated.
14469         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14470         * nscd/Makefile (CFLAGS-nscd): Likewise.
14471         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14473 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14475         [BZ #19122]
14476         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14477         attribute_hidden.
14479 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14481         [BZ #18743]
14482         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14483         code to...
14484         (ELIDE_LOCK): ...here.
14485         (__get_new_count): New function with part of the code from
14486         __elide_lock that updates the value of adapt_count after a
14487         transaction abort.
14488         (__elided_trylock): Moved this code to...
14489         (ELIDE_TRYLOCK): ...here.
14491 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14493         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14494         * configure: Regenerate.
14495         * INSTALL: Regenerate.
14496         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14497         and tweak grammar.
14499 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14501         * login/programs/pt_chown.c: Include signal.h
14502         (main): Clear any signal mask from the parent process.
14504 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14506         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14507         * configure: Regenerated.
14508         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14509         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14510         $(gnu89-inline-CFLAGS).
14512         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14513         test.
14514         (libc_cv_asm_weakext_directive): Likewise.
14515         * configure: Regenerated.
14516         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14517         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14518         * include/libc-symbols.h
14519         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14520         #error.
14521         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14522         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14524         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14525         prototype-style function definition.
14526         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14527         * sysdeps/i386/ffs.c (__ffs): Likewise.
14528         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14529         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14530         Likewise.
14531         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14532         Likewise.
14533         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14534         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14535         Likewise.
14536         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14537         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14538         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14539         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14540         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14541         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14542         * sysdeps/mach/hurd/access.c (__access): Likewise.
14543         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14544         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14545         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14546         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14547         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14548         (cthread_getspecific): Likewise.
14549         (cthread_setspecific): Likewise.
14550         (__libc_getspecific): Likewise.
14551         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14552         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14553         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14554         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14555         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14556         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14557         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14558         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14559         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14560         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14561         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14562         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14563         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14564         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14565         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14566         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14567         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14568         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14569         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14570         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14571         * sysdeps/mach/hurd/link.c (__link): Likewise.
14572         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14573         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14574         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14575         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14576         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14577         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14578         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14579         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14580         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14581         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14582         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14583         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14584         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14585         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14586         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14587         * sysdeps/mach/hurd/send.c (__send): Likewise.
14588         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14589         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14590         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14591         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14592         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14593         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14594         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14595         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14596         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14597         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14598         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14599         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14600         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14601         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14602         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14603         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14604         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14605         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14606         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14607         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14608         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14609         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14610         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14611         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14612         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14613         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14614         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14615         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14616         * sysdeps/posix/alarm.c (alarm): Likewise.
14617         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14618         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14619         * sysdeps/posix/dup.c (__dup): Likewise.
14620         * sysdeps/posix/dup2.c (__dup2): Likewise.
14621         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14622         (main): Likewise.
14623         * sysdeps/posix/flock.c (__flock): Likewise.
14624         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14625         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14626         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14627         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14628         * sysdeps/posix/isatty.c (__isatty): Likewise.
14629         * sysdeps/posix/killpg.c (killpg): Likewise.
14630         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14631         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14632         * sysdeps/posix/raise.c (raise): Likewise.
14633         * sysdeps/posix/remove.c (remove): Likewise.
14634         * sysdeps/posix/rename.c (rename): Likewise.
14635         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14636         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14637         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14638         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14639         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14640         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14641         * sysdeps/posix/sigset.c (sigset): Likewise.
14642         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14643         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14644         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14645         * sysdeps/posix/time.c (time): Likewise.
14646         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14647         (ttyname): Likewise.
14648         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14649         * sysdeps/posix/utime.c (utime): Likewise.
14650         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14651         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14652         Likewise.
14653         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14654         (pthread_spin_trylock): Likewise.
14655         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14656         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14657         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14658         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14659         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14660         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14661         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14662         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14663         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14664         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14665         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14666         * sysdeps/s390/ffs.c (__ffs): Likewise.
14667         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14668         Likewise.
14669         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14670         Likewise.
14671         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14672         Likewise.
14673         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14674         (pthread_barrier_destroy): Likewise.
14675         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14676         (__pthread_barrier_wait): Likewise.
14677         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14678         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14679         (__pthread_barrier_wait): Likewise.
14680         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14681         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14682         (memcmp_not_common_alignment): Likewise.
14683         (MEMCMP): Likewise.
14684         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14685         (_wordcopy_fwd_dest_aligned): Likewise.
14686         (_wordcopy_bwd_aligned): Likewise.
14687         (_wordcopy_bwd_dest_aligned): Likewise.
14688         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14689         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14690         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14691         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14692         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14693         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14694         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14695         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14696         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14697         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14698         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14699         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14700         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14701         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14702         * sysdeps/unix/stime.c (stime): Likewise.
14703         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14704         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14705         Likewise.  Use internal_function.
14706         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14707         Convert to prototype-style function definition.
14708         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14709         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14710         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14711         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14712         Likewise.  Use internal_function.
14713         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14714         prototype-style function definition
14715         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14716         Likewise.
14717         (__getlogin_r): Likewise.
14718         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14719         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14720         (__pthread_cond_broadcast): Likewise.
14721         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14722         (__pthread_cond_destroy): Likewise.
14723         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14724         (__pthread_cond_init): Likewise.
14725         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14726         (__pthread_cond_signal): Likewise.
14727         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14728         (__pthread_cond_wait): Likewise.
14729         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14730         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14731         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14732         Likewise.
14733         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14734         Likewise.
14735         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14736         Likewise.
14737         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14738         Likewise.
14739         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14741         (__ftruncate64): Likewise.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14743         (truncate64): Likewise.
14744         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14745         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14746         (pthread_getcpuclockid): Likewise.
14747         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14748         Likewise.
14749         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14750         Likewise.
14751         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14752         Likewise.
14753         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14754         Likewise.
14755         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14756         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14757         (__libc_sigaction): Likewise.
14758         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14759         Likewise.
14760         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14761         (__sigprocmask): Likewise.
14762         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14763         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14764         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14765         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14766         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14767         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14768         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14769         Likewise.
14770         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14771         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14772         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14773         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14774         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14775         Likewise.
14776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14777         (__sigprocmask): Likewise.
14778         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14779         (cfgetispeed): Likewise.
14780         (cfsetospeed): Likewise.
14781         (cfsetispeed): Likewise.
14782         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14783         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14784         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14785         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14786         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14787         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14788         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14789         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14790         Likewise.
14791         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14796         Likewise.
14797         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14799 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14801         sunrpc: Rewrite with explicit TLS access using __thread.
14802         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14803         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14804         directly.
14805         (__rpc_thread_variables): Access thread_rpc_vars directly.
14806         Eliminate redundant assignment of the tvp variable.
14808 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14810         malloc: Rewrite with explicit TLS access using __thread.
14811         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14812         (tsd_setspecific, tsd_getspecific): Remove.
14813         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14814         (tsd_setspecific, tsd_getspecific): Likewise.
14815         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14816         (tsd_setspecific, tsd_getspecific): Likewise.
14817         * malloc/arena.c (thread_arena): New TLS variable.
14818         (arena_key): Remove variable.
14819         (arena_get): Use thread_arena.
14820         (arena_lookup): Remove macro.
14821         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14822         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14823         (_int_new_arena, get_free_list, reused_arena)
14824         (arena_thread_freeres): Use thread_arena.
14825         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14826         tsd_getspecific, tsd_setspecific from safety annotations.
14827         (Allocating Cleared Space): Remove arena_lookup from safety
14828         annotations.
14830 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14832         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14833         struct scratch_buffer instead of extend_alloca.
14835 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14837         * sysdeps/unix/sysv/linux/kernel-features.h
14838         (__ASSUME_SOCK_CLOEXEC): Remove.
14839         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14840         (__have_paccept): Remove unused macro.
14841         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14842         * misc/syslog.c (openlog_internal): Remove fallback code for
14843         !__ASSUME_SOCK_CLOEXEC.
14844         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14845         missing SOCK_CLOEXEC.
14846         * nscd/connections.c (have_sock_cloexec): Remove definition.
14847         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14848         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14849         !__ASSUME_SOCK_CLOEXEC.
14850         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14851         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14852         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14853         definition.
14854         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14855         code for !__ASSUME_SOCK_CLOEXEC.
14857 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14859         [BZ #18982]
14860         * manual/stdio.texi (Variable Arguments Output): Add portability
14861         note, explaining that vfprintf clobbers the va_list pointer.
14863 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14865         * math/libm-test.inc (fabs_test_data): Add more tests.
14866         (fdim_test_data): Likewise.
14867         (fma_test_data): Likewise.
14868         (fmax_test_data): Likewise.
14869         (fmin_test_data): Likewise.
14870         (fmod_test_data): Likewise.
14872 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14874         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14875         data.
14877 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14879         * math/libm-test.inc (ceil_test_data): Add more tests and more
14880         expectations for "inexact".
14881         (floor_test_data): Add more tests.
14882         (round_test_data): Likewise.
14883         (trunc_test_data): Likewise.
14885         * crypt/cert.c (good_bye): Convert to prototype-style function
14886         definition.
14887         (get8): Likewise.
14888         (put8): Likewise.
14889         * crypt/crypt-entry.c (crypt): Likewise.
14890         (__fcrypt): Likewise.
14891         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14892         (_ufc_set_bits): Likewise.
14893         (_ufc_clearmem): Likewise.
14894         (__init_des_r): Likewise.
14895         (shuffle_sb): Likewise.
14896         (shuffle_sb): Likewise.
14897         (_ufc_setup_salt_r): Likewise.
14898         (_ufc_mk_keytab_r): Likewise.
14899         (_ufc_dofinalperm_r): Likewise.
14900         (encrypt): Likewise.
14901         (__setkey_r): Likewise.
14902         (setkey): Likewise.
14903         * crypt/md5.c (md5_init_ctx): Likewise.
14904         (md5_read_ctx): Likewise.
14905         (md5_finish_ctx): Likewise.
14906         (md5_stream): Likewise.
14907         (md5_buffer): Likewise.
14908         (md5_process_bytes): Likewise.
14909         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14910         (__sha256_finish_ctx): Likewise.
14911         (__sha256_process_bytes): Likewise.
14912         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14913         (__sha512_finish_ctx): Likewise.
14914         (__sha512_process_bytes): Likewise.
14915         * ctype/isctype.c (__isctype): Likewise.
14916         * debug/backtrace.c (__backtrace): Likewise.
14917         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14918         * debug/fgets_chk.c (__fgets_chk): Likewise.
14919         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14920         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14921         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14922         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14923         * debug/memset_chk.c (__memset_chk): Likewise.
14924         * debug/strcat_chk.c (__strcat_chk): Likewise.
14925         * debug/strncat_chk.c (__strncat_chk): Likewise.
14926         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14927         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14928         * dirent/dirfd.c (dirfd): Likewise.
14929         * dirent/getdents.c (__getdirentries): Likewise.
14930         * dirent/getdents64.c (getdirentries64): Likewise.
14931         * dirent/rewinddir.c (__rewinddir): Likewise.
14932         * dirent/seekdir.c (seekdir): Likewise.
14933         * dirent/telldir.c (telldir): Likewise.
14934         * elf/sln.c (makesymlinks): Likewise.
14935         (makesymlink): Likewise.
14936         * gmon/gmon.c (__moncontrol): Likewise.
14937         (__monstartup): Likewise.
14938         (write_hist): Likewise.
14939         (write_call_graph): Likewise.
14940         (write_bb_counts): Likewise.
14941         * grp/setgroups.c (setgroups): Likewise.
14942         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14943         * inet/inet_net.c (inet_network): Likewise.
14944         * inet/inet_netof.c (inet_netof): Likewise.
14945         * inet/rcmd.c (rresvport_af): Likewise.
14946         (rresvport): Likewise.
14947         * io/access.c (__access): Likewise.
14948         * io/chdir.c (__chdir): Likewise.
14949         * io/chmod.c (__chmod): Likewise.
14950         * io/chown.c (__chown): Likewise.
14951         * io/close.c (__close): Likewise.
14952         * io/creat.c (creat): Likewise.
14953         * io/creat64.c (creat64): Likewise.
14954         * io/dup.c (__dup): Likewise.
14955         * io/dup2.c (__dup2): Likewise.
14956         * io/dup3.c (__dup3): Likewise.
14957         * io/euidaccess.c (__euidaccess): Likewise.
14958         * io/faccessat.c (faccessat): Likewise.
14959         * io/fchmod.c (__fchmod): Likewise.
14960         * io/fchmodat.c (fchmodat): Likewise.
14961         * io/fchown.c (__fchown): Likewise.
14962         * io/fchownat.c (fchownat): Likewise.
14963         * io/fcntl.c (__fcntl): Likewise.
14964         * io/flock.c (__flock): Likewise.
14965         * io/fts.c (fts_load): Likewise.
14966         (fts_close): Likewise.
14967         (fts_read): Likewise.
14968         (fts_set): Likewise.
14969         (fts_children): Likewise.
14970         (fts_build): Likewise.
14971         (fts_stat): Likewise.
14972         (fts_sort): Likewise.
14973         (fts_alloc): Likewise.
14974         (fts_lfree): Likewise.
14975         (fts_palloc): Likewise.
14976         (fts_padjust): Likewise.
14977         (fts_maxarglen): Likewise.
14978         (fts_safe_changedir): Likewise.
14979         * io/getwd.c (getwd): Likewise.
14980         * io/isatty.c (__isatty): Likewise.
14981         * io/lchown.c (__lchown): Likewise.
14982         * io/link.c (__link): Likewise.
14983         * io/linkat.c (linkat): Likewise.
14984         * io/lseek.c (__libc_lseek): Likewise.
14985         * io/mkdir.c (__mkdir): Likewise.
14986         * io/mkdirat.c (mkdirat): Likewise.
14987         * io/mkfifo.c (mkfifo): Likewise.
14988         * io/mkfifoat.c (mkfifoat): Likewise.
14989         * io/open.c (__libc_open): Likewise.
14990         * io/open64.c (__libc_open64): Likewise.
14991         * io/readlink.c (__readlink): Likewise.
14992         * io/readlinkat.c (readlinkat): Likewise.
14993         * io/rmdir.c (__rmdir): Likewise.
14994         * io/symlink.c (__symlink): Likewise.
14995         * io/symlinkat.c (symlinkat): Likewise.
14996         * io/ttyname.c (ttyname): Likewise.
14997         * io/ttyname_r.c (__ttyname_r): Likewise.
14998         * io/umask.c (__umask): Likewise.
14999         * io/unlink.c (__unlink): Likewise.
15000         * io/unlinkat.c (unlinkat): Likewise.
15001         * io/utime.c (utime): Likewise.
15002         * libio/clearerr.c (clearerr): Likewise.
15003         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15004         * libio/feof.c (_IO_feof): Likewise.
15005         * libio/feof_u.c (feof_unlocked): Likewise.
15006         * libio/ferror.c (_IO_ferror): Likewise.
15007         * libio/ferror_u.c (ferror_unlocked): Likewise.
15008         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15009         * libio/fileno.c (__fileno): Likewise.
15010         * libio/fputc.c (fputc): Likewise.
15011         * libio/fputc_u.c (fputc_unlocked): Likewise.
15012         * libio/fputwc.c (fputwc): Likewise.
15013         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15014         * libio/freopen.c (freopen): Likewise.
15015         * libio/freopen64.c (freopen64): Likewise.
15016         * libio/fseek.c (fseek): Likewise.
15017         * libio/fseeko.c (fseeko): Likewise.
15018         * libio/fseeko64.c (fseeko64): Likewise.
15019         * libio/ftello.c (__ftello): Likewise.
15020         * libio/ftello64.c (ftello64): Likewise.
15021         * libio/fwide.c (fwide): Likewise.
15022         * libio/genops.c (_IO_un_link): Likewise.
15023         (_IO_link_in): Likewise.
15024         (_IO_least_marker): Likewise.
15025         (_IO_switch_to_main_get_area): Likewise.
15026         (_IO_switch_to_backup_area): Likewise.
15027         (_IO_switch_to_get_mode): Likewise.
15028         (_IO_free_backup_area): Likewise.
15029         (_IO_switch_to_put_mode): Likewise.
15030         (__overflow): Likewise.
15031         (__underflow): Likewise.
15032         (__uflow): Likewise.
15033         (_IO_setb): Likewise.
15034         (_IO_doallocbuf): Likewise.
15035         (_IO_default_underflow): Likewise.
15036         (_IO_default_uflow): Likewise.
15037         (_IO_default_xsputn): Likewise.
15038         (_IO_sgetn): Likewise.
15039         (_IO_default_xsgetn): Likewise.
15040         (_IO_sync): Likewise.
15041         (_IO_default_setbuf): Likewise.
15042         (_IO_default_seekpos): Likewise.
15043         (_IO_default_doallocate): Likewise.
15044         (_IO_init): Likewise.
15045         (_IO_old_init): Likewise.
15046         (_IO_default_sync): Likewise.
15047         (_IO_default_finish): Likewise.
15048         (_IO_default_seekoff): Likewise.
15049         (_IO_sputbackc): Likewise.
15050         (_IO_sungetc): Likewise.
15051         (_IO_set_column): Likewise.
15052         (_IO_set_column): Likewise.
15053         (_IO_adjust_column): Likewise.
15054         (_IO_get_column): Likewise.
15055         (_IO_init_marker): Likewise.
15056         (_IO_remove_marker): Likewise.
15057         (_IO_marker_difference): Likewise.
15058         (_IO_marker_delta): Likewise.
15059         (_IO_seekmark): Likewise.
15060         (_IO_unsave_markers): Likewise.
15061         (_IO_nobackup_pbackfail): Likewise.
15062         (_IO_default_pbackfail): Likewise.
15063         (_IO_default_seek): Likewise.
15064         (_IO_default_stat): Likewise.
15065         (_IO_default_read): Likewise.
15066         (_IO_default_write): Likewise.
15067         (_IO_default_showmanyc): Likewise.
15068         (_IO_default_imbue): Likewise.
15069         (_IO_iter_next): Likewise.
15070         (_IO_iter_file): Likewise.
15071         * libio/getc.c (_IO_getc): Likewise.
15072         * libio/getwc.c (_IO_getwc): Likewise.
15073         * libio/iofclose.c (_IO_new_fclose): Likewise.
15074         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15075         * libio/iofflush.c (_IO_fflush): Likewise.
15076         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15077         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15078         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15079         * libio/iofgets.c (_IO_fgets): Likewise.
15080         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15081         * libio/iofgetws.c (fgetws): Likewise.
15082         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15083         * libio/iofopen64.c (_IO_fopen64): Likewise.
15084         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15085         (_IO_cookie_write): Likewise.
15086         (_IO_cookie_seek): Likewise.
15087         (_IO_cookie_close): Likewise.
15088         (_IO_cookie_seekoff): Likewise.
15089         (_IO_old_cookie_seek): Likewise.
15090         * libio/iofputs.c (_IO_fputs): Likewise.
15091         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15092         * libio/iofputws.c (fputws): Likewise.
15093         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15094         * libio/iofread.c (_IO_fread): Likewise.
15095         * libio/iofread_u.c (__fread_unlocked): Likewise.
15096         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15097         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15098         * libio/ioftell.c (_IO_ftell): Likewise.
15099         * libio/iofwrite.c (_IO_fwrite): Likewise.
15100         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15101         * libio/iogets.c (_IO_gets): Likewise.
15102         * libio/iopadn.c (_IO_padn): Likewise.
15103         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15104         (_IO_new_popen): Likewise.
15105         (_IO_new_proc_close): Likewise.
15106         * libio/ioputs.c (_IO_puts): Likewise.
15107         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15108         (_IO_seekoff): Likewise.
15109         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15110         (_IO_seekpos): Likewise.
15111         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15112         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15113         * libio/ioungetc.c (_IO_ungetc): Likewise.
15114         * libio/ioungetwc.c (ungetwc): Likewise.
15115         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15116         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15117         * libio/iowpadn.c (_IO_wpadn): Likewise.
15118         * libio/libc_fatal.c (__libc_fatal): Likewise.
15119         * libio/memstream.c (__open_memstream): Likewise.
15120         (_IO_mem_sync): Likewise.
15121         (_IO_mem_finish): Likewise.
15122         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15123         (_IO_old_file_close_it): Likewise.
15124         (_IO_old_file_finish): Likewise.
15125         (_IO_old_file_fopen): Likewise.
15126         (_IO_old_file_attach): Likewise.
15127         (_IO_old_file_setbuf): Likewise.
15128         (_IO_old_do_write): Likewise.
15129         (old_do_write): Likewise.
15130         (_IO_old_file_underflow): Likewise.
15131         (_IO_old_file_overflow): Likewise.
15132         (_IO_old_file_sync): Likewise.
15133         (_IO_old_file_seekoff): Likewise.
15134         (_IO_old_file_write): Likewise.
15135         (_IO_old_file_xsputn): Likewise.
15136         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15137         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15138         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15139         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15140         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15141         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15142         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15143         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15144         (_IO_old_popen): Likewise.
15145         (_IO_old_proc_close): Likewise.
15146         * libio/oldpclose.c (__old_pclose): Likewise.
15147         * libio/pclose.c (__new_pclose): Likewise.
15148         * libio/peekc.c (_IO_peekc_locked): Likewise.
15149         * libio/putc.c (_IO_putc): Likewise.
15150         * libio/putc_u.c (putc_unlocked): Likewise.
15151         * libio/putchar.c (putchar): Likewise.
15152         * libio/putchar_u.c (putchar_unlocked): Likewise.
15153         * libio/putwc.c (putwc): Likewise.
15154         * libio/putwc_u.c (putwc_unlocked): Likewise.
15155         * libio/putwchar.c (putwchar): Likewise.
15156         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15157         * libio/rewind.c (rewind): Likewise.
15158         * libio/setbuf.c (setbuf): Likewise.
15159         * libio/setlinebuf.c (setlinebuf): Likewise.
15160         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15161         * libio/vscanf.c (_IO_vscanf): Likewise.
15162         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15163         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15164         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15165         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15166         (_IO_switch_to_main_wget_area): Likewise.
15167         (_IO_switch_to_wbackup_area): Likewise.
15168         (_IO_wsetb): Likewise.
15169         (_IO_wdefault_pbackfail): Likewise.
15170         (_IO_wdefault_finish): Likewise.
15171         (_IO_wdefault_uflow): Likewise.
15172         (__woverflow): Likewise.
15173         (__wuflow): Likewise.
15174         (__wunderflow): Likewise.
15175         (_IO_wdefault_xsputn): Likewise.
15176         (_IO_wdefault_xsgetn): Likewise.
15177         (_IO_wdoallocbuf): Likewise.
15178         (_IO_wdefault_doallocate): Likewise.
15179         (_IO_switch_to_wget_mode): Likewise.
15180         (_IO_free_wbackup_area): Likewise.
15181         (_IO_switch_to_wput_mode): Likewise.
15182         (_IO_sputbackwc): Likewise.
15183         (_IO_sungetwc): Likewise.
15184         (_IO_adjust_wcolumn): Likewise.
15185         (_IO_init_wmarker): Likewise.
15186         (_IO_wmarker_delta): Likewise.
15187         (_IO_seekwmark): Likewise.
15188         (_IO_unsave_wmarkers): Likewise.
15189         * libio/wmemstream.c (open_wmemstream): Likewise.
15190         (_IO_wmem_sync): Likewise.
15191         (_IO_wmem_finish): Likewise.
15192         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15193         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15194         * locale/programs/simple-hash.c (init_hash): Likewise.
15195         (delete_hash): Likewise.
15196         (insert_entry): Likewise.
15197         (set_entry): Likewise.
15198         (next_prime): Likewise.
15199         (is_prime): Likewise.
15200         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15201         (xmalloc): Likewise.
15202         (xrealloc): Likewise.
15203         * locale/programs/xstrdup.c (xstrdup): Likewise.
15204         * localedata/collate-test.c (xstrcoll): Likewise.
15205         * localedata/xfrm-test.c (xstrcmp): Likewise.
15206         * login/getlogin_r.c (__getlogin_r): Likewise.
15207         * login/getpt.c (__posix_openpt): Likewise.
15208         * login/login_tty.c (login_tty): Likewise.
15209         * login/setlogin.c (setlogin): Likewise.
15210         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15211         (mach_msg_destroy_port): Likewise.
15212         (mach_msg_destroy_memory): Likewise.
15213         * malloc/mcheck.c (flood): Likewise.
15214         * misc/acct.c (acct): Likewise.
15215         * misc/brk.c (__brk): Likewise.
15216         * misc/chflags.c (chflags): Likewise.
15217         * misc/chroot.c (chroot): Likewise.
15218         * misc/fchflags.c (fchflags): Likewise.
15219         * misc/fstab.c (getfsspec): Likewise.
15220         (getfsfile): Likewise.
15221         * misc/fsync.c (fsync): Likewise.
15222         * misc/ftruncate.c (__ftruncate): Likewise.
15223         * misc/ftruncate64.c (__ftruncate64): Likewise.
15224         * misc/getdomain.c (getdomainname): Likewise.
15225         (getdomainname): Likewise.
15226         * misc/gethostname.c (__gethostname): Likewise.
15227         * misc/getpass.c (getpass): Likewise.
15228         * misc/getttyent.c (skip): Likewise.
15229         (value): Likewise.
15230         * misc/gtty.c (gtty): Likewise.
15231         * misc/hsearch.c (hsearch): Likewise.
15232         (hcreate): Likewise.
15233         * misc/hsearch_r.c (__hcreate_r): Likewise.
15234         (__hdestroy_r): Likewise.
15235         * misc/ioctl.c (__ioctl): Likewise.
15236         * misc/mkdtemp.c (mkdtemp): Likewise.
15237         * misc/mkostemp.c (mkostemp): Likewise.
15238         * misc/mkostemp64.c (mkostemp64): Likewise.
15239         * misc/mkostemps.c (mkostemps): Likewise.
15240         * misc/mkostemps64.c (mkostemps64): Likewise.
15241         * misc/mkstemp.c (mkstemp): Likewise.
15242         * misc/mkstemp64.c (mkstemp64): Likewise.
15243         * misc/mkstemps.c (mkstemps): Likewise.
15244         * misc/mkstemps64.c (mkstemps64): Likewise.
15245         * misc/mktemp.c (__mktemp): Likewise.
15246         * misc/preadv.c (preadv): Likewise.
15247         * misc/preadv64.c (preadv64): Likewise.
15248         * misc/pwritev.c (pwritev): Likewise.
15249         * misc/pwritev64.c (pwritev64): Likewise.
15250         * misc/readv.c (__readv): Likewise.
15251         * misc/revoke.c (revoke): Likewise.
15252         * misc/setdomain.c (setdomainname): Likewise.
15253         * misc/setegid.c (setegid): Likewise.
15254         * misc/seteuid.c (seteuid): Likewise.
15255         * misc/sethostid.c (sethostid): Likewise.
15256         * misc/sethostname.c (sethostname): Likewise.
15257         * misc/setregid.c (__setregid): Likewise.
15258         * misc/setreuid.c (__setreuid): Likewise.
15259         * misc/sstk.c (sstk): Likewise.
15260         * misc/stty.c (stty): Likewise.
15261         * misc/syscall.c (syscall): Likewise.
15262         * misc/syslog.c (setlogmask): Likewise.
15263         * misc/truncate.c (__truncate): Likewise.
15264         * misc/truncate64.c (truncate64): Likewise.
15265         * misc/ualarm.c (ualarm): Likewise.
15266         * misc/usleep.c (usleep): Likewise.
15267         * misc/ustat.c (ustat): Likewise.
15268         * misc/writev.c (__writev): Likewise.
15269         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15270         * nptl/old_pthread_cond_broadcast.c
15271         (__pthread_cond_broadcast_2_0): Likewise.
15272         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15273         Likewise.
15274         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15275         Likewise.
15276         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15277         Likewise.
15278         * nptl/pt-raise.c (raise): Likewise.
15279         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15280         Likewise.
15281         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15282         * nptl/pthread_barrierattr_destroy.c
15283         (pthread_barrierattr_destroy): Likewise.
15284         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15285         Likewise.
15286         * nptl/pthread_barrierattr_setpshared.c
15287         (pthread_barrierattr_setpshared): Likewise.
15288         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15289         Likewise.
15290         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15291         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15292         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15293         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15294         Likewise.
15295         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15296         Likewise.
15297         * nptl/pthread_condattr_getpshared.c
15298         (pthread_condattr_getpshared): Likewise.
15299         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15300         Likewise.
15301         * nptl/pthread_condattr_setpshared.c
15302         (pthread_condattr_setpshared): Likewise.
15303         * nptl/pthread_detach.c (pthread_detach): Likewise.
15304         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15305         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15306         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15307         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15308         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15309         Likewise.
15310         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15311         Likewise.
15312         * nptl/pthread_mutex_getprioceiling.c
15313         (pthread_mutex_getprioceiling): Likewise.
15314         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15315         Likewise.
15316         * nptl/pthread_mutexattr_getprotocol.c
15317         (pthread_mutexattr_getprotocol): Likewise.
15318         * nptl/pthread_mutexattr_getpshared.c
15319         (pthread_mutexattr_getpshared): Likewise.
15320         * nptl/pthread_mutexattr_getrobust.c
15321         (pthread_mutexattr_getrobust): Likewise.
15322         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15323         Likewise.
15324         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15325         Likewise.
15326         * nptl/pthread_mutexattr_setprioceiling.c
15327         (pthread_mutexattr_setprioceiling): Likewise.
15328         * nptl/pthread_mutexattr_setprotocol.c
15329         (pthread_mutexattr_setprotocol): Likewise.
15330         * nptl/pthread_mutexattr_setpshared.c
15331         (pthread_mutexattr_setpshared): Likewise.
15332         * nptl/pthread_mutexattr_setrobust.c
15333         (pthread_mutexattr_setrobust): Likewise.
15334         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15335         Likewise.
15336         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15337         Likewise.
15338         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15339         Likewise.
15340         * nptl/pthread_rwlockattr_getkind_np.c
15341         (pthread_rwlockattr_getkind_np): Likewise.
15342         * nptl/pthread_rwlockattr_getpshared.c
15343         (pthread_rwlockattr_getpshared): Likewise.
15344         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15345         Likewise.
15346         * nptl/pthread_rwlockattr_setkind_np.c
15347         (pthread_rwlockattr_setkind_np): Likewise.
15348         * nptl/pthread_rwlockattr_setpshared.c
15349         (pthread_rwlockattr_setpshared): Likewise.
15350         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15351         Likewise.
15352         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15353         Likewise.
15354         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15355         Likewise.
15356         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15357         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15358         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15359         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15360         * nptl/sem_close.c (sem_close): Likewise.
15361         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15362         * nptl/sem_init.c (__old_sem_init): Likewise.
15363         * nptl/sigaction.c (__sigaction): Likewise.
15364         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15365         * posix/_exit.c (_exit): Likewise.
15366         * posix/alarm.c (alarm): Likewise.
15367         * posix/confstr.c (confstr): Likewise.
15368         * posix/fpathconf.c (__fpathconf): Likewise.
15369         * posix/getgroups.c (__getgroups): Likewise.
15370         * posix/getpgid.c (__getpgid): Likewise.
15371         * posix/group_member.c (__group_member): Likewise.
15372         * posix/pathconf.c (__pathconf): Likewise.
15373         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15374         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15375         * posix/setgid.c (__setgid): Likewise.
15376         * posix/setpgid.c (__setpgid): Likewise.
15377         * posix/setuid.c (__setuid): Likewise.
15378         * posix/sleep.c (__sleep): Likewise.
15379         * posix/sysconf.c (__sysconf): Likewise.
15380         * posix/times.c (__times): Likewise.
15381         * posix/uname.c (__uname): Likewise.
15382         * posix/waitid.c (__waitid): Likewise.
15383         * pwd/getpw.c (__getpw): Likewise.
15384         * resolv/base64.c (b64_pton): Likewise.
15385         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15386         * resolv/gethnamaddr.c (Dprintf): Likewise.
15387         (gethostbyname): Likewise.
15388         (gethostbyname2): Likewise.
15389         (gethostbyaddr): Likewise.
15390         (_sethtent): Likewise.
15391         (_gethtbyname): Likewise.
15392         (_gethtbyname2): Likewise.
15393         (_gethtbyaddr): Likewise.
15394         (map_v4v6_address): Likewise.
15395         (map_v4v6_hostent): Likewise.
15396         (addrsort): Likewise.
15397         (ht_sethostent): Likewise.
15398         (ht_gethostbyname): Likewise.
15399         (ht_gethostbyaddr): Likewise.
15400         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15401         (inet_net_ntop_ipv4): Likewise.
15402         * resolv/inet_neta.c (inet_neta): Likewise.
15403         * resolv/inet_ntop.c (inet_ntop): Likewise.
15404         (inet_ntop4): Likewise.
15405         (inet_ntop6): Likewise.
15406         * resolv/inet_pton.c (__inet_pton): Likewise.
15407         (inet_pton4): Likewise.
15408         (inet_pton6): Likewise.
15409         * resolv/res_debug.c (loc_aton): Likewise.
15410         (loc_ntoa): Likewise.
15411         * resource/getpriority.c (__getpriority): Likewise.
15412         * resource/getrusage.c (__getrusage): Likewise.
15413         * resource/nice.c (nice): Likewise.
15414         * resource/setpriority.c (__setpriority): Likewise.
15415         * resource/setrlimit64.c (setrlimit64): Likewise.
15416         * resource/vlimit.c (vlimit): Likewise.
15417         * resource/vtimes.c (vtimes): Likewise.
15418         * rt/aio_error.c (aio_error): Likewise.
15419         * rt/aio_return.c (aio_return): Likewise.
15420         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15421         * signal/kill.c (__kill): Likewise.
15422         * signal/killpg.c (killpg): Likewise.
15423         * signal/raise.c (raise): Likewise.
15424         * signal/sigaction.c (__sigaction): Likewise.
15425         * signal/sigaddset.c (sigaddset): Likewise.
15426         * signal/sigaltstack.c (sigaltstack): Likewise.
15427         * signal/sigandset.c (sigandset): Likewise.
15428         * signal/sigblock.c (__sigblock): Likewise.
15429         * signal/sigdelset.c (sigdelset): Likewise.
15430         * signal/sigempty.c (sigemptyset): Likewise.
15431         * signal/sigfillset.c (sigfillset): Likewise.
15432         * signal/sighold.c (sighold): Likewise.
15433         * signal/sigignore.c (sigignore): Likewise.
15434         * signal/sigintr.c (siginterrupt): Likewise.
15435         * signal/sigisempty.c (sigisemptyset): Likewise.
15436         * signal/sigismem.c (sigismember): Likewise.
15437         * signal/signal.c (signal): Likewise.
15438         * signal/sigorset.c (sigorset): Likewise.
15439         * signal/sigpause.c (__sigpause): Likewise.
15440         * signal/sigpending.c (sigpending): Likewise.
15441         * signal/sigprocmask.c (__sigprocmask): Likewise.
15442         * signal/sigrelse.c (sigrelse): Likewise.
15443         * signal/sigreturn.c (__sigreturn): Likewise.
15444         * signal/sigset.c (sigset): Likewise.
15445         * signal/sigsetmask.c (__sigsetmask): Likewise.
15446         * signal/sigstack.c (sigstack): Likewise.
15447         * signal/sigsuspend.c (__sigsuspend): Likewise.
15448         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15449         * signal/sysv_signal.c (__sysv_signal): Likewise.
15450         * socket/accept.c (accept): Likewise.
15451         * socket/accept4.c (__libc_accept4): Likewise.
15452         * socket/bind.c (__bind): Likewise.
15453         * socket/connect.c (__connect): Likewise.
15454         * socket/getpeername.c (getpeername): Likewise.
15455         * socket/getsockname.c (__getsockname): Likewise.
15456         * socket/getsockopt.c (getsockopt): Likewise.
15457         * socket/listen.c (__listen): Likewise.
15458         * socket/recv.c (__recv): Likewise.
15459         * socket/recvmsg.c (__recvmsg): Likewise.
15460         * socket/send.c (__send): Likewise.
15461         * socket/sendmsg.c (__sendmsg): Likewise.
15462         * socket/shutdown.c (shutdown): Likewise.
15463         * socket/sockatmark.c (sockatmark): Likewise.
15464         * socket/socket.c (__socket): Likewise.
15465         * stdio-common/ctermid.c (ctermid): Likewise.
15466         * stdio-common/cuserid.c (cuserid): Likewise.
15467         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15468         * stdio-common/remove.c (remove): Likewise.
15469         * stdio-common/rename.c (rename): Likewise.
15470         * stdio-common/renameat.c (renameat): Likewise.
15471         * stdio-common/tempname.c (__gen_tempname): Likewise.
15472         * stdio-common/xbug.c (InitBuffer): Likewise.
15473         (AppendToBuffer): Likewise.
15474         (ReadFile): Likewise.
15475         * stdlib/a64l.c (a64l): Likewise.
15476         * stdlib/drand48_r.c (drand48_r): Likewise.
15477         * stdlib/getcontext.c (getcontext): Likewise.
15478         * stdlib/getenv.c (getenv): Likewise.
15479         * stdlib/l64a.c (l64a): Likewise.
15480         * stdlib/llabs.c (llabs): Likewise.
15481         * stdlib/lldiv.c (lldiv): Likewise.
15482         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15483         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15484         * stdlib/putenv.c (putenv): Likewise.
15485         * stdlib/random.c (__srandom): Likewise.
15486         (__initstate): Likewise.
15487         (__setstate): Likewise.
15488         * stdlib/random_r.c (__srandom_r): Likewise.
15489         (__setstate_r): Likewise.
15490         (__random_r): Likewise.
15491         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15492         * stdlib/setcontext.c (setcontext): Likewise.
15493         * stdlib/setenv.c (setenv): Likewise.
15494         (unsetenv): Likewise.
15495         * stdlib/srand48.c (srand48): Likewise.
15496         * stdlib/srand48_r.c (__srand48_r): Likewise.
15497         * stdlib/swapcontext.c (swapcontext): Likewise.
15498         * stdlib/system.c (__libc_system): Likewise.
15499         * stdlib/tst-strtod.c (expand): Likewise.
15500         * stdlib/tst-strtol.c (expand): Likewise.
15501         * stdlib/tst-strtoll.c (expand): Likewise.
15502         * streams/fattach.c (fattach): Likewise.
15503         * streams/fdetach.c (fdetach): Likewise.
15504         * streams/getmsg.c (getmsg): Likewise.
15505         * streams/isastream.c (isastream): Likewise.
15506         * string/ffs.c (__ffs): Likewise.
15507         * string/ffsll.c (ffsll): Likewise.
15508         * string/memcmp.c (memcmp_common_alignment): Likewise.
15509         (memcmp_not_common_alignment): Likewise.
15510         (MEMCMP): Likewise.
15511         * string/memcpy.c (memcpy): Likewise.
15512         * string/memmove.c (MEMMOVE): Likewise.
15513         * string/memset.c (memset): Likewise.
15514         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15515         * string/strchrnul.c (STRCHRNUL): Likewise.
15516         * string/strerror.c (strerror): Likewise.
15517         * string/strndup.c (__strndup): Likewise.
15518         * string/strverscmp.c (__strverscmp): Likewise.
15519         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15520         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15521         (clnttcp_freeres): Likewise.
15522         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15523         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15524         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15525         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15526         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15527         (xdr_callhdr): Likewise.
15528         * sunrpc/rpcinfo.c (udpping): Likewise.
15529         (tcpping): Likewise.
15530         (pstatus): Likewise.
15531         (pmapdump): Likewise.
15532         (brdcst): Likewise.
15533         (deletereg): Likewise.
15534         (getprognum): Likewise.
15535         (getvers): Likewise.
15536         (get_inet_address): Likewise.
15537         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15538         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15539         (svcudp_stat): Likewise.
15540         (svcudp_recv): Likewise.
15541         (svcudp_reply): Likewise.
15542         (svcudp_getargs): Likewise.
15543         (svcudp_freeargs): Likewise.
15544         (svcudp_destroy): Likewise.
15545         * sunrpc/xdr.c (xdr_bytes): Likewise.
15546         (xdr_netobj): Likewise.
15547         (xdr_string): Likewise.
15548         (xdr_wrapstring): Likewise.
15549         * sunrpc/xdr_float.c (xdr_float): Likewise.
15550         (xdr_double): Likewise.
15551         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15552         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15553         * sysvipc/ftok.c (ftok): Likewise.
15554         * sysvipc/msgctl.c (msgctl): Likewise.
15555         * sysvipc/msgget.c (msgget): Likewise.
15556         * sysvipc/msgrcv.c (msgrcv): Likewise.
15557         * sysvipc/msgsnd.c (msgsnd): Likewise.
15558         * sysvipc/semget.c (semget): Likewise.
15559         * sysvipc/semop.c (semop): Likewise.
15560         * sysvipc/shmat.c (shmat): Likewise.
15561         * sysvipc/shmctl.c (shmctl): Likewise.
15562         * sysvipc/shmdt.c (shmdt): Likewise.
15563         * sysvipc/shmget.c (shmget): Likewise.
15564         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15565         * termios/speed.c (cfgetospeed): Likewise.
15566         (cfgetispeed): Likewise.
15567         (cfsetospeed): Likewise.
15568         (cfsetispeed): Likewise.
15569         * termios/tcflow.c (tcflow): Likewise.
15570         * termios/tcflush.c (tcflush): Likewise.
15571         * termios/tcgetattr.c (__tcgetattr): Likewise.
15572         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15573         * termios/tcgetsid.c (tcgetsid): Likewise.
15574         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15575         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15576         * time/adjtime.c (__adjtime): Likewise.
15577         * time/dysize.c (dysize): Likewise.
15578         * time/ftime.c (ftime): Likewise.
15579         * time/getitimer.c (__getitimer): Likewise.
15580         * time/gettimeofday.c (__gettimeofday): Likewise.
15581         * time/gmtime.c (__gmtime_r): Likewise.
15582         (gmtime): Likewise.
15583         * time/localtime.c (__localtime_r): Likewise.
15584         (localtime): Likewise.
15585         * time/offtime.c (__offtime): Likewise.
15586         * time/settimeofday.c (__settimeofday): Likewise.
15587         * time/stime.c (stime): Likewise.
15588         * time/strftime_l.c (tm_diff): Likewise.
15589         (iso_week_days): Likewise.
15590         * time/strptime.c (strptime): Likewise.
15591         * time/time.c (time): Likewise.
15592         * time/timespec_get.c (timespec_get): Likewise.
15593         * time/tzset.c (tzset_internal): Likewise.
15594         (compute_change): Likewise.
15595         (__tz_compute): Likewise.
15596         * wcsmbs/btowc.c (__btowc): Likewise.
15597         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15598         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15599         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15600         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15601         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15602         * wcsmbs/wcscat.c (__wcscat): Likewise.
15603         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15604         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15605         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15606         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15607         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15608         * wcsmbs/wcslen.c (__wcslen): Likewise.
15609         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15610         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15611         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15612         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15613         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15614         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15615         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15616         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15617         * wcsmbs/wcstok.c (wcstok): Likewise.
15618         * wcsmbs/wctob.c (wctob): Likewise.
15619         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15620         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15621         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15622         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15623         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15624         * wcsmbs/wmemset.c (__wmemset): Likewise.
15625         * wctype/wcfuncs.c (__towlower): Likewise.
15626         (__towupper): Likewise.
15628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15629         (lll_unlock_elision): Add adapt_count parameter.
15631 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15633         * sysdeps/nptl/configure.ac: Do not give errors based on the
15634         results of top-level configure tests.
15635         * sysdeps/nptl/configure: Regenerated.
15637         * configure.ac (libc_cv_Bgroup): Remove configure test.
15638         * configure: Regenerated.
15639         * config.make.in (have-Bgroup): Remove variable.
15641         * configure.ac (sizeof_long_double): Remove configure test.
15642         * configure: Regenerated.
15643         * config.make.in (sizeof-long-double): Remove variable.
15645         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15646         * configure: Regenerated.
15647         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15648         variable.
15649         (exceptions): Likewise.
15650         * sysdeps/arm/configure: Regenerated.
15651         * config.make.in (exceptions): Remove variable.
15652         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15653         $(exceptions).
15654         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15655         (CFLAGS-vdprintf_chk.c): Likewise.
15656         (CFLAGS-printf_chk.c): Likewise.
15657         (CFLAGS-fprintf_chk.c): Likewise.
15658         (CFLAGS-vprintf_chk.c): Likewise.
15659         (CFLAGS-vfprintf_chk.c): Likewise.
15660         (CFLAGS-gets_chk.c): Likewise.
15661         (CFLAGS-fgets_chk.c): Likewise.
15662         (CFLAGS-fgets_u_chk.c): Likewise.
15663         (CFLAGS-fread_chk.c): Likewise.
15664         (CFLAGS-fread_u_chk.c): Likewise.
15665         (CFLAGS-wprintf_chk.c): Likewise.
15666         (CFLAGS-fwprintf_chk.c): Likewise.
15667         (CFLAGS-vwprintf_chk.c): Likewise.
15668         (CFLAGS-vfwprintf_chk.c): Likewise.
15669         (CFLAGS-fgetws_chk.c): Likewise.
15670         (CFLAGS-fgetws_u_chk.c): Likewise.
15671         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15672         (CFLAGS-fputc.c): Likewise.
15673         (CFLAGS-fputwc.c): Likewise.
15674         (CFLAGS-freopen64.c): Likewise.
15675         (CFLAGS-freopen.c): Likewise.
15676         (CFLAGS-fseek.c): Likewise.
15677         (CFLAGS-fseeko64.c): Likewise.
15678         (CFLAGS-fseeko.c): Likewise.
15679         (CFLAGS-ftello64.c): Likewise.
15680         (CFLAGS-ftello.c): Likewise.
15681         (CFLAGS-fwide.c): Likewise.
15682         (CFLAGS-genops.c): Likewise.
15683         (CFLAGS-getc.c): Likewise.
15684         (CFLAGS-getchar.c): Likewise.
15685         (CFLAGS-getwc.c): Likewise.
15686         (CFLAGS-getwchar.c): Likewise.
15687         (CFLAGS-iofclose.c): Likewise.
15688         (CFLAGS-iofflush.c): Likewise.
15689         (CFLAGS-iofgetpos64.c): Likewise.
15690         (CFLAGS-iofgetpos.c): Likewise.
15691         (CFLAGS-iofgets.c): Likewise.
15692         (CFLAGS-iofgetws.c): Likewise.
15693         (CFLAGS-iofputs.c): Likewise.
15694         (CFLAGS-iofputws.c): Likewise.
15695         (CFLAGS-iofread.c): Likewise.
15696         (CFLAGS-iofsetpos64.c): Likewise.
15697         (CFLAGS-iofsetpos.c): Likewise.
15698         (CFLAGS-ioftell.c): Likewise.
15699         (CFLAGS-iofwrite.c): Likewise.
15700         (CFLAGS-iogetdelim.c): Likewise.
15701         (CFLAGS-iogetline.c): Likewise.
15702         (CFLAGS-iogets.c): Likewise.
15703         (CFLAGS-iogetwline.c): Likewise.
15704         (CFLAGS-ioputs.c): Likewise.
15705         (CFLAGS-ioseekoff.c): Likewise.
15706         (CFLAGS-ioseekpos.c): Likewise.
15707         (CFLAGS-iosetbuffer.c): Likewise.
15708         (CFLAGS-iosetvbuf.c): Likewise.
15709         (CFLAGS-ioungetc.c): Likewise.
15710         (CFLAGS-ioungetwc.c): Likewise.
15711         (CFLAGS-oldfileops.c): Likewise.
15712         (CFLAGS-oldiofclose.c): Likewise.
15713         (CFLAGS-oldiofgetpos64.c): Likewise.
15714         (CFLAGS-oldiofgetpos.c): Likewise.
15715         (CFLAGS-oldiofsetpos64.c): Likewise.
15716         (CFLAGS-oldiofsetpos.c): Likewise.
15717         (CFLAGS-peekc.c): Likewise.
15718         (CFLAGS-putc.c): Likewise.
15719         (CFLAGS-putchar.c): Likewise.
15720         (CFLAGS-putwc.c): Likewise.
15721         (CFLAGS-putwchar.c): Likewise.
15722         (CFLAGS-rewind.c): Likewise.
15723         (CFLAGS-wfileops.c): Likewise.
15724         (CFLAGS-wgenops.c): Likewise.
15725         (CFLAGS-oldiofopen.c): Likewise.
15726         (CFLAGS-iofopen.c): Likewise.
15727         (CFLAGS-iofopen64.c): Likewise.
15728         (CFLAGS-oldtmpfile.c): Likewise.
15729         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15730         (CFLAGS-fprintf.c): Likewise.
15731         (CFLAGS-printf.c): Likewise.
15732         (CFLAGS-vfwprintf.c): Likewise.
15733         (CFLAGS-vfscanf.c): Likewise.
15734         (CFLAGS-vfwscanf.c): Likewise.
15735         (CFLAGS-fscanf.c): Likewise.
15736         (CFLAGS-scanf.c): Likewise.
15737         (CFLAGS-isoc99_vfscanf.c): Likewise.
15738         (CFLAGS-isoc99_vscanf.c): Likewise.
15739         (CFLAGS-isoc99_fscanf.c): Likewise.
15740         (CFLAGS-isoc99_scanf.c): Likewise.
15741         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15742         (CFLAGS-isoc99_fwscanf.c): Likewise.
15743         (CFLAGS-isoc99_vwscanf.c): Likewise.
15744         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15746         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15747         after mkstemp64.
15748         * login/tst-utmp.c (do_prepare): Likewise.
15749         * rt/tst-aio.c (do_prepare): Likewise.
15750         * rt/tst-aio64.c (do_prepare): Likewise.
15752 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15754         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15755         (__lll_lock_elision): Remove adapt_count decrement...
15756         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15757         (__lll_trylock_elision): Likewise.
15758         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15759         (__lll_unlock_elision): ... to here. And utilize
15760         new adapt_count parameter.
15761         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15762         (__lll_unlock_elision): Update to include adapt_count
15763         parameter.
15764         (lll_unlock_elision): Pass pointer to adapt_count
15765         variable.
15767 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15769         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15770         Add elision adapt_count parameter to list of arguments.
15771         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15772         (lll_unlock_elision): Update with new parameter list
15773         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15774         (lll_unlock_elision): Likewise.
15775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15776         (lll_unlock_elision): Likewise.
15778 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15780         [BZ #19122]
15781         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15782         attribute_hidden.
15784         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15785         attribute_hidden.
15786         [IS_IN (rtld)] (__strdup): Likewise.
15787         [IS_IN (rtld)] (__strerror_r): Likewise.
15788         [IS_IN (rtld)] (__strsep_g): Likewise.
15789         [IS_IN (rtld)] (memchr): Likewise.
15790         [IS_IN (rtld)] (memcmp): Likewise.
15791         [IS_IN (rtld)] (memcpy): Likewise.
15792         [IS_IN (rtld)] (memmove): Likewise.
15793         [IS_IN (rtld)] (memset): Likewise.
15794         [IS_IN (rtld)] (rawmemchr): Likewise.
15795         [IS_IN (rtld)] (stpcpy): Likewise.
15796         [IS_IN (rtld)] (strchr): Likewise.
15797         [IS_IN (rtld)] (strcmp): Likewise.
15798         [IS_IN (rtld)] (strlen): Likewise.
15799         [IS_IN (rtld)] (strnlen): Likewise.
15800         [IS_IN (rtld)] (strsep): Likewise.
15802         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15803         attribute_hidden.
15804         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15806         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15807         attribute_hidden.
15808         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15810         * include/setjmp.h (__longjmp): Add attribute_hidden.
15811         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15813         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15814         Add attribute_hidden.
15816         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15817         [IS_IN (rtld)] (__open): Likewise.
15818         [IS_IN (rtld)] (__fcntl): Likewise.
15820         * include/dirent.h (__opendirat): Add attribute_hidden.
15821         (__getdents): Likewise.
15822         (__getdents64): Likewise.
15823         (__alloc_dir): Likewise.
15824         [IS_IN (rtld)] (__closedir): Likewise.
15825         [IS_IN (rtld)] (__fdopendir): Likewise.
15826         [IS_IN (rtld)] (__readdir): Likewise.
15827         [IS_IN (rtld)] (__readdir64): Likewise.
15828         [IS_IN (rtld)] (__rewinddir): Likewise.
15830         * include/dlfcn.h (_dl_catch_error): Moved to ...
15831         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15832         attribute_hidden.
15834         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15835         (_itoa_word): Likewise.
15837         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15838         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15839         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15840         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15841         (_dl_higher_prime_number): Likewise.
15842         (_dl_debug_printf_c): Likewise.
15843         (_dl_signal_cerror): Likewise.
15844         (_dl_receive_error): Likewise.
15845         (_dl_reloc_bad_type): Likewise.
15846         (_dl_resolve_conflicts): Likewise.
15847         (_dl_check_all_versions): Likewise.
15848         (_dl_check_map_versions): Likewise.
15849         (_dl_sort_fini): Likewise.
15850         (_dl_debug_initialize): Likewise.
15851         (_dl_init_paths): Likewise.
15852         (_dl_show_auxv): Likewise.
15853         (_dl_next_ld_env_entry): Likewise.
15854         (_dl_important_hwcaps): Likewise.
15855         (_dl_load_cache_lookup): Likewise.
15856         (_dl_update_slotinfo): Likewise.
15857         (_dl_show_scope): Likewise.
15859         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15860         attribute_hidden.
15861         (_wordcopy_fwd_dest_aligned): Likewise.
15862         (_wordcopy_bwd_aligned): Likewise.
15863         (_wordcopy_bwd_dest_aligned): Likewise.
15865         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15866         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15867         Likewise.
15868         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15869         Likewise.
15870         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15872 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15874         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15875         GCC 5 requirement.
15877 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15879         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15880         test.
15881         * sysdeps/i386/configure: Regenerated.
15882         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15883         code unconditional.
15885         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15886         test.
15887         (libc_cv_asm_popsection_directive): Likewise.
15888         * configure: Regenerated.
15889         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15890         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15891         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15892         (__make_section_unallocated): Make definition unconditional.
15893         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15894         Remove conditional definition.
15895         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15896         (__make_section_unallocated): Likewise.
15898         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15899         * configure: Regenerated.
15900         * config.make.in (static-libgcc): Remove variable.
15901         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15902         $(static-libgcc).
15903         (build-module-helper): Likewise.
15905         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15906         * configure: Regenerated.
15908 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15910         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15911         (struct char_buffer): New type.
15912         (char_buffer_start, char_buffer_size, char_buffer_error)
15913         (char_buffer_rewind, char_buffer_add): New functions.
15914         (ADDW): Remove macro, replaced by the char_buffer_add function.
15915         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15916         of extend_alloca.  Make control flow more explicit.
15918 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15920         [BZ #19137]
15921         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15922         Add -fomit-frame-pointer.
15923         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15925 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15927         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15928         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15929         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15930         only if !__GNUC_PREREQ (5,0).
15931         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15932         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15933         (INTERNAL_SYSCALL_NCS): Likewise.
15934         (LOADREGS_0): New macro for GCC 5.
15935         (ASMARGS_0): Likewise.
15936         (LOADREGS_1): Likewise.
15937         (ASMARGS_1): Likewise.
15938         (LOADREGS_2): Likewise.
15939         (ASMARGS_2): Likewise.
15940         (LOADREGS_3): Likewise.
15941         (ASMARGS_3): Likewise.
15942         (LOADREGS_4): Likewise.
15943         (ASMARGS_4): Likewise.
15944         (LOADREGS_5): Likewise.
15945         (ASMARGS_5): Likewise.
15946         (LOADREGS_6): Likewise.
15947         (ASMARGS_6): Likewise.
15949 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15951         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15952         -fomit-frame-pointer.
15953         (CFLAGS-mmap64.c): Likewise.
15954         (CFLAGS-semtimedop.c): Likewise.
15955         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15956         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15957         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15958         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15960 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15962         [BZ #18928]
15963         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15964         _dl_pointer_guard member.
15965         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15966         initializer.
15967         (security_init): Always set up pointer guard.
15968         (process_envvars): Do not process LD_POINTER_GUARD.
15970 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15972         [BZ #19134]
15973         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15974         (.LC2): Likewise.
15975         (.LC3): Likewise.
15976         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15978 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15980         [BZ #19129]
15981         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15982         r0 and r1.
15984 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15986         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15988 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15990         * include/stap-probe.h: Fix macro definition formatting.
15992 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15994         [BZ #19074]
15995         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15996         load and store num_ifs.
15998 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16000         [BZ #18822]
16001         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16002         (__sched_getaffinity_new): Add libc_hidden_proto and
16003         libc_hidden_def.
16005 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16007         [BZ #19007]
16008         * scripts/localplt.awk: Also allow GOT references.
16009         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16010         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16011         with "+ REL R_386_GLOB_DAT".
16012         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16013         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16015 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16017         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16018         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16019         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16020         Likewise.
16021         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16022         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16023         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16024         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16025         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16026         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16027         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16028         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16029         Likewise.
16030         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16032 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16034         [BZ #19125]
16035         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16036         <math_private.h> and <stdint.h>.
16037         (__llround): Avoid conversions to and from long long int, and
16038         subtractions, where those might raise spurious exceptions.
16039         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16040         <math_private.h> and <stdint.h>.
16041         (__llroundf): Avoid conversions to and from long long int, and
16042         subtractions, where those might raise spurious exceptions.
16044 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16046         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16047         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16048         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16049         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16050         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16051         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16052         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16053         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16054         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16055         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16056         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16057         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16058         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16059         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16060         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16061         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16062         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16063         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16064         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16065         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16066         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16067         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16068         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16069         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16070         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16071         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16072         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16073         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16074         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16075         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16076         (__xstat64_conv): Likewise.
16077         (__xstat32_conv): Likewise.
16079 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16081         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16082         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16083         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16084         <sysdeps/unix/sysv/linux/sysdep.h>.
16085         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16086         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16087         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16088         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16089         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16090         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16091         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16092         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16093         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16098         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16099         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16101         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16102         (sysdep-dl-routines): Add sysdep.
16103         [$(subdir) == nptl] (libpthread-routines): Likewise.
16104         [$(subdir) == rt] (librt-routines): Likewise.
16105         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16106         PIC when branching to SYSCALL_ERROR_LABEL.
16107         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16108         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16109         <sysdeps/unix/sysv/linux/sysdep.h>.
16110         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16111         (SYSCALL_ERROR_ERRNO): Removed.
16112         (SYSCALL_ERROR_HANDLER): Changed to empty.
16113         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16114         (__syscall_error): New prototype.
16115         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16116         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16118 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16120         [BZ #19124]
16121         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16122         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16123         _dl_runtime_resolve_avx.
16124         (_dl_runtime_profile_avx512): Make it a hidden alias of
16125         _dl_runtime_profile_avx.
16127 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16129         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16130         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16131         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16132         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16134         [BZ #16422]
16135         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16136         New configure test.
16137         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16138         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16139         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16140         <math_private.h> and <stdint.h>.
16141         (__llrint): Avoid conversions to long long int where those might
16142         raise spurious exceptions.
16143         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16144         <math_private.h> and <stdint.h>.
16145         (__llrintf): Avoid conversions to long long int where those might
16146         raise spurious exceptions.
16148 2015-10-12  Andreas Schwab  <schwab@suse.de>
16150         [BZ #18969]
16151         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16152         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16153         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16154         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16155         $(gen-locales).
16156         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16157         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16158         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16159         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16160         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16161         $(gen-locales).
16162         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16163         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16164         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16165         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16166         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16167         ($(objpfx)tst-ftell-active-handler.out)
16168         ($(objpfx)tst-ftell-append.out)
16169         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16170         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16171         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16172         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16173         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16174         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16175         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16176         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16177         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16178         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16179         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16180         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16181         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16182         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16183         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16184         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16185         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16186         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16187         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16188         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16189         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16190         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16191         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16192         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16193         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16194         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16195         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16196         $(gen-locales).
16197         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16198         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16199         $(gen-locales).
16200         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16201         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16202         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16203         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16204         $(gen-locales).
16205         * libio/tst_wprintf2.c (main): Use explicit locale.
16206         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16208 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16210         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16211         __msg_sig_post.
16212         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16214 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16216         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16217         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16219         * sysdeps/arm/libm-test-ulps: Regenerated.
16221         [BZ #15470]
16222         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16224         [BZ #16399]
16225         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16226         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16227         and <fix-fp-int-convert-overflow.h>.
16228         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16229         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16230         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16231         and <fix-fp-int-convert-overflow.h>.
16232         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16233         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16234         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16235         <fix-fp-int-convert-overflow.h>.
16236         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16237         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16238         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16239         <fix-fp-int-convert-overflow.h>.
16240         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16241         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16242         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16243         and <fix-fp-int-convert-overflow.h>.
16244         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16245         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16246         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16247         <limits.h> and <fix-fp-int-convert-overflow.h>.
16248         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16249         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16250         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16251         and <fix-fp-int-convert-overflow.h>.
16252         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16253         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16254         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16255         and <fix-fp-int-convert-overflow.h>.
16256         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16257         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16258         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16260 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16262         [BZ #18589]
16263         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16264         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16265         $(gen-locales).
16267 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16268             Phil Blundell <pb@pbcl.net>
16270         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16271         * nptl/tst-cancel26.c: New file.
16272         * nptl/tst-cancel27.c: Likewise.
16274 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16276         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16277         __ILP32__ isn't defined.
16278         (lrint): Likewise.
16279         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16280         (lrintf): Likewise.
16281         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16282         (lrintl): Likewise.
16283         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16284         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16285         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16287 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16289         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16290         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16292         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16293         file.
16294         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16295         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16297 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16299         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16300         configure test.
16301         * sysdeps/i386/configure: Regenerated.
16302         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16303         configure test.
16304         * sysdeps/x86_64/configure: Regenerated.
16305         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16306         Make code unconditional.
16308         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16309         test.
16310         * sysdeps/i386/configure: Regenerated.
16311         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16312         test.
16313         * sysdeps/x86_64/configure: Regenerated.
16314         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16315         Make code unconditional.
16316         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16317         Likewise.
16318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16319         Likewise.
16320         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16321         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16322         code unconditional.
16323         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16324         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16325         code unconditional.
16326         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16327         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16328         code unconditional.
16329         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16330         code unconditional.
16331         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16332         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16333         code unconditional.
16334         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16335         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16336         code unconditional.
16337         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16338         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16339         code unconditional.
16340         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16341         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16342         code unconditional.
16343         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16344         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16346         [BZ #19095]
16347         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16348         mantissa to long int before shifting left.
16350 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #19094]
16353         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16354         <limits.h>.
16355         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16356         when result overflows but exception would not result from cast.
16357         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16358         <limits.h>.
16359         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16360         when result overflows but exception would not result from cast.
16361         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16362         <limits.h>.
16363         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16364         when result overflows but exception would not result from cast.
16365         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16366         <limits.h>.
16367         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16368         when result overflows but exception would not result from cast.
16369         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16370         <limits.h>.
16371         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16372         when result overflows but exception would not result from cast.
16373         * math/libm-test.inc (lrint_test_data): Add more tests.
16374         (llrint_test_data): Likewise.
16376 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16378         [BZ #18872]
16379         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16380         Move out from under [$(run-built-tests) = yes] conditional.
16381         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16382         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16384 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16386         [BZ #18589]
16387         * string/Makefile (tests): Add bug-strcoll2.
16388         (LOCALES): Add cs_CZ.UTF-8.
16389         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16391         [BZ #18589]
16392         * string/bug-strcoll2.c: New file.
16393         * locale/categories.def: Revert commit
16394         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16395         * locale/langinfo.h: Likewise.
16396         * locale/localeinfo.h: Likewise.
16397         * locale/C-collate.c: Likewise.
16398         * locale/programs/ld-collate.c (collate_output): Likewise.
16399         * string/strcoll_l.c (STRDIFF): Likewise.
16400         (STRCOLL): Likewise.
16401         * wcsmbs/wcscoll_l.c: Likewise.
16403 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16405         * math/libm-test.inc (lround_test_data): Do not expect the absence
16406         of "inexact" for some tests with non-integer arguments.
16407         (llround_test_data): Likewise.
16409         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16410         test.
16411         (libc_cv_cc_sse2avx): Likewise.
16412         * sysdeps/i386/configure: Regenerated.
16413         * sysdeps/i386/i686/multiarch/Makefile
16414         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16415         [$(subdir) = math].
16416         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16417         code unconditional.
16418         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16419         Likewise.
16420         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16421         Likewise.
16422         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16423         Likewise.
16424         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16425         test.
16426         (libc_cv_cc_sse2avx): Likewise.
16427         * sysdeps/x86_64/configure: Regenerated.
16428         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16429         unconditional.
16430         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16431         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16432         unconditional.
16433         (_dl_runtime_profile)
16434         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16435         conditional code.
16436         * sysdeps/x86_64/fpu/multiarch/Makefile
16437         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16438         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16439         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16440         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16441         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16442         * sysdeps/x86_64/fpu/multiarch/e_log.c
16443         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16444         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16445         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16446         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16447         Likewise.
16448         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16449         Likewise.
16450         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16451         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16452         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16453         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16454         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16455         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16456         (HAVE_SSE2AVX_SUPPORT): Likewise.
16458 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16460         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16461         instead of #pragma optimize.
16463 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16465         [BZ #17195]
16466         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16467         as is similarly done in systrim and _int_free already.
16469 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16471         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16473 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #19088]
16476         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16477         <limits.h>.
16478         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16479         overflows but exception would not result from cast.
16480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16481         and <limits.h>.
16482         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16483         overflows but exception would not result from cast.
16484         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16485         <limits.h>.
16486         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16487         overflows but exception would not result from cast.
16488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16489         <limits.h>.
16490         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16491         overflows but exception would not result from cast.
16492         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16493         <limits.h>.
16494         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16495         overflows but exception would not result from cast.
16496         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16497         <limits.h>.
16498         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16499         overflows but exception would not result from cast.
16500         * math/libm-test.inc (lround_test_data): Add more tests.
16501         (llround_test_data): Likewise.
16503 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16505         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16506         (CFLAGS-ialloc.c): Ditto.
16507         (CFLAGS-scheck.c): Ditto.
16509 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16511         [BZ #19086]
16512         * manual/filesys.texi (Storage Allocation): Fix argument order for
16513         posix_fallocate64.
16515 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16517         [BZ #19085]
16518         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16519         exponent below 48 inside case for non-overflowing exponent.
16520         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16522 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16524         * iconvdata/cp737.h (from_idx): Add const.
16525         * iconvdata/cp775.h (from_idx): Likewise.
16527 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16529         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16530         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16531         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16533         [BZ #19079]
16534         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16535         file, conditioned on [!_LP64].
16536         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16537         [!_LP64] (__lround): Do not define as function or alias.
16538         [!_LP64] (lround): Likewise.
16539         [!_LP64] (__lroundl): Likewise.
16540         [!_LP64] (lroundl): Likewise.
16541         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16542         macro.
16543         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16544         Likewise.
16546 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16548         * math/libm-test.inc (lrint_test_data): Add more tests.
16549         (llrint_test_data): Likewise.
16550         (lround_test_data): Likewise.
16551         (llround_test_data): Likewise.
16553         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16554         (llrint_test_data): Add tests used for lrint.
16556         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16557         test.
16558         * sysdeps/i386/configure: Regenerated.
16559         * sysdeps/i386/i686/multiarch/Makefile
16560         [$(config-cflags-sse4) = yes]: Make code unconditional.
16561         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16562         Likewise.
16563         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16564         Likewise.
16565         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16566         test.
16567         * sysdeps/x86_64/configure: Regenerated.
16568         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16569         Make code unconditional.
16570         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16571         Likewise.
16572         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16573         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16575         * scripts/rpm2dynsym.sh: Remove file.
16577 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16579         * configure.ac (libc_cv_cxx_thread_local): Define.
16580         * configure: Regenerate.
16581         * config.make.in (have-cxx-thread_local): Define.
16582         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16583         (LDLIBS-tst-thread_local1): Define.
16584         (tests): Add tst-thread_local1.
16585         [have-cxx-thread_local != yes] (tests-unsupported): Add
16586         tst-thread_local1.
16587         * nptl/tst-thread_local1.cc: New file.
16589 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16591         [BZ #19078]
16592         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16593         (u_thres): Likewise.
16594         (__expl): Determine whether to call __kernel_standard_l based on
16595         value of result, not argument.
16597         * math/libm-test.inc (scalb_test_data): Add more expectations for
16598         the "inexact" exception.
16600         [BZ #19077]
16601         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16602         0.0L for argument 1.0L.
16604         [BZ #19076]
16605         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16606         constant 0.0L when computing infinite result.
16608 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16610         [BZ #10432]
16611         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16612         malloc_usable_size.
16614 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16616         [BZ #19018]
16617         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16618         Mangle function pointer before storing it.
16619         (__call_tls_dtors): Demangle function pointer before calling it.
16621 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16623         [BZ #19012]
16624         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16625         Clean up on failure.
16627 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16629         [BZ #19071]
16630         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16631         long int variable to store possibly incremented high part of
16632         mantissa.
16633         * math/libm-test.inc (lround_test_data): Add tests used for
16634         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16635         for tests requiring 64-bit long.  Do not condition tests on
16636         [TEST_FLOAT] unnecessarily.
16637         (llround_test_data): Add tests used for lround.  Add another
16638         expectation for the "inexact" exception.  Do not condition tests
16639         on [TEST_FLOAT] unnecessarily.
16641         [BZ #887]
16642         [BZ #19049]
16643         [BZ #19050]
16644         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16645         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16646         <fix-int-fp-convert-zero.h>.
16647         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16648         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16649         <fix-int-fp-convert-zero.h>.
16650         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16651         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16652         <fix-int-fp-convert-zero.h>.
16653         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16654         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16655         <fix-int-fp-convert-zero.h>.
16656         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16657         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16658         <fix-int-fp-convert-zero.h>.
16659         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16660         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16661         <fix-int-fp-convert-zero.h>.
16662         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16663         * sysdeps/ieee754/flt-32/s_erff.c: Include
16664         <fix-int-fp-convert-zero.h>.
16665         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16666         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16667         <fix-int-fp-convert-zero.h>.
16668         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16669         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16670         <fix-int-fp-convert-zero.h>.
16671         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16673         <fix-int-fp-convert-zero.h>.
16674         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16675         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16676         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16677         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16678         file.
16679         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16681 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16683         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16685 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16687         [BZ #19059]
16688         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16689         overflowing computation.
16690         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16691         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16692         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16693         Likewise.
16694         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16695         Likewise.
16696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16697         Likewise.
16698         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16699         Likewise.
16700         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16701         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16702         Likewise.
16703         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16704         Likewise.
16705         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16707         * nss/rewrite_field.c (__nss_rewrite_field): Use
16708         internal_function.
16709         * nss/valid_field.c (__nss_valid_field): Likewise.
16710         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16712 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16714         [BZ #18724]
16715         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16716         (__nss_invalid_field_characters, __nss_valid_field)
16717         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16718         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16719         tst-field.c: New file.
16720         * nss/Makefile (routines): Add valid_field, rewrite_field.
16721         (tests-static): Define unconditionally.
16722         (tests): Include tests-static.
16723         [build-static-nss] (tests-static): Use append.
16724         [build-static-nss] (tests): Remove modification.
16725         * nss/getent.c (print_group): Call putgrent.  Report error.
16726         (print_gshadow): Call putsgent.  Report error.
16727         (print_passwd): Call putpwent.  Report error.
16728         (print_shadow): Call putspent.  Report error.
16729         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16730         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16731         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16732         name, password, directory, shell fields for valid syntax.  Rewrite
16733         GECOS field to match syntax.
16734         * pwd/Makefile (tests): Add tst-putpwent.
16735         * pwd/tst-putpwent.c: New file.
16736         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16737         Check grName, grpasswd, gr_mem fields for valid syntax.
16738         Change loop variable i to size_t.
16739         * grp/Makefile (tests): Add tst-putgrent.
16740         * grp/tst-putgrent.c: New file.
16741         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16742         valid syntax.
16743         * shadow/Makefile (tests): Add tst-putspent.
16744         * shadow/tst-putspent.c: New file.
16745         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16746         sg_mem fields for valid syntax.
16747         * gshadow/Makefile (tests): Add tst-putsgent.
16748         * gshadow/tst-putsgent.c: New file.
16750 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16752         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16753         assembly instructions.
16755 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16757         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16758         prefix from operands.
16760 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16762         [BZ #16347]
16763         [BZ #19046]
16764         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16765         <libc-internal.h>.
16766         (MAXLGM): Do not use diagnostic control macros.
16767         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16768         threshold for ldbl-128ibm.
16769         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16770         instead of multiplying by log then subtracting.
16771         * math/auto-libm-test-in: Add more tests of lgamma.
16772         * math/auto-libm-test-out: Regenerated.
16774         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16775         (TYPE_HEX_DIG): Likewise.
16776         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16777         precisions when printing floating-point numbers.
16778         (check_float_internal): Likewise.
16780 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16782         [BZ #16620]
16783         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16784         of log (10) rounded downward to 48 bits.
16785         (log10_low): Use corresponding low part of log (10).
16787         [BZ #19032]
16788         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16789         compute result as (x - x) / (x - x) not as 0 / 0.
16790         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16791         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16793         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16794         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16795         and expm1.
16796         * math/auto-libm-test-out: Regenerated.
16797         * math/libm-test.inc (acos_test_data): Add more tests.
16798         (asin_test_data): Likewise.
16799         (asinh_test_data): Likewise.
16800         (atan_test_data): Likewise.
16801         (atanh_test_data): Likewise.
16802         (atan2_test_data): Likewise.
16803         (cbrt_test_data): Likewise.
16804         (ceil_test_data): Likewise.
16805         (copysign_test_data): Likewise.
16806         (cos_test_data): Likewise.
16807         (cosh_test_data): Likewise.
16808         (erf_test_data): Likewise.
16809         (erfc_test_data): Likewise.
16810         (exp_test_data): Likewise.
16811         (exp10_test_data): Likewise.
16812         (exp2_test_data): Likewise.
16813         (expm1_test_data): Likewise.
16814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16816 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16818         [BZ #19006]
16819         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16820         to ...
16821         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16822         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16823         to ...
16824         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16825         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16826         to ...
16827         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16828         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16829         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16830         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16831         to ...
16832         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16833         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16834         Moved to ...
16835         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16837         Moved to ...
16838         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16839         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16840         to ...
16841         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16842         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16843         Moved to ...
16844         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16845         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16846         to ...
16847         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16848         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16849         Removed.
16850         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16851         Likewise.
16852         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16853         Likewise.
16854         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16855         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16872         Likewise.
16873         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16874         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16875         Likewise.
16876         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16877         Likewise.
16878         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16879         Likewise.
16880         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16881         Likewise.
16882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16883         Likewise.
16884         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16885         Replace ../i486/pthread_cond_timedwait.S with
16886         ../pthread_cond_timedwait.S.
16888 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16890         * math/libm-test.inc (acos_test_data): Refine expectations for
16891         errno and "inexact" exceptions.
16892         (acosh_test_data): Likewise.
16893         (asin_test_data): Likewise.
16894         (asinh_test_data): Likewise.
16895         (atan_test_data): Likewise.
16896         (atanh_test_data): Likewise.
16897         (atan2_test_data): Likewise.
16898         (cbrt_test_data): Likewise.
16899         (ceil_test_data): Likewise.
16900         (copysign_test_data): Likewise.
16901         (cosh_test_data): Likewise.
16902         (erf_test_data): Likewise.
16903         (erfc_test_data): Likewise.
16904         (exp_test_data): Likewise.
16905         (exp10_test_data): Likewise.
16906         (exp2_test_data): Likewise.
16907         (expm1_test_data): Likewise.
16908         (fabs_test_data): Likewise.
16909         (floor_test_data): Likewise.
16910         (fma_test_data): Likewise.
16911         (fmax_test_data): Likewise.
16912         (fmin_test_data): Likewise.
16913         (fmod_test_data): Likewise.
16914         (fpclassify_test_data): Likewise.
16915         (frexp_test_data): Likewise.
16916         (hypot_test_data): Likewise.
16917         (ilogb_test_data): Likewise.
16918         (isgreater_test_data): Likewise.
16919         (isgreaterequal_test_data): Likewise.
16920         (isinf_test_data): Likewise.
16921         (isless_test_data): Likewise.
16922         (islessequal_test_data): Likewise.
16923         (islessgreater_test_data): Likewise.
16924         (isnan_test_data): Likewise.
16925         (isnormal_test_data): Likewise.
16926         (issignaling_test_data): Likewise.
16927         (isunordered_test_data): Likewise.
16928         (j0_test_data): Likewise.
16929         (j1_test_data): Likewise.
16930         (jn_test_data): Likewise.
16931         (lgamma_test_data): Likewise.
16932         (lrint_test_data): Likewise.
16933         (llrint_test_data): Likewise.
16934         (log_test_data): Likewise.
16935         (log10_test_data): Likewise.
16936         (log1p_test_data): Likewise.
16937         (log2_test_data): Likewise.
16938         (logb_test_data): Likewise.
16939         (lround_test_data): Likewise.
16940         (llround_test_data): Likewise.
16941         (modf_test_data): Likewise.
16942         (nearbyint_test_data): Likewise.
16943         (nextafter_test_data): Likewise.
16944         (nexttoward_test_data): Likewise.
16945         (pow_test_data): Likewise.
16946         (remainder_test_data): Likewise.
16947         (remquo_test_data): Likewise.
16948         (rint_test_data): Likewise.
16949         (round_test_data): Likewise.
16950         (signbit_test_data): Likewise.
16951         (sinh_test_data): Likewise.
16952         (sqrt_test_data): Likewise.
16953         (tanh_test_data): Likewise.
16954         (tgamma_test_data): Likewise.
16955         (trunc_test_data): Likewise.
16956         (y0_test_data): Likewise.
16957         (y1_test_data): Likewise.
16958         (yn_test_data): Likewise.
16959         (significand_test_data): Likewise.
16961 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16963         * manual/filesys.texi (Storage Allocation): Document that
16964         posix_fallocate emulation fails when fd is open with O_WRONLY.
16966 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16968         [BZ #19016]
16969         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16970         allow more cases with X^2 + Y^2 >= 0.5.
16971         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16972         normal element in sum instead of special-casing based on values of
16973         arguments.
16974         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16975         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16976         -1 as normal element in sum instead of special-casing based on
16977         values of arguments.
16978         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16979         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16980         (__x2y2m1): Update comment.
16981         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16982         as normal element in sum instead of special-casing based on values
16983         of arguments.
16984         * math/s_clog.c (__clog): Handle more cases using log1p without
16985         hypot.
16986         * math/s_clog10.c (__clog10): Likewise.
16987         * math/s_clog10f.c (__clog10f): Likewise.
16988         * math/s_clog10l.c (__clog10l): Likewise.
16989         * math/s_clogf.c (__clogf): Likewise.
16990         * math/s_clogl.c (__clogl): Likewise.
16991         * math/auto-libm-test-in: Add more tests of clog and clog10.
16992         * math/auto-libm-test-out: Regenerated.
16993         * sysdeps/i386/fpu/libm-test-ulps: Update.
16994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996 2015-09-28  Martin Sebor  <msebor@redhat.com>
16998         [BZ #18969]
16999         * string/Makefile (LOCALES): Define.
17000         (gen-locales.mk): Include.
17001         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17002         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17003         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17004         on setlocale failure.
17006 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17008         [BZ #18985]
17009         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17010         (__strftime_internal): Likewise.
17011         * time/tst-strftime.c (do_bz18985): New test.
17012         (do_test): Call it.
17014 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17016         [BZ #18956]
17017         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17018         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17019         extracting high part.
17020         * math/auto-libm-test-in: Add another test of pow.
17021         * math/auto-libm-test-out: Regenerated.
17022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17024 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17026         [BZ #18825]
17027         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17028         New macro.
17029         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17030         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17031         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17032         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17033         DBL_NARROW_EVAL, reloading the PIC register as needed.
17034         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17035         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17036         FLT_NARROW_EVAL.  Use separate return path for case when first
17037         argument is NaN.
17038         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17039         DEFINE_LDBL_MIN.
17040         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17041         PIC register.
17042         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17043         math_check_force_underflow_nonneg.
17044         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17045         underflow for subnormal result.
17046         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17047         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17048         math_check_force_underflow_nonneg.
17049         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17050         math_check_force_underflow.
17051         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17052         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17053         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17054         DEFINE_LDBL_MIN.
17055         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17056         * math/auto-libm-test-in: Add more tests of pow.
17057         * math/auto-libm-test-out: Regenerated.
17059 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17061         * nss/bug17079.c (init_test_items): Add diagnostic for
17062         inconsistent entries.
17063         (test_buffer_size): Skip inconsistent entries.
17065 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17067         [BZ #13304]
17068         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17069         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17070         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17072         [BZ #13304]
17073         * sysdeps/microblaze/s_fma.c: New file.
17074         * sysdeps/microblaze/s_fmaf.c: Likewise.
17075         * sysdeps/microblaze/sfp-machine.h: Likewise.
17077 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17079         [BZ #17250]
17080         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17081         member.
17083 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17085         [BZ #18803]
17086         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17087         (MO): New macro.
17088         (__ieee754_hypot) [PIC]: Load PIC register.
17089         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17090         DBL_NARROW_EVAL.
17091         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17092         math_check_force_underflow_nonneg in case where result might be
17093         tiny.
17094         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17095         Likewise.
17096         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17097         Likewise.
17098         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17099         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17100         * math/auto-libm-test-in: Add more tests of hypot.
17101         * math/auto-libm-test-out: Regenerated.
17103 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17105         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17107 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17109         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17110         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17111         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17112         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17113         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17114         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17115         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17117         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17118         LOAD_PIC_REG.
17120         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17121         (FLT_CHECK_FORCE_UFLOW): Likewise.
17122         (DBL_CHECK_FORCE_UFLOW): Likewise.
17123         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17124         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17125         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17126         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17127         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17128         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17129         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17130         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17131         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17132         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17133         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17134         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17135         (flt_min): Replace with use of DEFINE_FLT_MIN.
17136         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17137         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17138         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17139         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17140         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17141         (flt_min): Replace with use of DEFINE_FLT_MIN.
17142         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17143         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17144         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17145         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17146         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17147         (flt_min): Replace with use of DEFINE_FLT_MIN.
17148         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17149         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17150         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17151         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17152         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17153         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17154         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17155         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17156         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17157         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17158         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17159         (flt_min): Replace with use of DEFINE_FLT_MIN.
17160         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17161         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17162         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17163         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17164         main computation.
17165         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17166         (flt_min): Replace with use of DEFINE_FLT_MIN.
17167         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17168         main computation.
17169         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17170         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17171         (MO): New macro.
17172         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17173         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17174         (flt_min): Replace with use of DEFINE_FLT_MIN.
17175         (MO): New macro.
17176         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17177         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17178         (__log1pl): Use MO.
17180         [BZ #19003]
17181         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17182         $(config-cflags-nofma).
17184 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17186         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17188 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17190         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17191         (TWO127): Likewise.
17193         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17194         (min_of_type): Likewise.
17195         (math_check_force_underflow): Likewise.
17196         (math_check_force_underflow_nonneg): Likewise.
17197         (math_check_force_underflow_complex): Likewise.
17198         * math/e_exp2l.c (__ieee754_exp2l): Use
17199         math_check_force_underflow_nonneg.
17200         * math/k_casinh.c (__kernel_casinh): Likewise.
17201         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17202         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17203         * math/s_catan.c (__catan): Use
17204         math_check_force_underflow_complex.
17205         * math/s_catanf.c (__catanf): Likewise.
17206         * math/s_catanh.c (__catanh): Likewise.
17207         * math/s_catanhf.c (__catanhf): Likewise.
17208         * math/s_catanhl.c (__catanhl): Likewise.
17209         * math/s_catanl.c (__catanl): Likewise.
17210         * math/s_ccosh.c (__ccosh): Likewise.
17211         * math/s_ccoshf.c (__ccoshf): Likewise.
17212         * math/s_ccoshl.c (__ccoshl): Likewise.
17213         * math/s_cexp.c (__cexp): Likewise.
17214         * math/s_cexpf.c (__cexpf): Likewise.
17215         * math/s_cexpl.c (__cexpl): Likewise.
17216         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17217         * math/s_clog10.c (__clog10): Likewise.
17218         * math/s_clog10f.c (__clog10f): Likewise.
17219         * math/s_clog10l.c (__clog10l): Likewise.
17220         * math/s_clogf.c (__clogf): Likewise.
17221         * math/s_clogl.c (__clogl): Likewise.
17222         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17223         * math/s_csinf.c (__csinf): Likewise.
17224         * math/s_csinh.c (__csinh): Likewise.
17225         * math/s_csinhf.c (__csinhf): Likewise.
17226         * math/s_csinhl.c (__csinhl): Likewise.
17227         * math/s_csinl.c (__csinl): Likewise.
17228         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17229         * math/s_csqrtf.c (__csqrtf): Likewise.
17230         * math/s_csqrtl.c (__csqrtl): Likewise.
17231         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17232         * math/s_ctanf.c (__ctanf): Likewise.
17233         * math/s_ctanh.c (__ctanh): Likewise.
17234         * math/s_ctanhf.c (__ctanhf): Likewise.
17235         * math/s_ctanhl.c (__ctanhl): Likewise.
17236         * math/s_ctanl.c (__ctanl): Likewise.
17237         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17238         instead of volatile.
17239         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17240         math_check_force_underflow.
17241         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17242         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17243         volatile when forcing underflow.
17244         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17245         math_check_force_underflow_nonneg.
17246         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17247         Likewise.
17248         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17249         math_check_force_underflow.
17250         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17251         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17252         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17253         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17254         math_check_force_underflow_nonneg.
17255         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17256         math_check_force_underflow.
17257         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17259         instead of volatile.
17260         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17261         math_check_force_underflow.
17262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17263         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17264         math_check_force_underflow_nonneg.
17265         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17266         math_check_force_underflow.
17267         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17268         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17269         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17270         math_check_force_underflow_nonneg.
17271         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17272         Likewise.
17273         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17274         math_check_force_underflow.
17275         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17276         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17277         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17278         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17279         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17280         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17281         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17282         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17283         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17284         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17285         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17286         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17287         Likewise.
17288         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17289         math_check_force_underflow_nonneg.
17290         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17291         Likewise.
17292         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17293         math_check_force_underflow.
17294         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17295         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17296         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17297         Likewise.
17298         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17299         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17300         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17301         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17302         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17303         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17305         instead of volatile.
17306         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17307         math_check_force_underflow.
17308         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17309         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17310         math_check_force_underflow.
17311         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17312         Likewise.
17313         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17314         Use math_check_force_underflow_nonneg.
17315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17316         math_check_force_underflow.
17317         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17318         Likewise.
17319         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17320         Likewise.
17321         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17322         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17323         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17324         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17325         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17326         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17327         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17328         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17329         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17330         math_check_force_underflow_nonneg.
17331         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17332         math_check_force_underflow.
17333         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17334         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17335         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17336         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17337         math_check_force_underflow_nonneg.
17338         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17339         math_check_force_underflow.
17340         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17342         instead of volatile.
17343         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17344         math_check_force_underflow.
17346         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17347         * stdlib/strtod_l.c: Include <math_private.h>.
17348         (overflow_value): Use math_narrow_eval.
17349         (underflow_value): Likewise.
17350         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17351         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17352         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17353         (__ieee754_gamma_r): Likewise.
17354         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17355         Likewise.
17356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17357         Likewise.
17358         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17359         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17360         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17361         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17362         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17363         (__ieee754_gammaf_r): Likewise.
17364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17365         Likewise.
17366         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17367         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17368         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17369         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17370         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17371         volatile.
17372         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17374         math_narrow_eval.
17375         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17376         Likewise.
17377         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17378         Likewise.
17379         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17380         Likewise.
17381         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17382         volatile.
17383         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17384         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17385         math_narrow_eval.
17386         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17387         Likewise.
17388         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17389         Likewise.
17391 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17393         * nptl/Versions: Remove ignored symbols.
17395 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17397         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17398         * nss/Makefile (tests): Update.
17400 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17402         * nss/bug18287.c: New file.
17403         * nss/Makefile (tests): Add bug18287.
17405 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17407         * mach/Versions (__mach_host_self_): Add symbol.
17409 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17411         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17412         vm_page_size.
17414 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17416         Really fix sysdeps/i386/fpu/s_scalbn.S build
17418         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17419         (libc: GLIBC_2_22): Remove unused version set.
17421 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17423         * config.make.in (enable-timezone-tools): New variable.
17424         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17425         (enable_timezone_tools): Export to generated files.
17426         * configure: Regenerate.
17427         * INSTALL: Regenerate.
17428         * manual/install.texi (--disable-timezone-tools): Document new flag.
17429         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17430         ifeq ($(enable-timezone-tools),yes) check.
17432 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17434         * timezone/Makefile: Revert previous change.
17436         [BZ #18980]
17437         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17438         (DEFINE_DBL_MIN): Likewise.
17439         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17440         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17441         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17442         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17443         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17444         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17445         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17446         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17447         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17448         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17449         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17450         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17451         (flt_min): Replace with use of DEFINE_FLT_MIN.
17452         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17453         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17454         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17455         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17456         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17457         (flt_min): Replace with use of DEFINE_FLT_MIN.
17458         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17459         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17460         (flt_min): Replace with use of DEFINE_FLT_MIN.
17461         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17462         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17463         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17464         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17465         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17466         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17467         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17468         (__ieee754_pow): Use DBL_NARROW_EVAL.
17469         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17470         (__ieee754_powf): Use FLT_NARROW_EVAL.
17471         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17472         (__ieee754_expf_sse2): Convert double-precision result to single
17473         precision.
17474         * sysdeps/i386/fpu/libm-test-ulps: Update.
17476 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17478         * timezone/Makefile: Ignore unused variable errors due to private.h
17479         (time_t_min) and (time_t_max).
17480         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17481         Likewise.
17483 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17485         [BZ #18981]
17486         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17487         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17488         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17489         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17490         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17491         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17492         (__scalbn): Use DBL_NARROW_EVAL.
17493         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17494         (__scalbnf): Use FLT_NARROW_EVAL.
17496 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17498         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17499         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17500         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17501         * stdio-common/printf_fp.c (___printf_fp):
17502         Use signbit to get the sign. Use isinf macro to allow inlining.
17503         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17504         * stdio-common/printf_size.c (__printf_size): Likewise.
17506 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17508         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17510 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17512         [BZ #18980]
17513         * sysdeps/generic/math_private.h: Include <float.h>.
17514         (math_narrow_eval): New macro.
17515         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17516         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17517         math_narrow_eval on overflowing return value.
17518         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17519         Likewise.
17520         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17521         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17522         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17523         Likewise.
17524         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17526 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17528         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17529         * math/Makefile: Remove isinf_ns.c.
17530         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17531         * math/multc3.c (__multc3): Likewise.
17532         * math/s_casin.c (__casin): Likewise.
17533         * math/s_casinf.c (__casinf): Likewise.
17534         * math/s_casinl.c (__casinl): Likewise.
17535         * math/s_cproj.c (__cproj): Likewise.
17536         * math/s_cprojf.c (__cprojf): Likewise.
17537         * math/s_cprojl.c (__cprofl): Likewise.
17538         * math/s_ctan.c (__ctan): Likewise.
17539         * math/s_ctanf.c (__ctanf): Likewise.
17540         * math/s_ctanh.c (__ctanh): Likewise.
17541         * math/s_ctanhf.c (__ctanhf): Likewise.
17542         * math/s_ctanhl.c (__ctanhl): Likewise.
17543         * math/s_ctanl.c (__ctanl): Likewise.
17544         * math/w_fmod.c (__fmod): Likewise.
17545         * math/w_fmodf.c (__fmodf): Likewise.
17546         * math/w_fmodl.c (_fmodl): Likewise.
17547         * math/w_remainder.c (__remainder): Likewise.
17548         * math/w_remainderf.c (__remainderf): Likewise.
17549         * math/w_remainderl.c (__remainderl): Likewise.
17550         * math/w_scalb.c (__scalb): Likewise.
17551         * math/w_scalbf.c (__scalbf): Likewise.
17552         * math/w_scalbl.c (__scalbl): Likewise.
17553         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17554         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17555         with isinf.
17556         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17558         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17559         __isinf_nsf with isinf.
17560         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17561         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17562         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17563         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17564         with isinf.
17565         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17566         __isinf_nsl with isinf.
17567         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17568         with isinf.
17569         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17570         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17571         __isinf_nsl with isinf.
17572         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17573         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17574         with isinf.
17576 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17578         * resolv/base64.c (rcsid): Remove unused static.
17579         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17580         static.  (tqpi1): Likewise.
17581         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17582         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17583         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17584         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17586         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17588         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17589         Likewise.
17591 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17593         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17594         <nptl/pthreadP.h>.
17595         (_longjmp_unwind): Use __libc_ptf_call.
17596         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17598 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17600         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17601         * sysdeps/arm/__longjmp.S: Likewise.
17603 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17605         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17606         Use __builtin_signbit.
17607         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17608         Use __builtin_signbitf.
17609         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17610         Use __builtin_signbitl.
17611         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17612         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17614 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17616         [BZ #15367]
17617         [BZ #17441]
17619         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17620         * math/math.h (fpclassify): Use __builtin_fpclassify when
17621         available.  (signbit): Use __builtin_signbit(f/l).
17622         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17623         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17624         (isinf): Use __builtin_isinf_sign.
17626 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17628         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17629         * benchtests/bench-math-inlines.c: New benchmark.
17630         * benchtests/bench-util.h: New file.
17631         * benchtests/bench-util.c: New file.
17632         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17634 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17636         * elf/tst-dlmopen1.c: Define TEST_SO.
17637         (do_test): Use TEST_SO.
17639         * elf/dl-load.c: Include libc-internal.h.
17640         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17642 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17644         [BZ #17887]
17645         * time/strptime_l.c (__strptime_internal): Make %z accept
17646         [+-]HH:MM time zones.
17648 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17650         [BZ #17886]
17651         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17652         valid time zone.
17654 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17656         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17657         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17659         (__ASSUME_FDATASYNC): Delete.
17661 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17663         * conform/linknamespace.pl: Require weak undefined symbols to be
17664         in the standard namespace.
17665         (%strong_syms): Rename to %seen_syms.
17666         (%strong_seen): Rename to %seen_where.
17668 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17670         [BZ #18970]
17671         * misc/error.c (error): Replace pthread_setcancelstate with
17672         __pthread_setcancelstate.
17673         (error_at_line): Likewise.
17674         * posix/wordexp.c (parse_comm): Likewise.
17675         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17676         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17677         (__pthread_setcancelstate): This.
17678         (pthread_setcancelstate): Add an alias.
17679         * nptl/nptl-init.c (pthread_functions): Replace
17680         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17681         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17682         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17683         hidden_proto.
17684         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17685         it with hidden_def.
17686         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17687         (pthread_setcancelstate): Renamed to ...
17688         (__pthread_setcancelstate): This.
17689         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17690         __libc_ptf_call with __pthread_setcancelstate.
17692 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17693             Andreas Schwab  <schwab@suse.de>
17695         [BZ #17118]
17696         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17697         result when imaginary part of argument is infinite using sine and
17698         cosine.
17699         * math/s_ctanf.c (__ctanf): Likewise.
17700         * math/s_ctanl.c (__ctanl): Likewise.
17701         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17702         of result when real part of argument is infinite using sine and
17703         cosine.
17704         * math/s_ctanhf.c (__ctanhf): Likewise.
17705         * math/s_ctanhl.c (__ctanhl): Likewise.
17706         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17707         (ctanh_test_data): Add more tests of ctanh.
17709 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17711         [BZ #15384]
17712         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17713         bit-mask as in subtraction.
17714         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17715         Likewise.
17716         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17717         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17718         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17720         [BZ #18951]
17721         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17722         underflow exception for small results.
17723         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17724         Likewise.
17725         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17726         Likewise.
17727         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17728         Likewise.
17729         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17730         Likewise.
17731         * math/auto-libm-test-in: Add more tests of tgamma.
17732         * math/auto-libm-test-out: Regenerated.
17734 2015-09-17  Andreas Schwab  <schwab@suse.de>
17736         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17738 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17740         [BZ #18977]
17741         * math/bits/mathcalls.h
17742         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17743         not declare.
17744         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17745         Likewise.
17746         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17747         Likewise.
17748         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17749         Likewise.
17750         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17751         Likewise.
17752         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17753         Likewise.
17754         * conform/data/math.h-data
17755         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17756         function.
17757         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17758         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17759         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17760         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17761         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17762         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17763         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17764         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17765         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17766         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17767         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17769         [BZ #6803]
17770         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17771         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17772         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17773         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17774         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17775         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17776         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17777         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17778         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17779         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17780         Likewise.
17781         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17782         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17783         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17785         long_double_symbol calls.
17786         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17787         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17788         strong alias of __ldexpl.
17789         (scalbnl): Define using long_double_symbol.
17790         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17791         Remove alias.
17792         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17793         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17794         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17795         (scalbln_test_data): Add more errno expectations.
17797 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17799         Cache the host port like we cache the task port.  This way we do not
17800         need to call the kernel just to get the port.  Furthermore, we no
17801         longer increase the reference count on every invocation of
17802         `mach_host_self'.
17804         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17805         Protect declarations against the macro expansion.
17806         * mach/mach_init.c (__mach_host_self_): New variable.
17807         (mach_init): Initialize `__mach_host_self_'.
17808         * mach/mach_init.h (__mach_host_self_): New declaration.
17809         (__mach_host_self, mach_host_self): New macros.
17810         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17811         Release reference.
17813 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17815         [BZ #4404]
17816         * po/de.po: Update from Translation Project.
17818         [BZ #16415]
17819         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17820         (__expm1l): Remove code to handle positive infinity and overflow.
17821         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17822         variable.
17823         (__expm1l): Remove code to handle positive infinity and overflow.
17825 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17826             Paul Pluzhnikov  <ppluzhnikov@google.com>
17828         [BZ #18872]
17829         * stdio-common/Makefile (tst-printf-bz18872): New test.
17830         (tst-printf-bz18872-mem.out): Likewise.
17831         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17832         * stdio-common/vfprintf.c: Fix memory leaks.
17834 2015-09-16  Andreas Schwab  <schwab@suse.de>
17836         [BZ #17244]
17837         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17838         Remove extra va_start/va_end calls.
17840         [BZ #17243]
17841         * posix/execl.c (execl): Add missing va_end.
17842         * posix/execle.c (execle): Likewise.
17843         * posix/execlp.c (execlp): Likewise.
17845 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17847         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17848         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17850 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17852         [BZ #18967]
17853         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17854         undefine around includes of <bits/mathcalls.h>.
17855         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17856         not declare function.
17857         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17858         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17859         (scalb): Likewise.
17860         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17861         not define macro.
17862         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17863         variable.
17864         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17865         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17866         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17868         [BZ #18857]
17869         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17870         return non-finite argument without doing ordered comparisons on
17871         it.
17873         [BZ #16296]
17874         * math/fenv.h (fegetround): Use __attribute_pure__.
17875         * include/fenv.h (__fegetround): Likewise.
17877         [BZ #18595]
17878         * math/s_ctan.c (__ctan): Force underflow exception for results
17879         whose real or imaginary part has small absolute value.
17880         * math/s_ctanf.c (__ctanf): Likewise.
17881         * math/s_ctanh.c (__ctanh): Likewise.
17882         * math/s_ctanhf.c (__ctanhf): Likewise.
17883         * math/s_ctanhl.c (__ctanhl): Likewise.
17884         * math/s_ctanl.c (__ctanl): Likewise.
17885         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17886         and ctanh.  Add more tests of ctan and ctanh.
17888         [BZ #15918]
17889         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17890         handling of cases where one argument is an infinity.
17892         [BZ #18875]
17893         [BZ #18966]
17894         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17895         (MO): New macro.
17896         (__ieee754_exp10): For small results, force underflow exception
17897         and remove excess range and precision from return value.
17898         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17899         (MO): New macro.
17900         (__ieee754_exp10f): For small results, force underflow exception
17901         and remove excess range and precision from return value.
17902         * math/auto-libm-test-in: Add more tests of exp10.
17903         * math/auto-libm-test-out: Regenerated.
17905 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17907         [BZ #18875]
17908         [BZ #18961]
17909         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17910         (MO): New macro.
17911         (__ieee754_exp): For small results, force underflow exception and
17912         remove excess range and precision from return value.
17913         (__exp_finite): Likewise.
17914         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17915         (MO): New macro.
17916         (__ieee754_expf): For small results, force underflow exception and
17917         remove excess range and precision from return value.
17918         (__expf_finite): Likewise.
17919         * math/auto-libm-test-in: Add more tests of exp.
17920         * math/auto-libm-test-out: Regenerated.
17922         [BZ #16521]
17923         [BZ #18875]
17924         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17925         small results.
17926         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17927         (MO): New macro.
17928         (__ieee754_exp2): For small results, force underflow exception and
17929         remove excess range and precision from return value.
17930         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17931         (MO): New macro.
17932         (__ieee754_exp2f): For small results, force underflow exception
17933         and remove excess range and precision from return value.
17934         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17935         (MO): New macro.
17936         (__ieee754_exp2l): Force underflow exception for small results.
17937         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17938         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17939         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17940         (MO): New macro.
17941         (__ieee754_exp2l): Force underflow exception for small results.
17942         * math/auto-libm-test-in: Add more tests or exp2.
17943         * math/auto-libm-test-out: Regenerated.
17945 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17947         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17949         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17950         /dev/null.
17952 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17954         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17955         io fs process)): Drop spurious backslash.
17957 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17959         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17960         Use sysinfo system call instead of parsing /proc/meminfo.
17961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17962         Likewise.
17964 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17966         [BZ #16985]
17967         * programs/localedef.c (main): Display argv[remaining] when
17968         output_path is NULL.
17970 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17972         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17973         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17974         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17975         tanh.
17976         * math/auto-libm-test-out: Regenerated.
17977         * sysdeps/i386/fpu/libm-test-ulps: Update.
17978         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17979         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17982 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17984         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17985         Use 'override' keyword to freeze the value here, preventing
17986         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17988 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17990         [BZ #14912]
17991         * sysdeps/aarch64/bits/atomic.h: Move to ...
17992         * sysdeps/aarch64/atomic-machine.h: ...here.
17993         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17994         _AARCH64_ATOMIC_MACHINE_H.
17995         * sysdeps/alpha/bits/atomic.h: Move to ...
17996         * sysdeps/alpha/atomic-machine.h: ...here.
17997         * sysdeps/arm/bits/atomic.h: Move to ...
17998         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17999         * bits/atomic.h: Move to ...
18000         * sysdeps/generic/atomic-machine.h: ...here.
18001         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18002         * sysdeps/i386/bits/atomic.h: Move to ...
18003         * sysdeps/i386/atomic-machine.h: ...here.
18004         * sysdeps/ia64/bits/atomic.h: Move to ...
18005         * sysdeps/ia64/atomic-machine.h: ...here.
18006         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18007         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18008         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18009         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18010         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18011         * sysdeps/microblaze/bits/atomic.h: Move to ...
18012         * sysdeps/microblaze/atomic-machine.h: ...here.
18013         * sysdeps/mips/bits/atomic.h: Move to ...
18014         * sysdeps/mips/atomic-machine.h: ...here.
18015         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18016         * sysdeps/powerpc/bits/atomic.h: Move to ...
18017         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18018         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18019         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18020         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18021         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18022         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18023         <atomic-machine.h> instead of <bits/atomic.h>.
18024         * sysdeps/s390/bits/atomic.h: Move to ...
18025         * sysdeps/s390/atomic-machine.h: ...here.
18026         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18027         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18028         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18029         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18030         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18031         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18032         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18033         * sysdeps/tile/bits/atomic.h: Move to ...
18034         * sysdeps/tile/atomic-machine.h: ...here.
18035         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18036         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18037         <sysdeps/tile/atomic-machine.h> instead of
18038         <sysdeps/tile/bits/atomic.h>.
18039         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18040         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18041         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18042         <sysdeps/tile/atomic-machine.h> instead of
18043         <sysdeps/tile/bits/atomic.h>.
18044         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18045         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18046         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18047         <sysdeps/arm/atomic-machine.h> instead of
18048         <sysdeps/arm/bits/atomic.h>.
18049         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18050         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18052         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18053         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18054         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18055         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18056         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18057         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18058         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18059         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18060         * sysdeps/x86_64/bits/atomic.h: Move to ...
18061         * sysdeps/x86_64/atomic-machine.h: ...here.
18062         * include/atomic.h: Include <atomic-machine.h> instead of
18063         <bits/atomic.h>.
18065         * sysdeps/mips/mips32/libm-test-ulps: Update.
18066         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18068         [BZ #18952]
18069         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18070         not convert non-integer negative arguments to int to determine the
18071         value of signgam.
18072         * math/auto-libm-test-in: Add more tests of lgamma.
18073         * math/auto-libm-test-out: Regenerated.
18075         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18076         cosh, csqrt, erfc, expm1 and lgamma.
18077         * math/auto-libm-test-out: Regenerated.
18078         * sysdeps/i386/fpu/libm-test-ulps: Update.
18079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18081 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18083         [BZ #2542]
18084         [BZ #2543]
18085         [BZ #2558]
18086         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18087         __lgamma_neg for arguments from -28.0 to -2.0.
18088         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18089         __lgamma_negf for arguments from -15.0 to -2.0.
18090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18091         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18092         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18093         Call __lgamma_negl for arguments from -33.0 to -2.0.
18094         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18095         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18096         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18097         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18098         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18099         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18101         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18102         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18103         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18104         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18105         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18106         (__lgamma_neg): Likewise.
18107         (__lgamma_negl): Likewise.
18108         (__lgamma_product): Likewise.
18109         (__lgamma_productl): Likewise.
18110         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18111         * math/auto-libm-test-in: Add more tests of lgamma.
18112         * math/auto-libm-test-out: Regenerated.
18113         * sysdeps/i386/fpu/libm-test-ulps: Update.
18114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18116 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18118         [BZ #18675]
18119         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18121 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18123         [BZ #14912]
18124         * bits/libc-lock.h: Move to ...
18125         * sysdeps/generic/libc-lock.h: ...here.
18126         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18127         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18128         * sysdeps/mach/hurd/libc-lock.h: ...here.
18129         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18130         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18131         * sysdeps/mach/bits/libc-lock.h: Move to ...
18132         * sysdeps/mach/libc-lock.h: ...here.
18133         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18134         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18135         * sysdeps/nptl/libc-lock.h: ...here.
18136         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18137         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18138         * sysdeps/nptl/libc-lockP.h: ...here.
18139         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18140         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18141         <bits/libc-lock.h>.
18142         * dirent/scandir-tail.c: Likewise.
18143         * dlfcn/dlerror.c: Likewise.
18144         * elf/dl-close.c: Likewise.
18145         * elf/dl-iteratephdr.c: Likewise.
18146         * elf/dl-lookup.c: Likewise.
18147         * elf/dl-open.c: Likewise.
18148         * elf/dl-support.c: Likewise.
18149         * elf/dl-writev.h: Likewise.
18150         * elf/rtld.c: Likewise.
18151         * grp/fgetgrent.c: Likewise.
18152         * gshadow/fgetsgent.c: Likewise.
18153         * gshadow/sgetsgent.c: Likewise.
18154         * iconv/gconv_conf.c: Likewise.
18155         * iconv/gconv_db.c: Likewise.
18156         * iconv/gconv_dl.c: Likewise.
18157         * iconv/gconv_int.h: Likewise.
18158         * iconv/gconv_trans.c: Likewise.
18159         * include/link.h: Likewise.
18160         * inet/getnameinfo.c: Likewise.
18161         * inet/getnetgrent.c: Likewise.
18162         * inet/getnetgrent_r.c: Likewise.
18163         * intl/bindtextdom.c: Likewise.
18164         * intl/dcigettext.c: Likewise.
18165         * intl/finddomain.c: Likewise.
18166         * intl/gettextP.h: Likewise.
18167         * intl/loadmsgcat.c: Likewise.
18168         * intl/localealias.c: Likewise.
18169         * intl/textdomain.c: Likewise.
18170         * libidn/idn-stub.c: Likewise.
18171         * libio/libioP.h: Likewise.
18172         * locale/duplocale.c: Likewise.
18173         * locale/freelocale.c: Likewise.
18174         * locale/newlocale.c: Likewise.
18175         * locale/setlocale.c: Likewise.
18176         * login/getutent_r.c: Likewise.
18177         * login/getutid_r.c: Likewise.
18178         * login/getutline_r.c: Likewise.
18179         * login/utmp-private.h: Likewise.
18180         * login/utmpname.c: Likewise.
18181         * malloc/mtrace.c: Likewise.
18182         * misc/efgcvt.c: Likewise.
18183         * misc/error.c: Likewise.
18184         * misc/fstab.c: Likewise.
18185         * misc/getpass.c: Likewise.
18186         * misc/mntent.c: Likewise.
18187         * misc/syslog.c: Likewise.
18188         * nis/nis_call.c: Likewise.
18189         * nis/nis_callback.c: Likewise.
18190         * nis/nss-default.c: Likewise.
18191         * nis/nss_compat/compat-grp.c: Likewise.
18192         * nis/nss_compat/compat-initgroups.c: Likewise.
18193         * nis/nss_compat/compat-pwd.c: Likewise.
18194         * nis/nss_compat/compat-spwd.c: Likewise.
18195         * nis/nss_nis/nis-alias.c: Likewise.
18196         * nis/nss_nis/nis-ethers.c: Likewise.
18197         * nis/nss_nis/nis-grp.c: Likewise.
18198         * nis/nss_nis/nis-hosts.c: Likewise.
18199         * nis/nss_nis/nis-network.c: Likewise.
18200         * nis/nss_nis/nis-proto.c: Likewise.
18201         * nis/nss_nis/nis-pwd.c: Likewise.
18202         * nis/nss_nis/nis-rpc.c: Likewise.
18203         * nis/nss_nis/nis-service.c: Likewise.
18204         * nis/nss_nis/nis-spwd.c: Likewise.
18205         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18206         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18207         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18208         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18209         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18210         * nis/nss_nisplus/nisplus-network.c: Likewise.
18211         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18212         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18213         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18214         * nis/nss_nisplus/nisplus-service.c: Likewise.
18215         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18216         * nis/ypclnt.c: Likewise.
18217         * nptl/libc_pthread_init.c: Likewise.
18218         * nss/getXXbyYY.c: Likewise.
18219         * nss/getXXent.c: Likewise.
18220         * nss/getXXent_r.c: Likewise.
18221         * nss/nss_db/db-XXX.c: Likewise.
18222         * nss/nss_db/db-netgrp.c: Likewise.
18223         * nss/nss_db/nss_db.h: Likewise.
18224         * nss/nss_files/files-XXX.c: Likewise.
18225         * nss/nss_files/files-alias.c: Likewise.
18226         * nss/nsswitch.c: Likewise.
18227         * posix/regex_internal.h: Likewise.
18228         * posix/wordexp.c: Likewise.
18229         * pwd/fgetpwent.c: Likewise.
18230         * resolv/res_hconf.c: Likewise.
18231         * resolv/res_libc.c: Likewise.
18232         * shadow/fgetspent.c: Likewise.
18233         * shadow/lckpwdf.c: Likewise.
18234         * shadow/sgetspent.c: Likewise.
18235         * socket/opensock.c: Likewise.
18236         * stdio-common/reg-modifier.c: Likewise.
18237         * stdio-common/reg-printf.c: Likewise.
18238         * stdio-common/reg-type.c: Likewise.
18239         * stdio-common/vfprintf.c: Likewise.
18240         * stdio-common/vfscanf.c: Likewise.
18241         * stdlib/abort.c: Likewise.
18242         * stdlib/cxa_atexit.c: Likewise.
18243         * stdlib/fmtmsg.c: Likewise.
18244         * stdlib/random.c: Likewise.
18245         * stdlib/setenv.c: Likewise.
18246         * string/strsignal.c: Likewise.
18247         * sunrpc/auth_none.c: Likewise.
18248         * sunrpc/bindrsvprt.c: Likewise.
18249         * sunrpc/create_xid.c: Likewise.
18250         * sunrpc/key_call.c: Likewise.
18251         * sunrpc/rpc_thread.c: Likewise.
18252         * sysdeps/arm/backtrace.c: Likewise.
18253         * sysdeps/generic/ldsodefs.h: Likewise.
18254         * sysdeps/generic/stdio-lock.h: Likewise.
18255         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18256         * sysdeps/i386/backtrace.c: Likewise.
18257         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18258         * sysdeps/m68k/backtrace.c: Likewise.
18259         * sysdeps/mach/hurd/cthreads.c: Likewise.
18260         * sysdeps/mach/hurd/dirstream.h: Likewise.
18261         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18262         * sysdeps/nptl/malloc-machine.h: Likewise.
18263         * sysdeps/nptl/stdio-lock.h: Likewise.
18264         * sysdeps/posix/dirstream.h: Likewise.
18265         * sysdeps/posix/getaddrinfo.c: Likewise.
18266         * sysdeps/posix/system.c: Likewise.
18267         * sysdeps/pthread/aio_suspend.c: Likewise.
18268         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18269         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18270         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18271         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18272         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18273         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18274         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18275         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18276         * sysdeps/unix/sysv/linux/system.c: Likewise.
18277         * sysdeps/x86_64/backtrace.c: Likewise.
18278         * time/alt_digit.c: Likewise.
18279         * time/era.c: Likewise.
18280         * time/tzset.c: Likewise.
18281         * wcsmbs/wcsmbsload.c: Likewise.
18282         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18283         instead of <bits/libc-lock.h> in comment.
18285 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18287         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18288         Only use .set mips2 if the current ISA is below mips2.
18289         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18290         Likewise.
18291         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18292         mips32r2 if the current ISA is below mips32r2.
18293         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18294         (TLS_IE): Updated to use the TLD_RDHWR macro.
18295         (TLS_LE): Likewise.
18296         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18297         __ASSEMBLER__ condition.
18299 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18301         Fix parallel build of before-compile targets.
18303         * sysdeps/mach/Makefile ($(patsubst
18304         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18305         mach-before-compile target.
18306         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18307         io fs process)): Move rule to dedicated hurd-before-compile target.
18309 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18311         Fix rules generating headers in hurd/ and mach/ when initial make call
18312         has subdir= explicitly set.
18314         * sysdeps/mach/Makefile ($(patsubst
18315         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18316         calling $(MAKE).
18317         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18318         io fs process)): Force subdir to hurd when calling $(MAKE).
18319         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18320         subdir to mach when calling $(MAKE).
18322 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18324         Check sysheaders when looking for Mach and Hurd headers
18326         * sysdeps/mach/configure.ac: Add sysheaders check.
18327         * sysdeps/mach/configure: Regenerate.
18328         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18329         * sysdeps/mach/hurd/configure: Regenerate.
18331 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18333         [BZ #18921]
18334         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18335         Fix inverted sense of test of 'o_directory_works' value.
18336         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18337         Bernhard Voelker <mail@bernhard-voelker.de>.
18339 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18341         [BZ #14912]
18342         * bits/linkmap.h: Move to ...
18343         * sysdeps/generic/linkmap.h: ...here.
18344         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18345         * sysdeps/aarch64/linkmap.h: ...here.
18346         * sysdeps/arm/bits/linkmap.h: Move to ...
18347         * sysdeps/arm/linkmap.h: ...here.
18348         * sysdeps/hppa/bits/linkmap.h: Move to ...
18349         * sysdeps/hppa/linkmap.h: ...here.
18350         * sysdeps/ia64/bits/linkmap.h: Move to ...
18351         * sysdeps/ia64/linkmap.h: ...here.
18352         * sysdeps/mips/bits/linkmap.h: Move to ...
18353         * sysdeps/mips/linkmap.h: ...here.
18354         * sysdeps/s390/bits/linkmap.h: Move to ...
18355         * sysdeps/s390/linkmap.h: ...here.
18356         * sysdeps/sh/bits/linkmap.h: Move to ...
18357         * sysdeps/sh/linkmap.h: ...here.
18358         * sysdeps/x86/bits/linkmap.h: Move to ...
18359         * sysdeps/x86/linkmap.h: ...here.
18360         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18362 2015-09-04  Andreas Schwab  <schwab@suse.de>
18364         [BZ #18635]
18365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18366         (__makecontext): Terminate FDE before return label.
18367         (__novec_makecontext): Likewise.
18369 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18371         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18372         first member of struct sv in syscall macro.
18374 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18376         [BZ #14912]
18377         * bits/stdio-lock.h: Move to ...
18378         * sysdeps/generic/stdio-lock.h: ...here.
18379         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18380         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18381         * sysdeps/nptl/stdio-lock.h: ...here.
18382         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18383         * include/libio.h: Include <stdio-lock.h> instead of
18384         <bits/stdio-lock.h>.
18385         * sysdeps/nptl/fork.c: Likewise.
18386         * sysdeps/pthread/flockfile.c: Likewise.
18387         * sysdeps/pthread/ftrylockfile.c: Likewise.
18388         * sysdeps/pthread/funlockfile.c: Likewise.
18390         [BZ #14912]
18391         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18392         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18393         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18394         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18395         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18396         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18397         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18399 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18401         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18402         (test-xfail-tst-protected1b): New variable.
18404 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18406         [BZ #14912]
18407         * bits/libc-tsd.h: Move to ...
18408         * sysdeps/generic/libc-tsd.h: ...here.
18409         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18410         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18411         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18412         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18413         * include/ctype.h: Include <libc-tsd.h> instead of
18414         <bits/libc-tsd.h>.
18415         * include/rpc/rpc.h: Likewise.
18416         * locale/localeinfo.h: Likewise.
18417         * sunrpc/rpc_thread.c: Likewise.
18418         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18419         * sysdeps/nptl/malloc-machine.h: Likewise.
18421         * Makefile (headers): Remove bits/libc-lock.h.
18422         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18424         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18425         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18426         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18427         <bits/stdio-lock.h>.
18428         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18429         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18431 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18433         [BZ #18757]
18434         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18435         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18436         BZ #18757.
18438 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18440         * malloc/mtrace.pl: Filter out NULL entries.
18442 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18444         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18445         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18446         macro.
18448         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18449         (TCP_CC_INFO): Likewise.
18450         (TCP_SAVE_SYN): Likewise.
18451         (TCP_SAVED_SYN): Likewise.
18453 2015-08-31  Brett Neumeier <brett@neumeier.us>
18455         [BZ #18870]
18456         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18458 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18460         [BZ #18873]
18461         Fix broken overflow check in posix_fallocate
18462         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18463         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18464         Fix parenthesization typo.
18466 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18468         [BZ #18887]
18469         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18470         tst-mntent-blank-passno.
18471         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18472         * misc/tst-mntent-blank-corrupt.c: New test.
18473         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18474         * misc/tst-mntent.c (do_test): ... here.
18476 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18478         [BZ #4404]
18479         * po/de.po: Fix SIGALRM typo.
18481 2015-08-28  James Perkins  <james@loowit.net>
18483         * time/tst-strptime2.c (tests): Replace short list of test
18484         strings for strptime %z specifier with code which exhaustively
18485         tests every combination of sign and 0 to 5 digits. Tests for
18486         rejection of invalid strings.
18488 2015-08-28  James Perkins  <james@loowit.net>
18490         [BZ #16141]
18491         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18492         calculation, removing incorrect decimal time rounding, so that
18493         all minute values result in a valid seconds value.
18494         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18495         offset range limits to UTC-99:59 through UTC+99:59 to parse
18496         current and historical use cases.
18497         * time/tst-strptime2.c (tests): Modify and add tests for the
18498         strptime %z input field descriptor, specifically conversion of
18499         minutes to seconds and validating an offset range of -9959 to
18500         +9959.
18502 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18503             Dmitry V. Levin  <ldv@altlinux.org>
18505         [BZ #18877]
18506         * posix/Makefile (tests): Add tst-mmap-offset.
18507         * posix/tst-mmap.c: New file.
18508         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18509         offset calculation for negative values.
18511 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18513         * sysdeps/i386/init-arch.h: New file.
18514         * sysdeps/i386/i586/init-arch.h: Likewise.
18515         * sysdeps/i386/i686/init-arch.h: Likewise.
18516         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18517         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18518         * sysdeps/x86/cpu-features.h (bit_I586): New.
18519         (bit_I686): Likewise.
18520         (bit_CX8): Likewise.
18521         (bit_CMOV): Likewise.
18522         (index_CX8): Likewise.
18523         (index_CMOV): Likewise.
18524         (index_I586): Likewise.
18525         (index_I686): Likewise.
18526         (reg_CX8): Likewise.
18527         (reg_CMOV): Likewise.
18528         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18529         available at compile-time.
18530         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18531         available at compile-time.
18532         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18533         (USE_I686): Likewise.
18535 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18537         * sysdeps/i386/bcopy.S: New file.
18538         * sysdeps/i386/bzero.S: Likewise.
18539         * sysdeps/i386/memcpy.S: Likewise.
18540         * sysdeps/i386/memmove.S: Likewise.
18541         * sysdeps/i386/mempcpy.S: Likewise.
18542         * sysdeps/i386/memset.S: Likewise.
18543         * sysdeps/i386/bzero.c: Removed.
18544         * sysdeps/i386/memset.c: Likewise.
18545         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18546         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18547         * sysdeps/i386/i586/memset_chk.S: Likewise.
18548         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18549         * sysdeps/i386/memcpy_chk.S: Here.
18550         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18551         * sysdeps/i386/memmove_chk.S: Here.
18552         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18553         * sysdeps/i386/mempcpy_chk.S: Likewise.
18554         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18555         * sysdeps/i386/memset_chk.S: Likewise.
18557 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18559         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18560         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18561         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18562         * soft-fp/fmadf4.c: Ditto.
18563         * soft-fp/fmatf4.c: Ditto.
18565 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18567         * sysdeps/i386/i586/Implies: Removed.
18568         * sysdeps/i386/i686/Implies: Likewise.
18570 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18572         * sysdeps/i386/i486/strlen.S: Moved to ...
18573         * sysdeps/i386/strlen.S: Here.
18575 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18577         * sysdeps/i386/i486/strcat.S: Moved to ...
18578         * sysdeps/i386/strcat.S: Here.
18580 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18582         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18583         * sysdeps/i386/pthread_spin_trylock.S: Here.
18584         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18585         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18587 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18589         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18590         * sysdeps/i386/string-inlines.c: Here.
18592 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18594         * sysdeps/i386/i486/htonl.S: Moved ...
18595         * sysdeps/i386/htonl.S: here.
18597 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18599         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18600         * sysdeps/i386/bits/atomic.h: Here.
18602 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18604         * sysdeps/i386/i486/Versions: Removed.
18606 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18608         [BZ #2898]
18609         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18610         Based on patch by Aurelien Jarno.
18612 2015-08-26  Stan Shebs  <stanshebs@google.com>
18614         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18615         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18617 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18619         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18620         * sysdeps/powerpc/dl-procinfo.c:
18621         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18622         feature so it shows when LD_SHOW_AUXV=1.
18624 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18626         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18627         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18628         definition.  ISA 2.07B no longer requires full sync.
18630 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18632         [BZ #18863]
18633         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18634         (si_call_addr): Define.
18635         (si_syscall): Define.
18636         (si_arch): Define.
18638 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18640         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18641         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18642         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18643         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18644         (__memset_zero_constant_len_parameter): New.
18645         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18646         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18647         (__memset_zero_constant_len_parameter): Don't define if
18648         __memset_chk or USE_AS_BZERO are defined.
18650         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18651         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18652         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18654         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18655         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18656         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18657         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18658         comments.
18659         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18660         -mno-mmx for $(all-rtld-routines).
18661         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18662         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18663         i386.
18665 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18667         * sysdeps/generic/unwind.h
18668         (_Unwind_Word): Use __mode__(__unwind_word__)
18669         instead of __mode__(__word__).
18670         (_Unwind_Sword): Likewise.
18672         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18673         (MAX_NEEDED_INPUT): New define.
18674         (MAX_NEEDED_OUTPUT): New define.
18676         * NEWS: New item for IBM z13 string optimizations.
18678         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18679         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18680         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18681         * sysdeps/s390/multiarch/Makefile
18682         (sysdep_routines): Add memrchr functions.
18683         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18684         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18686         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18687         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18688         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18689         * sysdeps/s390/multiarch/Makefile
18690         (sysdep_routines): Add wmemcmp functions.
18691         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18692         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18693         * benchtests/bench-wmemcmp.c: New File.
18694         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18696         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18697         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18698         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18699         * sysdeps/s390/multiarch/Makefile
18700         (sysdep_routines): Add wmemset functions.
18701         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18702         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18703         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18704         * string/test-memset.c: Add wmemset support.
18705         * wcsmbs/test-wmemset.c: New File.
18706         * wcsmbs/Makefile (strop-tests): Add wmemset.
18707         * benchtests/bench-memset.c: Add wmemset support.
18708         * benchtests/bench-wmemset.c: New File.
18709         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18711         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18712         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18713         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18714         * sysdeps/s390/multiarch/Makefile
18715         (sysdep_routines): Add memccpy functions.
18716         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18717         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18718         * string/memccpy.c: Use MEMCCPY if defined.
18720         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18721         * sysdeps/s390/multiarch/memchr.c: Likewise.
18722         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18723         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18724         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18725         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18726         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18727         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18728         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18729         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18730         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18731         and rawmemchr functions.
18732         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18733         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18734         and wmemchr.
18735         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18736         * string/test-memchr.c: Add wmemchr support.
18737         * wcsmbs/test-wmemchr.c: New File.
18738         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18739         * benchtests/bench-memchr.c: Add wmemchr support.
18740         * benchtests/bench-wmemchr.c: New File.
18741         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18743         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18744         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18745         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18746         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18747         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18748         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18749         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18750         wcscspn functions.
18751         * sysdeps/s390/multiarch/ifunc-impl-list.c
18752         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18753         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18754         * string/test-strcspn.c: Add wcscspn support.
18755         * wcsmbs/test-wcscspn.c: New File.
18756         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18757         * benchtests/bench-strcspn.c: Add wcscspn support.
18758         * benchtests/bench-wcscspn.c: New File.
18759         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18761         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18762         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18763         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18764         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18765         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18766         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18767         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18768         wcspbrk functions.
18769         * sysdeps/s390/multiarch/ifunc-impl-list.c
18770         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18771         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18772         * string/test-strpbrk.c: Add wcspbrk support.
18773         * wcsmbs/test-wcspbrk.c: New File.
18774         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18775         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18776         * benchtests/bench-wcspbrk.c: New File.
18777         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18779         * sysdeps/s390/multiarch/strspn-c.c: New File.
18780         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18781         * sysdeps/s390/multiarch/strspn.c: Likewise.
18782         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18783         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18784         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18785         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18786         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18787         wcsspn functions.
18788         * sysdeps/s390/multiarch/ifunc-impl-list.c
18789         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18790         * string/test-strspn.c: Add wcsspn support.
18791         * wcsmbs/test-wcsspn.c: New File.
18792         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18793         * benchtests/bench-strspn.c: Add wcsspn support.
18794         * benchtests/bench-wcsspn.c: New File.
18795         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18797         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18798         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18799         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18800         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18801         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18802         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18803         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18804         wcsrchr functions.
18805         * sysdeps/s390/multiarch/ifunc-impl-list.c
18806         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18807         * benchtests/bench-wcsrchr.c: New File.
18808         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18810         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18811         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18812         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18813         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18814         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18815         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18816         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18817         wcschrnul functions.
18818         * sysdeps/s390/multiarch/ifunc-impl-list.c
18819         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18820         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18821         * string/test-strchr.c: Add wcschrnul support.
18822         * wcsmbs/test-wcschrnul.c: New File.
18823         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18824         * benchtests/bench-strchr.c: Add wcschrnul support.
18825         * benchtests/bench-wcschrnul.c: New File.
18826         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18828         * sysdeps/s390/multiarch/strchr-c.c: New File.
18829         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18830         * sysdeps/s390/multiarch/strchr.c: Likewise.
18831         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18832         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18833         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18835         wcschr functions.
18836         * sysdeps/s390/multiarch/ifunc-impl-list.c
18837         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18838         * string/strchr.c (STRCHR): Define and use macro.
18839         * benchtests/bench-wcschr.c: New File.
18840         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18842         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18843         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18844         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18845         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18846         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18847         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18848         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18849         wcsncmp functions.
18850         * sysdeps/s390/multiarch/ifunc-impl-list.c
18851         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18852         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18853         * benchtests/bench-strncmp.c: Add wcsncmp support.
18854         * benchtests/bench-wcsncmp.c: New File.
18855         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18857         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18858         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18859         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18860         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18861         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18862         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18863         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18864         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18865         wcscmp functions.
18866         * sysdeps/s390/multiarch/ifunc-impl-list.c
18867         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18868         * string/strcmp.c (STRCMP): Define and use macro.
18869         * benchtests/bench-wcscmp.c: New File.
18870         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18871         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18872         instead of _HAVE_STRING_ARCH_memchr.
18874         * sysdeps/s390/multiarch/strncat-c.c: New File.
18875         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18876         * sysdeps/s390/multiarch/strncat.c: Likewise.
18877         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18878         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18879         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18880         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18881         wcsncat functions.
18882         * sysdeps/s390/multiarch/ifunc-impl-list.c
18883         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18884         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18885         * string/test-strncat.c: Add wcsncat support.
18886         * wcsmbs/test-wcsncat.c: New File.
18887         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18888         * benchtests/bench-strncat.c: Add wcsncat support.
18889         * benchtests/bench-wcsncat.c: New File.
18890         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18892         * sysdeps/s390/multiarch/strcat-c.c: New File.
18893         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18894         * sysdeps/s390/multiarch/strcat.c: Likewise.
18895         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18896         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18897         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18899         wcscat functions.
18900         * sysdeps/s390/multiarch/ifunc-impl-list.c
18901         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18902         * string/strcat.c (STRCAT): Define and use macro.
18903         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18904         * string/test-strcat.c: Add wcscat support.
18905         * wcsmbs/test-wcscat.c: New File.
18906         * wcsmbs/Makefile (strop-tests): Add wcscat.
18907         * benchtests/bench-strcat.c: Add wcscat support.
18908         * benchtests/bench-wcscat.c: New File.
18909         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18911         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18912         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18913         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18914         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18915         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18916         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18917         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18918         wcpncpy functions.
18919         * sysdeps/s390/multiarch/ifunc-impl-list.c
18920         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18921         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18922         * string/test-stpncpy.c: Add wcpncpy support.
18923         * wcsmbs/test-wcpncpy.c: New File.
18924         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18925         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18926         * benchtests/bench-wcpncpy.c: New File.
18927         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18929         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18930         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18931         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18932         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18933         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18934         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18935         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18937         wcsncpy functions.
18938         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18939         * sysdeps/s390/multiarch/ifunc-impl-list.c
18940         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18941         * string/test-strncpy.c: Add wcsncpy support.
18942         * wcsmbs/test-wcsncpy.c: New File.
18943         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18944         * benchtests/bench-strncpy.c: Add wcsncpy support.
18945         * benchtests/bench-wcsncpy.c: New File.
18946         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18948         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18949         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18950         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18951         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18952         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18953         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18955         wcpcpy functions.
18956         * string/stpcpy.c: Use STPCPY if defined.
18957         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18958         * sysdeps/s390/multiarch/ifunc-impl-list.c
18959         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18960         * string/test-stpcpy.c: Add wcpcpy support.
18961         * wcsmbs/test-wcpcpy.c: New File.
18962         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18963         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18964         * benchtests/bench-wcpcpy.c: New File.
18965         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18967         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18968         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18969         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18970         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18971         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18972         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18973         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18975         wcscpy functions.
18976         * sysdeps/s390/multiarch/ifunc-impl-list.c
18977         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18978         * benchtests/bench-wcscpy.c: New File.
18979         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18981         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18982         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18983         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18984         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18985         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18986         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18987         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18988         wcsnlen functions.
18989         * sysdeps/s390/multiarch/ifunc-impl-list.c
18990         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18991         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18992         * string/test-strnlen.c: Add wcsnlen support.
18993         * wcsmbs/test-wcsnlen.c: New File.
18994         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18995         * benchtests/bench-strnlen.c: Add wcsnlen support.
18996         * benchtests/bench-wcsnlen.c: New File.
18997         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18999         * sysdeps/s390/multiarch/Makefile: New File.
19000         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19001         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19002         * sysdeps/s390/multiarch/strlen.c: Likewise.
19003         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19004         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19005         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19006         * string/strlen.c (STRLEN): Define and use macro.
19007         * sysdeps/s390/multiarch/ifunc-impl-list.c
19008         (IFUNC_VX_IMPL): New macro function.
19009         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19010         * benchtests/Makefile (wcsmbs-bench): New variable.
19011         (string-bench-all): Added wcsmbs-bench.
19012         * benchtests/bench-wcslen.c: New File.
19014         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19015         s390_vx_libc_ifunc2): New macro function.
19017         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19018         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19019         assembler support.
19020         * sysdeps/s390/configure: Regenerated.
19022         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19023         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19025         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19026         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19027         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19029         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19030         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19031         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19032         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19033         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19034         (memcmp, bcmp): Use __memcmp_default as alias source.
19035         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19036         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19037         Rename to __memcmp_default.
19038         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19039         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19040         (memcpy): Use __memcpy_default as alias source.
19041         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19042         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19043         Rename to __memcpy_default.
19044         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19045         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19046         (memset): Use __memset_default as alias source.
19047         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19048         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19049         Rename to __memset_default.
19050         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19051         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19052         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19053         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19054         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19055         (memcmp, bcmp): Use __memcmp_default as alias source.
19056         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19057         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19058         Rename to __memcmp_default.
19059         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19060         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19061         (memcpy): Use __memcpy_default as alias source.
19062         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19063         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19064         Rename to __memcpy_default.
19065         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19066         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19067         (memset): Use __memset_default as alias source.
19068         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19069         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19070         Rename to __memset_default.
19071         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19072         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19074         [BZ #18610]
19075         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19076         __ieee_instruction_pointer to __unused.
19077         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19078         __ieee_instruction_pointer.
19079         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19080         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19081         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19082         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19083         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19084         Mark dxc-field as reserved.
19086 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19088         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19089         if the weak reference is not null.
19091 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19093         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19095         [BZ #11214]
19096         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19098 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19100         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19101         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19102         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19103         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19104         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19105         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19106         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19107         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19108         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19109         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19110         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19111         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19112         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19113         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19114         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19115         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19116         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19117         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19119 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19121         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19122         register other than r0 for tabort, it has special meaning.
19123         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19124         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19125         transaction before starting syscall.
19127 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19129         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19131 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19133         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19135         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19136         * sysdeps/x86_64/rtld-memset.S: Likewise.
19137         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19138         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19139         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19140         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19142         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19144 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19146         * debug/strcpy_chk.c: Improve performance.
19147         * debug/stpcpy_chk.c: Likewise.
19148         * sysdeps/x86_64/strcpy_chk.S: Remove.
19149         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19151         [BZ #18240]
19152         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19154 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19156         [BZ #15128]
19157         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19158         ifuncmain8.
19159         (modules-names): Add ifuncmod8.
19160         ($(objpfx)ifuncmain8): New rule.
19161         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19162         <cpuid.h>.
19163         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19164         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19165         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19166         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19167         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19168         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19169         * sysdeps/x86_64/ifuncmain8.c: New file.
19170         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19171         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19172         Removed.
19173         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19174         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19175         Change rtld_savespace_sse to __glibc_unused2.
19176         (RTLD_CHECK_FOREIGN_CALL): Removed.
19177         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19178         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19179         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19181 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19183         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19185 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19187         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19188         Unconditionally set __fpcr to avoid uninialized warning.
19189         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19191 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19193         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19194         is corrupt.
19196         * malloc/arena.c (arena_get2): Drop unused argument.
19197         (arena_lock): Adjust.
19198         (arena_get_retry): Likewise.
19200 2015-08-24  Andreas Schwab  <schwab@suse.de>
19202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19203         Don't define.
19204         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19205         (__ASSUME_IPC64): Don't undef.
19206         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19207         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19208         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19209         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19210         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19211         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19212         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19213         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19214         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19215         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19216         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19217         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19218         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19219         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19220         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19221         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19222         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19223         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19224         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19225         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19226         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19228 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19230         * manual/Makefile (install): Only build manual when perl is available.
19232 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19234         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19235         '#undef memcpy' by '#undef memchr'.
19237 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19239         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19240         memchr not point to the internal __GI_memchr implementation.
19242 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19244         * timezone/Makefile (CFLAGS-zdump.c): Remove
19245         -Wno-strict-prototypes.
19246         (CFLAGS-zic.c): Likewise.
19247         (CFLAGS-ialloc.c): Likewise.
19248         (CFLAGS-scheck.c): Likewise.
19250         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19251         -Wno-error=undef.
19253 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19255         * i386/i686/multiarch/strcasestr-c.c: Removed.
19256         * x86_64/multiarch/strcasestr.c: Likewise.
19257         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19258         Remove strcasestr.
19260 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19262         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19264         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19265         variables for high and low parts before possibly modifying them.
19267 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19269         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19270         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19271         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19272         of "multiarch/init-arch.h".
19273         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19274         * sysdeps/x86/init-arch.h: This.
19276 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19278         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19279         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19281 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19283         [BZ #17787]
19284         * manual/macros.texi: Add twoexp macro.
19285         * manual/filesys.texi: Fix exponents.
19286         * manual/llio.texi: Likewise.
19287         * manual/stdio.texi: Likewise.
19289 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19291         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19292         incorrect use.
19294 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #18370]
19297         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19298         whose real or imaginary part has small absolute value.
19299         * math/s_csqrtf.c (__csqrtf): Likewise.
19300         * math/s_csqrtl.c (__csqrtl): Likewise.
19301         * math/auto-libm-test-in: Add more tests of csqrt.
19302         * math/auto-libm-test-out: Regenerated.
19303         * sysdeps/i386/fpu/libm-test-ulps: Update.
19305 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19307         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19308         __ppc_set_ppr_very_low): New functions.
19309         * manual/platform.texi: Add documentation about
19310         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19312 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19314         * string/stpncpy.c (stpncpy): Improve performance using
19315         __strnlen/memcpy/memset.
19317 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19319         [BZ #18796]
19320         * scripts/test-installation.pl: Don't add -lmvec to build options if
19321         libmvec wasn't built.
19323 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19325         [BZ #14341]
19326         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19327         case when there is a gap between DT_REL and DT_JMPREL sections.
19328         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19329         (LDFLAGS-tst-split-dynreloc): New.
19330         (tst-split-dynreloc-ENV): Likewise.
19331         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19332         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19334 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19336         [BZ #18822]
19337         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19338         attribute_hidden.
19339         (__xstat64_conv): Likewise.
19340         (__xstat32_conv): Likewise.
19342 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19344         [BZ #18822]
19345         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19346         Don't load %ebx when calling __setcontext.  Call __setcontext
19347         with HIDDEN_JUMPTARGET.
19348         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19349         libc_hidden_def.
19351 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19353         * sysdeps/i386/i686/Makefile
19354         [$(subdir) == string] (sysdep_routines): Moved to ...
19355         * sysdeps/i386/Makefile: Here.
19356         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19357         * sysdeps/i386/cacheinfo.c: Here.
19358         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19359         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19360         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19361         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19363 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19365         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19366         __i586__ is defined.
19367         (HAS_I686): Defined to 1 if __i686__ is defined.
19369 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19371         * elf/Makefile [$(have-z-execstack) = yes]
19372         (CPPFLAGS-tst-execstack.c): New variable.
19374         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19375         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19376         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19377         UTMPX || _HAVE_UT_TV].
19378         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19379         UTMPX || _HAVE_UT_TV - 0].
19381 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19383         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19384         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19385         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19387 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19389         * sysdeps/powerpc/dl-procinfo.c:
19390         (_dl_powerpc_cap_flags): Added missing strings for some
19391         hwcap features.
19392         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19394 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19396         Port the 0x7efe...feff pattern to GCC 6.
19397         See Steve Ellcey's bug report in:
19398         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19399         * string/memrchr.c (MEMRCHR):
19400         * string/rawmemchr.c (RAWMEMCHR):
19401         * string/strchr.c (strchr):
19402         * string/strchrnul.c (STRCHRNUL):
19403         Rewrite code to avoid issues with signed shift overflow.
19405 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19407         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19408         whether cpuid is available only if HAS_CPUID is 0.
19409         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19410         (HAS_I586): Likewise.
19411         (HAS_I686): Likewise.
19413 2015-08-18  Zack Weinberg  <zackw@panix.com>
19415         * misc/Versions (libc): Add GLIBC_2.23.
19417 2015-08-18  Alan Modra  <amodra@gmail.com>
19419         [BZ #18421]
19420         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19421         .Lp__global.
19422         (_start): Load %dp via .Lp__global.
19423         [!SHARED]: Use .section .rodata.
19425 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19427         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19428         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19430 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19432         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19433         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19435 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19437         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19438         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19440 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19442         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19443         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19445 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19447         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19448         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19450 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19452         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19453         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19455 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19457         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19459 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19461         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19462         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19463         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19464         (__ASSUME_LWS_CAS): Delete.
19466 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19468         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19469         * sysdeps/hppa/configure: Regenerated.
19470         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19471         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19472         * sysdeps/hppa/nptl/tls.h: Likewise.
19474 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19476         [BZ #18823]
19477         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19478         for scaling up small arguments.
19479         * math/s_csqrtf.c (__csqrtf): Likewise.
19480         * math/s_csqrtl.c (__csqrtl): Likewise.
19481         * math/auto-libm-test-in: Add more tests of csqrt.
19482         * math/auto-libm-test-out: Regenerated.
19484 2015-08-17  Andreas Schwab  <schwab@suse.de>
19486         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19487         version set GLIBC_2.19.
19489 2015-08-16  Zack Weinberg  <zackw@panix.com>
19491         [BZ #18681]
19492         * misc/regexp.h: This interface is no longer supported.
19493         Remove all contents, leaving only an #error directive.
19494         * misc/regexp.c (loc1, loc2, locs, step, advance):
19495         Demote to compatibility symbols.
19497 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19499         [BZ #18084]
19500         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19501         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19502         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19503         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19504         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19505         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19506         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19507         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19508         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19510 2015-08-15  Zack Weinberg  <zackw@panix.com>
19512         [BZ #18795]
19513         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19514         buffer length is known to be too large, not if it's known to be
19515         small enough.
19516         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19517         overflow at runtime, involving a length parameter, twice: once
19518         with a compile-time constant length parameter, once without.
19520 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #18824]
19523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19524         scaling x * y up instead of down.
19525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19527         * math/auto-libm-test-in: Add more tests of fma.
19528         * math/auto-libm-test-out: Regenerated.
19530 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19534 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19536         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19537         unnecessary movq.
19538         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19539         Likewise.
19541 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19543         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19544         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19545         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19546         and tgamma.
19547         * math/auto-libm-test-out: Regenerated.
19548         * sysdeps/i386/fpu/libm-test-ulps: Update.
19549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19551         [BZ #16520]
19552         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19553         (__tanh): Force underflow exception for arguments with small
19554         absolute value.
19555         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19556         (__tanhf): Force underflow exception for arguments with small
19557         absolute value.
19558         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19559         (__tanhl): Force underflow exception for arguments with small
19560         absolute value.
19561         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19562         (__tanhl): Force underflow exception for arguments with small
19563         absolute value.
19564         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19565         (__tanhl): Force underflow exception for arguments with small
19566         absolute value.
19567         * math/auto-libm-test-in: Add more tests of tanh.
19568         * math/auto-libm-test-out: Regenerated.
19569         * sysdeps/i386/fpu/libm-test-ulps: Update.
19571 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19573         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19574         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19576 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19578         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19579         <cpuid.h>.
19581 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19583         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19584         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19586 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19588         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19589         Remove $(objpfx)init-arch.o.
19590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19591         init-arch.
19592         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19593         (INIT_ARCH_EXT): Defined as empty.
19594         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19596         __init_cpu_features call.  Replace HAS_XXX with
19597         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19598         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19599         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19600         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19601         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19602         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19603         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19604         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19605         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19608         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19609         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19610         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19611         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19614         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19615         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19617         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19619         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19623         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19624         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19626         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19630         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19632         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19634 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19636         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19637         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19638         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19639         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19640         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19641         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19642         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19643         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19644         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19645         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19646         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19647         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19648         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19649         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19650         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19651         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19652         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19653         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19654         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19655         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19656         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19657         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19658         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19659         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19660         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19661         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19662         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19663         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19664         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19666         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19667         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19668         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19669         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19670         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19671         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19672         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19673         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19674         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19675         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19676         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19677         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19678         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19680 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19682         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19683         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19685         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19686         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19687         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19689         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19690         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19691         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19693         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19694         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19695         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19696         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19697         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19698         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19699         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19700         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19701         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19703         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19704         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19705         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19706         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19707         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19708         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19709         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19710         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19711         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19712         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19713         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19715         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19716         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19717         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19718         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19719         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19720         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19721         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19722         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19723         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19724         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19726 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19728         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19729         (dl_platform_init): Call init_cpu_features.
19730         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19731         * sysdeps/i386/i686/cacheinfo.c
19732         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19733         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19734         * sysdeps/i386/i686/multiarch/Versions: Removed.
19735         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19736         Removed.
19737         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19738         * sysdeps/unix/sysv/linux/x86/Makefile
19739         (libpthread-sysdep_routines): Remove init-arch.
19740         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19741         <sysdeps/x86_64/dl-procinfo.c> instead of
19742         sysdeps/generic/dl-procinfo.c>.
19743         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19744         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19745         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19746         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19747         [$(subdir) == elf] (tests-static): Add
19748         tst-get-cpu-features-static.
19749         * sysdeps/x86/Versions: New file.
19750         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19751         * sysdeps/x86/cpu-features.c: Likewise.
19752         * sysdeps/x86/cpu-features.h: Likewise.
19753         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19754         * sysdeps/x86/libc-start.c: Likewise.
19755         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19756         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19757         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19758         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19759         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19760         Assume USE_MULTIARCH is defined and don't check it.
19761         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19762         (is_amd): Likewise.
19763         (max_cpuid): Likewise.
19764         (intel_check_word): Likewise.
19765         (__cache_sysconf): Don't call __init_cpu_features.
19766         (__x86_preferred_memory_instruction): Removed.
19767         (init_cacheinfo): Don't call __init_cpu_features. Replace
19768         __cpu_features with GLRO(dl_x86_cpu_features).
19769         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19770         (dl_platform_init): Call init_cpu_features.
19771         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19772         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19773         * sysdeps/x86_64/multiarch/Versions: Removed.
19774         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19775         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19776         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19777         Removed.
19778         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19780 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19782         [BZ #18820]
19783         * libio/Makefile (test-fmemopen-mem): New test.
19784         * libio/test-fmemopen.c (do_bz18820): New test.
19785         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19786         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19788 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19790         [BZ #16734]
19791         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19792         (FREE_BUF): Delete.
19793         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19794         * libio/genops.c (_IO_setb): Use malloc and free directly.
19795         (_IO_default_doallocate, _IO_default_finish): Likewise.
19796         ( _IO_unbuffer_all): Likewise.
19797         ( libc_freeres_fn): Likewise.
19798         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19799         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19800         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19801         (_IO_wdefault_doallocate): Likewise.
19803 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19805         [BZ #18086]
19806         * sysdeps/posix/nice.c (nice): Restore old errno.
19807         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19809 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19813 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19815         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19816         __bcopy and add a weak_alias to bcopy.
19817         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19818         for static build.
19820         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19821         cleanup macro usage.
19822         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19823         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19824         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19825         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19827         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19828         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19829         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19830         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19831         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19832         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19833         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19835         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19836         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19837         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19838         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19839         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19840         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19842         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19843         libc_hidden_def.
19844         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19846         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19847         (sysdep_routines): Add strstr-ppc64.
19848         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19850 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19852         [BZ #18778]
19853         * elf/Makefile (tests): Add Add tst-nodelete2.
19854         (modules-names): Add tst-nodelete2mod.
19855         (tst-nodelete2mod.so-no-z-defs): New.
19856         ($(objpfx)tst-nodelete2): Likewise.
19857         ($(objpfx)tst-nodelete2.out): Likewise.
19858         (LDFLAGS-tst-nodelete2): Likewise.
19859         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19860         out of loop through all loaded libraries.
19861         * elf/tst-nodelete2.c: New file.
19862         * elf/tst-nodelete2mod.c: Likewise.
19863         * elf/tst-znodelete-zlib.cc: Delete.
19865 2015-08-11  Andreas Schwab  <schwab@suse.de>
19867         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19868         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19869         (__openat64_nocancel): Likewise.
19871 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19873         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19874         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19875         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19876         * math/auto-libm-test-out: Regenerated.
19877         * sysdeps/i386/fpu/libm-test-ulps: Update.
19878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19880 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19882         [BZ #18790]
19883         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19884         threshold for returning +/- 1.
19885         * math/auto-libm-test-in: Add more tests of tanh.
19886         * math/auto-libm-test-out: Regenerated.
19887         * sysdeps/i386/fpu/libm-test-ulps: Update.
19889 2015-08-10  Andreas Schwab  <schwab@suse.de>
19891         [BZ #18781]
19892         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19893         MORE_OFLAGS to oflag.
19894         * io/test-lfs.c (do_test): Test openat64.
19896 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19898         [BZ #18789]
19899         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19900         smaller threshold for returning the argument.
19901         * math/auto-libm-test-in: Add more tests of sinh.
19902         * math/auto-libm-test-out: Regenerated.
19903         * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19907         [BZ #18674]
19908         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19909         break.
19911 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19913         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19914         (generated): Don't add $(addprefix z.,$(tzfiles)).
19916 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19918         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19919         * scripts/sysd-rules.awk: Likewise.
19921 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19923         * iconvdata/tst-tables.sh: Change echo -n to printf.
19924         * nss/db-Makefile: Likewise.
19925         * posix/tst-getconf.sh: Likewise.
19926         * stdio-common/tst-unbputc.sh: Likewise.
19928 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19930         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19931         MADV_*_PAGES defines behind this feature check.
19933 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19935         [BZ #18480]
19936         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19937         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19938         Define.
19939         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19940         LOAD_REGS_5, LOAD_REGS_6): Update.
19941         (INTERNAL_SYSCALL): Update using new LOAD defines.
19942         (INTERNAL_SYSCALL_NCS): Likewise.
19943         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19945 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19947         [BZ #16734]
19948         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19950 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19952         [BZ #17905]
19953         * catgets/Makefile (tst-catgets-mem): New test.
19954         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19955         * catgets/open_catalog.c (__open_catalog): Likewise.
19956         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19958 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19960         [BZ #18787]
19961         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19962         clobber registers.
19963         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19964         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19965         Cast return to __typeof (oldval).
19967 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19969         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19970         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19971         and delete sys/syscall.h include.
19973 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #16517]
19976         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19977         (tan): Force underflow exception for arguments with small absolute
19978         value.
19979         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19980         (__kernel_tanf): Force underflow exception for arguments with
19981         small absolute value.
19982         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19983         (__kernel_tanl): Force underflow exception for arguments with
19984         small absolute value.
19985         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19986         (__kernel_tanl): Force underflow exception for arguments with
19987         small absolute value.
19988         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19989         (__kernel_tanl): Force underflow exception for arguments with
19990         small absolute value.
19991         * math/auto-libm-test-in: Add more tests of tan.
19992         * math/auto-libm-test-out: Regenerated.
19994 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19996         Fix sysdeps/i386/fpu/s_scalbn.S build
19998         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20000 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20002         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20004 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20006         Fix gcrt0.o compilation
20008         When static-start-installed-name is different from
20009         start-installed-name, we must not use the shared objects.
20011         * csu/Makefile
20012         (extra-objs): Add gmon-start.o when building shared library and
20013         $(static-start-installed-name) is different from
20014         $(start-installed-name).
20015         $(objpfx)g$(static-start-installed-name): When building shared
20016         library and $(static-start-installed-name) is different from
20017         $(static-start-installed-name), revert to non-shared rule,
20018         i.e. using $(objpfx)% and gmon-start.o.
20020 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20022         [BZ #16519]
20023         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20024         (__ieee754_sinh): Force underflow exception for arguments with
20025         small absolute value.
20026         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20027         (__ieee754_sinhf): Force underflow exception for arguments with
20028         small absolute value.
20029         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20030         (__ieee754_sinhl): Force underflow exception for arguments with
20031         small absolute value.
20032         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20033         (__ieee754_sinhl): Force underflow exception for arguments with
20034         small absolute value.
20035         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20036         (__ieee754_sinhl): Force underflow exception for arguments with
20037         small absolute value.
20038         * math/auto-libm-test-in: Add more tests of sinh.
20039         * math/auto-libm-test-out: Regenerated.
20040         * sysdeps/i386/fpu/libm-test-ulps: Update.
20042 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20044         * libio/oldfileops.c: Include unistd.h.
20046 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20048         * stdlib/isomac.c: Include ctype.h.
20050 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20052         * dirent/tst-seekdir.c (main): Converted to ...
20053         (do_test): ... this.
20054         (TEST_FUNCTION): New macro.
20055         Include test-skeleton.c.
20056         * elf/tst-dlmodcount.c (main): Converted to ...
20057         (do_test): ... this.
20058         (TEST_FUNCTION): New macro.
20059         Include test-skeleton.c.
20060         * elf/tst-order-main.c (main): Converted to ...
20061         (do_test): ... this.
20062         (TEST_FUNCTION): New macro.
20063         Include test-skeleton.c.
20064         * elf/tst-pie2.c (main): Converted to ...
20065         (do_test): ... this.
20066         (TEST_FUNCTION): New macro.
20067         Include test-skeleton.c.
20068         * inet/tst-ether_aton.c (main): Converted to ...
20069         (do_test): ... this.
20070         (TEST_FUNCTION): New macro.
20071         Include test-skeleton.c.
20072         * misc/tst-mntent.c (main): Converted to ...
20073         (do_test): ... this.
20074         (TEST_FUNCTION): New macro.
20075         Include test-skeleton.c.
20076         * misc/tst-tsearch.c (main): Converted to ...
20077         (do_test): ... this.
20078         (TEST_FUNCTION): New macro.
20079         Include test-skeleton.c.
20080         * posix/tst-regexloc.c (main): Converted to ...
20081         (do_test): ... this.
20082         (TEST_FUNCTION): New macro.
20083         Include test-skeleton.c.
20084         * resolv/tst-aton.c (main): Converted to ...
20085         (do_test): ... this.
20086         (TEST_FUNCTION): New macro.
20087         Include test-skeleton.c.
20088         * stdio-common/test-fwrite.c (main): Converted to ...
20089         (do_test): ... this.
20090         (TEST_FUNCTION): New macro.
20091         Include test-skeleton.c.
20092         * stdio-common/tst-ferror.c (main): Converted to ...
20093         (do_test): ... this.
20094         (TEST_FUNCTION): New macro.
20095         Include test-skeleton.c.
20096         * stdio-common/tst-printf.c (main): Converted to ...
20097         (do_test): ... this.
20098         (TEST_FUNCTION): New macro.
20099         Include test-skeleton.c.
20100         * stdio-common/tst-printfsz.c (main): Converted to ...
20101         (do_test): ... this.
20102         (TEST_FUNCTION): New macro.
20103         Include test-skeleton.c.
20104         * stdlib/tst-strtod.c (main): Converted to ...
20105         (do_test): ... this.
20106         (TEST_FUNCTION): New macro.
20107         Include test-skeleton.c.
20108         * string/tst-strlen.c (main): Converted to ...
20109         (do_test): ... this.
20110         (TEST_FUNCTION): New macro.
20111         Include test-skeleton.c.
20112         * string/tst-svc.c (main): Converted to ...
20113         (do_test): ... this.
20114         (TEST_FUNCTION): New macro.
20115         Include test-skeleton.c.
20116         * time/tst-strptime.c (main): Converted to ...
20117         (do_test): ... this.
20118         (TEST_FUNCTION): New macro.
20119         Include test-skeleton.c.
20120         * timezone/tst-timezone.c (main): Converted to ...
20121         (do_test): ... this.
20122         (TEST_FUNCTION): New macro.
20123         Include test-skeleton.c.
20125 2015-08-05  Zack Weinberg  <zackw@panix.com>
20127         * misc/regexp.h: Update comments.
20129 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20131         [BZ #18635]
20132         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20133         before return label.
20135 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20137         [BZ #18661]
20138         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20139         when calling __errno_location.
20140         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20141         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20143 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20145         [BZ #18661]
20146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20147         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20148         __gettimeofday.
20150 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20152         [BZ #18661]
20153         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20154         (__start_context): Don't use pop to restore %rdi so that stack
20155         is aligned to 16 bytes when calling __setcontext.
20157 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20159         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20160         only for libc.
20161         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20163 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20165         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20166         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20167         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20169 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20171         * string/memccpy.c (memccpy):
20172         Improve performance by using memchr/memcpy/__mempcpy.
20174 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20176         * string/strncpy.c (strncpy):
20177         Improve performance by using __strnlen/memcpy.
20179 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20181         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20182         Optimize to avoid an unnecessary FPCR read.
20184 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20186         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20187         Optimize to reduce FPCR/FPSR accesses.
20189 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20191         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20192         dead->data[category] != NULL.
20194 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #18647]
20197         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20198         and |x| close to 1, use absolute value of x when computing log.
20199         * math/auto-libm-test-in: Add more tests of pow.
20200         * math/auto-libm-test-out: Regenerated.
20202 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20204         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20205         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20206         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20208 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20210         [BZ #18525]
20211         * locales/km_KH: Remove timezone definition.
20212         * locales/lo_LA: Likewise.
20213         * locales/my_MM: Likewise.
20214         * locales/nan_TW@latin: Likewise.
20215         * locales/th_TH: Likewise.
20216         * locales/uk_UA: Likewise.
20218 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20220         [BZ #18265]
20221         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20222         (wcsncat): Likewise.
20223         (wcscmp): Likewise.
20224         (wcsncmp): Likewise.
20226 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20228         * test-skeleton.c (usage): New function.
20229         (main): Call usage when opt is '?'.
20231 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20233         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20234         before first use.
20236 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20238         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20239         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20240         in there too.
20242 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20244         * version.h (RELEASE): Set to "development".
20245         (VERSION): Set to "2.22.90"
20247         * version.h (RELEASE): Set to "stable".
20248         (VERSION): Set to "2.22"
20249         * include/features.h (__GLIBC_MINOR__): Set to 22.
20251 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20253         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20254         Restructure macro to avoid "value computed is not used" warning.
20255         (atomic_compare_and_exchange_val_acq): Likewise.
20257 2015-08-04  Andreas Schwab  <schwab@suse.de>
20259         [BZ #18635]
20260         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20261         ret.
20262         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20264 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20266         * po/pl.po: Updated translation.
20267         * po/uk.po: Likewise.
20268         * po/fi.po: Likewise.
20269         * po/ko.po: Likewise.
20270         * po/ru.po: Likewise.
20271         * po/vi.po: Likewise.
20273 2015-07-31  Zack Weinberg  <zackw@panix.com>
20275         [BZ #18681]
20276         * regexp.h: Add unconditional #warning stating that this header
20277         will be removed soon.  Revise banner comment to match.
20278         (compile): Consistently use ERROR instead of RETURN to report
20279         errors (partial fix for bz#18681).
20280         * regexp.c: Don't include regexp.h. Remove some unnecessary
20281         declarations.
20283 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20285         * po/libc.pot: Regenerated.
20287 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20289         [BZ #18740]
20290         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20291         float-vlen4-arch-ext-cflags): Removed.
20292         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20293         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20295 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20297         [BZ #14113]
20298         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20299         aligned to __aligned__.
20300         (pthread_cond_t, pthread_rwlock_t): Likewise.
20302 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20304         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20306 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20308         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20309         (struct sigaction): Change sa_flags from a long to an int, and add
20310         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20312 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20314         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20315         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20316         sysdeps/generic/sysdep.h include.
20317         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20318         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20319         sysdeps/hppa/sysdep.h.
20320         (ENTRY, PSEUDO): Undefine before defining.
20322 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20324         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20325         from scratch to use INTERNAL_SYSCALL.
20327 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20329         [BZ #18078]
20330         * scripts/check-localplt.awk: Support alternate relocations.
20331         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20332         sections.
20333         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20334         malloc entries with + REL R_386_GLOB_DAT.
20335         * sysdeps/x86_64/localplt.data: New file.
20337 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20339         [BZ #18731]
20340         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20341         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20342         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20344 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20346         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20348 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20350         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20351         directly in terms of __sync_fetch_and_add and delete (int) cast.
20353 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20355         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20356         the -D_ASM_IA64_CURRENT_H flag.
20358 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20360         [BZ #18641]
20361         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20363 2015-07-27  Andreas Schwab  <schwab@suse.de>
20365         * conform/conformtest.pl (checknamespace): Filter out string
20366         literals while tokenizing.
20368 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20370         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20371         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20372         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20374 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20376         * nptl/tst-join7mod.c: Add #include <string.h>.
20378 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20380         * sysdeps/nios2/libm-test-ulps: Update.
20382 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20384         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20385         Fix order of arguments to the rt_sigprocmask syscall.
20386         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20387         Likewise.
20389 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20391         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20393 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20395         [BZ #18457]
20396         * nptl/Makefile (tests): New test case tst-join7.
20397         (modules-names): New test case module tst-join7mod.
20398         * nptl/tst-join7.c: New file.
20399         * nptl/tst-join7mod.c: New file.
20400         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20401         all translation units in libc.so, libpthread.so and rtld.
20403 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20407 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20410         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20411         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20412         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20413         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20416         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20417         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20418         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20420         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20421         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20422         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20424         implementation.
20426 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20428         [BZ #17711]
20429         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20430         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20431         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20432         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20433         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20434         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20436 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20438         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20439         instead of just saying load lock in the comments.
20441 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20443         * sysdeps/unix/Subdirs: Moved ...
20444         * sysdeps/posix/Subdirs: ... here.
20445         * login/pty.h (struct termios, struct winsize): Add forward decls.
20446         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20447         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20448         * sysdeps/arm/nacl/libc.abilist: Updated.
20449         * sysdeps/nacl/libutil.abilist: New file.
20451         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20452         (SIGWINCH): New macro.
20454         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20455         * sysdeps/arm/nacl/libc.abilist: Add it.
20457 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20459         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20461 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20463         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20464         Swap __glibc_reserved0 and sa_flags order.
20466 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468         [BZ #18657]
20469         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20470         are pending TLS destructor calls.
20471         * include/link.h (struct link_map): Add concurrency note for
20472         L_TLS_DTOR_COUNT.
20473         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20474         Don't touch the link map flag.  Atomically increment
20475         l_tls_dtor_count.
20476         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20477         Avoid taking the load lock and don't touch the link map flag.
20478         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20479         * stdlib/Makefile (tests): Use it.
20480         * stdlib/tst-tls-atexit.c (do_test): dlopen
20481         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20482         to allow tst-tls-atexit-nodelete test case to use it.
20484 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20486         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20487         to bits/types.h.
20488         (msgqnum_t): New typedef.
20489         (msglen_t): Likewise.
20490         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20491         and msg_qbytes type to msglen_t.
20493 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20495         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20496         pad0 to __glibc_reserved0.
20497         (struct stat64): Likewise.
20499 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20501         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20502         Change sa_flags from a long to an int and add __glibc_reserved0 before
20503         it for padding.
20505 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20507         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20508         anonymous by deleting "siginfo" name.
20510 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20512         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20513         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20514         rather than __nacl_irt_filename.
20515         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20517         * NEWS: New item for arm-nacl port.
20518         * sysdeps/arm/nacl/libc.abilist: New file.
20519         * sysdeps/nacl/ld.abilist: New file.
20520         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20521         * sysdeps/nacl/libanl.abilist: New file.
20522         * sysdeps/nacl/libcrypt.abilist: New file.
20523         * sysdeps/nacl/libdl.abilist: New file.
20524         * sysdeps/nacl/libm.abilist: New file.
20525         * sysdeps/nacl/libpthread.abilist: New file.
20526         * sysdeps/nacl/libresolv.abilist: New file.
20527         * sysdeps/nacl/librt.abilist: New file.
20529 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20531         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20532         __startcontext to initialize the new context.
20533         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20534         up CFI directive to forbid further backtracing.
20536 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20538         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20539         reference.
20540         * charmaps/ANSI_X3.4-1968: Likewise.
20541         * charmaps/BS_4730: Likewise.
20542         * charmaps/BS_VIEWDATA: Likewise.
20543         * charmaps/CP1250: Likewise.
20544         * charmaps/CP1251: Likewise.
20545         * charmaps/CP1252: Likewise.
20546         * charmaps/CP1253: Likewise.
20547         * charmaps/CP1254: Likewise.
20548         * charmaps/CP1255: Likewise.
20549         * charmaps/CP1256: Likewise.
20550         * charmaps/CSN_369103: Likewise.
20551         * charmaps/EBCDIC-DK-NO: Likewise.
20552         * charmaps/GB_1988-80: Likewise.
20553         * charmaps/GREEK-CCITT: Likewise.
20554         * charmaps/GREEK7: Likewise.
20555         * charmaps/INIS-8: Likewise.
20556         * charmaps/ISIRI-3342: Likewise.
20557         * charmaps/ISO_2033-1983: Likewise.
20558         * charmaps/ISO_5427-EXT: Likewise.
20559         * locales/POSIX: Likewise.
20560         * locales/ar_SA: Likewise.
20561         * locales/be_BY: Likewise.
20562         * locales/be_BY@latin: Likewise.
20563         * locales/ca_ES: Likewise.
20564         * locales/cs_CZ: Likewise.
20565         * locales/da_DK: Likewise.
20566         * locales/de_BE: Likewise.
20567         * locales/de_CH: Likewise.
20568         * locales/de_LU: Likewise.
20569         * locales/en_AU: Likewise.
20570         * locales/en_BW: Likewise.
20571         * locales/en_CA: Likewise.
20572         * locales/en_DK: Likewise.
20573         * locales/en_GB: Likewise.
20574         * locales/en_IE: Likewise.
20575         * locales/en_NZ: Likewise.
20576         * locales/en_ZA: Likewise.
20577         * locales/en_ZW: Likewise.
20578         * locales/es_AR: Likewise.
20579         * locales/es_BO: Likewise.
20580         * locales/es_CL: Likewise.
20581         * locales/es_CO: Likewise.
20582         * locales/es_DO: Likewise.
20583         * locales/es_EC: Likewise.
20584         * locales/es_ES: Likewise.
20585         * locales/es_HN: Likewise.
20586         * locales/es_MX: Likewise.
20587         * locales/es_PA: Likewise.
20588         * locales/es_PE: Likewise.
20589         * locales/es_PY: Likewise.
20590         * locales/es_SV: Likewise.
20591         * locales/es_US: Likewise.
20592         * locales/es_UY: Likewise.
20593         * locales/es_VE: Likewise.
20594         * locales/et_EE: Likewise.
20595         * locales/fa_IR: Likewise.
20596         * locales/fo_FO: Likewise.
20597         * locales/fr_CA: Likewise.
20598         * locales/fr_CH: Likewise.
20599         * locales/gv_GB: Likewise.
20600         * locales/he_IL: Likewise.
20601         * locales/hr_HR: Likewise.
20602         * locales/id_ID: Likewise.
20603         * locales/is_IS: Likewise.
20604         * locales/it_CH: Likewise.
20605         * locales/iw_IL: Likewise.
20606         * locales/kl_GL: Likewise.
20607         * locales/ko_KR: Likewise.
20608         * locales/kw_GB: Likewise.
20609         * locales/lg_UG: Likewise.
20610         * locales/lt_LT: Likewise.
20611         * locales/lv_LV: Likewise.
20612         * locales/mi_NZ: Likewise.
20613         * locales/nhn_MX: Likewise.
20614         * locales/nl_BE: Likewise.
20615         * locales/pl_PL: Likewise.
20616         * locales/sk_SK: Likewise.
20617         * locales/sl_SI: Likewise.
20618         * locales/sv_FI: Likewise.
20619         * locales/tl_PH: Likewise.
20620         * locales/tr_TR: Likewise.
20621         * locales/vi_VN: Likewise.
20623 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20625         [BZ #17475]
20626         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20627         of tu_IN and bh_IN.
20629 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20631         [BZ #18694]
20632         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20633         bits/wordsize.h.
20634         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20636 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20638         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20639         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20640         (spawn_thread): New function.
20641         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20642         (do_test): ... here.  Use IS_LOADED to test for its
20643         availability.
20645 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20647         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20649 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20651         [BZ #18696]
20652         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20653         si_addr_bnd.
20654         (si_lower): New.
20655         (si_upper): Likewise.
20657 2015-07-16  David S. Miller  <davem@davemloft.net>
20659         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20661 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20663         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20664         buffer.
20665         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20666         fail output information.
20668 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20671         and strstr-ppc64..
20672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20673         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20674         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20675         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20676         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20678 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20680         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20681         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20682         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20683         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20685 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20687         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20688         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20689         rtld_hidden_proto.
20690         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20692 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20694         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20695         the test can fail.
20697         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20699         [BZ #18676]
20700         * elf/tst-nodelete-opened.c: New test case.
20701         * elf/tst-nodelete-opened-lib.c: New test case module.
20702         * elf/Makefile (tests, modules-names): Use them.
20703         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20704         early.
20706 2015-07-15  David S. Miller  <davem@davemloft.net>
20708         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20709         futex-intenal.h
20710         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20711         * sysdeps/sparc/sparc64/Makefile: Likewise.
20712         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20713         Remove space from macro define.
20714         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20716 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20718         [BZ #17475]
20719         * locale/iso-639.def: Update Bhili and Tulu language codes as
20720         per iso639-3.
20722 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20724         * elf/tst-leaks1.c (main): Converted to ...
20725         (do_test): ... this.
20726         (TEST_FUNCTION): New macro.
20727         Include test-skeleton.c.
20728         * localedata/tst-langinfo.c (main): Converted to ...
20729         (do_test): ... this.
20730         (TEST_FUNCTION): New macro.
20731         Include test-skeleton.c.
20732         * math/test-fpucw.c (main): Converted to ...
20733         (do_test): ... this.
20734         (TEST_FUNCTION): New macro.
20735         Include test-skeleton.c.
20736         * math/test-tgmath.c (main): Converted to ...
20737         (do_test): ... this.
20738         (TEST_FUNCTION): New macro.
20739         Include test-skeleton.c.
20740         * math/test-tgmath2.c (main): Converted to ...
20741         (do_test): ... this.
20742         (TEST_FUNCTION): New macro.
20743         Include test-skeleton.c.
20744         * setjmp/tst-setjmp.c (main): Converted to ...
20745         (do_test): ... this.
20746         (TEST_FUNCTION): New macro.
20747         Include test-skeleton.c.
20748         * stdio-common/tst-sscanf.c (main): Converted to ...
20749         (do_test): ... this.
20750         (TEST_FUNCTION): New macro.
20751         Include test-skeleton.c.
20752         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20753         (do_test): ... this.
20754         (TEST_FUNCTION): New macro.
20755         Include test-skeleton.c.
20757         * elf/tst-audit9.c (main): Converted to ...
20758         (do_test): ... this.
20759         (TEST_FUNCTION): New macro.
20760         Include test-skeleton.c.
20762 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20764         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20766 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20768         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20769         New variable.
20771 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20773         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20775 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20777         * sysdeps/generic/dl-fileid.h: New file.
20778         * sysdeps/posix/dl-fileid.h: New file.
20779         * sysdeps/nacl/dl-fileid.h: New file.
20780         * include/link.h: Include <dl-fileid.h>.
20781         (struct link_map): Replace l_dev and l_ino with l_file_id.
20782         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20783         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20784         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20786 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20788         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20790 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20792         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20793         Add iff $CXX is set.
20794         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20795         Likewise.
20796         (tst-nodelete-zmodiff): Likewise.
20797         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20799 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20801         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20803 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20805         * sysdeps/aarch64/fpu/math_private.h
20806         (define math_opt_barrier): Add AArch64 version.
20807         (math_force_eval): Likewise.
20809 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20811         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20813 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20815         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20816         %ld with %jd and cast to intmax_t.
20817         (do_test_length_zero): Likewise.
20819 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20821         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20823 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20825         * sysdeps/tile/libm-test-ulps: Regenerated.
20827         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20828         Comment out the whole function, not just its body.
20830 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20832         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20833         locks.
20835         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20837 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20839         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20840         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20842 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20844         * sysdeps/nptl/futex-internal.h: New file.
20845         * sysdeps/nacl/futex-internal.h: New file.
20846         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20847         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20848         error checking.
20849         (setxid_unmark_thread): Likewise.
20850         (__nptl_setxid): Likewise.
20851         (__wait_lookup_done): Likewise.
20852         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20853         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20854         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20855         * nptl/pthread_once.c (clear_once_control): Likewise.
20856         (__pthread_once_slow): Likewise.
20857         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20858         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20859         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20860         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20861         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20862         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20863         Likewise.
20864         (__pthread_rwlock_rdlock): Likewise.
20865         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20866         Likewise.
20867         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20868         Likewise.
20869         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20870         Likewise.
20871         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20872         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20873         Likewise.
20874         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20875         __ASSUME_PRIVATE_FUTEX check.
20876         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20877         Check that shared futexes are supported.
20878         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20879         wrappers with error checking.
20880         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20881         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20882         * nptl/pthread_barrierattr_setpshared.c
20883         (pthread_barrierattr_setpshared): Check that shared futexes are
20884         supported.
20885         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20886         Likewise.
20887         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20888         Likewise.
20889         * nptl/sem_init.c (futex_private_if_supported): Remove.
20890         (__new_sem_init): Adapt and check that shared futexes are supported.
20891         * nptl/sem_open.c (sem_open): Likewise.
20892         * nptl/sem_post.c (futex_wake): Remove.
20893         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20894         (do_futex_wait): Use futex wrappers with error checking.
20895         * nptl/sem_wait.c: Include lowlevellock.h.
20896         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20897         Use futex_supports_pshared.
20898         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20899         Use futex wrappers with error checking.
20900         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20901         Likewise.
20902         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20903         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20904         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20905         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20906         (futex_wake): Likewise.
20907         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20908         (do_futex_wait): Use futex wrappers with error checking.
20909         (__new_sem_wait_slow): Update EINTR handling.
20910         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20912 2015-07-09  Martin Sebor  <msebor@redhat.com>
20914         [BZ #18435]
20915         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20916         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20917         * nptl/Makefile (test-xfail-tst-once5): Define.
20919 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20921         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20922         * elf/dl-minimal.c: For readability, reorder some definitions and
20923         introduce more page breaks.  Include <stdio.h>.
20924         (__libc_fatal): New function.
20926         * include/unistd.h: Add rtld_hidden_proto for _exit.
20927         * posix/_exit.c: Add rtld_hidden_def.
20928         * sysdeps/mach/hurd/_exit.c: Likewise.
20929         * sysdeps/nacl/_exit.c: Likewise.
20930         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20931         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20933 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20935         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20936         bndmov encoding with zero displacement.
20938 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20939             H.J. Lu  <hongjiu.lu@intel.com>
20941         [BZ #18134]
20942         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20943         * sysdeps/i386/configure: Regenerated.
20944         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20945         (_dl_runtime_profile): Save and restore Intel MPX return bound
20946         registers when calling _dl_call_pltexit.  Add
20947         PRESERVE_BND_REGS_PREFIX before return.
20948         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20949         (LRV_BND1_OFFSET): Likewise.
20950         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20951         lrv_bnd1.
20952         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20953         typo in bndmov encoding.
20954         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20955         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20956         branch instructions to preserve bounds.
20958 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20961         [GLIBC_2.22]: Add fmemopen.
20963 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20965         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20966         returns an error, also try to use host port from __mach_host_self for
20967         the __vm_wire call.
20968         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20970 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20972         [BZ #18400]
20973         [BZ #18648]
20974         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20975         Fix pr_uid and pr_gid members.
20976         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20977         definition to elf_greg_t.
20979 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20981         [BZ #18383]
20982         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20983         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20984         * sysdeps/arm/configure: Regenerated.
20985         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20986         (test-xfail-tst-tlsalign-static): Variable removed.
20988         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20989         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20990         rather than explicit 'ln -s'.
20992         * resolv/rpc/netdb.h: New file.
20993         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20995 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20997         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20998         length buffers.
20999         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21000         test-skeleton.c.
21002         [BZ #6544]
21003         [BZ #11216]
21004         [BZ #12836]
21005         [BZ #13151]
21006         [BZ #13152]
21007         [BZ #14292]
21008         * include/stdio.h (fmemopen): Remove hidden prototype.
21009         (__fmemopen): Add new hidden prototype.
21010         * libio/Makefile: Add oldfmemopen object.
21011         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21012         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21013         compliance.
21014         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21015         symbol compatibility.
21016         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21017         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21018         fmemopen.
21019         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21020         on append and read mode.
21021         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21022         fmemopen.
21023         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21024         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21025         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21026         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21027         Likewise.
21028         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21029         [GLIBC_2.22]: Likewise.
21030         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21031         Likewise.
21032         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21033         Likewise.
21034         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21035         [GLIBC_2.22]: Likewise.
21036         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21037         [GLIBC_2.22]: Likewise.
21038         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21039         [GLIBC_2.22]: Likewise.
21040         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21041         [GLIBC_2.22]: Likewise.
21042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21043         [GLIBC_2.22]: Likewise.
21044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21045         [GLIBC_2.22]: Likewise.
21046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21047         [GLIBC_2.22]: Likewise.
21048         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21049         Likewise.
21050         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21051         Likewise.
21052         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21053         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21054         [GLIBC_2.22]: Likewise.
21055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21056         [GLIBC_2.22]: Likewise.
21057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21058         [GLIBC_2.22]: Likewise.
21059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21060         [GLIBC_2.22]: Likewise.
21061         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21062         Likewise.
21063         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21064         Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21066         Likewise.
21067         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21068         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21070 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21072         [BZ #18643]
21073         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21074         IPV6_PATHMTU, and IPV6_DONTFRAG.
21076 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21078         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21079         and _IO_UNBUFFERED.
21080         * libio/oldfileops.c: Likewise.
21081         * libio/wfileops.c: Likewise.
21083 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21085         * nscd/selinux.c: Delete selinux/flask.h include.
21087 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21089         [BZ #18641]
21090         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21091         (putpwent): Likewise.
21092         (getpwnam): Likewise.
21093         (getpwent_r): Likewise.
21094         (getpwuid_r): Likewise.
21095         (getpwnam_r): Likewise.
21096         (fgetpwent_r): Likewise.
21098 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21100         [BZ #18557]
21101         * inet/rcmd.c (__validuser2_sa): Check user first to
21102         short-circuit host check.
21104 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21105             Mikhail Ilin  <m.ilin@samsung.com>
21107         [BZ #17833]
21108         * elf/Makefile (tests): Add tst-nodelete.
21109         (modules-names): Add tst-nodelete-uniquemod.
21110         (tst-nodelete-uniquemod.so-no-z-defs): New.
21111         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21112         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21113         ($(objpfx)tst-nodelete): Likewise.
21114         ($(objpfx)tst-nodelete.out): Likewise.
21115         (LDFLAGS-tst-nodelete): Likewise.
21116         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21117         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21118         implement forced object deletion.
21119         (_dl_close): Pass false to _dl_close_worker.
21120         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21121         * elf/tst-nodelete.cc: New file.
21122         * elf/tst-nodeletelib.cc: Likewise.
21123         * elf/tst-znodeletelib.cc: Likewise.
21124         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21126 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21128         [BZ #18508]
21129         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21130         Depend on $(libdl).
21131         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21132         is not called infinitely times.
21133         (backtrace_helper): New function.
21134         (trace_arg): New struct.
21135         (st1): Enlarge stack size.
21136         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21137         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21138         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21139         Likewise.
21141 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21143         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21145 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21147         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21148         Include sys/types.h instead of bits/types.h.
21149         Remove inclusion of bits/wordsize.h.
21151 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21153         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21154         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21155         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21156         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21157         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21158         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21160 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21162         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21163         link-defines.sym.
21164         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21165         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21166         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21167         and LR_SIZE.
21168         * sysdeps/i386/link-defines.sym: New file.
21170 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21172         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21173         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21174         ($(objpfx)tst-audit3): New rule.
21175         ($(objpfx)tst-audit3.out): Likewise.
21176         * sysdeps/i386/tst-audit3.c: New file.
21177         * sysdeps/i386/tst-audit3.h: Likewise.
21178         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21179         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21181 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21183         [BZ #18633]
21184         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21185         pointer in C code.
21186         (__strcat_c): Likewise.
21187         (__strcat_g): Likewise.
21189 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21191         [BZ #18592]
21192         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21194 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21196         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21197         New function.  (__ieee754_sqrtf): New function.
21198         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21199         New function.
21200         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21201         New function.
21203 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21205         * sysdeps/ieee754/support.c: Remove unused file.
21207 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21209         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21210         registers instead of d ones so the layout is kernel abi compatible.
21211         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21212         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21213         Likewise.
21215 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21217         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21219 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21221         [BZ #18619]
21222         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21223         and return argument in case of subnormal argument.
21225 2015-07-01  Martin Sebor  <msebor@redhat.com>
21227         [BZ #18435]
21228         * nptl/Makefile: Add tst-once5.cc.
21229         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21230         Remove macro redefinitions.
21231         * nptl/tst-once5.cc: New test.
21233 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21235         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21237         * sysdeps/arm/libm-test-ulps: Regenerated.
21239         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21240         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21242 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21244         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21245         lll_lock_wait_private and lll_futex_wake probes.
21247         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21249         Likewise.
21250         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21251         atomic_spin_nop.
21252         * sysdeps/x86_64/bits/atomic.h: Likewise.
21253         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21254         to atomic_spin_nop and move ...
21255         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21256         ... here and ...
21257         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21258         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21259         atomic_spin_nop instead of BUSY_WAIT_NOP.
21260         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21261         Likewise.
21262         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21263         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21264         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21265         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21266         instead of atomic_delay.
21268 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21270         [BZ #18613]
21271         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21272         X_ADJ not X when adjusting exponent.
21273         (__ieee754_gamma_r): Do intermediate computations in
21274         round-to-nearest then adjust overflowing and underflowing results
21275         as needed.
21276         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21277         of X_ADJ not X when adjusting exponent.
21278         (__ieee754_gammaf_r): Do intermediate computations in
21279         round-to-nearest then adjust overflowing and underflowing results
21280         as needed.
21281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21282         log of X_ADJ not X when adjusting exponent.
21283         (__ieee754_gammal_r): Do intermediate computations in
21284         round-to-nearest then adjust overflowing and underflowing results
21285         as needed.  Use 1.0L not 1.0f as numerator of division.
21286         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21287         log of X_ADJ not X when adjusting exponent.
21288         (__ieee754_gammal_r): Do intermediate computations in
21289         round-to-nearest then adjust overflowing and underflowing results
21290         as needed.  Use 1.0L not 1.0f as numerator of division.
21291         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21292         of X_ADJ not X when adjusting exponent.
21293         (__ieee754_gammal_r): Do intermediate computations in
21294         round-to-nearest then adjust overflowing and underflowing results
21295         as needed.  Use 1.0L not 1.0f as numerator of division.
21296         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21297         to auto-libm-test-in.
21298         (tgamma_test): Use ALL_RM_TEST.
21299         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21300         tests of tgamma with spurious-overflow.
21301         * math/auto-libm-test-out: Regenerated.
21302         * math/gen-libm-have-vector-test.sh: Do not check for START.
21303         * sysdeps/i386/fpu/libm-test-ulps: Update.
21304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21306         [BZ #18612]
21307         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21308         arguments, just return 0.5 times the argument, with underflow
21309         forced as needed.
21310         * math/auto-libm-test-in: Add more tests of j1.
21311         * math/auto-libm-test-out: Regenerated.
21313         [BZ #16559]
21314         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21315         (__ieee754_j1): Force underflow exception for small results.
21316         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21317         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21318         (__ieee754_j1f): Force underflow exception for small results.
21319         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21320         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21321         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21322         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21323         (__ieee754_j1l): Force underflow exception for small results.
21324         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21325         * math/auto-libm-test-in: Add more tests of j1 and jn.
21326         * math/auto-libm-test-out: Regenerated.
21328         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21329         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21330         (PF_MPLS): Likewise.
21331         (AF_IB): Likewise.
21332         (AF_MPLS): Likewise.
21333         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21334         value and macro.
21335         (MS_RMT_MASK): Include MS_LAZYTIME.
21337 2015-06-26  Mel Gorman  <mgorman@suse.de>
21339         [BZ #18502]
21340         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21341         already minimal.
21343 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21345         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21346         (DT_MIPS_NUM): Update.
21347         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21348         DT_MIPS_RLD_MAP_REL.
21350 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21352         [BZ #16559]
21353         [BZ #18602]
21354         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21355         round-to-nearest internally then recompute results that
21356         underflowed to zero in the original rounding mode.
21357         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21358         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21360         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21361         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21362         * sysdeps/i386/fpu/libm-test-ulps: Update.
21363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21365 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21367         * NEWS: Fixed description of link with vector math library.
21369 2015-06-25  Andreas Schwab  <schwab@suse.de>
21371         [BZ #18549]
21372         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21373         * libio/test-fmemopen.c (do_test): Add test for it.
21375 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21377         [BZ #17841]
21378         * Makeconfig (no-pie-ldflag): New.
21379         (+link): Set to $(+link-pie) if default to PIE.
21380         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21381         * config.make.in (build-pie-default): New.
21382         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21383         is default.  AC_SUBST.
21384         * configure: Regenerated.
21385         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21387 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21389         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21390         to 'unsigned int'.
21392         * resolv/gai_misc.h (struct waitlist): Change type of field
21393         counterp to 'volatile unsigned int *'.
21394         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21395         FUTEXADDR and OLDVAL.
21396         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21397         Give local variable TOTAL type 'volatile unsigned int'.
21398         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21399         * resolv/gai_suspend.c (gai_suspend):
21400         Give local variable CNTR type 'unsigned int'.
21402         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21403         counterp to 'volatile unsigned int *'.
21404         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21405         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21406         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21407         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21408         Give local variable TOTAL type 'volatile unsigned int'.
21409         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21411 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21413         [BZ #18383]
21414         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21415         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21416         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21417         comment for i386/x86-64.
21418         (test-xfail-tst-tlsalign-extern-static): Removed.
21420 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21422         * math/test-double.h: New file.
21423         * math/test-float.h: Likewise.
21424         * math/test-ldouble.h: Likewise.
21425         * math/test-math-inline.h: Likewise.
21426         * math/test-math-no-inline.h: Likewise.
21427         * math/test-math-scalar.h: Likewise.
21428         * math/test-math-vector.h: Likewise.
21429         * math/test-vec-loop.h: Remove file.  Contents moved into
21430         test-math-vector.h.
21431         * math/libm-test.inc (MATHCONST): Do not document macro.
21432         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21433         and test-math-scalar.h.
21434         (FUNC): Remove macro.
21435         (FUNC_TEST): Likewise.
21436         (FLOAT): Likewise.
21437         (MATHCONST): Likewise.
21438         (PRINTF_EXPR): Likewise.
21439         (PRINTF_XEXPR): Likewise.
21440         (PRINTF_NEXPR): Likewise.
21441         (TEST_DOUBLE): Likewise.
21442         (TEST_MATHVEC): Likewise.
21443         (__NO_MATH_INLINES): Likewise.
21444         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21445         and test-math-scalar.h.
21446         (FUNC): Remove macro.
21447         (FUNC_TEST): Likewise.
21448         (FLOAT): Likewise.
21449         (MATHCONST): Likewise.
21450         (PRINTF_EXPR): Likewise.
21451         (PRINTF_XEXPR): Likewise.
21452         (PRINTF_NEXPR): Likewise.
21453         (TEST_FLOAT): Likewise.
21454         (TEST_MATHVEC): Likewise.
21455         (__NO_MATH_INLINES): Likewise.
21456         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21457         and test-math-scalar.h.
21458         (FUNC): Remove macro.
21459         (FUNC_TEST): Likewise.
21460         (FLOAT): Likewise.
21461         (MATHCONST): Likewise.
21462         (PRINTF_EXPR): Likewise.
21463         (PRINTF_XEXPR): Likewise.
21464         (PRINTF_NEXPR): Likewise.
21465         (TEST_DOUBLE): Likewise.
21466         (TEST_MATHVEC): Likewise.
21467         (TEST_INLINE): Likewise.
21468         (__NO_MATH_INLINES): Likewise.
21469         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21470         test-math-scalar.h.
21471         (FUNC): Remove macro.
21472         (FUNC_TEST): Likewise.
21473         (FLOAT): Likewise.
21474         (MATHCONST): Likewise.
21475         (PRINTF_EXPR): Likewise.
21476         (PRINTF_XEXPR): Likewise.
21477         (PRINTF_NEXPR): Likewise.
21478         (TEST_FLOAT): Likewise.
21479         (TEST_MATHVEC): Likewise.
21480         (TEST_INLINE): Likewise.
21481         (__NO_MATH_INLINES): Likewise.
21482         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21483         and test-math-scalar.h.
21484         (FUNC): Remove macro.
21485         (FUNC_TEST): Likewise.
21486         (FLOAT): Likewise.
21487         (MATHCONST): Likewise.
21488         (PRINTF_EXPR): Likewise.
21489         (PRINTF_XEXPR): Likewise.
21490         (PRINTF_NEXPR): Likewise.
21491         (TEST_LDOUBLE): Likewise.
21492         (TEST_MATHVEC): Likewise.
21493         (TEST_INLINE): Likewise.
21494         (__NO_MATH_INLINES): Likewise.
21495         * math/test-ldouble.c: Include test-ldouble.h,
21496         test-math-no-inline.h and test-math-scalar.h.
21497         (FUNC): Remove macro.
21498         (FUNC_TEST): Likewise.
21499         (FLOAT): Likewise.
21500         (MATHCONST): Likewise.
21501         (PRINTF_EXPR): Likewise.
21502         (PRINTF_XEXPR): Likewise.
21503         (PRINTF_NEXPR): Likewise.
21504         (TEST_LDOUBLE): Likewise.
21505         (TEST_MATHVEC): Likewise.
21506         (__NO_MATH_INLINES): Likewise.
21507         * math/test-double-vlen2.h: Include test-double.h,
21508         test-math-no-inline.h and test-math-vector.h.
21509         (FLOAT): Remove macro.
21510         (FUNC): Likewise.
21511         (MATHCONST): Likewise.
21512         (PRINTF_EXPR): Likewise.
21513         (PRINTF_XEXPR): Likewise.
21514         (PRINTF_NEXPR): Likewise.
21515         (TEST_DOUBLE): Likewise.
21516         (TEST_MATHVEC): Likewise.
21517         (__NO_MATH_INLINES): Likewise.
21518         (CNCT): Likewise.
21519         (CONCAT): Likewise.
21520         (WRAPPER_NAME): Likewise.
21521         (WRAPPER_DECL): Likewise.
21522         (WRAPPER_DECL_ff): Likewise.
21523         (WRAPPER_DECL_fFF): Likewise.
21524         (VECTOR_WRAPPER): Likewise.
21525         (VECTOR_WRAPPER_ff): Likewise.
21526         (VECTOR_WRAPPER_fFF): Likewise.
21527         (VEC_LEN): New macro.
21528         * math/test-double-vlen4.h: Include test-double.h,
21529         test-math-no-inline.h and test-math-vector.h.
21530         (FLOAT): Remove macro.
21531         (FUNC): Likewise.
21532         (MATHCONST): Likewise.
21533         (PRINTF_EXPR): Likewise.
21534         (PRINTF_XEXPR): Likewise.
21535         (PRINTF_NEXPR): Likewise.
21536         (TEST_DOUBLE): Likewise.
21537         (TEST_MATHVEC): Likewise.
21538         (__NO_MATH_INLINES): Likewise.
21539         (CNCT): Likewise.
21540         (CONCAT): Likewise.
21541         (WRAPPER_NAME): Likewise.
21542         (WRAPPER_DECL): Likewise.
21543         (WRAPPER_DECL_ff): Likewise.
21544         (WRAPPER_DECL_fFF): Likewise.
21545         (VECTOR_WRAPPER): Likewise.
21546         (VECTOR_WRAPPER_ff): Likewise.
21547         (VECTOR_WRAPPER_fFF): Likewise.
21548         (VEC_LEN): New macro.
21549         * math/test-double-vlen8.h: Include test-double.h,
21550         test-math-no-inline.h and test-math-vector.h.
21551         (FLOAT): Remove macro.
21552         (FUNC): Likewise.
21553         (MATHCONST): Likewise.
21554         (PRINTF_EXPR): Likewise.
21555         (PRINTF_XEXPR): Likewise.
21556         (PRINTF_NEXPR): Likewise.
21557         (TEST_DOUBLE): Likewise.
21558         (TEST_MATHVEC): Likewise.
21559         (__NO_MATH_INLINES): Likewise.
21560         (CNCT): Likewise.
21561         (CONCAT): Likewise.
21562         (WRAPPER_NAME): Likewise.
21563         (WRAPPER_DECL): Likewise.
21564         (WRAPPER_DECL_ff): Likewise.
21565         (WRAPPER_DECL_fFF): Likewise.
21566         (VECTOR_WRAPPER): Likewise.
21567         (VECTOR_WRAPPER_ff): Likewise.
21568         (VECTOR_WRAPPER_fFF): Likewise.
21569         (VEC_LEN): New macro.
21570         * math/test-float-vlen4.h: Include test-float.h,
21571         test-math-no-inline.h and test-math-vector.h.
21572         (FLOAT): Remove macro.
21573         (FUNC): Likewise.
21574         (MATHCONST): Likewise.
21575         (PRINTF_EXPR): Likewise.
21576         (PRINTF_XEXPR): Likewise.
21577         (PRINTF_NEXPR): Likewise.
21578         (TEST_FLOAT): Likewise.
21579         (TEST_MATHVEC): Likewise.
21580         (__NO_MATH_INLINES): Likewise.
21581         (CNCT): Likewise.
21582         (CONCAT): Likewise.
21583         (WRAPPER_NAME): Likewise.
21584         (WRAPPER_DECL): Likewise.
21585         (WRAPPER_DECL_ff): Likewise.
21586         (WRAPPER_DECL_fFF): Likewise.
21587         (VECTOR_WRAPPER): Likewise.
21588         (VECTOR_WRAPPER_ff): Likewise.
21589         (VECTOR_WRAPPER_fFF): Likewise.
21590         (VEC_LEN): New macro.
21591         * math/test-float-vlen8.h: Include test-float.h,
21592         test-math-no-inline.h and test-math-vector.h.
21593         (FLOAT): Remove macro.
21594         (FUNC): Likewise.
21595         (MATHCONST): Likewise.
21596         (PRINTF_EXPR): Likewise.
21597         (PRINTF_XEXPR): Likewise.
21598         (PRINTF_NEXPR): Likewise.
21599         (TEST_FLOAT): Likewise.
21600         (TEST_MATHVEC): Likewise.
21601         (__NO_MATH_INLINES): Likewise.
21602         (CNCT): Likewise.
21603         (CONCAT): Likewise.
21604         (WRAPPER_NAME): Likewise.
21605         (WRAPPER_DECL): Likewise.
21606         (WRAPPER_DECL_ff): Likewise.
21607         (WRAPPER_DECL_fFF): Likewise.
21608         (VECTOR_WRAPPER): Likewise.
21609         (VECTOR_WRAPPER_ff): Likewise.
21610         (VECTOR_WRAPPER_fFF): Likewise.
21611         (VEC_LEN): New macro.
21612         * math/test-float-vlen16.h: Include test-float.h,
21613         test-math-no-inline.h and test-math-vector.h.
21614         (FLOAT): Remove macro.
21615         (FUNC): Likewise.
21616         (MATHCONST): Likewise.
21617         (PRINTF_EXPR): Likewise.
21618         (PRINTF_XEXPR): Likewise.
21619         (PRINTF_NEXPR): Likewise.
21620         (TEST_FLOAT): Likewise.
21621         (TEST_MATHVEC): Likewise.
21622         (__NO_MATH_INLINES): Likewise.
21623         (CNCT): Likewise.
21624         (CONCAT): Likewise.
21625         (WRAPPER_NAME): Likewise.
21626         (WRAPPER_DECL): Likewise.
21627         (WRAPPER_DECL_ff): Likewise.
21628         (WRAPPER_DECL_fFF): Likewise.
21629         (VECTOR_WRAPPER): Likewise.
21630         (VECTOR_WRAPPER_ff): Likewise.
21631         (VECTOR_WRAPPER_fFF): Likewise.
21632         (VEC_LEN): New macro.
21633         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21634         test-vec-loop.h.
21635         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21636         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21637         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21638         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21639         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21640         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21641         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21643 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21645         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21646         (__getlogin_r): ... this.
21648 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21650         [BZ #18594]
21651         * math/s_ccosh.c (__ccosh): Compare with least normal value
21652         instead of comparing class with FP_SUBNORMAL.
21653         * math/s_ccoshf.c (__ccoshf): Likewise.
21654         * math/s_ccoshl.c (__ccoshl): Likewise.
21655         * math/s_cexp.c (__cexp): Likewise.
21656         * math/s_cexpf.c (__cexpf): Likewise.
21657         * math/s_cexpl.c (__cexpl): Likewise.
21658         * math/s_csin.c (__csin): Likewise.
21659         * math/s_csinf.c (__csinf): Likewise.
21660         * math/s_csinh.c (__csinh): Likewise.
21661         * math/s_csinhf.c (__csinhf): Likewise.
21662         * math/s_csinhl.c (__csinhl): Likewise.
21663         * math/s_csinl.c (__csinl): Likewise.
21664         * math/s_ctan.c (__ctan): Likewise.
21665         * math/s_ctanf.c (__ctanf): Likewise.
21666         * math/s_ctanh.c (__ctanh): Likewise.
21667         * math/s_ctanhf.c (__ctanhf): Likewise.
21668         * math/s_ctanhl.c (__ctanhl): Likewise.
21669         * math/s_ctanl.c (__ctanl): Likewise.
21670         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21671         csin, csinh, ctan and ctanh.
21672         * math/auto-libm-test-out: Regenerated.
21673         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21674         * sysdeps/i386/fpu/libm-test-ulps: Update.
21675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21677 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21679         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21680         return value is wrong, print the expected value too.
21682 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21684         [BZ #18585]
21685         * elf/readlib.c (is_gdb_python_file): New.
21686         (process_file): Don't issue errors on filenames with -gdb.py
21687         suffix.
21689 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21691         * math/auto-libm-test-in: Add more tests of csin and csinh.
21692         * math/auto-libm-test-out: Regenerated.
21693         * math/libm-test.inc (csin_test_data): Remove tests moved to
21694         auto-libm-test-in.
21695         (csinh_test_data): Likewise.
21697         [BZ #18593]
21698         * math/s_csin.c (__csin): Negate before rather than after possibly
21699         overflowing multiplication.
21700         * math/s_csinf.c (__csinf): Likewise.
21701         * math/s_csinh.c (__csinh): Likewise.
21702         * math/s_csinhf.c (__csinhf): Likewise.
21703         * math/s_csinhl.c (__csinhl): Likewise.
21704         * math/s_csinl.c (__csinl): Likewise.
21705         * math/auto-libm-test-in: Add some tests of csin and csinh.
21706         * math/auto-libm-test-out: Regenerated.
21707         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21708         (csinh_test_data): Likewise.
21709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21711         [BZ #18586]
21712         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21713         underflow exception for small results.
21715 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21717         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21718         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21719         variable and included header.
21720         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21721         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21722         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21723         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21725         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21728         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21729         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21730         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21731         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21732         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21733         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21734         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21735         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21737 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21739         [BZ #16526]
21740         [BZ #16538]
21741         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21742         (__sin): Force underflow exception for arguments with small
21743         absolute value.
21744         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21745         (__kernel_sinf): Force underflow exception for arguments with
21746         small absolute value.
21747         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21748         (__kernel_sincosl): Force underflow exception for arguments with
21749         small absolute value.
21750         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21751         (__kernel_sinl): Force underflow exception for arguments with
21752         small absolute value.
21753         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21754         (__kernel_sincosl): Force underflow exception for arguments with
21755         small absolute value.
21756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21757         (__kernel_sinl): Force underflow exception for arguments with
21758         small absolute value.
21759         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21760         (__kernel_sinl): Force underflow exception for arguments with
21761         small absolute value.
21762         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21763         (__kernel_sinf): Force underflow exception for arguments with
21764         small absolute value.
21765         * math/auto-libm-test-in: Add more tests of sin and sincos.
21766         * math/auto-libm-test-out: Regenerated.
21768         [BZ #18245]
21769         [BZ #18583]
21770         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21771         (__kernel_standard_l): Use feholdexcept and fesetenv around
21772         conversion to double instead of special-casing overflow and
21773         underflow.
21774         * math/libm-test.inc (fmod_test_data): Add more tests.
21775         (remainder_test_data): Likewise.
21776         (sqrt_test_data): Likewise.
21778 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21780         [BZ #17403]
21781         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21782         atomic_read_barrier, atomic_write_barrier): Define.
21783         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21784         atomic_read_barrier, atomic_write_barrier): Define.
21786 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21788         * math/Makefile [$(PERL) != no]
21789         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21790         dependency on libm-test.stmp below the inclusion of Rules.
21792 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21795         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21796         and included header.
21797         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21798         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21799         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21801         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21802         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21803         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21804         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21805         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21806         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21807         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21808         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21809         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21810         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21811         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21812         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21813         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21814         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21815         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21817 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21819         [BZ #18371]
21820         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21821         intermediate but not final result might underflow.
21822         * math/s_csqrtf.c (__csqrtf): Likewise.
21823         * math/s_csqrtl.c (__csqrtl): Likewise.
21824         * math/auto-libm-test-in: Add more tests of csqrt.
21825         * math/auto-libm-test-out: Regenerated.
21826         * sysdeps/i386/fpu/libm-test-ulps: Update.
21828         [BZ #18219]
21829         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21830         threshold on absolute value of exponent for which scaling is used.
21831         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21832         * math/auto-libm-test-in: Add more tests of exp2.
21833         * math/auto-libm-test-out: Regenerated.
21835 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21837         [BZ #17977]
21838         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21839         when initializing interface list, based on the bug analysis
21840         and the patch proposed by Eric Newton.
21841         * resolv/tst-res_hconf_reorder.c: New test.
21842         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21843         tst-res_hconf_reorder.
21844         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21845         and $(shared-thread-library).
21846         (tst-res_hconf_reorder-ENV): New variable.
21848         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21849         in comment.
21851 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21853         [BZ #16353]
21854         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21855         (__expm1): Force underflow exception for arguments with small
21856         absolute value.
21857         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21858         (__expm1f): Force underflow exception for arguments with small
21859         absolute value.
21860         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21861         (__expm1): Force underflow exception for arguments with small
21862         absolute value.
21863         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21864         (__expm1f): Force underflow exception for arguments with small
21865         absolute value.
21866         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21867         Check for small arguments before calling __expm1.
21868         * math/auto-libm-test-in: Do not mark underflow exceptions as
21869         possibly missing for bug 16353.
21870         * math/auto-libm-test-out: Regenerated.
21872 2015-06-22  Andreas Schwab  <schwab@suse.de>
21874         [BZ #18513]
21875         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21876         PTR queries.
21878 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21880         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21882         * string/strcoll_l.c: Remove unused struct element idxnow.
21884 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21886         [BZ #18569]
21887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21888         underflow and return argument in case of subnormal argument.
21889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21890         Likewise.
21891         * math/auto-libm-test-in: Add more tests of expm1.
21892         * math/auto-libm-test-out: Regenerated.
21894         [BZ #16361]
21895         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21896         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21897         tiny results.
21898         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21899         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21900         tiny results.
21901         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21902         mark underflow exceptions as possibly missing for bug 16361.
21903         * math/auto-libm-test-out: Regenerated.
21905 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21907         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21908         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21909         Remove variable.
21910         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21911         (test-xfail-XOPEN2K8/utmpx.h/conform).
21913         * conform/conformtest.pl ($xerrors): New variable.
21914         (note_error): New function.
21915         (compiletest): New argument $xfail.  Use not_error.
21916         (runtest): Likewise.
21917         (top level): Handle xfail- lines.  Update calls to compiletest and
21918         runtest.  Handle xfail- and optional- in headers listed with
21919         allow-header.
21920         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21921         (O_EXEC): Likewise.
21922         (O_SEARCH): Likewise.
21923         * conform/data/stropts.h-data (ioctl): Likewise.
21924         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21925         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21926         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21927         (msghdr.msg_controllen): Likewise.
21928         (cmsghdr.cmsg_len): Likewise.
21929         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21930         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21931         variable.
21932         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21933         (test-xfail-XPG4/stropts.h/conform): Likewise.
21934         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21935         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21936         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21937         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21938         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21939         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21940         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21941         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21942         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21943         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21944         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21945         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21946         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21947         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21948         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21949         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21950         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21951         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21952         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21954 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21956         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21957         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21958         definitions for proper unfolding of __MATHDECL_VEC.
21960 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21962         * benchtests/bench-strcoll.c:
21963         Include string.h.
21964         (main): Remove unused variable res.
21966 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21968         * timezone/Makefile (%/UTC %/Universal):
21969         Generate test-result files for UTC and Universal.
21971 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21973         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21975 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #16350]
21978         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21979         for arguments with small absolute value.
21980         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21981         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21982         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21983         (__asinh): Force underflow exception for arguments with small
21984         absolute value.
21985         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21986         (__asinhf): Force underflow exception for arguments with small
21987         absolute value.
21988         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21989         (__asinhl): Force underflow exception for arguments with small
21990         absolute value.
21991         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21992         (__asinhl): Force underflow exception for arguments with small
21993         absolute value.
21994         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21995         (__asinhl): Force underflow exception for arguments with small
21996         absolute value.
21997         * math/auto-libm-test-in: Do not mark underflow exceptions as
21998         possibly missing for bug 16350.
21999         * math/auto-libm-test-out: Regenerated.
22001         * include/bits/ipc.h: Remove file.
22002         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22003         variable.
22004         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22005         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22006         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22007         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22008         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22009         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22010         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22011         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22012         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22014         * math/auto-libm-test-in: Remove spurious underflow allowance for
22015         tests of cexp.
22016         * math/auto-libm-test-out: Regenerated.
22018         [BZ #18558]
22019         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22020         unconditional definition.
22021         (MCAST_BLOCK_SOURCE): Likewise.
22022         (MCAST_UNBLOCK_SOURCE): Likewise.
22023         (MCAST_LEAVE_GROUP): Likewise.
22024         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22025         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22026         (MCAST_MSFILTER): Likewise.
22027         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22028         Remove variable.
22029         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22030         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22031         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22032         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22033         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22035 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22037         * NEWS: Mention addition of x86_64 vector sincosf.
22038         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22039         * math/test-float-vlen4.h: Likewise.
22040         * math/test-float-vlen8.h: Likewise.
22041         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22042         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22043         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22044         * sysdeps/x86_64/fpu/Versions: New versions added.
22045         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22046         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22047         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22049         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22050         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22051         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22052         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22053         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22054         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22055         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22056         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22057         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22058         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22059         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22060         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22061         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22062         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22063         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22064         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22065         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22066         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22067         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22068         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22070         * NEWS: Mention addition of x86_64 vector sincos.
22071         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22072         * math/math.h (__MATHDECL_VEC): New macro.
22073         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22074         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22075         declaration under condition.
22076         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22077         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22078         TEST_VEC_LOOP change.
22079         * math/test-double-vlen4.h: Likewise.
22080         * math/test-double-vlen8.h: Likewise.
22081         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22082         * math/test-float-vlen4.h: Likewise.
22083         * math/test-float-vlen8.h: Likewise.
22084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22085         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22086         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22087         * sysdeps/x86_64/fpu/Versions: New versions added.
22088         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22089         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22090         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22094         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22095         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22096         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22097         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22098         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22099         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22100         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22101         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22102         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22103         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22105         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22106         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22108         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22109         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22110         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22111         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22113         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22114         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22115         redirections for powf.
22116         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22117         * sysdeps/x86_64/fpu/Versions: New versions added.
22118         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22119         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22120         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22121         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22122         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22123         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22126         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22128         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22129         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22130         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22131         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22132         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22133         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22134         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22135         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22136         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22137         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22138         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22139         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22140         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22141         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22142         * math/test-float-vlen16.h: Fixed 2 argument macro.
22143         * math/test-float-vlen4.h: Likewise.
22144         * math/test-float-vlen8.h: Likewise.
22145         * NEWS: Mention addition of x86_64 vector powf.
22147 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22149         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22150         and redefine.
22151         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22152         and redefine.
22153         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22154         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22155         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22157         [BZ #18553]
22158         * resource/getpriority.c (getpriority): Rename to __getpriority
22159         and define as weak alias of __getpriority.
22160         * resource/setpriority.c (setpriority): Rename to __setpriority
22161         and define as weak alias of __setpriority.
22162         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22163         __getpriority and define as weak alias of __getpriority.
22164         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22165         __setpriority and define as weak alias of __setpriority.
22166         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22167         strong name.
22168         (setpriority): Use __setpriority as strong name.
22169         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22170         __getpriority and define as weak alias of __getpriority.
22171         * include/sys/resource.h (__getpriority): Declare.  Use
22172         libc_hidden_proto.
22173         (__setpriority): Likewise.
22174         (getpriority): Don't use libc_hidden_proto.
22175         (setpriority): Likewise.
22176         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22177         getpriority.  Call __setpriority instead of setpriority.
22178         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22179         Remove variable.
22181         [BZ #18547]
22182         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22183         as weak alias of __getttynam.  Use prototype function definition.
22184         Call __setttyent, __getttyent and __endttyent instead of
22185         setttyent, getttyent and endttyent.
22186         (getttyent): Rename to __getttyent and define as weak alias of
22187         __getttyent.  Call __setttyent instead of setttyent.  Call
22188         __fgets_unlocked instead of fgets_unlocked.
22189         (setttyent): Rename to __setttyent and define as weak alias of
22190         __setttyent.
22191         (endttyent): Rename to __endttyent and define as weak alias of
22192         __endttyent.
22193         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22194         (__setttyent): Likewise.
22195         (__endttyent): Likewise.
22196         (getttyent): Don't use libc_hidden_proto.
22197         (setttyent): Likewise.
22198         (endttyent): Likewise.
22199         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22200         __endttyent instead of setttyent, getttyent and endttyent.
22201         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22202         Remove variable.
22204         [BZ #18546]
22205         * socket/recv.c (__recv): Use libc_hidden_def.
22206         * socket/socket.c (__socket): Likewise.
22207         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22208         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22209         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22210         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22211         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22212         libc_hidden_def.
22213         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22214         libc_hidden_weak.
22215         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22216         Use libc_hidden_proto.
22217         (__recv): Likewise.
22218         * socket/Versions (libc): Export __recv and __socket at version
22219         GLIBC_PRIVATE.
22220         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22221         instead of recv.
22222         (init_mq_netlink): Call __socket instead of socket.
22223         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22224         Remove variable.
22226         [BZ #18545]
22227         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22228         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22229         hidden_weak.
22230         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22231         define as alias of __mq_timedsend.  Use hidden_weak.
22232         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22233         __mq_timedsend as strong name.
22234         (mq_timedreceive): Use __mq_timedreceive as strong name.
22235         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22236         (__mq_timedreceive): Likewise.
22237         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22238         __mq_timedreceive instead of mq_timedreceive.
22239         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22240         instead of mq_timedsend.
22241         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22242         Remove variable.
22244         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22245         hidden_def and hidden_weak instead of libc_hidden_def and
22246         libc_hidden_weak.
22247         (top level): Refer to hidden_def in comment.
22248         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22249         macro.  Use it instead of libc_hidden_def.
22250         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22251         specify __GI_* name explicitly.
22252         (mq_timedreceive): Likewise.
22253         (mq_setattr): Likewise.
22255         [BZ #18544]
22256         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22257         __pthread_barrier_init and define as weak alias of
22258         __pthread_barrier_init.
22259         * sysdeps/sparc/nptl/pthread_barrier_init.c
22260         (pthread_barrier_init): Likewise.
22261         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22262         __pthread_barrier_wait and define as weak alias of
22263         __pthread_barrier_wait.
22264         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22265         (pthread_barrier_wait): Likewise.
22266         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22267         (pthread_barrier_wait): Likewise.
22268         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22269         (pthread_barrier_wait): Likewise.
22270         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22271         (pthread_barrier_wait): Likewise.
22272         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22273         __pthread_barrier_wait at version GLIBC_PRIVATE.
22274         * include/pthread.h (__pthread_barrier_init): Declare.
22275         (__pthread_barrier_wait): Likewise.
22276         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22277         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22278         (helper_thread): Likewise.
22279         (init_mq_netlink): Call __pthread_barrier_init instead of
22280         pthread_barrier_init.
22282         [BZ #18542]
22283         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22284         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22285         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22286         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22287         vswscanf.
22288         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22289         Remove variable.
22291         [BZ #18540]
22292         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22293         strong alias of _IO_fflush.  Use libc_hidden_def.
22294         * libio/iofflush_u.c (fflush_unlocked): Rename to
22295         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22296         Use libc_hidden_weak.
22297         * include/stdio.h (__fflush_unlocked): Declare.  Use
22298         libc_hidden_proto.
22299         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22300         fflush_unlocked.
22301         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22302         Remove variable.
22304         [BZ #18539]
22305         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22306         define as weak alias of __addseverity.
22307         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22308         Remove variable.
22309         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22310         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22311         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22313         [BZ #18536]
22314         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22315         (__tfind): Likewise.
22316         (__tdelete): Likewise.
22317         (__twalk): Likewise.
22318         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22319         __twalk to GLIBC_PRIVATE.
22320         * include/search.h (__tsearch): Use libc_hidden_proto.
22321         (__tfind): Likewise.
22322         (__tdelete): Likewise.
22323         (__twalk): Likewise.
22324         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22325         Call __tdelete instead of tdelete.
22326         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22327         tfind.  Call __tsearch instead of tsearch.
22328         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22329         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22330         Remove variable.
22331         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22333         [BZ #18534]
22334         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22335         (dprintf): Define as a weak alias of __dprintf, not a strong
22336         alias.
22337         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22338         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22339         dprintf.
22340         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22341         Remove variable.
22342         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22343         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22345         [BZ #18533]
22346         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22347         not a strong alias.
22348         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22349         Remove variable.
22351         [BZ #18532]
22352         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22353         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22354         (in6addr_loopback): Rename to __in6addr_loopback and define as
22355         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22356         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22357         libc_hidden_proto.
22358         (__in6addr_any): Likewise.
22359         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22360         in6addr_any.
22361         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22362         variable.
22363         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22365 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22367         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22368         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22369         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22370         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22371         redirections for pow.
22372         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22373         * sysdeps/x86_64/fpu/Versions: New versions added.
22374         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22375         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22376         build of SSE, AVX2 and AVX512 IFUNC versions.
22377         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22378         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22379         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22381         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22382         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22383         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22384         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22385         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22386         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22387         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22388         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22389         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22390         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22391         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22392         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22393         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22394         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22395         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22396         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22397         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22398         * NEWS: Mention addition of x86_64 vector pow.
22400         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22401         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22402         redirections for expf.
22403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22404         * sysdeps/x86_64/fpu/Versions: New versions added.
22405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22407         build of SSE, AVX2 and AVX512 IFUNC versions.
22408         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22414         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22415         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22416         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22417         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22418         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22419         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22420         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22421         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22422         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22423         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22424         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22425         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22426         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22427         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22428         * NEWS: Mention addition of x86_64 vector expf.
22430         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22431         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22434         redirections for exp.
22435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22436         * sysdeps/x86_64/fpu/Versions: New versions added.
22437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22439         build of SSE, AVX2 and AVX512 IFUNC versions.
22440         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22441         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22443         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22444         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22445         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22446         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22447         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22448         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22449         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22450         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22451         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22452         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22453         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22454         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22455         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22456         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22457         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22458         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22459         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22460         * NEWS: Mention addition of x86_64 vector exp.
22462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22463         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22464         redirections for logf.
22465         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22466         * sysdeps/x86_64/fpu/Versions: New versions added.
22467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22468         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22469         build of SSE, AVX2 and AVX512 IFUNC versions.
22470         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22471         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22474         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22476         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22477         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22478         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22479         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22480         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22481         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22482         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22483         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22484         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22485         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22486         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22487         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22488         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22489         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22490         * NEWS: Mention addition of x86_64 vector logf.
22492         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22493         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22495         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22496         redirections for log.
22497         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22498         * sysdeps/x86_64/fpu/Versions: New versions added.
22499         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22500         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22501         build of SSE, AVX2 and AVX512 IFUNC versions.
22502         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22503         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22504         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22505         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22506         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22507         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22508         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22509         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22510         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22511         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22512         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22513         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22514         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22515         test.
22516         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22519         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22520         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22521         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22522         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22523         * NEWS: Mention addition of x86_64 vector log.
22525 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22527         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22528         cfi_adjust_cfa_offset argument.
22529         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22530         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22532         [BZ #18034]
22533         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22534         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22535         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22536         ordering using ldar.
22537         (_dl_tlsdesc_dynamic): Likewise.
22538         (_dl_tlsdesc_return_lazy): Likewise.
22539         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22540         relaxed atomics instead of volatile and synchronize with release store.
22541         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22542         volatile.
22543         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22545 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22548         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22550         * sysdeps/x86_64/fpu/Versions: New versions added.
22551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22553         build of SSE, AVX2 and AVX512 IFUNC versions.
22554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22560         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22561         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22562         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22563         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22564         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22565         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22566         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22567         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22568         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22569         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22570         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22572         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22573         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22574         * NEWS: Mention addition of x86_64 vector sinf.
22576 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22578         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22579         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22580         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22581         Remove variable.
22582         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22583         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22585 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22587         [BZ #18530]
22588         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22589         strong alias of _IO_fputs.  Use libc_hidden_def.
22590         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22591         and define as weak alias of __fputs_unlocked.  Use
22592         libc_hidden_weak.
22593         * include/stdio.h (__fputs_unlocked): Declare.  Use
22594         libc_hidden_proto.
22595         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22596         fputs_unlocked.
22598         [BZ #18529]
22599         * resolv/netdb.h [__USE_POSIX]: Change condition to
22600         [__USE_XOPEN2K].
22601         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22602         not expect.
22603         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22604         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22605         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22606         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22607         [XPG4 || UNIX98] (AI_ALL): Likewise.
22608         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22609         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22610         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22611         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22612         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22613         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22614         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22615         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22616         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22617         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22618         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22619         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22620         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22621         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22622         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22623         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22624         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22625         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22626         [XPG4 || UNIX98] (gai_strerror): Likewise.
22627         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22628         [XPG4 || UNIX98] (getnameinfo): Likewise.
22630         [BZ #18528]
22631         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22632         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22633         __USE_XOPEN2K8].
22634         (getgrent): Likewise.
22635         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22636         expect.
22637         [XPG3 || POSIX2008] (endgrent): Likewise.
22638         [XPG3] (setgrent): Likewise.
22639         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22640         variable.
22641         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22643         [BZ #18527]
22644         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22645         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22646         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22647         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22648         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22649         * include/unistd.h (__getlogin_r): Declare.  Use
22650         libc_hidden_proto.
22651         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22652         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22653         variable.
22654         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22655         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22656         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22658 2015-06-12  Martin Sebor  <msebor@redhat.com>
22660         [BZ #18512]
22661         * Makerules (check-install-supported): New target.
22662         (install): Add check-install-supported as a dependency.
22663         * manual/install.texi (Installing the C Library): Document
22664         that overriding prefix and exec_prefix is not supported.
22665         Mention DESTDIR.
22666         * INSTALL: Regenerate from the above.
22668 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22670         [BZ #18519]
22671         * posix/Versions (libc): Export __libc_pread at version
22672         GLIBC_PRIVATE.
22673         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22674         instead of pread.
22675         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22676         variable.
22678         [BZ #18522]
22679         * misc/efgcvt_r.c
22680         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22681         (cvt_symbol): Use weak_alias instead of strong_alias.
22682         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22683         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22684         Remove variable.
22685         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22686         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22688         [BZ #18520]
22689         * inet/herrno.c (h_errno): Rename to __h_errno.
22690         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22691         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22692         to __h_errno instead of h_errno.
22693         * nptl/herrno.c (h_errno): Rename to __h_errno.
22694         (__h_errno_location): Refer to __h_errno not h_errno.
22695         * resolv/Versions (h_errno): Rename to __h_errno.
22696         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22697         Remove variable.
22698         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22700 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22702         * configure.ac: More strict check for AVX512 assembler support.
22703         * configure: Regenerated.
22705         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22706         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22708         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22710         * sysdeps/x86_64/fpu/Versions: New versions added.
22711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22712         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22713         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22717         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22720         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22721         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22722         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22723         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22724         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22725         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22726         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22727         test.
22728         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22731         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22732         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22733         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22734         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22735         * NEWS: Mention addition of x86_64 vector sin.
22737 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22739         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22740         comment.
22742 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22744         [BZ #18479]
22745         * nptl/pt-interp.c: New file.
22746         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22747         Add pt-interp.
22748         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22749         $(common-objpfx)runtime-linker.h.
22751 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22753         * Makeconfig (+interp): Remove unused variable.
22754         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22755         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22756         $(elf-objpfx)runtime-linker.h.
22757         ($(elf-objpfx)runtime-linker.h): Rename to
22758         $(common-objpfx)runtime-linker.h and move ...
22759         * Makerules [$(build-shared) = yes]: ... here.
22760         * elf/interp.c: Include <runtime-linker.h> instead of
22761         <elf/runtime-linker.h>.
22763 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22765         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22766         (__gettimeofday_syscall): Remove vsyscall fallback.
22767         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22768         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22769         Add syscall fallback function.
22770         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22771         if vDSO is not present.
22772         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22773         fallback function.
22774         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22775         present.
22776         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22777         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22779 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22781         [BZ #18497]
22782         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22783         of wcscmp.
22784         (wcscmp): Define as weak alias of WCSCMP.
22785         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22786         wcscoll.
22787         (USE_HIDDEN_DEF): Define.
22788         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22789         __wcscoll.  Don't use libc_hidden_weak.
22790         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22791         wcscmp.
22792         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22793         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22794         __GI_wcscmp.
22795         (weak_alias): Undefine and redefine.
22796         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22797         __wcscmp and define as weak alias of __wcscmp.
22798         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22799         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22800         (__wcscoll): Likewise.
22801         (wcscmp): Don't use libc_hidden_proto.
22802         (wcscoll): Likewise.
22803         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22804         wcscoll.
22805         * posix/regexec.c (check_node_accept_bytes): Likewise.
22806         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22807         variable.
22808         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22809         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22811         [BZ #18507]
22812         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22813         __fstatvfs and define as weak alias of __fstatvfs.  Use
22814         libc_hidden_weak.
22815         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22816         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22817         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22818         Define as alias of __fstatvfs, not fstatvfs.
22819         (fstatvfs64): Likewise.
22820         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22821         Define as alias of __statvfs, not statvfs.
22822         (statvfs64): Likewise.
22823         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22824         Remove variable.
22826 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22829         (HAVE_GETCPU_VSYSCALL): Define.
22830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22831         (HAVE_GETCPU_VSYSCALL): Likewise.
22832         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22833         * sysdeps/unix/sysv/linux/sched_getcpu.c
22834         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22835         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22836         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22837         prototype.
22838         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22839         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22840         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22842         Define.
22843         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22844         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22848 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22850         * sysdeps/x86_64/fpu/Makefile: New file.
22851         * sysdeps/x86_64/fpu/Versions: New file.
22852         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22853         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22854         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22855         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22856         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22857         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22858         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22866         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22868         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22869         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22870         * sysdeps/x86_64/configure: Regenerated.
22871         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22872         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22873         * manual/install.texi (Configuring and compiling): Document
22874         --disable-mathvec.
22875         * INSTALL: Regenerated.
22876         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22878         * math/Makefile: Added rules for vector tests.
22879         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22880         declaration under condition.
22881         * math/test-double-vlen2.h: New file.
22882         * math/test-double-vlen4.h: New file.
22883         * math/test-double-vlen8.h: New file.
22884         * math/test-vec-loop.h: Added initialization macro.
22885         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22887         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22889         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22892         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22893         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22894         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22895         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22897         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22898         * sysdeps/x86_64/fpu/Versions: New versions added.
22899         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22900         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22901         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22902         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22903         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22906         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22907         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22908         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22909         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22910         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22911         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22912         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22913         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22914         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22915         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22916         * NEWS: Mention addition of x86_64 vector cosf.
22918         * math/Makefile: Added CFLAGS for new tests.
22919         * math/test-float-vlen16.h: New file.
22920         * math/test-float-vlen4.h: New file.
22921         * math/test-float-vlen8.h: New file.
22922         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22923         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22925         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22926         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22927         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22928         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22931         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22932         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22934 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22936         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22937         * locale/programs/ld-ctype.c: Likewise.
22939 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22941         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22942         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22943         bit_ZMM16_31_state): New macro.
22944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22945         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22947 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22949         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22951 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22953         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22955 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22957         [BZ #18498]
22958         * libio/memstream.c (open_memstream): Rename to __open_memstream
22959         and define as weak alias of __open_memstream.
22960         * include/stdio.h (__open_memstream): Declare.  Use
22961         libc_hidden_proto.
22962         (open_memstream): Don't use libc_hidden_proto.
22963         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22964         open_memstream.
22965         * posix/getopt.c (_getopt_internal_r): Likewise.
22966         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22967         variable.
22968         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22969         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22970         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22972         [BZ #18496]
22973         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22974         instead of wcrtomb.
22976         [BZ #18483]
22977         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22978         [__USE_XOPEN2K8].  Remove redundant #endif.
22979         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22980         Remove redundant #if.
22981         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22982         Remove variable.
22983         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22984         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22986         [BZ #18495]
22987         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22988         (__iswlower): Likewise.
22989         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22990         (__iswlower): Likewise.
22991         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22992         instead of towlower.
22993         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22994         instead of iswlower.  Call __towupper instead of towupper.
22995         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22996         instead of iswalnum.
22998 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23000         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23001         errors to stderr.
23003 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23005         [BZ #15661]
23006         [BZ #17322]
23007         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23008         Check for overflow properly.  Check for O_APPEND.  Ignore large
23009         file system block sizes.  Add comments about problems.
23010         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23011         * manual/filesys.texi (Storage Allocation): New node.
23013 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23015         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23016         cancellable syscalls.
23017         (SYS_ify): Add guard to no redefine it.
23018         (INLINE_SYSCALL): Likewise.
23019         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23020         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23021         SYSCALL_CANCEL instead.
23022         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23023         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23024         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23025         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23026         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23027         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23028         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23029         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23030         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23031         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23032         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23033         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23034         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23035         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23036         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23038         Likewise.
23039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23040         (__libc_pread64): Likewise.
23041         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23042         (__libc_preadv): Likewise.
23043         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23044         (__libc_readv64): Likewise.
23045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23046         (__libc_pwrite): Likewise.
23047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23048         (__libc_pwrite64): Likewise.
23049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23050         (__libc_pwritev): Likewise.
23051         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23052         (__libc_pwritev64): Likewise.
23053         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23054         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23055         (sync_file_range): Likewise.
23056         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23057         Likewise.
23058         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23059         Likewise.
23060         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23061         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23062         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23063         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23064         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23065         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23066         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23067         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23069         Likewise.
23070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23071         (__libc_read64): Likewise.
23072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23073         Likewise.
23074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23075         Likewise.
23076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23077         Likewise.
23078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23079         Likewise.
23080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23081         (__libc_pread64): Likewise.
23082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23083         Likewise.
23084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23085         (__libc_pwrite64): Likewise.
23086         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23087         (sync_file_range): Likewise.
23088         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23089         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23090         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23091         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23092         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23093         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23094         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23095         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23096         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23097         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23098         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23099         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23100         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23101         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23102         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23103         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23104         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23105         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23106         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23107         Likewise.
23108         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23111         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23112         Likewise.
23113         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23114         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23115         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23116         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23117         Likewise.
23118         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23119         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23120         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23121         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23122         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23124 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23126         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23127         Include dl-vdso.
23128         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23129         Use VDSO routines for gettimeofday, clock_gettime if
23130         available.
23131         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23132         Declare VDSO symbols.
23133         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23134         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23135         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23136         * sysdeps/unix/sysv/linux/arm/Versions: Add
23137         __vdso_clock_gettime.
23139 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23141         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23142         be an inline implementation regardless of library is built within.
23143         (open_not_cancel_2): Likewise.
23144         (__read_nocancel): Likewise.
23145         (__write_nocancel): Likewise.
23146         (openat_not_cancel): Likewise.
23147         (openat_not_cancel_3): Likewise.
23148         (openat64_not_cancel): Likewise.
23149         (openat64_not_cancel_3): Likewise.
23150         (__close_nocancel): Likewise.
23151         (pause_not_cancel): Likewise.
23152         (nanosleep_not_cancel): Likewise.
23153         (sigsuspend_not_cancel): Likewise.
23155 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23157         [BZ #14958]
23158         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23159         wake-up.
23160         (__pthread_rwlock_rdlock_slow): Likewise.
23161         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23162         Likewise.
23163         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23164         Likewise.
23165         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23166         * nptl/tst-rwlock16.c: New file.
23167         * nptl/Makefile (tests): Add new test.
23169 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23171         [BZ #18324]
23172         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23173         missing wake-up of readers.
23174         * nptl/tst-rwlock15.c: New file.
23175         * nptl/Makefile (tests): Add new test.
23177 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23179         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23180         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23181         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23182         and __nacl_supply_interface_rtld.
23183         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23184         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23185         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23186         Add __nacl_supply_interface_rtld.
23187         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23189 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23191         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23192         isfinite.
23193         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23194         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23196 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23198         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23199         __signbit* with standard C99 macros.
23200         * math/e_exp10l.c: Likewise.
23201         * math/e_exp2l.c: Likewise.
23202         * math/e_scalb.c: Likewise.
23203         * math/e_scalbf.c: Likewise.
23204         * math/e_scalbl.c: Likewise.
23205         * math/s_ldexp.c: Likewise.
23206         * math/s_ldexpf.c: Likewise.
23207         * math/s_ldexpl.c: Likewise.
23208         * math/w_atan2.c: Likewise.
23209         * math/w_atan2f.c: Likewise.
23210         * math/w_atan2l.c: Likewise.
23211         * math/w_cosh.c: Likewise.
23212         * math/w_coshf.c: Likewise.
23213         * math/w_coshl.c: Likewise.
23214         * math/w_exp10.c: Likewise.
23215         * math/w_exp10f.c: Likewise.
23216         * math/w_exp10l.c: Likewise.
23217         * math/w_exp2.c: Likewise.
23218         * math/w_exp2f.c: Likewise.
23219         * math/w_exp2l.c: Likewise.
23220         * math/w_fmod.c: Likewise.
23221         * math/w_fmodf.c: Likewise.
23222         * math/w_fmodl.c: Likewise.
23223         * math/w_hypot.c: Likewise.
23224         * math/w_hypotf.c: Likewise.
23225         * math/w_hypotl.c: Likewise.
23226         * math/w_jnl.c: Likewise.
23227         * math/w_lgamma.c: Likewise.
23228         * math/w_lgamma_r.c: Likewise.
23229         * math/w_lgammaf.c: Likewise.
23230         * math/w_lgammaf_r.c: Likewise.
23231         * math/w_lgammal.c: Likewise.
23232         * math/w_lgammal_r.c: Likewise.
23233         * math/w_pow.c: Likewise.
23234         * math/w_powf.c: Likewise.
23235         * math/w_powl.c: Likewise.
23236         * math/w_remainder.c: Likewise.
23237         * math/w_remainderf.c: Likewise.
23238         * math/w_remainderl.c: Likewise.
23239         * math/w_scalb.c: Likewise.
23240         * math/w_scalbf.c: Likewise.
23241         * math/w_scalbl.c: Likewise.
23242         * math/w_scalbln.c: Likewise.
23243         * math/w_scalblnf.c: Likewise.
23244         * math/w_scalblnl.c: Likewise.
23245         * math/w_sinh.c: Likewise.
23246         * math/w_sinhf.c: Likewise.
23247         * math/w_sinhl.c: Likewise.
23248         * math/w_tgamma.c: Likewise.
23249         * math/w_tgammaf.c: Likewise.
23250         * math/w_tgammal.c: Likewise.
23251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23252         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23257         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23259         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23261         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23262         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23263         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23264         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23268         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23269         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23270         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23271         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23274         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23277         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23278         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23279         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23281         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23282         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23283         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23284         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23285         * stdio-common/printf_fp.c: Likewise.
23286         * stdio-common/printf_fphex.c: Likewise.
23287         * stdio-common/printf_size.c: Likewise.
23289 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23291         [BZ #18470]
23292         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23293         strnlen.
23294         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23295         Remove variable.
23296         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23297         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23298         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23299         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23300         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23301         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23302         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23303         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23304         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23305         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23307         [BZ #18468]
23308         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23309         weak alias of __wmemchr.  Use libc_hidden_weak.
23310         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23311         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23312         instead of wmemchr.
23314 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23316         [BZ #18383]
23317         * elf/tst-tlsalign-extern.c: New file.
23318         * elf/tst-tlsalign-extern-static.c: New file.
23319         * elf/tst-tlsalign-vars.c: New file.
23320         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23321         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23322         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23323         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23324         (test-xfail-tst-tlsalign-extern-static): New variable.
23326 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23328         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23329         Use variable name _sc_err instead of err.
23330         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23331         instead of ret.
23332         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23333         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23334         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23335         (INLINE_SYSCALL): Likewise.
23337         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23338         * include/string.h (__strnlen): Use libc_hidden_proto.
23339         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23340         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23341         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23342         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23343         (libc_hidden_def): Undefine and redefine.
23344         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23345         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23346         __GI_strnlen.
23347         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23348         libc_hidden_def.
23349         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23351         [BZ #18469]
23352         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23353         weak alias of __towlower.  Use libc_hidden_weak.
23354         (towupper): Rename to __towupper and define as weak alias of
23355         __towupper.  Use libc_hidden_weak.
23356         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23357         (__towupper): Likewise.
23358         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23359         __towlower instead of towlower.
23361 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23363         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23364         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23366 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23368         * sysdeps/aarch64/libm-test-ulps: Update.
23370 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23372         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23373         Define.
23374         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23376         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23377         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23378         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23379         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23380         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23382 2015-06-01  Martin Sebor  <msebor@redhat.com>
23384         [BZ #18116]
23385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23386         (__setcontext): Use extended four-operand version of mtsf whenever
23387         possible.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23389         (__novec_swapcontext): Likewise.
23391 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23393         * benchtests/scripts/compare_bench.py: New file.
23394         * benchtests/scripts/import_bench.py (mean): New function.
23395         (split_list): Likewise.
23396         (do_for_all_timings): Likewise.
23397         (compress_timings): Likewise.
23399         * benchtests/scripts/import_bench.py: New file.
23400         * benchtests/scripts/validate_benchout.py: Import import_bench
23401         instead of jsonschema.
23402         (validate_bench): Remove function.
23403         (main): Use import_bench.
23405 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23407         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23408         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23410 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23414 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23416         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23417         set THREAD_SELF->tid to a magic value and futex-wake it.
23418         Pass its address to the thread_exit system call.
23419         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23420         bit is clear.
23421         * sysdeps/nacl/lowlevellock.h: New file.
23422         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23424         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23425         Add TIMEOUT to current time, don't subtract it.
23427 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23429         [BZ #2981]
23430         [BZ #18422]
23431         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23432         ($(objpfx)tst-audit2.out): Also depend on
23433         $(objpfx)tst-auditmod9b.so.
23434         * elf/tst-audit2.c: Include <dlfcn.h>.
23435         (calloc_called): New.
23436         (calloc): Allow to be called more than once.
23437         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23439 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23441         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23442         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23444 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23446         * stdlib/monetary.h: Fix comment.
23448 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23450         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23451         Avoid using variables in #defines that might cause shadowing.
23452         (INTERNAL_VSYSCALL_CALL): Likewise.
23454 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23456         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23458         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23459         * nptl/lll_timedlock_wait.c: ... to this new file.
23460         * nptl/Makefile (libpthread-routines): Add it.
23461         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23462         * nptl/lll_timedwait_tid.c: ... to this new file.
23463         * nptl/Makefile (libpthread-routines): Add it.
23464         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23465         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23466         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23467         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23468         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23469         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23470         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23471         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23472         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23473         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23475 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23477         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23478         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23479         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23480         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23481         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23483         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23485         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23486         * sysdeps/unix/sysv/linux/tile/sysdep.h
23487         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23488         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23489         using vDSO syscall macro.
23491 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23493         [BZ #17293]
23494         * uk_UA: Fix sorting order for Ukrainian locale
23496 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23498         * stdlib/monetary.h: Fix comment.
23500 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23502         [BZ #18234]
23503         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23504         st_mtim and st_ctim members.
23505         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23506         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23507         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23508         (struct stat64): Likewise.
23509         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23510         (struct stat64): Likewise.
23511         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23512         (struct stat64): Likewise.
23514 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23516         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23517         Define and include sysdep-vdso.h.
23518         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23519         Likewise.
23520         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23521         Likewise.
23522         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23523         Define with VDSO_SYMBOL and use PTR_MANGLE.
23524         (__vdso_clock_gettime): Likewise.
23525         (__vdso_clock_getres): Likewise.
23526         (_libc_vdso_platform_setup): Likewise.
23527         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23528         Likewise.
23529         (_libc_vdso_platform_setup): Likewise.
23530         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23531         Likewise.
23532         (__vdso_clock_gettime): Likewise.
23533         (__vdso_clock_getres): Likewise.
23534         (__vdso_get_tbfreq): Likewise.
23535         (__vdso_getcpu): Likewise.
23536         (__vdso_time): Likewise.
23537         (__vdso_sigtramp_rt64): Likewise.
23538         (__vdso_signtramp32): Likewise.
23539         (__vdso_sigtramp_rt32): Likewise.
23540         (_libc_vdso_platform_setup): Likewise.
23541         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23542         Likewise.
23543         (__vdso_clock_gettime): Likewise.
23544         (__vdso_clock_getres): Likewise.
23545         (_libc_vdso_platform_setup): Likewise.
23546         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23547         Likewise.
23548         (__vdso_clock_gettime): Likewise.
23549         (_libc_vdso_platform_setup): Likewise.
23550         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23551         Likewise.
23552         (__vdso_getcpu): Likewise.
23553         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23554         Use VDSO_SYMBOL macro to define.
23555         (__vdso_clock_gettime): Likewise.
23556         (__vdso_clock_getres): Likewise.
23557         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23558         Likewise.
23559         (__vdso_clock_gettime): Likewise.
23560         (__vdso_clock_getres): Likewise.
23561         (__vdso_get_tbfreq): Likewise.
23562         (__vdso_getcpu): Likewise.
23563         (__vdso_time): Likewise.
23564         (__vdso_sigtramp_rt64): Likewise.
23565         (__vdso_signtramp32): Likewise.
23566         (__vdso_sigtramp_rt32): Likewise.
23567         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23568         Likewise.
23569         (__vdso_clock_gettime): Likewise.
23570         (__vdso_clock_getres): Likewise.
23571         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23572         Likewise.
23573         (__vdso_clock_gettime): Likewise.
23574         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23575         Likewise.
23576         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23577         macro.
23578         (INTERNAL_VSYSCALL): Likewise.
23579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23580         Remove macro.
23581         (INTERNAL_VSYSCALL): Likewise.
23582         (INTERNAL_VSYSCALL_NCS): Likewise.
23583         (INTERNAL_VSYSCALL_CALL): New macro.
23584         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23586         Likewise.
23587         (INTERNAL_VSYSCALL): Likewise.
23588         (INTERNAL_VSYSCALL_NCS): Likewise.
23589         (INTERNAL_VSYSCALL_CALL): New macro.
23590         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23592         (INLINE_VSYSCALL): Remove macro.
23593         (INTERNAL_VSYSCALL): Remove macro.
23594         (INTERNAL_VSYSCALL_NCS): Remove macro.
23595         (INTERNAL_VSYSCALL_CALL): New macro.
23596         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23597         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23598         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23599         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23600         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23602         (INLINE_VSYSCALL): Remove macro.
23603         (INTERNAL_VSYSCALL): Likewise.
23604         (INTERNAL_VSYSCALL_NCS): Likewise.
23605         (INTERNAL_VSYSCALL_CALL): New macro.
23606         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23607         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23608         PTR_DEMANGLE on vDSO pointer.
23609         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23610         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23611         macro.
23612         (INTERNAL_SYSCALL): Likewise.
23613         (INTERNAL_VSYSCALL_NCS): Remove macro.
23614         (INTERNAL_VSYSCALL_CALL): New macro.
23615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23616         Remove macro.
23617         (INTERNAL_VSYSCALL): Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23619         sysdep-vdso.h instead of libc-vdso.h.
23620         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23621         definition.
23622         (INLINE_VSYSCALL): Likewise.
23623         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23624         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23625         definition.
23626         (INLINE_VSYSCALL): Likewise.
23627         (INTERNAL_VSYSCALL): Likewise.
23628         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23629         * sysdeps/unix/sysv/linux/timespec_get.c
23630         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23631         (timespec_get): Use ANSI prototype.
23632         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23633         and definition for Linux.
23635 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23637         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23638         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23640 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23642         [BZ #2981]
23643         [BZ #18410]
23644         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23645         for missing DT_PLTRELSZ.
23647 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23649         Remove obsolete aliases that broke 'locale -a'
23650         [BZ #18412]
23651         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23652         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23653         breaking some applications that use 'locale -a' output.
23654         Change the encoding of this file from Latin-1 to ASCII to avoid
23655         other potential problems with people grepping this file.
23657 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23659         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23660         -fasynchronous-unwind-tables.
23661         (CFLAGS-sendto.c): Likewise.
23662         (CFLAGS-sendmsg.c): Likewise.
23663         (CFLAGS-connect.c): Likewise.
23664         (CFLAGS-recvmsg.c): Likewise.
23665         (CFLAGS-recvfrom.c): Likewise.
23666         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23667         (SOCKETCALL): New macro: non-cancellable socketcall.
23668         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23669         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23670         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23671         * sysdeps/unix/sysv/linux/accept.c: New file.
23672         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23673         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23674         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23675         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23676         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23677         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23678         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23679         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23680         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23681         * sysdeps/unix/sysv/linux/send.c: Likewise.
23682         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23683         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23684         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23685         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23686         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23687         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23688         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23689         prototype.
23690         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23691         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23692         instead of __internal_xxx function.
23693         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23694         prototype.
23695         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23696         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23697         instead of __internal_xxx function.
23698         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23699         prototype.
23700         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23701         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23702         instead of __internal_xxx function.
23703         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23704         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23705         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23706         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23707         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23708         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23709         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23710         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23711         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23712         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23713         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23714         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23715         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23716         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23717         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23718         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23719         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23720         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23721         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23722         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23725         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23726         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23727         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23728         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23729         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23730         * sysdeps/unix/sysv/linux/send.S: Likewise.
23731         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23732         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23733         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23734         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23735         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23736         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23737         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23738         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23739         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23740         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23741         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23742         socketcall is implemented in GLIBC.
23744 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23746         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23747         (__fma): Ignore uninitialized warnings around packing.
23748         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23749         (__fmaf): Ignore uninitialized warnings around packing.
23750         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23751         (__fmal): Ignore uninitialized warnings around packing.
23753         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23754         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23755         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23756         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23758         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23759         switch statement into default case.
23760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23762         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23763         a conditional in forcing "inexact".
23764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23765         Likewise.
23767 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23769         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23770         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23771         for each INTERNAL_SYSCALL use.
23773 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23775         [BZ #438]
23776         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23777         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23778         variable.
23780         [BZ #18444]
23781         * string/basename.c (basename): Rename to __basename and define as
23782         weak alias of __basename.  Use libc_hidden_weak.
23783         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23784         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23785         __basename instead of basename.
23786         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23787         Remove variable.
23788         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23790 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23792         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23793         (_IO_JUMPS_FILE_plus): New.
23794         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23795         _IO_CAST_FIELD_ACCESS.
23796         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23797         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23798         * libio/freopen.c (freopen): Likewise.
23799         * libio/freopen64.c (freopen64): Likewise.
23800         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23801         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23802         * libio/iofwide.c (_IO_fwide): Likewise.
23803         * libio/memstream.c (open_memstream): Likewise.
23804         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23805         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23806         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23808 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23810         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23811         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23812         NADJ.
23813         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23814         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23815         NADJ.
23816         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23817         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23818         NADJ.
23820         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23821         (p == 4) case.
23823         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23824         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23825         Remove variable.
23826         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23827         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23828         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23830 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23832         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23833         Adjust jump table label generation macros.
23835 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23837         * stdio-common/vfprintf.c (vfprintf): Move local variables
23838         args_malloced, specs, specs_malloced, and the code after
23839         do_positional to the printf_positional function.
23840         (printf_positional): New function.
23842 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23844         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23845         function.
23846         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23847         STEP4_TABLE, process_arg): Move macro definitions
23848         out of the vfprintf function.  (Cosmetic change only.)
23850 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23852         * benchtests/Makefile (stdio-common-bench): Define.
23853         (benchset): Add stdio-common-bench.
23854         * sprintf-inputs: New file.
23855         * sprintf-source.c: New file.
23857 2015-05-21  Andreas Schwab  <schwab@suse.de>
23859         [BZ #13028]
23860         [BZ #17053]
23861         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23862         of struct __res_state.
23863         * resolv/res_send.c (__libc_res_nsend): Likewise.
23864         (get_nsaddr): New function.
23865         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23866         statp directly.
23868 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23870         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23871         -D_POSIX_C_SOURCE=199506L.
23873         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23875         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23876         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23877         Do not mention otherwise.
23878         [POSIX] (_XOPEN_VERSION): Do not expect.
23879         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23880         [POSIX] (_POSIX2_C_BIND): Likewise.
23881         [POSIX] (_POSIX2_VERSION): Likewise.
23882         [POSIX] (_XOPEN_XPG2): Likewise.
23883         [POSIX] (_XOPEN_XPG3): Likewise.
23884         [POSIX] (_XOPEN_XPG4): Likewise.
23885         [POSIX] (_XOPEN_UNIX): Likewise.
23886         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23887         [POSIX] (_POSIX_BARRIERS): Likewise.
23888         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23889         [POSIX] (_POSIX_CPUTIME): Likewise.
23890         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23891         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23892         [POSIX] (_POSIX_SHELL): Likewise.
23893         [POSIX] (_POSIX_SPAWN): Likewise.
23894         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23895         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23896         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23897         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23898         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23899         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23900         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23901         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23902         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23903         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23904         [POSIX] (_POSIX2_PBS): Likewise.
23905         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23906         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23907         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23908         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23909         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23910         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23911         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23912         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23913         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23914         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23915         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23916         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23917         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23918         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23919         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23920         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23921         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23922         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23923         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23924         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23925         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23926         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23927         [POSIX] (_SC_2_C_BIND): Likewise.
23928         [POSIX] (_SC_2_C_VERSION): Likewise.
23929         [POSIX] (_SC_2_PBS): Likewise.
23930         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23931         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23932         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23933         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23934         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23935         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23936         [POSIX] (_SC_BARRIERS): Likewise.
23937         [POSIX] (_SC_BASE): Likewise.
23938         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23939         [POSIX] (_SC_DEVICE_IO): Likewise.
23940         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23941         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23942         [POSIX] (_SC_FD_MGMT): Likewise.
23943         [POSIX] (_SC_FIFO): Likewise.
23944         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23945         [POSIX] (_SC_FILE_LOCKING): Likewise.
23946         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23947         [POSIX] (_SC_IOV_MAX): Likewise.
23948         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23949         [POSIX] (_SC_NETWORKING): Likewise.
23950         [POSIX] (_SC_PAGE_SIZE): Likewise.
23951         [POSIX] (_SC_PASS_MAX): Likewise.
23952         [POSIX] (_SC_PIPE): Likewise.
23953         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23954         [POSIX] (_SC_REGEXP): Likewise.
23955         [POSIX] (_SC_SHELL): Likewise.
23956         [POSIX] (_SC_SIGNALS): Likewise.
23957         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23958         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23959         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23960         [POSIX] (_SC_USER_GROUPS): Likewise.
23961         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23962         [POSIX] (_SC_STREAMS): Likewise.
23963         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23964         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23965         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23966         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23967         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23968         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23969         [POSIX] (_PC_FILESIZEBITS): Likewise.
23970         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23971         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23972         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23973         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23974         [POSIX] (uid_t): Likewise.
23975         [POSIX] (gid_t): Likewise.
23976         [POSIX] (off_t): Likewise.
23977         [POSIX] (pid_t): Likewise.
23978         [POSIX] (cuserid): Allow.
23979         (_SC_2_CHAR_TERM): Require constant.
23980         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23981         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23982         variable.
23984 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23986         * sysdeps/nacl/pthread-pids.h: New file.
23987         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23988         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23990         * nptl/pthread-pids.h: New file.
23991         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23992         * nptl/nptl-init.c: Include <pthread-pids.h>.
23993         (__pthread_initialize_minimal_internal):
23994         Call __pthread_initialize_pids instead of set_tid_address syscall.
23996         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23997         * sysdeps/posix/usleep.c: ... here.
23999 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24001         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24002         call_pselect6 object.
24003         [$(subdir) = io]: Remove call_sync_file_range object.
24004         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24005         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24006         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24007         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24009 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24011         * math/s_cproj.c: Add include "math_private.h".
24012         * math/s_cprojf.c: Likewise.
24013         * math/s_cprojl.c: Likewise.
24015 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24017         [BZ #18244]
24018         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24019         high mantissa bit when testing whether P is a NaN.
24020         * math/libm-test.inc (remainder_test_data): Add more tests.
24021         (remquo_test_data): Likewise.
24023         [BZ #18049]
24024         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24025         below -32, return the argument, with underflow if subnormal.
24026         * math/auto-libm-test-in: Add more tests of atanh.
24027         * math/auto-libm-test-out: Regenerated.
24029 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24031         [BZ #18434]
24032         * nptl/tst-sem15.c: New file.
24033         * nptl/Makefile (tests): Add it.
24034         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24035         s/<</>>/ to fix typo in EOVERFLOW check.
24036         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24038 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24040         * manual/strings.texi (envz_remove): Fix typo in safety
24041         annotations.
24043 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24044             Steve Ellcey  <sellcey@imgtec.com>
24046         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24047         in order to avoid strict alias warnings.
24048         (iruserok_af): Ditto for ra.
24050 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24052         [BZ #17581]
24053         * malloc/hooks.c
24054         (magicbyte): Convert to a function and avoid returning 0x01.
24055         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24056         (mem2chunk_check): Fix unsigned comparisons to zero.
24057         Hoist defs of sz and magic.
24059 2015-05-19  Richard Henderson  <rth@redhat.com>
24061         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24063         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24065 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24067         [BZ #16159]
24068         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24069         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24070         (reused_arena): Find a non-corrupt arena.
24071         (heap_trim): Pass arena to unlink.
24072         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24073         malloc_printerr.
24074         (top_check): Likewise.
24075         (free_check): Likewise.
24076         (realloc_check): Likewise.
24077         * malloc/malloc.c (malloc_printerr): Add arena argument.
24078         (unlink): Likewise.
24079         (munmap_chunk): Adjust.
24080         (ARENA_CORRUPTION_BIT): New macro.
24081         (arena_is_corrupt): Likewise.
24082         (set_arena_corrupt): Likewise.
24083         (sysmalloc): Use mmap if there are no usable arenas.
24084         (_int_malloc): Likewise.
24085         (__libc_malloc): Don't fail if arena_get returns NULL.
24086         (_mid_memalign): Likewise.
24087         (__libc_calloc): Likewise.
24088         (__libc_realloc): Adjust for additional argument to
24089         malloc_printerr.
24090         (_int_free): Likewise.
24091         (malloc_consolidate): Likewise.
24092         (_int_realloc): Likewise.
24093         (_int_memalign): Don't touch corrupt arenas.
24094         * malloc/tst-malloc-backtrace.c: New test case.
24096         * Makefile (summarize-tests): Fix return value on success.
24098         * manual/string.texi (Envz Functions): Add envz_remove.
24100 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24102         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24103         (invalid_name): New function, broken out of ...
24104         (__opendirat): ... here.  Call it.
24105         (need_isdir_precheck): New function, broken out of ...
24106         (__opendirat): ... here.  Call it.
24107         Use __fxstatat64, not __xstatat64.
24108         (opendir_oflags): New function, broken out of ...
24109         (__opendirat): ... here.  Call it.
24110         (opendir_tail): New function, broken out of ...
24111         (__opendirat): ... here.  Call it.
24112         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24113         opendir_tail, rather than punting to __opendirat.
24114         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24116 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24118         * .gitignore: Ignore generated *.pyc.
24120 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24122         * include/stdio.h: Define __need_wint_t.
24123         * test-skeleton.c: Avoid `for' loop initial declaration.
24124         * nptl/tst-initializers1.c: Use test-skeleton.c.
24126 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24128         [BZ #18418]
24129         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24131 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24133         [BZ #16352]
24134         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24135         (__ieee754_atanh): Force underflow exception for results with
24136         small absolute value.
24137         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24138         (__ieee754_atanhf): Force underflow exception for results with
24139         small absolute value.
24140         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24141         (__ieee754_atanh): Force underflow exception for results with
24142         small absolute value.
24143         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24144         (__ieee754_atanhf): Force underflow exception for results with
24145         small absolute value.
24146         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24147         (__ieee754_atanhl): Force underflow exception for results with
24148         small absolute value.
24149         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24150         (__ieee754_atanhl): Force underflow exception for results with
24151         small absolute value.
24152         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24153         (__ieee754_atanhl): Force underflow exception for results with
24154         small absolute value.
24155         * math/auto-libm-test-in: Do not allow missing underflow
24156         exceptions from atanh.
24157         * math/auto-libm-test-out: Regenerated.
24159         [BZ #18221]
24160         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24161         2**-28 as threshold for returning x or +/- 1/x.
24162         * math/auto-libm-test-in: Add more tests of tan.
24163         * math/auto-libm-test-out: Regenerated.
24165         [BZ #18220]
24166         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24167         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24168         * math/auto-libm-test-in: Add another test of lgamma.
24169         * math/auto-libm-test-out: Regenerated.
24171 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24173         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24174         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24175         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24176         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24177         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24178         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24179         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24180         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24181         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24182         (log1): Use fabs.  (my_log2): Use fabs.
24183         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24184         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24185         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24186         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24187         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24188         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24189         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24190         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24191         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24192         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24193         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24195 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24197         [BZ #18217]
24198         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24199         as threshold for returning 1 - x.
24200         * math/auto-libm-test-in: Add more tests of erfc.
24201         * math/auto-libm-test-out: Regenerated.
24203 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #18196]
24206         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24207         threshold for large arguments.
24208         * math/auto-libm-test-in: Add another test of atan.
24209         * math/auto-libm-test-out: Regenerated.
24211         [BZ #16339]
24212         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24213         (__log1p): Force underflow exception for results with small
24214         absolute value.
24215         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24216         (__log1pf): Force underflow exception for results with small
24217         absolute value.
24218         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24219         (__log1p): Force underflow exception for results with small
24220         absolute value.
24221         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24222         (__log1pf): Force underflow exception for results with small
24223         absolute value.
24224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24225         (__log1pl): Force underflow exception for results with small
24226         absolute value.
24227         * math/auto-libm-test-in: Do not allow missing underflow
24228         exceptions from log1p.
24229         * math/auto-libm-test-out: Regenerated.
24231 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24232             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24234         [BZ #16704]
24235         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24237 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24239         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24240         (libmvec): New variable.
24241         * configure.ac: Added option for mathvec build.
24242         * configure: Regenerated.
24243         * mathvec/Depend: New file.
24244         * mathvec/Makefile: New file.
24245         * shlib-versions: Added libmvec.
24246         * math/Makefile: Added rule for libm.so installation.
24248         * bits/math-vector.h: New file.
24249         * bits/libm-simd-decl-stubs.h: New header.
24250         * math/Makefile (headers): Added new header
24251         libm-simd-decl-stubs.h.
24252         * math/math.h (__MATHCALL_VEC): New macro.
24254         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24255         for conditions in testing functions.
24256         * math/Makefile: Added call of libm-have-vector-test.sh.
24257         * math/libm-test.inc (HAVE_VECTOR): New macros.
24259         * math/libm-test.inc: START refactored.
24260         * math/test-double.c (TEST_MATHVEC): Add define.
24261         * math/test-float.c: Likewise.
24262         * math/test-idouble.c: Likewise.
24263         * math/test-ifloat.c: Likewise.
24264         * math/test-ildoubl.c: Likewise.
24265         * math/test-ldouble.c: Likewise.
24266         * sysdeps/generic/math-tests-arch.h
24267         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24268         architecture check.
24270         * math/test-double.c (FUNC_TEST): New macro.
24271         * math/test-float.c: Likewise.
24272         * math/test-idouble.c: Likewise.
24273         * math/test-ifloat.c: Likewise.
24274         * math/test-ildoubl.c: Likewise.
24275         * math/test-ldouble.c: Likewise.
24276         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24278 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24280         * sysdeps/nacl/fdopendir.c: New file.
24282         * dirent/scandir-tail.c: New file.
24283         * dirent/scandir64-tail.c: New file.
24284         * dirent/Makefile (routines): Add them.
24285         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24286         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24287         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24288         [!SCANDIR] (SCANDIR_TAIL): New macro.
24289         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24290         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24291         (SCANDIRAT): Macro removed.
24292         (SCANDIR_TAIL): New macro.
24293         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24294         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24295         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24296         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24297         (READDIR): Macro removed.
24298         (SCANDIR_TAIL): New macro.
24299         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24300         (SCANDIR_TAIL): New macro.
24302         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24303         * dirent/scandir-cancel.c: ... to this new file.
24304         * dirent/Makefile (routines): Add it.
24305         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24306         * sysdeps/unix/sysv/linux/i386/scandir64.c
24307         (SKIP_SCANDIR_CANCEL): Macro removed.
24308         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24310         * dirent/tst-scandir.c: New file.
24311         * dirent/tst-scandir64.c: New file.
24312         * dirent/Makefile (tests): Add them.
24314 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24316         [BZ #18409]
24317         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24319 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24321         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24322         list.
24324 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24326         * benchtests/bench-strcoll.c: New benchmark.
24327         * benchtests/Makefile: Generate locales and run benchmark.
24328         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24329         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24330         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24331         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24332         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24333         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24334         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24335         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24336         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24337         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24338         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24339         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24340         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24341         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24342         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24343         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24344         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24345         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24346         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24347         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24348         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24349         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24350         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24351         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24353 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24355         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24356         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24358 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24360         * posix/uname-values.h: New file.
24361         * posix/uname.c: Include that instead of <config-name.h>.
24362         * sysdeps/nacl/uname-values.h: New file.
24363         * sysdeps/arm/nacl/uname-values.h: New file.
24365 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24367         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24368         splitting into fields.
24370 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24372         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24373         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24374         * locale/localeinfo.h: Add enum collation_encoding_type.
24375         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24376         * programs/ld-collate.c (collate_output): Add encoding type info.
24377         * string/strcoll_l.c (STRDIFF): New function.
24378         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24379         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24381 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24383         [BZ #18397]
24384         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24385         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24386         <fpu_control.h> instead of <math/fpu_control.c>.
24387         * sysdeps/mips/mips32/fpu/Makefile: New file.
24389 2015-05-11  Andreas Schwab  <schwab@suse.de>
24391         [BZ #18007]
24392         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24393         nss_endgrent.
24394         (_nss_compat_endgrent): Call nss_endgrent.
24395         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24396         nss_endpwent.
24397         (_nss_compat_endpwent): Call nss_endpwent.
24398         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24399         needent, call nss_setspent only if non-zero.
24400         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24401         (internal_endspent): Don't call nss_endspent.
24402         (_nss_compat_endspent): Call nss_endspent.
24403         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24404         Remove.  All uses removed.
24405         (internal_setent): Remove parameter stayopen, add parameter
24406         stream.  Use it instead of global variable.
24407         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24408         (internal_endent, internal_getent): Add parameter stream.  Use it
24409         instead of global variable.
24410         (CONCAT(_nss_files_end,ENTNAME))
24411         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24412         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24413         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24414         uses removed.
24415         (internal_setent, internal_endent): Add parameter stream.  Use it
24416         instead of global variable.
24417         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24418         stream.
24419         (get_next_alias): Add parameter stream.
24420         (_nss_files_getaliasent_r): Pass global stream.
24421         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24422         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24423         (_nss_files_gethostbyname4_r): Pass local stream to
24424         internal_setent, internal_getent and internal_endent.  Remove
24425         locking.
24427 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24429         * tst-strfmon1.c (tests): Update expected currency symbol.
24431 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24433         * sysdeps/nacl/gethostname.c: New file.
24435 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24437         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24438         and sinh.
24439         * math/auto-libm-test-out: Regenerated.
24440         * sysdeps/i386/fpu/libm-test-ulps: Update.
24441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24443 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24445         [BZ #18125]
24446         * stdlib/tst-setcontext3.c: New file.
24447         * stdlib/tst-setcontext3.sh: New file.
24448         * stdlib/Makefile (tests): Add tst-setcontext3.
24449         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24450         to verify test program created output file.
24451         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24452         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24453         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24454         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24456 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24458         [BZ #18383]
24459         * elf/tst-tlsalign.c: New file.
24460         * elf/tst-tlsalign-static.c: New file.
24461         * elf/tst-tlsalign-lib.c: New file.
24462         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24463         (tests-static): Add tst-tlsalign-static.
24464         (modules-names): Add tst-tlsalign-lib.
24465         (test-xfail-tst-tlsalign): New variable.
24466         (test-xfail-tst-tlsalign-static): New variable.
24468         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24469         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24471 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24473         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24474         csqrt, erfc, sin and sincos.
24475         * math/auto-libm-test-out: Regenerated.
24476         * sysdeps/i386/fpu/libm-test-ulps: Update.
24477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24479 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24481         * sysdeps/aarch64/libm-test-ulps: Update.
24483 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24485         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24486         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24487         * math/auto-libm-test-out: Regenerated.
24488         * sysdeps/i386/fpu/libm-test-ulps: Update.
24489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24491 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24493         [BZ #18265]
24494         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24495         (wcsncpy): Likewise.
24497 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24499         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24500         Assume __ASSUME_FALLOCATE is always true.
24501         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24502         (__posix_fallocate64_l64): Likweise.
24503         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24504         (posix_fallocate): Likewise.
24505         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24506         (__posix_fallocate64_l64): Likewise.
24507         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24508         [!__ASSUME_FALLOCATE]: Add comment.
24510 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24512         * sysdeps/unix/sysv/linux/i386/Makefile
24513         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24514         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24515         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24516         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24517         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24518         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24519         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24521 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24523         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24524         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24525         tgamma.
24526         * math/auto-libm-test-out: Regenerated.
24527         * sysdeps/i386/fpu/libm-test-ulps: Update.
24528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24530 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24532         * math/auto-libm-test-in: Add more tests of tgamma.
24533         * math/auto-libm-test-out: Regenerated.
24534         * sysdeps/i386/fpu/libm-test-ulps: Update.
24535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24537         * math/auto-libm-test-in: Add more tests of tanh.
24538         * math/auto-libm-test-out: Regenerated.
24539         * sysdeps/i386/fpu/libm-test-ulps: Update.
24540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24542         * math/auto-libm-test-in: Add more tests of tan.
24543         * math/auto-libm-test-out: Regenerated.
24544         * sysdeps/i386/fpu/libm-test-ulps: Update.
24545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24547         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24548         * math/auto-libm-test-out: Regenerated.
24549         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24552         * math/auto-libm-test-in: Add another test of pow.
24553         * math/auto-libm-test-out: Regenerated.
24554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24556         * math/auto-libm-test-in: Add more tests of lgamma.
24557         * math/auto-libm-test-out: Regenerated.
24558         * sysdeps/i386/fpu/libm-test-ulps: Update.
24559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24561         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24562         log1p.
24563         * math/auto-libm-test-out: Regenerated.
24564         * sysdeps/i386/fpu/libm-test-ulps: Update.
24565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24567 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24569         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24570         Elf64_Chdr structs and ELFCOMPRESS constants.
24572 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24574         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24575         expm1.
24576         * math/auto-libm-test-out: Regenerated.
24577         * sysdeps/i386/fpu/libm-test-ulps: Update.
24578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24580         * math/auto-libm-test-in: Add more tests of erf and erfc.
24581         * math/auto-libm-test-out: Regenerated.
24582         * sysdeps/i386/fpu/libm-test-ulps: Update.
24583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24585 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24587         * config.h.in (HAVE_AARCH64_BE): Add.
24589 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24591         * math/auto-libm-test-in: Add more tests of csqrt.
24592         * math/auto-libm-test-out: Regenerated.
24593         * sysdeps/i386/fpu/libm-test-ulps: Update.
24594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24596         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24597         * math/auto-libm-test-out: Regenerated.
24598         * sysdeps/i386/fpu/libm-test-ulps: Update.
24599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24601         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24603 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24605         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24606         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24608         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24609         (euidaccess, eaccess): Define as weak aliases.
24611         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24612         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24613         but __suseconds_t is often 'long int' so some sources assume that
24614         type is being used (e.g. they use %ld to print tv_usec).
24616 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24618         [BZ #18007]
24619         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24620         (CVE-2014-8121)
24621         * nss/tst-nss-getpwent.c: New file.
24622         * nss/Makefile (tests): Add new test.
24624 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24626         [BZ #18346]
24627         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24628         exponents less than 48 as cases where high part of mantissa needs
24629         examining to determine whether argument is integral.
24630         * math/libm-test.inc (round_test_data): Add more tests.
24632 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24634         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24636 2015-04-27  David S. Miller  <davem@davemloft.net>
24638         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24639         __tls_get_addr.
24640         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24642 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24644         [BZ#18333]
24645         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24647 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24649         [BZ#18333]
24650         * time/tzset.c (parse_tzname): Return error on memory allocation
24651         failure.
24652         * test-skeleton.c (struct temp_name_list): Change type of name
24653         member to non-const.
24654         (add_temp_file): Create a copy of the file name.
24655         (delete_temp_files): Deallocate memory.
24656         (create_temp_file): Add comment.
24658 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24660         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24661         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24663 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24665         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24666         * sysdeps/arm/configure: Regenerated.
24668 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24670         [BZ #17715]
24671         * time/tzfile.c (__tzfile_read): Check for large values of
24672         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24673         * time/tzset.c (__tzstring_len): New function, based on the old
24674         __tzstring function.
24675         (__tzstring): Call __tzstring_len.
24676         (parse_tzname): New helper function extracted from
24677         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24678         the input string.
24679         (parse_offset): New helper function extracted from
24680         __tzset_parse_tz.  Replace switch with fallthrough with
24681         initialization before sscanf.
24682         (parse_rule): Likewise.
24683         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24684         new-style function definition.
24685         * timezone/Makefile (tests): Add tst-tzset.
24686         (tst-tzset.out): Dependencies on time zone files.
24687         (tst-tzset-ENV): Set TZDIR.
24688         (testdata/XT%): Copy crafted time zone files.
24689         * timezone/README: Mention crafted time zone files.
24690         * timezone/testdata/XT1, timezone/testdata/XT2,
24691         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24692         files.
24693         * timezone/tst-tzset.c: New test.
24695 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24697         * Makeconfig (+gccwarn): Remove -Winline.
24699 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24701         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24703 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24705         * NEWS: Mention sysconf() cache information support for s390.
24706         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24708 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24710         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24711         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24712         (__nearbyint): Likewise.
24713         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24714         (copysignl): Likewise.
24716 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24718         [BZ #18287]
24719         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24720         based on padding.  (CVE-2015-1781)
24722 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24724         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24725         libc-vdso.h.
24726         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24727         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24728         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24729         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24730         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24731         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24732         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24734         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24735         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24736         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24737         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24738         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24739         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24740         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24741         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24742         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24743         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24744         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24745         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24746         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24747         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24748         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24750 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24752         * stdlib/setenv.c (__add_to_environ):
24753         Dump core quickly if setenv (..., NULL, ...) is called.
24754         This time, do it the right way, and pacify GCC with a pragma.
24756 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24758         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24759         IMAP->l_prev cannot be null, and #if out the code for the contrary
24760         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24761         believe that NS (&_dl_ns[NSID]) could point outside the array.
24763         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24764         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24765         before using NSID as an index.
24767 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24769         [BZ #17825]
24770         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24771         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24772         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24774 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24776         Add preliminary port to Google Native Client on ARM.
24777         * abi-tags (.*-.*-nacl.*): New entry.
24778         * sysdeps/arm/nacl: New directory.
24779         * sysdeps/nacl: New directory.
24781 2015-04-16  David S. Miller  <davem@davemloft.net>
24783         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24784         lowlevellock-futex.h
24786 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24788         * sysdeps/tile/configure.ac: New file.
24789         * sysdeps/tile/configure: Regenerated.
24791 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24793         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24794         conditionals for weak_alias and libc_hidden_weak.
24795         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24796         libc_hidden_weak and weak_alias.
24797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24798         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24799         and weak_alias for static one.
24801 2015-04-15  David S. Miller  <davem@davemloft.net>
24803         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24805 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24807         [BZ #18206]
24808         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24809           Use signed comparision instead of substraction to avoid
24810           overflow bug.
24811         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24812           Take the sign of ret.
24813         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24814           Do not expect precise return values. Only the sign matters.
24815         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24816         * wcsmbs/test-wcsncmp.c: New File.
24817         * string/test-strncmp.c: Add wcsncmp support.
24819 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24821         [BZ #6792]
24822         * math/w_log1p.c: New file.
24823         * math/w_log1pf.c: Likewise.
24824         * math/w_log1pl.c: Likewise.
24825         * math/Makefile (libm-calls): Add w_log1p.
24826         * math/s_log1pl.c (log1pl): Remove weak_alias.
24827         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24828         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24829         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24830         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24831         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24832         [NO_LONG_DOUBLE] (log1pl): Likewise.
24833         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24834         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24835         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24836         (log1p): Remove long_double_symbol.
24837         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24838         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24839         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24840         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24841         remove weak_alias for corresponding log1p function.
24842         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24843         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24844         * sysdeps/ia64/fpu/w_log1p.c: New file.
24845         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24846         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24847         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24849 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24851         [BZ #18247]
24852         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24853         decimal exponent by 1.
24854         * stdlib/tst-strtod-round-data: Add more tests.
24855         * stdlib/tst-strtod-round.c (tests): Regenerated.
24857 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24859         * math/auto-libm-test-in: Add more tests of clog and clog10.
24860         * math/auto-libm-test-out: Regenerated.
24861         * sysdeps/i386/fpu/libm-test-ulps: Update.
24862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24864 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24866         * Makeconfig (module-cppflags): Exclude all .v.i files.
24867         (skip-module-cppflags): Variable removed.
24869         * configure.ac (libc_config_ok): Initialize before reading
24870         preconfigure scripts, not after.
24871         * configure: Regenerated.
24873         * test-skeleton.c (TIMEOUT): Move #define to top level.
24874         (main): Grok environment variable TEST_DIRECT.  If set, print
24875         test expectation details into that file and then behave as if
24876         given --direct.
24878 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24880         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24881         warning on 32-bit.
24883 2015-04-08  David S. Miller  <davem@davemloft.net>
24885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24887 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24889         * math/auto-libm-test-in: Add more tests of atanh.
24890         * math/auto-libm-test-out: Regenerated.
24891         * sysdeps/i386/fpu/libm-test-ulps: Update.
24892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24894         * math/auto-libm-test-in: Add more tests of atan.
24895         * math/auto-libm-test-out: Regenerated.
24896         * sysdeps/i386/fpu/libm-test-ulps: Update.
24897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24899 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24901         * elf/pldd.c (main): Rewrite to use struct
24902         scratch_buffer instead of extend_alloca.
24903         * elf/pldd-xx.c (find_maps): Likewise.
24904         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24905         <alloca.h>.
24906         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24907         scratch_buffer instead of extend_alloca.
24908         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24909         grp/compat-initgroups.c.
24910         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24911         Rewrite to use struct scratch_buffer instead of extend_alloca.
24912         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24913         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24915 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24917         * math/auto-libm-test-in: Add more tests of cbrt.
24918         * math/auto-libm-test-out: Regenerated.
24919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24921         * math/auto-libm-test-in: Add more tests of cabs.
24922         * math/auto-libm-test-out: Regenerated.
24923         * sysdeps/i386/fpu/libm-test-ulps: Update.
24924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24926         [BZ #18210]
24927         [BZ #18211]
24928         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24929         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24930         computations.
24931         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24932         clog10.
24933         * math/auto-libm-test-out: Regenerated.
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937         [BZ #18197]
24938         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24939         (atan): Set FE_TONEAREST mode for internal computations.
24940         * math/auto-libm-test-in: Add more tests of atan.
24941         * math/auto-libm-test-out: Regenerated.
24943 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24945         [BZ #17930]
24946         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24948 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24950         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24952 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24954         * include/scratch_buffer.h: New file.
24955         * malloc/scratch_buffer_grow.c: Likewise.
24956         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24957         * malloc/scratch_buffer_set_array_size.c: Likewise.
24958         * malloc/tst-scratch_buffer.c: Likewise.
24959         * malloc/Makefile (routines): Add scratch_buffer_grow.
24960         (tests): Add test case.
24961         * malloc/Versions (GLIBC_PRIVATE): Export
24962         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24963         __libc_scratch_buffer_set_array_size.
24965 2015-04-06  Richard Henderson  <rth@redhat.com>
24967         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24968         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24970         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24971         unsigned int before printing.
24973 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24975         [BZ #17596]
24976         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24977         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24979 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24981         * include/libc-internal.h (libc_max_align_t): Define.
24983 2015-04-02  Andreas Schwab  <schwab@suse.de>
24985         [BZ #16850]
24986         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24988 2015-04-02  Mel Gorman  <mgorman@suse.de>
24990         [BZ #17195]
24991         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24992         as well as the main arena.
24994 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24996         [BZ #18185]
24997         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24998         sharing L2 cache to 2 for Silvermont/Knights Landing.
25000 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25002         [BZ #17711]
25003         * config.make.in (have-protected-data): New.
25004         * configure.ac: Check linker support for protected data symbol.
25005         * configure: Regenerated.
25006         * elf/Makefile (modules-names): Add tst-protected1moda and
25007         tst-protected1modb if $(have-protected-data) is yes.
25008         (tests): Add tst-protected1a and tst-protected1b if
25009         $(have-protected-data) is yes.
25010         ($(objpfx)tst-protected1a): New.
25011         ($(objpfx)tst-protected1b): Likewise.
25012         (tst-protected1modb.so-no-z-defs): Likewise.
25013         * elf/tst-protected1a.c: New file.
25014         * elf/tst-protected1b.c: Likewise.
25015         * elf/tst-protected1mod.h: Likewise.
25016         * elf/tst-protected1moda.c: Likewise.
25017         * elf/tst-protected1modb.c: Likewise.
25019 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25021         [BZ #17711]
25022         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25023         indicates it is called from do_lookup_x on relocation against
25024         protected data, skip the data definion in the executable from
25025         copy reloc.
25026         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25027         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25028         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25029         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25030         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25031         otherwise to 0.
25032         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25033         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25034         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25035         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25036         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25037         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25039 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25041         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25042         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25044 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25046         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25047         THREAD_SETMEM_NC.
25048         * sysdeps/x86_64/nptl/tls.h: Ditto.
25050 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25052         * dlfcn/tststatic.c (main): Converted to ...
25053         (do_test): ... this.
25054         (TEST_FUNCTION): New macro.
25055         Include test-skeleton.c.
25057 2015-03-26  Alan Modra  <amodra@gmail.com>
25059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25060         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25061         zero for undefined weak.
25062         (elf_machine_plt_conflict): Similarly.
25064 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25066         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25067         atanh.
25068         * math/auto-libm-test-out: Regenerated.
25069         * sysdeps/i386/fpu/libm-test-ulps: Update.
25070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25072         * math/auto-libm-test-in: Add another test of asin.
25073         * math/auto-libm-test-out: Regenerated.
25074         * sysdeps/i386/fpu/libm-test-ulps: Update.
25075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25078         Remove macro.
25079         (LLL_EBX_REG): Likewise.
25080         (LLL_ENTER_KERNEL): Likewise.
25082         * math/auto-libm-test-in: Add more tests of asin.
25083         * math/auto-libm-test-out: Regenerated.
25084         * sysdeps/i386/fpu/libm-test-ulps: Update.
25085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25087         [BZ #18138]
25088         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25089         libc_do_syscall_args): New structure.
25090         (INTERNAL_SYSCALL_MAIN_0): New macro.
25091         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25092         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25093         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25094         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25095         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25096         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25097         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25098         Replace conditional definitions by conditional definitions of ....
25099         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25100         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25101         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25102         (libpthread-sysdep_routines): Add libc-do-syscall.
25103         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25104         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25105         to __NR_futex not 240.
25107 2015-03-25  Alan Modra  <amodra@gmail.com>
25109         * NEWS: Advertise TLS optimization.
25110         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25111         (DT_PPC_NUM): Increment.
25112         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25113         (CHECK_STATIC_TLS): Use here.
25114         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25115         TLS descriptors.
25116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25117         * sysdeps/powerpc/dl-tls.c: New file.
25118         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25119         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25120         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25121         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25126 2015-03-25  Alan Modra  <amodra@gmail.com>
25128         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25129         for overlapping .opd entries" to "support...".
25130         * sysdeps/powerpc/powerpc64/configure: Regenerate
25132 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25134         * math/auto-libm-test-in: Add more tests of acos.
25135         * math/auto-libm-test-out: Regenerated.
25136         * sysdeps/i386/fpu/libm-test-ulps: Update.
25137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25139         * math/auto-libm-test-in: Add more tests of expm1.
25140         * math/auto-libm-test-out: Regenerated.
25141         * sysdeps/i386/fpu/libm-test-ulps: Update.
25142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25144 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25146         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25147         * math/auto-libm-test-out: Regenerated.
25148         * sysdeps/i386/fpu/libm-test-ulps: Update.
25149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25151         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25154         * math/auto-libm-test-in: Add more tests of log2.
25155         * math/auto-libm-test-out: Regenerated.
25156         * sysdeps/i386/fpu/libm-test-ulps: Update.
25157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25159 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25161         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25162         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25163         _IO_IS_APPENDING bit in READ_WRITE instead.
25165 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25167         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25168         (__determine_cpumask_size): Replace extend_alloca with a
25169         variable-length array.  Do not treat res == 0 as an error.
25171 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25173         [BZ #18100]
25174         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25175         and integer overflow.
25176         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25177         (main): Add integer overflow tests.
25178         * manual/pattern.texi (Calling Wordexp): Document additional use
25179         for WRDE_SYNTAX.
25181 2015-03-23  Alan Modra  <amodra@gmail.com>
25183         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25184         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25185         and false branch of conditional.
25186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25187         Likewise.
25189 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25191         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25192         libc-modules.h
25193         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25194         unused declaration of _hurd_intr_rpc_msg_in_trap.
25195         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25196         defined instead of whether it is non-zero.
25197         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25198         input constraint instead of both input and output constraint.  Use ecx
25199         clobber instead of %ecx.
25200         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25201         mutex_unlock): Use a statement expression instead of an expression list.
25202         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25203         type to vm_size_t instead of vm_address_t.
25204         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25205         defined instead of whether it is non-zero.
25206         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25207         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25208         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25209         comparisons with mapaddr.
25210         * nscd/nscd-client.h: Include <time.h>.
25211         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25212         9th parameter to __vm_region instead of int.
25213         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25214         * scripts/check-local-headers.sh (exclude): Add device/,
25215         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25216         cthreads.h.
25218 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25220         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25221         to account for alignment padding.
25222         * sysdeps/arm/memmove.S: Likewise.
25224 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25226         * sysdeps/unix/sysv/linux/generic/README: New file.
25228 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25230         [BZ #18138]
25231         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25232         (futex_abstimed_wait)
25233         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25234         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25235         of lll_futex_timed_wait.
25237 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25239         [BZ #17542]
25240         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25242 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25244         [BZ #17090]
25245         [BZ #17620]
25246         [BZ #17621]
25247         [BZ #17628]
25248         * NEWS: Update.
25249         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25250         entries with Static TLS too.  Skip entries past the end of the
25251         allocated DTV, from Alan Modra.
25252         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25253         Static TLS DTV entry set up from...
25254         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25255         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25256         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25257         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25258         for Static TLS.
25259         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25260         that the slot we find is associated with the given map before
25261         using its generation count.
25262         * nptl_db/db_info.c: Include ldsodefs.h.
25263         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25264         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25265         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25266         (link_map::l_tls_offset): New struct field.
25267         (dtv_t::counter): Likewise.
25268         (rtld_global): New struct.
25269         (_rtld_global): New rtld variable.
25270         (dl_tls_dtv_slotinfo_list): New rtld global field.
25271         (dtv_slotinfo_list): New struct.
25272         (dtv_slotinfo): Likewise.
25273         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25274         (td_lookup): Rename to...
25275         (td_mod_lookup): ... this.  Use new mod parameter instead of
25276         LIBPTHREAD_SO.
25277         * nptl_db/td_thr_tlsbase.c: Include link.h.
25278         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25279         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25280         addresses even if the DTV is out of date or missing them.
25281         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25282         index zero-length arrays.
25283         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25284         (td_lookup): Make it a macro implemented in terms of...
25285         (td_mod_lookup): ... this declaration.
25286         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25287         (DB_MAIN_VARIABLE): Likewise.
25289 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25291         [BZ #18134]
25292         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25294 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25296         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25298 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25300         [BZ #18128]
25301         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25302         (atomic_add, atomic_increment_and_test)
25303         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25305 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25307         * stdlib/setenv.c (__add_to_environ):
25308         Dump core quickly if setenv (..., NULL, ...) is called.
25310 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25312         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25313         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25314         all the necessary asm magic in one place.
25315         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25316         using those.
25318 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25320         [BZ #14906]
25321         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25322         traced file mtime. Use consistent log message.
25323         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25324         (register_traced_file): Call install_watches. Always set mtime.
25325         (invalidate_cache): Iterate over all trace files. Call install_watches.
25326         (inotify_check_files): Don't inline. Handle watching parent
25327         directories and configuration file movement in and out.
25328         (handle_inotify_events): New function.
25329         (main_loop_poll): Call handle_inotify_events.
25330         (main_loop_epoll): Likewise.
25331         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25332         (struct traced_file): Use array of inotify fds. Add parent directory,
25333         and basename.
25334         (struct database_dyn): Remove unused file_mtime.
25335         (init_traced_file): New inline function.
25336         (define_traced_file): New macro.
25337         * nss/nss_db/db-init.c: Use define_traced_file.
25338         (_nss_db_init): Use init_traced_file.
25339         * nss/nss_files/files-init.c: Use define_traced_file.
25340         (_nss_files_init): Use init_traced_file.
25342 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25344         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25345         [_LIBC]: Do not include <stdlib.h>.
25346         [!_LIBC] (abort): Remove declaration.
25347         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25348         _FP_STATIC_ASSERT instead of conditionally calling abort.
25349         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25350         (_FP_EXTEND_CNAN): Likewise.
25351         (FP_TRUNC): Likewise.
25352         (__FP_CLZ): Likewise.
25353         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25355 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25357         * manual/string.texi (XPG basename): Fix prototype.
25359 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25361         [BZ #18080]
25362         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25363         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25364         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25365         (__setcontext): Likewise.
25366         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25367         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25368         Call rt_sigprocmask syscall one time to set new signal mask
25369         and retrieve the current signal mask instead of two calls.
25370         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25371         (__swapcontext): Likewise.
25372         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25373         * stdlib/tst-setcontext2.c: New file.
25375 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25377         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25379 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25381         [BZ #18093]
25382         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25383         the wrong size.
25385 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25387         [BZ #18043]
25388         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25390 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25392         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25393         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25394         Remove define.
25395         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25396         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25397         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25398         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25399         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25400         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25401         define.
25402         * nptl_db/td_symbol_list.c (td_lookup): Remove
25403         HAVE_ASM_GLOBAL_DOT_NAME code.
25404         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25405         HAVE_ASM_GLOBAL_DOT_NAME check.
25406         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25407         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25408         (DOT_LABEL): Remove define.
25409         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25410         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25411         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25412         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25413         (__TLS_GET_ADDR): Likewise.
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25415         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25417 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25419         [BZ #18111]
25420         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25421         (_FPU_SETCW): Initialize cw from fpsr before storing.
25422         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25423         (fesetexceptflag): Rewrite using fpu_control.h.
25424         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25426 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25428         [BZ #18110]
25429         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25430         asms.
25431         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25433 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25435         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25436         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25437         abort.
25438         (_FP_FMA): Likewise.
25439         (_FP_DIV): Likewise.
25441 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25443         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25444         with 0 in that case.
25445         * Makefile (summarize-tests): New canned sequence, factored out of
25446         commands for targets tests and xtests.  Display summary lines that
25447         don't start with PASS: or XFAIL: rather than ones that do start with
25448         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25449         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25450         do start with ERROR: or FAIL:.
25451         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25452         (except for [$(build-shared) = yes]).
25453         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25454         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25455         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25456         * nptl/Makefile: Revert 2015-03-04 changes.
25457         [$(CXX) empty] (tests-unsupported): New variable.
25458         * debug/Makefile: Likewise.
25460         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25461         gnulib file.  Replace __attribute with __attribute__ throughout.
25463 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25465         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25467 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25469         [BZ #18104]
25470         * math/auto-libm-test-in: Add another test of pow.
25471         * math/auto-libm-test-out: Regenerated.
25473 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25475         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25476         $(config-cflags-nofma).
25478 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25480         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25481         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25482         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25483         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25484         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25485         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25486         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25487         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25488         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25489         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25490         Add comment on closing #endif.
25492 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25494         * posix/wordexp.c (CHAR_IN_SET): New macro.
25495         (parse_param): Use it.
25497 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25499         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25501 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25503         [BZ #18043]
25504         * posix/wordexp.c (parse_param): Fix buffer overflow.
25505         * posix/wordexp-test.c (test_case): Add test case.
25507 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25509         [BZ #18042]
25510         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25511         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25513 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25515         [BZ #18043]
25516         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25517         (do_bz18043): Delete.
25518         (at_page_end): New.
25519         (testit): Refactor to have words at the edge of unreadable page.
25521 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25523         [BZ #16734]
25524         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25525         Cleanup read-only streams as well.
25526         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25528 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25530         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25531         <bits/libc-lockP.h>
25533 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25535         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25536         on [__KERNEL__].
25537         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25538         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25539         * soft-fp/op-common.h (_FP_DECL): Likewise.
25541 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25543         * elf/ifuncdep2.c (global): Replace
25544         __attribute__((visibility("protected"))) with
25545         asm (".protected global").
25546         * elf/ifuncmod1.c (global): Likewise.
25547         * elf/ifuncmod5.c (global): Likewise.
25549 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25551         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25552         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25554 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25556         * manual/install.texi (Configuring and compiling):
25557         Document test-wrapper-env-only.
25558         * INSTALL: Regenerated.
25560 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25562         [BZ #18043]
25563         * posix/wordexp.c (parse_param): Fix buffer overflow.
25564         * posix/wordexp-test.c (do_bz18043): Add test case.
25566 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25568         * time/tst-strptime2.c (do_test): Ensure failing tests are
25569         reported correctly.
25570         * time/tst-strptime3.c (do_test): Likewise.
25572 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25574         Fix aio_error thread-safety.
25575         * sysdeps/pthread/aio_error.c: New file
25576         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25577         synchronization.
25579 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25581         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25582         (group_number, vfprintf): Use it.
25583         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25584         (JUMP, REF): Use it.
25585         (WORK_BUFFER_SIZE): New enum constant.
25586         (process_arg, vfprintf): Use it.
25588 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25590         * manual/errno.texi (Error Messages): Complete example function
25591         by adding missing #define.
25592         (program_invocation_name): Add statement indicating GNU
25593         extension and reference which header file declares the variable.
25594         (program_invocation_short_name): Likewise.
25596 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25598         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25599         compatibility note.
25601 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25603         * Makeconfig (test-wrapper-env-only): New variable.
25604         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25605         then use that with $(test-wrapper-env-only) rather than using
25606         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25608 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25610         [BZ #18082]
25611         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25612         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25613         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25614         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25615         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25616         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25617         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25618         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25619         Likewise.
25620         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25621         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25622         Likewise.
25623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25624         Likewise.
25625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25626         Likewise.
25627         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25628         Likewise.
25629         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25631         Likewise.
25632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25633         Likewise.
25634         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25635         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25637 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25639         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25640         (ETH_ALEN): New macro.
25641         (struct ether_addr): Use it for length of ether_addr_octet.
25643         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25644         (setdb): Don't call __nss_configure_lookup for "rpc".
25645         (do_test): Don't call test_rpc.
25646         (output_rpcent, test_rpc): Functions moved ...
25647         * sunrpc/test-rpcent.c: ... to this new file.
25648         * sunrpc/Makefile (tests): Add it.
25650         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25651         __xpg_sigpause.
25652         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25653         * nptl/tst-signal6.c: Likewise.
25654         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25655         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25657         * configure.ac (libc_cv_cxx_link_ok): New check.
25658         Reset CXX to empty if it fails to link.
25659         * configure: Regenerated.
25660         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25661         bug-atexit3-lib only if $(CXX) is nonempty.
25662         * nptl/Makefile (tests): Likewise for tst-cancel24.
25663         (tests, tests-static): Likewise for tst-cancel24-static.
25664         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25665         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25666         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25667         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25669 2015-03-04  Andreas Schwab  <schwab@suse.de>
25671         [BZ #17631]
25672         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25673         for non-GCC compilers.
25674         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25675         Likewise.
25677 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25679         [BZ #17776]
25680         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25681         integer before bitwise and assembly operations.
25682         (feclearexcept): Likewise.
25683         * math/test-fenvinline.c: New file.
25684         * math/Makefile: Add test-fenvinline test.
25686 2015-03-03  Alan Modra  <amodra@gmail.com>
25688         [BZ #16512]
25689         * scripts/localplt.awk: Strip off symbol version.
25690         * NEWS: Mention bug fix.
25692 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25694         * sysdeps/pthread/timer_routines.c
25695         (timer_free_list, thread_free_list, thread_active_list): Make static.
25697 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25699         [BZ #17779]
25700         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25701         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25702         Undefine.
25703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25704         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25705         Likewise.
25706         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25707         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25708         Likewise.
25710 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25712         [BZ #18036]
25713         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25714         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25716 2015-03-02  Andreas Schwab  <schwab@suse.de>
25718         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25719         variable name.
25721 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25723         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25724         Return error status.
25726 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25728         [BZ #15969]
25729         * locale/findlocale.c (_nl_find_locale): Introduce const
25730         version of loc_name and drop unsafe type casts.
25732 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25734         * dlfcn/tststatic2.c (main): Converted to ...
25735         (do_test): ... this.
25736         (TEST_FUNCTION): New macro.
25737         Include test-skeleton.c.
25739 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25741         [BZ #17711]
25742         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25743         (tests-pie): Add vismain.
25744         (CFLAGS-vismain.c): New.
25745         * elf/vismain.c: Add comments for PIE requirement.
25747 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25749         [BZ #18046]
25750         [BZ #18047]
25751         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25752         0x1p-56L as threshold for just returning the argument.
25753         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25754         0x1p-32L as threshold for just returning the argument.
25755         * math/auto-libm-test-in: Add more tests of atanh.
25756         * math/auto-libm-test-out: Regenerated.
25757         * sysdeps/i386/fpu/libm-test-ulps: Update.
25758         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25760 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25762         * string/bcopy.c (bcopy): Call memmove for performance.
25764 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25766         * string/bzero.c (__bzero): Call memset for performance.
25768 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25770         [BZ #18068]
25771         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25772         to 00100000.
25774 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25776         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25778 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25780         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25781         (__kernel_standard): Use CSTR macro when setting exc.name.
25782         * sysdeps/ieee754/Makefile [$(subdir) = math]
25783         (CFLAGS-k_standard.c): Remove variable.
25785         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25786         setting p and q from "else if" to "else".
25787         (qzero): Likewise.
25788         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25789         (qone): Likewise.
25790         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25791         (qzerof): Likewise.
25792         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25793         (qonef): Likewise.
25794         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25795         (qzero): Likewise.
25796         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25797         (qone): Likewise.
25799         [BZ #18038]
25800         [BZ #18039]
25801         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25802         return pi/2 for arguments below 0x1p-113L.
25803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25804         return pi/2 for arguments below 0x1p-106L.
25805         * math/auto-libm-test-in: Add more tests of acos.
25806         * math/auto-libm-test-out: Regenerated.
25808         [BZ #16351]
25809         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25810         (MO): New macro.
25811         (__ieee754_asin): Force underflow exception for results with small
25812         absolute value.
25813         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25814         (MO): New macro.
25815         (__ieee754_asinf): Force underflow exception for results with
25816         small absolute value.
25817         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25818         (__ieee754_asin): Force underflow exception for results with small
25819         absolute value.
25820         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25821         (__ieee754_asinf): Force underflow exception for results with
25822         small absolute value.
25823         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25824         (__ieee754_asinl): Force underflow exception for results with
25825         small absolute value.
25826         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25827         (__ieee754_asinl): Force underflow exception for results with
25828         small absolute value.
25829         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25830         (__ieee754_asinl): Force underflow exception for results with
25831         small absolute value.
25832         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25833         Include <math.h>.
25834         * math/auto-libm-test-in: Do not mark underflow exceptions as
25835         possibly missing for bug 16351.
25836         * math/auto-libm-test-out: Regenerated.
25838         [BZ #18030]
25839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25840         of power of 2 down when low part has opposite sign.
25841         * math/libm-test.inc (logb_test_data): Add more tests.
25843 2015-02-26  Andreas Schwab  <schwab@suse.de>
25845         [BZ #18032]
25846         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25847         over collating symbol inside a bracket expression.  Minor cleanup.
25848         * posix/tst-fnmatch3.c (do_test): Add test case.
25850 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25852         [BZ #18029]
25853         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25854         Adjust exponent of power of 2 down when low part has opposite
25855         sign.
25856         * math/libm-test.inc (ilogb_test_data): Add more tests.
25858 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25860         [BZ #15969]
25861         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25862         the previous change.
25864         [BZ #15969]
25865         * locale/findlocale.c (_nl_find_locale): Retry archive search
25866         after alias expansion.
25868 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25870         * iconv/tst-iconv3.c (main): Converted to ...
25871         (do_test): ... this.
25872         (TEST_FUNCTION): New macro.
25873         Include test-skeleton.c.
25875         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25876         (convert): Make function static.
25877         (test_unalign): Likewise.  Add const to argument pointee types.
25878         (main): Replace with static function do_test.
25879         Print "Succeeded." only if RET is zero.
25880         (TEST_FUNCTION): New macro.
25881         Include test-skeleton.c.
25883         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25884         returns a null pointer.
25886 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25888         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25889         to __memcpy_ppc only for static builds.
25891 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25893         [BZ #18020]
25894         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25895         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25896         * math/auto-libm-test-in: Add more tests of asinh.
25897         * math/auto-libm-test-out: Regenerated.
25898         * sysdeps/i386/fpu/libm-test-ulps: Update.
25899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25901 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25903         [BZ #15850]
25904         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25905         and ip6_mtuinfo definitions here.
25906         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25907         in this define too.  Update comment.
25909 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25911         * elf/sprof.c (load_shobj): Tweak error message to match others.
25913 2015-02-24  Kevin Easton  <kevin@guarana.org>
25915         [BZ #16145] (partial fix)
25916         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25917         to reduce lock contention.
25919 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25921         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25922         (struct timex): Update time comment.
25923         (ADJ_SETOFFSET): Define.
25925 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25927         [BZ #18019]
25928         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25929         2**56 not 2**28 as threshold for log (2x) formula.
25930         * math/auto-libm-test-in: Add more tests of acosh.
25931         * math/auto-libm-test-out: Regenerated.
25932         * sysdeps/i386/fpu/libm-test-ulps: Update.
25933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25935 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25937         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25938         parenthesis around the buf assignment.
25939         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25941 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25943         [BZ #16783]
25944         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25945         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25946         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25947         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25948         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25949         * math/libm-test.inc (scalb_test_data): Add more tests.
25951 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25953         [BZ #17916]
25954         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25955         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25957 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25959         [BZ #17523]
25960         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25961         * io/bits/fcntl2.h (open): Use it.
25962         (openat): Likewise.
25963         * io/open.c (__libc_open): Likewise.
25964         * io/open64.c (__libc_open64): Likewise.
25965         * io/open64_2.c (__open64_2): Likewise.
25966         * io/open_2.c (__open_2): Likewise.
25967         * io/openat.c (__openat): Likewise.
25968         * io/openat64.c (__openat64): Likewise.
25969         * io/openat64_2.c (__openat64_2): Likewise.
25970         * io/openat_2.c (__openat_2): Likewise.
25971         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25972         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25973         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25974         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25975         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25976         (__open_nocancel): Likewise.
25977         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25978         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25979         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25981 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25983         [BZ #14841]
25984         * resolv/gethnamaddr.c (getanswer): Skip logging if
25985         RES_USE_DNSSEC is set.
25986         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25988 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25990         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25992 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25994         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25995         201304L, for Unicode 7.
25997 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25999         [BZ #17836]
26000         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26001         shared library.  Add gmon-start.os otherwise.
26002         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26003         $(objpfx)gmon-start.os if builing shared library.
26004         ($(objpfx)g$(static-start-installed-name)): Likewise.
26006 2015-02-23  Andreas Schwab  <schwab@suse.de>
26008         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26010 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26012         [BZ #17269]
26013         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26014         (enlarge_userbuf): Likewise.
26016 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26018         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26019         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26020         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26021         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26023 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26025         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26026         expression inside statement expression.
26028 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26030         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26031         <sysdeps/nptl/lowlevellock.h> and remove macros and
26032         functions that are now defined there.
26033         (SYS_futex): Remove.
26034         (lll_compare_and_swap): Remove.
26035         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26037 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26039         [BZ #17999]
26040         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26041         instead of scandirat.
26042         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26043         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26044         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26045         __scandirat.
26046         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26047         (__scandirat): Declare.  Use libc_hidden_proto.
26048         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26049         Remove variable.
26050         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26052 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26054         [BZ #15319]
26055         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26056         (MO): New macro.
26057         (__ieee754_atan2): For results with small absolute value, force
26058         underflow exception and remove excess range and precision from
26059         return value.
26060         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26061         (MO): New macro.
26062         (__ieee754_atan2f): For results with small absolute value, force
26063         underflow exception and remove excess range and precision from
26064         return value.
26065         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26066         (MO): New macro.
26067         (__atan): For results with small absolute value, force underflow
26068         exception and remove excess range and precision from return value.
26069         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26070         (MO): New macro.
26071         (__atanf): For results with small absolute value, force underflow
26072         exception and remove excess range and precision from return value.
26073         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26074         <math.h>.
26075         (__ieee754_atan2): Force underflow exception for results with
26076         small absolute value.
26077         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26078         <math_private.h>.
26079         (atan): Force underflow exception for results with small absolute
26080         value.
26081         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26082         (__atanf): Force underflow exception for results with small
26083         absolute value.
26084         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26085         <math.h>.
26086         (__atanl): Force underflow exception for results with small
26087         absolute value.
26088         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26089         (__atanl): Force underflow exception for results with small
26090         absolute value.
26091         * sysdeps/x86/fpu/bits/mathinline.h
26092         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26093         (__ieee754_atan2): Only define inline for long double.
26094         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26095         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26096         * math/auto-libm-test-in: Do not mark underflow exceptions as
26097         possibly missing for bug 15319.  Add more tests of atan2.
26098         * math/auto-libm-test-out: Regenerated.
26099         * math/libm-test.inc (casin_test_data): Do not mark underflow
26100         exceptions as possibly missing for bug 15319.
26101         (casinh_test_data): Likewise.
26102         * sysdeps/i386/fpu/libm-test-ulps: Update.
26104 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26106         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26107         * sysdeps/mips/bits/endian.h: Fix comments.
26109 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26111         [BZ #17996]
26112         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26113         (hdestroy_r): Likewise.
26114         (hsearch_r): Likewise.
26115         (__hcreate_r): Declare and use libc_hidden_proto.
26116         (__hdestroy_r): Likewise.
26117         (__hsearch_r): Likewise.
26118         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26119         (hcreate): Call __hcreate_r instead of hcreate_r.
26120         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26121         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26122         as weak alias of __hcreate_r.
26123         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26124         __hdestroy_r.
26125         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26126         __hsearch_r.
26127         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26128         Remove variable.
26129         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26130         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26131         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26132         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26134 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26137         arena_lock into a single arena_get.
26139 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26141         * dl-reloc.c: Inlucde libc-internal.h.
26142         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26143         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26144         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26145         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26146         (grow_heap): Likewise.
26147         * malloc/malloc.c: Include libc-internal.h.
26148         (do_check_malloc): Call powerof2.
26149         (sysmalloc): Use pagesize. Call ALIGN_UP.
26150         (systrim): Use pagesize.
26151         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26152         (__libc_valloc): Use pagesize.
26153         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26155 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26157         [BZ #17991]
26158         * include/sys/resource.h (__getrlimit64): Declare.  Use
26159         libc_hidden_proto.
26160         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26161         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26162         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26163         getrlimit64.
26164         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26165         __getrlimit64.
26166         [!getrlimit64] (getrlimit64): Define as weak alias of
26167         __getrlimit64.  Use libc_hidden_weak.
26168         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26169         using __getrlimit64 not __new_getrlimit64.
26170         (__GI_getrlimit64): Likewise.
26171         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26172         Likewise.
26173         (__GI_getrlimit64): Likewise.
26174         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26176         (getrlimit): Add __getrlimit64 alias.
26177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26178         Likewise.
26179         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26180         Remove variable.
26181         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26182         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26184 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26186         * libio/fileops.c: Add missing sys/mman.h
26187         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26189 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26191         * manual/math.texi (Errors in Math Functions): Clarify goals
26192         regarding inexact and underflow exceptions.
26194 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26196         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26197         * sysdeps/mips/memset.S: Ditto.
26199 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26201         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26203 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26205         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26206         (__v1longjmp): Remove versioned symbol.
26207         (__v1siglongjmp): Remove alias and versioned symbol.
26208         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26209         (__v2siglongjmp): Likewise.
26211 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26213         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26215 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26217         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26219 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26221         [BZ #17987]
26222         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26223         zero result does not depend on the sign resulting from
26224         subtraction.
26225         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26226         Likewise.
26227         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26228         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26229         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26230         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26231         * math/libm-test.inc (remquo_test_data): Add more tests.
26233 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26235         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26236         Problem reported by J William Piggott.
26238 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26240         [BZ #17978]
26241         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26242         products 4 * y and 2 * y where those would overflow.
26243         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26244         Likewise.
26245         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26246         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26247         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26248         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26249         * math/libm-test.inc (remquo_test_data): Add more tests.
26251         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26253         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26254         [defined _COMPILING_NEWLIB].
26255         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26256         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26258         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26259         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26261 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26263         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26264         acquired.
26266 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26268         [BZ #17792]
26269         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26270         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26271         HOST_STACK_END_ADDR): Likewise.
26273 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26275         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26276         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26277         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26279 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26281         * sysdeps/generic/c++-types.data: New file.
26282         * sysdeps/generic/ld.abilist: New file.
26283         * sysdeps/generic/libBrokenLocale.abilist: New file.
26284         * sysdeps/generic/libanl.abilist: New file.
26285         * sysdeps/generic/libc.abilist: New file.
26286         * sysdeps/generic/libcrypt.abilist: New file.
26287         * sysdeps/generic/libdl.abilist: New file.
26288         * sysdeps/generic/libm.abilist: New file.
26289         * sysdeps/generic/libpthread.abilist: New file.
26290         * sysdeps/generic/libresolv.abilist: New file.
26291         * sysdeps/generic/librt.abilist: New file.
26293 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26295         [BZ #17569]
26296         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26297         Compute absolute value of x as modified by fmod, not original
26298         value of x.
26299         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26300         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26301         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26302         RUN_TEST_ffI_f1_mod8.
26303         (remquo_test_data): Add more tests.
26305 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26307         * sysdeps/init_array/pt-crti.S: New file.
26309 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26311         [BZ #17967]
26312         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26313         __builtin_fmaf instead of relying on contraction of a * b + c.
26315 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26317         [BZ #17969]
26318         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26319         node.
26321 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26323         [BZ #17964]
26324         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26325         __builtin_fma instead of relying on contraction of a * b + c.
26327 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26329         * Makeconfig (ASFLAGS): Add -Werror=undef.
26330         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26331         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26332         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26334         * Makeconfig (after-link): New variable.
26335         (+link-pie, +link-pie-tests): Use it.
26336         (+link-static, +link-static-tests): Likewise.
26337         (+link, +link-tests): Likewise.
26338         * Makerules (build-module, build-module-asneeded): Likewise.
26339         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26340         Likewise.
26341         * elf/Makefile ($(objpfx)ld.so): Likewise.
26343 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26345         [BZ #17965]
26346         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26347         both struct timeval and struct timespec.
26349 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26351         [BZ #16560]
26352         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26353         and redefine.
26354         (__ieee754_exp2l): Do not multiply small fractional parts by
26355         M_LN2l.
26356         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26357         small argument.
26358         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26359         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26360         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26361         * math/auto-libm-test-in: Add more tests of exp2.
26362         * math/auto-libm-test-out: Regenerated.
26364 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26366         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26367         unaligned path.
26369 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26371         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26372         little endian.
26374 2015-02-12  Andreas Schwab  <schwab@suse.de>
26376         [BZ #15790]
26377         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26378         Filter out elision flags from value returned in kind.
26379         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26380         * nptl/tst-pthread-mutexattr.c: New file.
26382 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26384         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26385         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26386         into gnu-gnu, and update comment to refer to abi-tags.
26388 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26390         [BZ #15467]
26391         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26392         (__sincos): Set errno to EDOM for infinite argument.
26393         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26394         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26395         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26396         (__sincosl): Set errno to EDOM for infinite argument.
26397         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26398         (__sincosl): Set errno to EDOM for infinite argument.
26399         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26400         (__sincosl): Set errno to EDOM for infinite argument.
26401         * math/libm-test.inc (sincos_test_data): Test errno setting.
26403 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26405         * string/strxfrm_l.c: Remove #define STRCMP.
26406         * string/strcoll_l.c: Remove #define STRLEN.
26407         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26408         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26410 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26412         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26413         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26414         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26415         * sysdeps/mips/mips64/Makefile: ... here.
26416         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26417         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26418         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26419         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26420         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26421         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26422         * sysdeps/mips/mips64/n64/Implies: Likewise.
26424 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26426         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26427         <sys/time.h>, <string.h>, and <errno.h>.
26428         (dest_offset, dest_address, value, zero): Remove unused variables.
26429         (ldouble): Remove typedef.
26430         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26431         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26432         1).  Fix code style.
26433         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26434         (check): Function removed.
26435         (CHECK): New macro.
26436         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26437         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26438         Don't call set_sigaction_FP and remove_sigaction_FP here.
26439         (ldouble_test): Just use 'long double' as macro argument, no need for
26440         the 'ldouble' typedef.
26441         (do_test): Set up SIGFPE handler at start, using plain signal rather
26442         than sigaction.  Fix code style.
26444 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26446         [BZ #17949]
26447         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26448         jump label.
26450 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26452         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26453         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26455         * sysdeps/powerpc/configure.ac: Remove file.
26456         * sysdeps/powerpc/configure: Likewise.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26459         [sysdep_routines]: Remove wordcopy-power6 object.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26461         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26463         (__memmove_ppc32): Likewise.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26465         file.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26467         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26468         Remove preprocessor.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26471         [sysdep_routines]: Remove wide chars objects.
26472         [wcsmbs]: New rule for wide char objects.
26474         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26475         Remove wordcopy-power6 obejct.
26476         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26477         Use local call for wordcopy and memcpy symbols.
26478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26480         implementation for loader.
26481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26484         Remove wordcopy-power7 object.
26485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26486         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26487         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26488         (_wordcopy_fwd_dest_aligned): Likewise.
26489         (_wordcopy_bwd_aligned): Likewise.
26490         (_wordcopy_bwd_dest_aligned): Likewise.
26492         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26493         Rewrite to call __memmove_ppc instead of include default
26494         implementation.
26496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26497         Remove wide chars objects.
26498         [wcsmbs]: New rule for wide char objects.
26500 2015-02-09  Andreas Schwab  <schwab@suse.de>
26502         [BZ #17912]
26503         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26504         in terms of __O_DIRECTORY.
26506 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26508         * time/getdate.c: Include <stdbool.h>.
26509         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26510         call PTR_MANGLE.
26511         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26512         PTR_DEMANGLE.
26514 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26516         Add ersatz _Static_assert on older C hosts
26517         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26518         pre-C11 C platform that is not known to support _Static_assert.
26520 2015-02-07  Richard Braun  <rbraun@sceen.net>
26522         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26523         sigstate.
26524         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26526 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26528         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26529         priority against unexistent AIO_PRIO_DELTA_MAX.
26530         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26531         instead of int.
26532         * misc/fchflags.c (fchflags): Likewise.
26533         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26534         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26535         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26536         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26537         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26538         Declare macros.
26539         [__USE_MISC] (chflags, fchflags): Declare functions.
26540         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26541         EINVAL when nfds is greater than FD_SETSIZE.
26542         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26543         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26544         45.
26545         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26546         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26547         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26548         MACH_RCV_TIMED_OUT.
26549         * hurd/hurd/signal.h (_hurd_self_sigstate,
26550         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26551         Explicit casts from void *.
26552         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26553         * abi-tags: Rename gnu-gnu os into gnu.
26555         [BZ #4719]
26556         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26557         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26558         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26559         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26560         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26561         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26563         [BZ #17944]
26564         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26565         duplicates ADDR->sun_path with sockaddr LEN limitation.
26566         * sysdeps/mach/hurd/connect.c: Include <string.h>
26567         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26568         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26569         * sysdeps/mach/hurd/sendto.c: Likewise.
26570         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26571         implementing it by hand.
26573 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26575         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26576         Use sfi_breg on ldr.
26577         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26578         Likewise.
26580         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26581         it's defined.
26582         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26583         Test SIGSETXID only if it's defined.
26585         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26587         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26588         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26590         * nptl/tst-align2.c: Moved ...
26591         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26592         * nptl/Makefile (tests): Remove tst-align2.
26593         * sysdeps/unix/sysv/linux/Makefile
26594         [$(subdir) = nptl] (tests): Add tst-align-clone.
26595         * nptl/tst-getpid1.c: Moved ...
26596         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26597         * nptl/tst-getpid2.c: Moved ...
26598         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26599         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26600         * sysdeps/unix/sysv/linux/Makefile
26601         [$(subdir) = nptl] (tests): ... here.
26602         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26603         * sysdeps/unix/sysv/linux/Makefile
26604         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26606         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26607         Drop trailing \n from perror argument.  Use return rather than exit.
26609         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26610         on [SA_SIGINFO].
26611         * nptl/tst-cancel21.c (do_test): Likewise.
26612         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26613         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26614         [!SA_SIGINFO]: Make it a stub test.
26616         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26617         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26619         * posix/tst-getlogin.c: Move to ...
26620         * login/tst-getlogin.c: ... here.
26621         * posix/Makefile (tests): Move tst-getlogin to ...
26622         * login/Makefile (tests): ... here.
26624         * libio/tst-atime.c (do_test): Move local variables SV and E
26625         inside [ST_NOATIME] conditional.
26627         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26629         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26631         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26632         (wait_code): New function replaces macro.
26633         Call nanosleep rather than syscall.
26635         * nptl/pt-system.c: Rewritten.  Put everything under
26636         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26637         Use IFUNC to redirect when possible.
26639         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26640         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26641         Use IFUNC to redirect when possible.
26643         * nptl/pt-fork.c: Rewritten.  Put everything under
26644         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26645         Use IFUNC to redirect when possible.
26646         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26648         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26649         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26650         unconditionally nowadays.  This included the only reference to
26651         __vdso_clock_gettime that appears outside libc proper.
26652         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26653         Remove version set (containing only __vdso_clock_gettime).
26654         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26655         Add attribute_hidden.
26656         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26657         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26658         libc_hidden_data_def.
26659         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26660         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26662         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26663         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26664         setrpcent, and getrpcport to ...
26665         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26666         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26667         getrpcbynumber_r, and getrpcent_r to ...
26668         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26669         * inet/getrpcbyname.c: Moved ...
26670         * sunrpc/getrpcbyname.c: ... here.
26671         * inet/getrpcbyname_r.c: Moved ...
26672         * sunrpc/getrpcbyname_r.c: ... here.
26673         * inet/getrpcbynumber.c: Moved ...
26674         * sunrpc/getrpcbynumber.c: ... here.
26675         * inet/getrpcbynumber_r.c: Moved ...
26676         * sunrpc/getrpcbynumber_r.c: ... here.
26677         * inet/getrpcent.c: Moved ...
26678         * sunrpc/getrpcent.c: ... here.
26679         * inet/getrpcent_r.c: Moved ...
26680         * sunrpc/getrpcent_r.c: ... here.
26681         * inet/Makefile (routines): Move those to ...
26682         * sunrpc/Makefile (routines): ... here.
26683         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26684         the $(subdirs) list.
26685         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26686         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26687         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26688         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26690         * elf/Makefile (routines): Include $(all-dl-routines), not just
26691         $(dl-routines).
26692         (rtld-routines): Likewise.  Use = rather than :=.
26693         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26694         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26695         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26696         * sysdeps/arm/Makefile: Likewise.
26697         * sysdeps/i386/Makefile: Likewise.
26698         * sysdeps/x86_64/Makefile: Likewise.
26699         * sysdeps/hppa/Makefile [$(subdir) = elf]
26700         (sysdep_routines, sysdep-rtld-routines): Don't add
26701         $(sysdep-dl-routines) to these.
26702         * sysdeps/ia64/Makefile: Likewise.
26703         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26704         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26705         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26706         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26707         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26708         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26709         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26710         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26711         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26712         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26713         these; sysdep-dl-routines alone is enough.
26715 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26717         [BZ #17932]
26718         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26719         where multiplication results in zero and third argument is finite
26720         and nonzero.
26721         * math/auto-libm-test-in: Add more tests of fma.
26722         * math/auto-libm-test-out: Regenerated.
26724         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26725         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26726         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26727         (_FP_CMP_EQ): Likewise.
26728         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26730         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26731         extra argument CHECK_NAN.  Redefine as wrapper around
26732         _FP_EXTEND_CNAN.
26734 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26736         * version.h (RELEASE): Set to "stable".
26737         (VERSION): Set to "2.21"
26738         * include/features.h (__GLIBC_MINOR__): Set to 21.
26740         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26742 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26743             Paul Eggert  <eggert@cs.ucla.edu>
26745         [BZ #16618]
26746         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26747         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26748         size in bytes. Store needed elements in wpmax. Use needed size
26749         in bytes for extend_alloca.
26751 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26753         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26754         binutls 2.25, and texinfo 5.2.
26755         * INSTALL: Regenerate.
26756         * sysdeps/nios2/configure: Regenerate.
26757         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26758         * manual/contrib.texi: Update.
26759         * po/be.po: Update.
26760         * po/bg.po: Update.
26761         * po/ca.po: Update.
26762         * po/cs.po: Update.
26763         * po/da.po: Update.
26764         * po/de.po: Update.
26765         * po/el.po: Update.
26766         * po/eo.po: Update.
26767         * po/es.po: Update.
26768         * po/fi.po: Update.
26769         * po/fr.po: Update.
26770         * po/gl.po: Update.
26771         * po/hr.po: Update.
26772         * po/hu.po: Update.
26773         * po/ia.po: Update.
26774         * po/id.po: Update.
26775         * po/it.po: Update.
26776         * po/ja.po: Update.
26777         * po/ko.po: Update.
26778         * po/lt.po: Update.
26779         * po/nb.po: Update.
26780         * po/nl.po: Update.
26781         * po/pl.po: Update.
26782         * po/pt_BR.po: Update.
26783         * po/ru.po: Update.
26784         * po/rw.po: Update.
26785         * po/sk.po: Update.
26786         * po/sl.po: Update.
26787         * po/sv.po: Update.
26788         * po/tr.po: Update.
26789         * po/uk.po: Update.
26790         * po/vi.po: Update.
26791         * po/zh_CN.po: Update.
26792         * po/zh_TW.po: Update.
26794         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26795         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26796         * sysdeps/hppa/dl-irel.h: Remove #warning.
26797         * sysdeps/hppa/entry.h: Provide prototype for
26798         __canonicalize_funcptr_for_compare and cast argument.
26799         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26800         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26801         * sysdeps/hppa/sotruss-lib.c: New file.
26802         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26803         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26804         (atomic_compare_and_exchange_bool_acq): Likewise.
26805         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26806         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26808         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26809         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26810         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26812 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26814         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26815         called function in non-PIC case.
26817 2015-01-31  David S. Miller  <davem@davemloft.net>
26819         * sysdeps/sparc/sparc32/bits/atomic.h
26820         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26821         unlock not after it.
26822         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26823         volatile register usage warnings from the compiler.
26825         * sysdeps/sparc/nptl/sem_init.c: Delete.
26826         * sysdeps/sparc/nptl/sem_post.c: Delete.
26827         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26828         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26829         * sysdeps/sparc/sparc32/sem_init.c: New file.
26830         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26831         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26832         padding explicitly initialized.
26833         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26834         padding for in-semaphore spinlock.
26835         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26836         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26837         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26838         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26839         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26840         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26841         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26842         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26843         version.
26844         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26845         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26847 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26849         [BZ #17801]
26850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26851         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26852         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26853         New.
26854         (index_AVX_Fast_Unaligned_Load): Likewise.
26855         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26856         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26857         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26858         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26859         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26860         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26861         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26862         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26863         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26865 2015-01-29  Andreas Schwab  <schwab@suse.de>
26867         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26869 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26871         [BZ #17892]
26872         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26874 2015-01-28  Martin Sebor  <msebor@redhat.com>
26876         * math/README.libm-test: Clarify. Add "How to read the test output."
26878 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26880         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26881         Define to 0.
26883 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26885         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26886         (__HAVE_64B_ATOMICS): Define to 0.
26888 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26890         [BZ #17885]
26891         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26892         value to set as new flag.
26894         [BZ #16576]
26895         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26896         and use _ARCH_PPCSQ instead.
26897         (__ieee754_sqrt): Likewise.
26898         (__ieee754_sqrtf): Likewise.
26899         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26900         _ARCH_PPCSQ is defined.
26901         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26902         fsqrt instruction.
26903         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26904         _ARCH_PPCSQ is defined.
26905         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26906         fsqrts instruction.
26907         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26909 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26911         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26912         bug (GCC BZ #64739).
26914 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26916         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26917         Mark _retval as used.
26918         (lll_futex_wake_unlock): Likewise.
26919         (lll_futex_timed_wait_requeue_pi): Likewise.
26921         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26922         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26923         register variables.
26925         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26926         libm_hidden_def.
26928         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26929         (__bswap_64): Mark as __always_inline.
26931 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26933         [BZ #15378]
26934         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26935         when none of the search directories exist.
26937 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26939         [BZ #17869]
26940         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26941         power8 in .machine directive.
26943         [BZ #17868]
26944         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26945         set dependency from opd value.
26947 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26950         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26951         architecture.
26953 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26955         [BZ #17870]
26956         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26957         with uint64_t.
26958         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26959         (uint64_t) 1.
26960         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26961         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26962         Replace 1UL with (uint64_t) 1.
26963         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26964         int with uint64_t.
26966 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26968         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26969         (if_freenameindex): Likewise.
26971         * resource/getrlimit64.c: Add missing libc_hidden_def.
26973 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26975         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26976         __label__.
26977         (_FP_FMA): Likewise.
26978         (_FP_TO_INT_ROUND): Likewise.
26979         (_FP_FROM_INT): Likewise.
26981 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26983         [BZ #16418]
26984         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26985         Make code racy and cancel safe.
26987 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26989         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26990         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26991         attribution.
26993         * pwd/tst-getpw.c: Rewrite.
26995         [BZ #17702]
26996         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26997         (modules-names): Add moddummy1 and moddummy2.
26998         ($(objpfx)tst-rec-dlopen): Define.
26999         * dlfcn/moddummy1.c: New file.
27000         * dlfcn/moddummy2.c: New file.
27001         * dlfcn/tst-rec-dlopen.c: New file.
27002         * elf/dl-cache.c (_dl_load_cache_lookup):
27003         Return char*. Copy result with alloca/strcpy/strdup.
27004         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27005         returns char*. Free cached. If not saving realname
27006         free cached.
27007         * elf/dl-open.c (dl_open_worker): Do not assert that
27008         _r_debug->r_state is RT_CONSISTENT.
27009         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27010         returns char*.
27012 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27013             Carlos O'Donell  <carlos@redhat.com>
27015         [BZ #12674]
27016         * nptl/sem_waitcommon.c: New file.
27017         * nptl/sem_wait.c: Include sem_waitcommon.c.
27018         (__sem_wait_cleanup, do_futex_wait): Remove.
27019         (__new_sem_wait): Adapt.
27020         (__new_sem_trywait): New function.
27021         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27022         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27023         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27024         (sem_timedwait): Adapt.
27025         * nptl/sem_post.c (__new_sem_post): Adapt.
27026         (futex_wake): New function.
27027         (__old_sem_post): Add release MO fence.
27028         * nptl/sem_open.c (sem_open): Adapt.
27029         * nptl/sem_init.c (__new_sem_init): Adapt.
27030         (futex_private_if_supported): New function.
27031         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27032         (__old_sem_getvalue): Add using previous code.
27033         * sysdeps/nptl/internaltypes.h: Adapt.
27034         * nptl/tst-sem13.c (do_test): Adapt.
27035         * nptl/tst-sem11.c (main): Adapt.
27036         * nptl/sem_trywait.c: Remove.
27037         * nptl/DESIGN-sem.txt: Remove.
27038         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27039         (gen-as-const-headers): Remove structsem.sym.
27040         * nptl/structsem.sym: Remove.
27041         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27042         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27043         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27044         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27045         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27046         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27047         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27048         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27049         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27050         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27051         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27052         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27053         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27054         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27055         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27056         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27057         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27058         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27059         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27060         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27061         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27062         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27064 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27066         * INSTALL: Regenerated.
27068         * po/libc.pot: Regenerated.
27070 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27071             Sandra Loosemore  <sandra@codesourcery.com>
27072             Andrew Jenner  <andrew@codesourcery.com>
27073             Joseph Myers  <joseph@codesourcery.com>
27074             Nathan Sidwell  <nathan@codesourcery.com>
27076         * NEWS: Mention new Nios II port.
27077         * sysdeps/nios2/Implies: New file.
27078         * sysdeps/nios2/Makefile: New file.
27079         * sysdeps/nios2/Subdirs: New file.
27080         * sysdeps/nios2/Versions: New file.
27081         * sysdeps/nios2/__longjmp.S: New file.
27082         * sysdeps/nios2/abort-instr.h: New file.
27083         * sysdeps/nios2/backtrace.c: New file.
27084         * sysdeps/nios2/bits/endian.h: New file.
27085         * sysdeps/nios2/bits/fenv.h: New file.
27086         * sysdeps/nios2/bits/link.h: New file.
27087         * sysdeps/nios2/bits/setjmp.h: New file.
27088         * sysdeps/nios2/bsd-_setjmp.S: New file.
27089         * sysdeps/nios2/bsd-setjmp.S: New file.
27090         * sysdeps/nios2/configure: New generated file.
27091         * sysdeps/nios2/configure.ac: New file.
27092         * sysdeps/nios2/crti.S: New file.
27093         * sysdeps/nios2/crtn.S: New file.
27094         * sysdeps/nios2/dl-init.c: New file.
27095         * sysdeps/nios2/dl-machine.h: New file.
27096         * sysdeps/nios2/dl-sysdep.h: New file.
27097         * sysdeps/nios2/dl-tls.h: New file.
27098         * sysdeps/nios2/dl-trampoline.S: New file.
27099         * sysdeps/nios2/gccframe.h: New file.
27100         * sysdeps/nios2/gmp-mparam.h: New file.
27101         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27102         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27103         * sysdeps/nios2/ldsodefs.h: New file.
27104         * sysdeps/nios2/libc-tls.c: New file.
27105         * sysdeps/nios2/libm-test-ulps: New file.
27106         * sysdeps/nios2/machine-gmon.h: New file.
27107         * sysdeps/nios2/math-tests.h: New file.
27108         * sysdeps/nios2/math_private.h: New file.
27109         * sysdeps/nios2/memusage.h: New file.
27110         * sysdeps/nios2/nptl/Makefile: New file.
27111         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27112         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27113         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27114         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27115         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27116         * sysdeps/nios2/nptl/tls.h: New file.
27117         * sysdeps/nios2/preconfigure: New file.
27118         * sysdeps/nios2/s_fma.c: New file.
27119         * sysdeps/nios2/s_fmaf.c: New file.
27120         * sysdeps/nios2/setjmp.S: New file.
27121         * sysdeps/nios2/sfp-machine.h: New file.
27122         * sysdeps/nios2/sotruss-lib.c: New file.
27123         * sysdeps/nios2/stackguard-macros.h: New file.
27124         * sysdeps/nios2/stackinfo.h: New file.
27125         * sysdeps/nios2/start.S: New file.
27126         * sysdeps/nios2/sysdep.h: New file.
27127         * sysdeps/nios2/tls-macros.h: New file.
27128         * sysdeps/nios2/tst-audit.h: New file.
27129         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27130         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27131         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27132         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27133         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27134         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27135         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27136         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27137         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27138         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27139         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27140         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27141         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27142         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27143         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27144         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27145         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27146         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27147         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27148         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27149         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27150         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27151         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27152         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27153         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27154         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27155         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27156         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27157         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27158         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27159         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27160         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27161         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27162         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27163         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27164         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27165         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27166         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27167         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27168         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27169         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27170         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27171         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27172         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27174 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27176         [BZ #17844]
27177         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27178         (getutent): Use weak_alias in non SHARED case
27179         and default_symbol_version in SHARED case.
27180         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27181         (getutent_r, pututline): Likewise.
27182         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27183         (getutid): Likewise.
27184         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27185         (getutid_r): Likewise.
27186         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27187         (getutline): Likewise.
27188         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27189         (getutline_r): Likewise.
27190         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27191         (updwtmp): Likewise.
27193 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27195         [BZ #17848]
27196         * sysdeps/s390/s390-32/memcmp.S
27197         (memcmp_g5): Rename to __memcmp_g5.
27198         * sysdeps/s390/s390-32/memcpy.S
27199         (memcpy_g5): Rename to __memcpy_g5.
27200         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27201         (memcpy_mvcle) Rename to __memcpy_mvcle.
27202         * sysdeps/s390/s390-32/memset.S
27203         (memset_g5): Rename to __memset_g5.
27204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27205         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27206         and use prefixed functions.
27207         * sysdeps/s390/s390-32/multiarch/memcmp.S
27208         (memcmp_z196): Rename to __memcmp_z196.
27209         (memcmp_z10): Rename to __memcmp_z10.
27210         (memcmp): Set alias to __memcmp_g5.
27211         (bcmp): Set alias to __memcmp_g5.
27212         * sysdeps/s390/s390-32/multiarch/memcpy.S
27213         (memcpy_z196): Rename to __memcpy_z196.
27214         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27215         (memcpy_z10): Rename to __memcpy_z10.
27216         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27217         (memcpy): Set alias to __memcpy_g5.
27218         * sysdeps/s390/s390-32/multiarch/memset.S
27219         (memset_z196): Rename to __memset_z196.
27220         Jump to __memset_mvcle instead of memset_mvcle.
27221         (memset_z10): Rename to __memset_z10.
27222         Jump to __memset_mvcle instead of memset_mvcle.
27223         (memset_mvcle) Rename to __memset_mvcle.
27224         (memset): Set alias to __memset_g5.
27225         * sysdeps/s390/s390-64/memcmp.S
27226         (memcmp_z900): Rename to __memcmp_z900.
27227         * sysdeps/s390/s390-64/memcpy.S
27228         (memcpy_z900): Rename to __memcpy_z900.
27229         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27230         (memcpy_mvcle) Rename to __memcpy_mvcle.
27231         * sysdeps/s390/s390-64/memset.S
27232         (memset_z900): Rename to __memset_z900.
27233         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27234         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27235         and use prefixed functions.
27236         * sysdeps/s390/s390-64/multiarch/memcmp.S
27237         (memcmp_z196): Rename to __memcmp_z196.
27238         (memcmp_z10): Rename to __memcmp_z10.
27239         (memcmp): Set alias to __memcmp_z900.
27240         (bcmp): Set alias to __memcmp_z900.
27241         * sysdeps/s390/s390-64/multiarch/memcpy.S
27242         (memcpy_z196): Rename to __memcpy_z196.
27243         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27244         (memcpy_z10): Rename to __memcpy_z10.
27245         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27246         (memcpy): Set alias to __memcpy_z900.
27247         * sysdeps/s390/s390-64/multiarch/memset.S
27248         (memset_z196): Rename to __memset_z196.
27249         Jump to __memset_mvcle instead of memset_mvcle.
27250         (memset_z10): Rename to __memset_z10.
27251         Jump to __memset_mvcle instead of memset_mvcle.
27252         (memset_mvcle) Rename to __memset_mvcle.
27253         (memset): Set alias to __memset_z900.
27255 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27257         [BZ #17748]
27258         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27259         __fesetenv instead of fesetenv.
27261 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27263         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27264         macro.
27266 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27268         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27269         regression on LE.
27271         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27272         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27273         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27274         strncmp-power8 object.
27275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27276         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27277         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27278         * NEWS: Update.
27280 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27281             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27283         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27284         trailing byte check.
27286 2015-01-13  David S. Miller  <davem@davemloft.net>
27288         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27290 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27292         * login/logout.c (logout): Use memset rather than bzero.
27293         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27294         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27295         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27296         (_gethtbyaddr): Likewise.
27297         * locale/programs/simple-hash.c (bcopy): Macro removed.
27299 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27301         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27302         Add strcmp-power8 object.
27303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27304         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27305         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27306         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27307         __strcmp_power8 implementation.
27308         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27309         * NEWS: Update.
27311         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27312         Add strncpy-power8 and stpncpy-power8 objects.
27313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27314         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27315         implementations.
27316         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27317         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27318         __stpncpy_power8 implementation.
27319         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27320         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27321         __strncpy_power8 implementation.
27322         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27323         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27324         * NEWS: Update.
27326         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27327         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27328         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27330         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27331         strncat-power8 object.
27332         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27333         __strcat_power8 implementation.
27334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27335         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27336         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27337         optimized strcat for power8.
27339         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27340         strcpy-power8 and stpcpy-power8 objects.
27341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27342         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27343         implementations.
27344         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27345         multiarch stpcpy implementation for POWER8.
27346         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27347         multiarch strcpy implementation for POWER8.
27348         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27349         __strcpy_power8 function.
27350         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27351         stpcpy for POWER8.
27352         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27353         strcpy for POWER8.
27354         * NEWS: Update.
27356 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27358         [BZ #16009]
27359         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27360         weights and rules. Use do_xfrm_cached if data fits in cache,
27361         do_xfrm otherwise.  Moved former main loop to...
27362         * (do_xfrm_cached): New function.
27363         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27364         find_idx, find_position and stack_push.
27365         * (find_idx): New function.
27366         * (find_position): Likewise.
27367         * localedata/sort-test.sh: Added test run for do_xfrm.
27368         * localedata/xfrm-test.c (main): Added command line option
27369         -nocache to run the test with strings that are too large for
27370         the STRXFRM cache.
27372 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27374         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27375         variable to lll_futex_wake call, not the value itself.
27377 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27379         [BZ #17803]
27380         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27381         twom64.  Adjust value to 0x1p-64L.
27382         (__scalblnl): Only return standard underflowing result for K <=
27383         -64 not K <= -63; adjust exponent for underflowing result by 64
27384         not 63.
27385         * math/libm-test.inc (scalbn_test_data): Add more tests.
27386         (scalbln_test_data): Likewise.
27388         [BZ #17834]
27389         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27390         0x1p63L.
27391         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27392         not HX.
27393         * math/libm-test.inc (scalbn_test_data): Add more tests.
27394         (scalbln_test_data): Likewise.
27396 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27397             Stefani Seibold  <stefani@seibold.net>
27399         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27400         (sysdep_routines): Add dl-vdso here, ...
27401         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27402         (sysdep_routines): ... not here.
27403         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27404         fallback when vDSO is not presented.
27405         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27406         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27407         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27408         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27409         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27410         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27411         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27412         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27413         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27415         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27416         fallback configurable symbol when vDSO is not available.
27417         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27418         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27419         be able to redefine fallback symbol when vDSO is not available.
27420         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27421         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27423 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27425         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27426         (TLS_INIT_TP): Add tm_capable initialization.
27427         (TLS_DEFINE_INIT_TP): Likewise.
27428         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27429         TCB.
27430         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27431         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27432         calculation.
27433         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27434         transactoion is lock elision is built and TCB tm_capable is set.
27435         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27437         (INTERNAL_SYSCALL_NCS): Likewise.
27438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27439         (INTERNAL_SYSCALL_NCS): Likewise.
27440         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27442         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27443         for powerpc.
27444         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27445         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27446         and remove it for 32 bits case.
27447         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27448         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27449         initialization.
27450         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27451         Disable lock elision with rdlocks if elision is not available.
27453         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27454         (sysdep_routines): Add lock elision objects.
27455         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27456         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27457         [pthread_mutex_t] (__elision): Add field.
27458         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27459         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27460         elision definitions for powerpc.
27461         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27462         implementation of lock elision for powerpc.
27463         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27464         implementation of timed lock elision for powerpc.
27465         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27466         implementation of trylock with lock elision for powerpc.
27467         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27468         implementaion of unlock for lock elision for powerpc.
27469         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27470         automatic enable lock elision for mutexes.
27471         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27472         transaction execution definitions for powerpc.
27473         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27474         definitions.
27475         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27476         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27477         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27478         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27479         * NEWS: Update.
27481 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27483         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27484         for #include of <shm-directory.h>.
27486 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27488         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27489         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27491 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27493         [BZ #17791]
27494         * NEWS: Mention bug fix.
27495         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27496         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27497         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27499 2015-01-09  Torvald Riegel <triegel@redhat.com>
27501         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27503 2015-01-09  Torvald Riegel <triegel@redhat.com>
27505         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27507 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27509         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27510         pointer and cast to uintptr_t.
27512 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27514         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27515         removed.
27516         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27518 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27520         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27521         of 0.
27523 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27525         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27526         <nptl/pthreadP.h> instead.
27527         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27529         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27530         already defined.
27531         [__SIGRTMIN] (init): Function removed.
27532         [__SIGRTMIN] (initialized): Variable removed.
27533         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27534         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27535         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27536         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27537         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27538         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27539         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27540         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27541         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27542         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27543         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27544         * sysdeps/nptl/allocrtsig.c: New file.
27545         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27546         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27547         * sysdeps/generic/testrtsig.h: File removed.
27549         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27550         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27552         * nptl/nptl-init.c (pthread_functions): Conditionalize
27553         .ptr__nptl_setxid initialization on [SIGSETXID].
27555         * sysdeps/nptl/sys/procfs.h: New file.
27556         * nptl_db/Makefile (headers): Add it.
27557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27559         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27560         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27561         * nptl/pthread_attr_setaffinity.c: Include it.
27562         * nptl/pthread_setattr_default_np.c: Likewise.
27563         * nptl/check-cpuset.h: New file.
27565 2015-01-08  Richard Henderson  <rth@redhat.com>
27567         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27568         (CFLAGS-tst-execstack-prog.c): Likewise.
27569         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27571 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27572             Sandra Loosemore  <sandra@codesourcery.com>
27573             Andrew Jenner  <andrew@codesourcery.com>
27574             Joseph Myers  <joseph@codesourcery.com>
27575             Nathan Sidwell  <nathan@codesourcery.com>
27577         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27578         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27579         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27580         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27581         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27582         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27583         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27584         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27585         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27586         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27587         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27588         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27589         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27590         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27591         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27592         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27593         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27595 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27597         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27598         timespec struct member in syscall macro.
27599         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27600         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27601         first timeval struct member in syscall macro.
27602         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27604 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27606         [BZ #17748]
27607         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27608         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27609         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27610         __feupdateenv and define as weak alias of __feupdateenv.  Use
27611         libm_hidden_weak.
27612         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27613         libm_hidden_def.
27614         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27615         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27616         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27617         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27618         libm_hidden_def.
27619         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27620         __feupdateenv and define as weak alias of __feupdateenv.  Use
27621         libm_hidden_weak.
27622         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27623         libm_hidden_def.
27624         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27625         __feupdateenv and define as weak alias of __feupdateenv.  Use
27626         libm_hidden_weak.
27627         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27628         libm_hidden_def.
27629         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27630         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27631         (__feupdateenv): Likewise.
27632         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27633         __feupdateenv and define as weak alias of __feupdateenv.  Use
27634         libm_hidden_weak.
27635         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27636         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27637         libm_hidden_def.
27638         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27639         function.
27640         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27641         libm_hidden_def.
27642         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27643         __feupdateenv instead of feupdateenv.
27644         (default_libc_feupdateenv_test): Likewise.
27645         (libc_feresetround_ctx): Likewise.
27647 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27649         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27650         prototype.
27652 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27654         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27655         COLL_SYM in a couple of places to avoid uninitialized variable
27656         wanings on tilegx gcc 4.8.2.
27658 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27660         * sysdeps/aarch64/strcpy.S: New file.
27661         * sysdeps/aarch64/stpcpy.S: New file.
27662         * NEWS: Updated.
27664 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27666         * sysdeps/aarch64/strrchr.S: New file.
27667         * NEWS: Updated.
27669 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27671         [BZ #17658]
27672         * stdlib/setenv.c: Fix memory leak when setting large,
27673         duplicate string.
27675 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27677         [BZ #17273]
27678         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27679         and tabs from buffer before parsing fstab entry.
27680         * misc/tst-mntent.c (main): Add test for mount entry with
27681         trailing spaces and tabs.
27683 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27685         [BZ #17748]
27686         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27687         * math/fesetround.c (fesetround): Rename to __fesetround and
27688         define as weak alias of __fesetround.  Use libm_hidden_weak.
27689         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27690         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27691         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27692         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27693         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27694         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27695         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27696         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27697         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27698         __fesetround_inline.
27699         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27700         __fesetround_inline instead of __fesetround.
27701         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27702         __fesetround and define as weak alias of __fesetround.  Use
27703         libm_hidden_weak.  Call __fesetround_inline instead of
27704         __fesetround.
27705         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27706         __fesetround and define as weak alias of __fesetround.  Use
27707         libm_hidden_weak.
27708         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27709         Likewise.
27710         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27711         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27712         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27713         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27714         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27715         __fesetround and define as weak alias of __fesetround.  Use
27716         libm_hidden_weak.
27717         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27718         __fesetround instead of fesetround.
27719         (default_libc_feholdexcept_setround): Likewise.
27720         (libc_feholdsetround_ctx): Likewise.
27721         (libc_feholdsetround_noex_ctx): Likewise.
27723         [BZ #17748]
27724         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27725         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27726         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27727         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27728         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27729         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27730         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27731         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27732         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27733         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27734         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27735         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27736         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27737         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27738         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27739         libm_hidden_def.
27740         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27741         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27742         Likewise.
27743         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27744         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27745         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27746         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27747         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27748         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27749         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27750         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27751         __fesetenv instead of fesetenv.
27752         (libc_feresetround_noex_ctx): Likewise.
27753         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27754         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27755         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27756         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27757         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27758         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27759         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27760         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27761         (__feupdateenv): Likewise.
27762         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27763         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27764         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27765         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27767 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27769         [BZ #17806]
27770         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27771         addresses have been freed.
27773 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27775         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27776         and nservall.
27778 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27780         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27781         Clean up check_pf allocation pattern. addresses
27783 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27785         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27786         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27787         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27788         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27789         * nptl/pthread_join.c (pthread_join): Likewise.
27790         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27791         * sysdeps/posix/waitid.c (__waitid): Likewise.
27792         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27793         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27794         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27795         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27797         Likewise.
27798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27799         (__libc_pread64): Likewise.
27800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27801         (__libc_pwrite): Likewise.
27802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27803         (__libc_pwrite64): Likewsie.
27804         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27805         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27806         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27807         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27808         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27809         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27810         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27812         Likewise.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27814         (__libc_pread64): Likewise.
27815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27816         Likewise.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27818         (__libc_pwrite64): Likewise.
27819         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27820         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27821         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27822         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27823         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27824         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27825         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27826         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27827         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27828         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27829         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27830         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27831         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27832         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27833         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27834         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27835         Likewise.
27837 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27839         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27840         (CFLAGS-test-double.c): Likewise.
27841         (CFLAGS-test-ldouble.c): Likewise.
27842         (CPPFLAGS-test-ifloat.c): Likewise.
27843         (CPPFLAGS-test-idouble.c): Likewise.
27844         (CPPFLAGS-test-ildoubl.c): Likewise.
27845         (CFLAGS-test-test-fenv.c): Remove variable.
27846         (CFLAGS-test-misc.c): Likewise.
27848 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27850         [BZ #17797]
27851         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27852         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27853         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27854         CLOCKS_PER_SEC == 1000000.
27855         * time/clocktest.c (main): Replace %ld with %jd and cast to
27856         intmax_t.
27858 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27860         * sysdeps/generic/unwind-resume.h: New file.
27861         * sysdeps/gnu/unwind-resume.c: Include it.
27862         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27863         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27864         argument list.
27865         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27866         global rather than static.
27867         (_Unwind_Resume): Update user.
27868         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27869         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27870         rather than static.  Add __attribute__ ((cold)).
27871         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27872         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27873         * sysdeps/arm/arm-unwind-resume.S: New file.
27874         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27875         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27876         * sysdeps/arm/Makefile [$(subdir) = csu]
27877         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27878         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27879         Add rt-arm-unwind-resume.
27880         [$(subdir) = nptl]
27881         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27882         Add pt-arm-unwind-resume.
27883         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27884         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27886 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27888         [BZ #17748]
27889         * include/fenv.h (__feholdexcept): Declare.  Use
27890         libm_hidden_proto.
27891         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27892         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27893         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27894         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27895         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27896         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27897         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27898         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27899         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27900         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27901         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27902         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27903         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27904         (feholdexcept): Likewise.
27905         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27906         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27907         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27908         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27909         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27910         __feholdexcept instead of feholdexcept.
27911         (default_libc_feholdexcept_setround): Likewise.
27913 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27915         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27916         to avoid using stl/str to align destination.
27918 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27920         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27922 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27924         [BZ #17796]
27925         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27926         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27927         Define as weak alias not strong alias.
27929 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27931         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27932         bltzal with addiupc.
27933         (RTLD_START): Ditto.
27935 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27937         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27938         for __vdso_* functions in declarations.
27939         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27940         definitions.
27941         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27942         INTERNAL_VSYSCALL): Use struct return types to check for error.
27944         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27945         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27946         function with cast from llround().
27947         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27948         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27949         Define.
27951 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27953         [BZ #17793]
27954         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27955         Define as weak alias not strong alias.
27957         [BZ #17635]
27958         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27959         ...
27960         * ctype/ctype-extn.c: ... here.
27961         (__isblank_l): Move to ...
27962         * ctype/ctype-c99_l.c: ... here.  New file.
27963         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27964         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27965         Remove variable.
27966         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27967         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27968         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27969         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27970         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27972         [BZ #17777]
27973         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27974         (posix_fadvise64): Define as weak alias not strong alias.
27975         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27976         (posix_fallocate64): Likewise.
27977         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27978         Remove variable.
27979         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27980         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27981         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27982         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27983         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27985 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27987         [BZ #16191]
27988         * NEWS: Mention bug fix.
27989         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27990         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27991         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27992         (HOST_STACK_END_ADDR): Likewise.
27994 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27996         [BZ #17748]
27997         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27998         * math/fegetround.c (fegetround): Rename to __fegetround and
27999         define as weak alias of __fegetround.  Use libm_hidden_weak.
28000         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28001         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28002         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28003         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28004         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28005         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28006         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28007         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28008         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28009         Undefine after rather than before function definition; use
28010         parentheses around function name in definition.
28011         (__fegetround): Also undefine macro after function definition.
28012         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28013         __fegetround and define as weak alias of __fegetround.  Use
28014         libm_hidden_weak.  Do not undefine as macro.
28015         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28016         Likewise.
28017         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28018         __fegetround and define as weak alias of __fegetround.  Use
28019         libm_hidden_weak.
28020         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28021         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28022         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28023         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28024         __fegetround and define as weak alias of __fegetround.  Use
28025         libm_hidden_weak.
28026         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28027         __fegetround instead of fegetround.
28029         [BZ #17782]
28030         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28031         Condition macro definition on [__USE_MISC].
28033         [BZ #17781]
28034         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28035         (struct sigaction): Change type of sa_flags field to int.
28037         [BZ #17780]
28038         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28039         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28040         __glibc_reserved0.
28042         * nptl/version.c (banner): Use single year in copyright notice.
28044         * NEWS: Update copyright dates.
28045         * catgets/gencat.c (print_version): Likewise.
28046         * csu/version.c (banner): Likewise.
28047         * debug/catchsegv.sh: Likewise.
28048         * debug/pcprofiledump.c (print_version): Likewise.
28049         * debug/xtrace.sh (do_version): Likewise.
28050         * elf/ldconfig.c (print_version): Likewise.
28051         * elf/ldd.bash.in: Likewise.
28052         * elf/pldd.c (print_version): Likewise.
28053         * elf/sotruss.sh: Likewise.
28054         * elf/sprof.c (print_version): Likewise.
28055         * iconv/iconv_prog.c (print_version): Likewise.
28056         * iconv/iconvconfig.c (print_version): Likewise.
28057         * locale/programs/locale.c (print_version): Likewise.
28058         * locale/programs/localedef.c (print_version): Likewise.
28059         * login/programs/pt_chown.c (print_version): Likewise.
28060         * malloc/memusage.sh (do_version): Likewise.
28061         * malloc/memusagestat.c (print_version): Likewise.
28062         * malloc/mtrace.pl: Likewise.
28063         * manual/libc.texinfo: Likewise.
28064         * nptl/version.c (banner): Likewise.
28065         * nscd/nscd.c (print_version): Likewise.
28066         * nss/getent.c (print_version): Likewise.
28067         * nss/makedb.c (print_version): Likewise.
28068         * posix/getconf.c (main): Likewise.
28069         * scripts/test-installation.pl: Likewise.
28070         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28072 2015-01-02  Will Newton  <will.newton@linaro.org>
28074         * sysdeps/arm/armv7/configure: Removed.
28075         * sysdeps/arm/armv7/configure.ac: Likewise.
28077 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28079         * All files with FSF copyright notices: Update copyright dates
28080         using scripts/update-copyrights.
28081         * intl/plural.c: Regenerated.
28082         * locale/programs/charmap-kw.h: Likewise.
28083         * locale/programs/locfile-kw.h: Likewise.
28085 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28087         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28089 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28091         [BZ #17748]
28092         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28093         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28094         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28095         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28096         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28097         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28098         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28099         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28100         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28101         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28102         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28103         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28104         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28105         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28106         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28107         libm_hidden_def.
28108         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28110         Likewise.
28111         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28112         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28113         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28114         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28115         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28116         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28117         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28118         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28119         __fegetenv instead of fegetenv.
28120         (libc_feholdsetround_noex_ctx): Likewise.
28122 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28124         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28125         (Elf_MIPS_ABIFlags_v0): New structure.
28126         (EF_MIPS_FP64): Define.
28127         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28128         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28129         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28130         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28131         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28132         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28133         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28134         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28135         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28136         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28137         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28138         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28139         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28140         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28141         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28142         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28143         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28144         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28145         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28146         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28147         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28148         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28149         field.
28150         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28151         EF_MIPS_FP64.
28152         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28153         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28154         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28155         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28156         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28157         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28158         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28159         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28160         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28161         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28162         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28163         record the current FP ABI extension.
28164         (mips-mode-switch): Define to show if kernel headers support mode
28165         switching.
28166         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28167         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28168         supported SYSV ABI version to 3.
28169         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28170         feature.
28172 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28173             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28175         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28176         path.
28177         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28179 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28181         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28182         __fegetround and redefine to call __fegetround.  Remove condition
28183         on [!__NO_MATH_INLINES].
28184         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28185         function.
28186         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28187         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28188         Remove macro.
28189         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28190         instead of <fenv_libc.h>.
28191         (__llrintl): Call fegetround instead of __fegetround.
28192         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28193         instead of <fenv_libc.h>.
28194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28195         (__lrintl): Call fegetround instead of __fegetround.
28196         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28197         instead of <fenv_libc.h>.
28198         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28199         (__rintl): Call fegetround instead of __fegetround.
28201 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28203         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28204         arrays.
28206 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28208         [BZ #17775]
28209         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28210         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28211         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28213 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28215         * sysdeps/i386/tls-macros.h: Include <features.h>.
28216         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28217         (TLS_IE): Likewise.
28218         (TLS_LD): Likewise.
28219         (TLS_GD): Likewise.
28220         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28221         define for GCC >= 5.0.
28223 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28225         * math/test-fenv.c (test_single_exception, set_single_exc,
28226         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28227         feexcp_mask_test, feenable_test, fe_single_test): Add
28228         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28229         case where they are not used.
28230         * math/libm-test.inc: Likewise.
28231         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28232         unused in the absence of FP rounding/exception support.
28233         * stdio-common/tst-printf-round.c: Likewise.
28234         * stdlib/tst-strtod-round.c: Likewise.
28235         * stdlib/tst-strtod-underflow.c: Likewise.
28237 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28239         [BZ #17723]
28240         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28241         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28242         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28243         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28244         libm_hidden_weak.
28245         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28246         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28247         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28248         libm_hidden_def.
28249         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28250         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28251         libm_hidden_weak.
28252         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28253         Likewise.
28254         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28255         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28256         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28257         libm_hidden_weak.
28258         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28259         libm_hidden_def.
28260         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28261         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28262         (__feraiseexcept): Likewise.
28263         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28264         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28265         libm_hidden_weak.
28266         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28267         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28268         libm_hidden_def.
28269         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28270         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28271         Use libm_hidden_def.
28272         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28273         libm_hidden_def.
28274         (feraiseexcept): Define as weak not strong alias.  Use
28275         libm_hidden_weak.
28276         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28277         New inline function.  Factored out of ...
28278         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28279         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28280         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28281         feraiseexcept.
28282         * math/w_acos.c (__acos): Likewise.
28283         * math/w_asin.c (__asin): Likewise.
28284         * math/w_ilogb.c (__ilogb): Likewise.
28285         * math/w_j0.c (y0): Likewise.
28286         * math/w_j1.c (y1): Likewise.
28287         * math/w_jn.c (yn): Likewise.
28288         * math/w_log.c (__log): Likewise.
28289         * math/w_log10.c (__log10): Likewise.
28290         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28291         * sysdeps/aarch64/fpu/math_private.h
28292         (libc_feupdateenv_test_aarch64): Likewise.
28293         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28294         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28295         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28296         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28297         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28298         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28299         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28300         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28301         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28302         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28304 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28306         [BZ #17732]
28307         * io/test-utime.c (main): Replace %ld with %jd and cast to
28308         intmax_t.
28309         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28310         * nptl/tst-mutex5.c: Include <stdint.h>.
28311         (do_test): Replace %ld with %jd and cast to intmax_t.
28312         * posix/tst-regex.c (run_test): Likewise.
28313         (run_test_backwards): Likewise.
28314         * rt/tst-clock.c: Include <stdint.h>.
28315         (clock_test): Replace %ld with %jd and cast to intmax_t.
28316         * rt/tst-cpuclock1.c: Include <stdint.h>.
28317         (do_test): Replace %lu with %ju and cast to uintmax_t.
28318         * rt/tst-cpuclock2.c: Include <stdint.h>.
28319         (do_test): Replace %lu with %ju and cast to uintmax_t.
28320         * rt/tst-mqueue1.c: Include <stdint.h>.
28321         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28322         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28323         intmax_t.
28324         * rt/tst-mqueue4.c (do_test): Likewise.
28325         * rt/tst-timer4.c: Include <stdint.h>.
28326         (check_ts): Replace %ld with %jd and cast to intmax_t.
28327         (do_test): Likewise.
28328         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28329         and cast to intmax_t.
28330         * sysdeps/pthread/tst-timer.c (main): Likewise.
28331         * time/clocktest.c (main): Likewise.
28332         * time/tst-posixtz.c (do_test): Likewise.
28333         * timezone/tst-timezone.c (main): Likewise.
28335 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28336             H.J. Lu  <hongjiu.lu@intel.com>
28338         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28339         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28340         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28341         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28342         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28343         version if bit_Fast_Unaligned_Load is set.
28344         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28345         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28346         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28347         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28348         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28350         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28351         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28352         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28353         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28354         to 4.
28355         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28356         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28357         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28358         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28360 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28362         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28363         instead of #if to avoid a Wundef warning.
28364         * stdlib/tst-limits.c (do_test): Likewise.
28366         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28367         parallel other exception macros.
28368         (fegetenv): Convert from macro to extern inline so that it applies
28369         retroactively to inline functions already seen by the compiler.
28370         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28372         * posix/Makefile (before-compile): Use $(objpfx) for
28373         posix-conf-vars-def.h.
28375 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28377         * posix/getconf.c (main): Use size_t for type of I.
28378         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28379         NSPEC.
28381         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28382         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28383         * posix/posix-envs.def: Likewise.
28384         * sysdeps/posix/sysconf.c: Likewise.
28385         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28386         (specs): Remove array.
28387         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28388         array.
28390         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28391         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28392         (__sysconf): Use CONF_IS_* macros.
28394         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28395         ($(objpfx)posix-conf-vars-def.h): New target.
28396         * posix/posix-conf-vars.list: New file.
28397         * posix/posix-conf-vars.h: New file.
28398         * posix/confstr.c: Include posix-conf-vars.h.
28399         (confstr): Use CONF_IS_* macros.
28400         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28401         CONF_IS_* macros.
28402         * scripts/gen-posix-conf-vars.awk: New file.
28404 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28406         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28407         fegetround): Add no-op macros to avoid linknamespace issues.
28409         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28410         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28412         * sysdeps/unix/sysv/linux/tile/sysdep.h
28413         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28414         assembly-specific section to avoid a redefinition warning.
28416         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28417         long before casting to pointer to avoid a cast warning.
28419 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28421         * sysdeps/tile/tilegx/Implies: New file.
28423 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28425         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28427 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28429         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28431 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28433         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28434         not define.
28435         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28436         <kernel-features.h>.
28437         (__utimes) [__NR_utimes]: Make code unconditional.
28438         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28439         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28440         (__ASSUME_UTIMES): Do not undefine.
28441         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28442         (__ASSUME_UTIMES): Likewise.
28443         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28444         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28445         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28446         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28448 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28450         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28452 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28454         [BZ #17747]
28455         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28456         alias to weak alias for j0l, y0l.
28457         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28458         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28460         [BZ #17746]
28461         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28462         conversion.
28464 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28466         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28467         to zero if not already defined.
28469 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #17724]
28472         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28473         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28474         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28475         (char *) casts added.
28476         * sysdeps/ieee754/k_standardf.c: New file.
28477         * sysdeps/ieee754/k_standardl.c: Likewise.
28478         * math/Makefile (libm-support): Remove k_standard.
28479         (libm-calls): Add k_standard.
28481 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28483         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28484         Optimize to avoid an unnecessary FPCR read.
28486 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28488         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28489         Optimize to reduce FPCR/FPSR accesses.
28491 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28493         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28494         Call libc_fetestexcept_aarch64.
28496 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28498         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28499         Call libc_fesetround_aarch64.
28501 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28503         [BZ #17733]
28504         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28505         (__bind): Do not define as weak alias.
28506         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28507         define.
28508         (__getsockname): Do not define as weak alias.
28510 2014-12-22  Will Newton  <will.newton@linaro.org>
28512         * manual/install.texi: Document that we require bison 2.7
28513         or above.
28514         * INSTALL: Regenerate.
28515         * configure.ac: Use AC_CHECK_PROG_VER instead of
28516         AC_PATH_PROG when checking for bison and check for
28517         version 2.7 or above.
28518         * configure: Regenerate.
28520 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28522         [BZ #17745]
28523         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28524         * sysdeps/tile/ffsll.c (ffsll): To here.
28526         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28528 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28530         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28531         if not defined.
28532         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28533         definition.
28534         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28535         hidden ___tls_get_addr.
28536         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28537         hidden __tls_get_addr.
28538         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28539         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28540         Likewise.
28542 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28544         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28545         _dl_init call.
28547 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28549         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28550         from "call _dl_init@PLT".
28551         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28553 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28555         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28556         guarantees.
28558 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28560         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28562 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28564         [BZ #17744]
28565         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28566         strnlen.
28568 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28570         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28571         of multu on MIPSr6.
28572         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28573         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28574         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28575         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28576         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28578 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28580         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28581         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28582         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28583         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28584         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28585         mips32r6/mips64r6.
28586         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28588 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28590         * string/strncat.c (STRNCAT): Simplify implementation.
28592 2014-12-19  David S. Miller  <davem@davemloft.net>
28594         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28595         access the quad as both a long double and as a series of 4 words.
28597         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28598         link_map->l_info array access.
28600 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28602         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28604         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28605         * math/atest-exp2.c (TIMEOUT): Likewise.
28606         * math/atest-sincos.c (TIMEOUT): Likewise.
28608 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28610         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28611         -Wno-error with -fno-builtin-lround.
28613 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28615         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28616         Contains futex constants and functions moved over from ...
28617         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28618         <lowlevellock-futex.h>.
28619         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28620         (lll_timedwait_tid): Add comments and parentheses around macro
28621         arguments.
28623 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28626         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28627         (__lll_private_flag): Remove.
28628         (lll_futex_wait): Likewise.
28629         (lll_futex_timed_wait): Likewise.
28630         (lll_futex_wake): Likewise.
28631         (lll_futex_requeue): Likewise.
28632         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28633         (__lll_timedwait_tid): Spell out argument names.
28634         (lll_timedwait_tid): Add comments and parentheses around macro
28635         arguments.
28636         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28637         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28639 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28641         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28642         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28644         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28645         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28646         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28647         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28648         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28649         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28654         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28655         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28656         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28657         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28658         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28659         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28661 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28663         * sysdeps/x86_64/x32/Makefile: New file.
28665 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28667         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28668         1L with (mp_limb_t) 1.
28670 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28672         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28673         * nptl/libc_pthread_init.c: ... here.
28674         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28675         * nptl/register-atfork.c: ... here.
28677         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28678         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28679         Use assert_perror to check its return value.
28680         (__gai_create_helper_thread): Likewise.
28682         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28684         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28686 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28688         [BZ #17725]
28689         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28690         __profil_counter.
28691         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28692         Likewise.
28693         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28694         Likewise.
28695         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28696         Likewise.
28697         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28698         (profil_counter): Likewise.
28699         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28700         (profil_counter): Likewise.
28701         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28702         Likewise.
28703         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28704         Likewise.
28705         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28706         (profil_counter): Likewise.
28707         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28708         Likewise.
28709         [!__profil_counter] (profil_counter): Define as weak alias of
28710         __profil_counter.
28711         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28712         (profil_counter): Rename to __profil_counter.
28713         [!__profil_counter] (profil_counter): Define as weak alias of
28714         __profil_counter.
28715         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28716         (profil_counter): Rename to __profil_counter.
28717         [!__profil_counter] (profil_counter): Define as weak alias of
28718         __profil_counter.
28719         * sysdeps/posix/profil.c: Update comment referring to
28720         profil_counter.
28721         (__profil): Use __profil_counter instead of profil_counter.
28722         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28723         __profil_counter.  Use __profil_counter_ushort and
28724         __profil_counter_uint in definitions.
28725         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28726         instead of profil_counter_uint and profil_counter_ushort.
28728         [BZ #17722]
28729         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28730         define as weak alias of __inet_makeaddr.
28731         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28732         as weak alias of __inet_addr.
28733         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28734         as weak alias of __inet_pton.  Use libc_hidden_weak.
28735         * include/arpa/inet.h (__inet_pton): Declare.  Use
28736         libc_hidden_proto.
28737         (inet_makeaddr): Don't use libc_hidden_proto.
28738         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28739         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28740         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28741         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28742         Remove variable.
28743         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28744         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28746 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28748         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28750 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28752         * stdio-common/bug-vfprintf-nargs.c (do_test):
28753         Cast value to intptr_t to avoid format warning
28754         for usage with PRIdPTR printing macro.
28756 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28758         * libio/tst-widetext.c (do_test):
28759         Use format type %td instead of %Zd for ptrdiff_t
28760         in order to avoid format warning.
28762 2014-12-17  Andreas Schwab  <schwab@suse.de>
28764         * nscd/mem.c (gc): Add size_t cast to match printf format.
28766 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28768         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28769         (init): Apply PTR_MANGLE to pointers before storing them.
28770         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28771         before using them.
28773 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28775         [BZ #17719]
28776         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28777         define as weak alias of __memrchr.
28778         (__memrchr): Do not define as strong alias of memrchr.
28779         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28780         Remove variable.
28781         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28782         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28783         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28785         [BZ #17717]
28786         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28787         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28788         (if_indextoname): Rename to __if_indextoname and define as weak
28789         alias of __if_indextoname.  Use libc_hidden_weak.
28790         (if_freenameindex): Rename to __if_freenameindex and define as
28791         weak alias of __if_freenameindex.
28792         (if_nameindex): Rename to __if_nameindex and define as weak alias
28793         of __if_nameindex.
28794         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28795         __if_nametoindex and define as weak alias of __if_nametoindex.
28796         Use libc_hidden_weak.
28797         (if_freenameindex): Rename to __if_freenameindex and define as
28798         weak alias of __if_freenameindex.
28799         (if_nameindex): Rename to __if_nameindex and define as weak alias
28800         of __if_nameindex.
28801         (if_indextoname): Rename to __if_indextoname and define as weak
28802         alias of __if_indextoname.  Use libc_hidden_weak.
28803         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28804         __if_nametoindex and define as weak alias of __if_nametoindex.
28805         Use libc_hidden_weak.
28806         (if_freenameindex): Rename to __if_freenameindex and define as
28807         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28808         (if_nameindex_netlink): Use __if_freenameindex instead of
28809         if_freenameindex.
28810         (if_nameindex): Rename to __if_nameindex and define as weak alias
28811         of __if_nameindex.  Use libc_hidden_weak.
28812         (if_indextoname): Rename to __if_indextoname and define as weak
28813         alias of __if_indextoname.  Use libc_hidden_weak.
28814         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28815         libc_hidden_proto.
28816         [!_ISOMAC] (__if_freenameindex): Likewise.
28817         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28818         if_nametoindex.
28819         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28820         variable.
28821         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28822         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28823         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28824         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28825         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28826         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28827         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28829         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28830         Remove variable.
28831         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28832         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28834 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28837         subscript above bounds'
28839         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28840         bounds.
28842 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28844         * libio/tst-fopenloc.c: Use test-skeleton.c.
28846         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28847         (entry): Rename to ITEM.
28848         (do_test, comp): Adjust.
28850         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28852 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28854         * string/tester.c: Include <libc-internal.h>.
28855         (test_memset): Ignore -Wmemset-transposed-args.
28857 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28859         * misc/tst-mntent2.c (do_test): Fix warning.
28861 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28863         * elf/tst-unique4lib.cc(a): Mark as used.
28865 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28867         [BZ #17630]
28868         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28869         names.
28871 2014-12-16  Allan McRae  <allan@archlinux.org>
28873         * stdio-common/Makefile (tests): Re-add bug26.
28875 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28877         [BZ #17657]
28878         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28879         static array.
28881 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28883         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28884         (__lll_lock_wait): Likewise.
28885         (__lll_timedlock_wait): Likewise.
28886         (__lll_timedwait_tid): Likewise.
28887         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28888         (__lll_robust_timedlock_wait): Likewise.
28889         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28890         (lll_cond_trylock): Likewise.
28891         (__lll_lock): Likewise.
28892         (__lll_robust_lock): Likewise.
28893         (__lll_cond_lock): Likewise.
28894         (lll_robust_cond_lock): Likewise.
28895         (__lll_timedlock): Likewise.
28896         (__lll_robust_timedlock): Likewise.
28897         (__lll_unlock): Likewise.
28898         (__lll_robust_unlock): Likewise.
28899         (lll_wait_tid): Likewise.
28900         (lll_timedwait_tid): Likewise.
28902 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28904         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28906 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28908         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28910 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28912         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28913         * stdio-common/tst-sprintf.c: Likewise.
28915 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28917         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28919 2014-12-15  Jeff Law  <law@redhat.com>
28921         [BZ #16617]
28922         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28923         on the heap.  (CVE-2012-3406)
28924         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28925         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28926         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28928 2014-12-15  Will Newton  <will.newton@linaro.org>
28930         * manual/install.texi: Bump required version of texinfo
28931         to 4.7 from 4.5.
28932         * INSTALL: Regenerated.
28933         * configure.ac: Check for makeinfo version 4.7 and above.
28934         * configure: Regenerated.
28936 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28938         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28939         PREFIX, string constant to insert between directory and name.
28940         * sysdeps/posix/shm_open.c: Update caller.
28941         * sysdeps/posix/shm_unlink.c: Likewise.
28942         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28943         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28944         (SEM_SHM_PREFIX): New macro.
28945         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28946         [$(have-thread-library) = no].
28947         * nptl/Makefile (libpthread-routines): Add shm-directory.
28948         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28949         * sysdeps/nptl/shm-directory.h: New file.
28950         * sysdeps/posix/shm-directory.c
28951         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28952         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28953         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28954         INTERNAL_SYSCALL.
28955         (__where_is_shmfs): Function removed.
28956         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28957         Variables removed.
28958         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28959         Use SHM_GET_NAME.
28960         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28962         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28963         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28964         unconditional for use inside libpthread.
28965         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28967 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28969         * nptl/pthread_getaffinity.c: New file.
28970         * nptl/pthread_setaffinity.c: New file.
28971         * nptl/pthread_getname.c: New file.
28972         * nptl/pthread_setname.c: New file.
28974         * nptl/pthread_create.c (START_THREAD_DEFN)
28975         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28977 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28978             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28980         * resolv/res_send.c (send_vc): Disable warning resplen may
28981         be used uninitialized.
28983 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28985         * nptl/tst-mutex6.c
28986         (ATTR_NULL): New define checks ATTR against NULL.
28987         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28988         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28990 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28992         [BZ #17581]
28993         * malloc/hooks.c
28994         (mem2mem_check): Revert my previous change.
28995         (malloc_check_get_size): Revert my previous change.
28996         (mem2chunk_check): Revert my previous change.
28998 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29000         * sysdeps/posix/shm-directory.c: New file.
29001         * sysdeps/posix/shm-directory.h: New file.
29002         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29003         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29004         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29005         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29006         Transmute EPERM to EACCES.
29007         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29008         from ...
29009         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29010         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29012 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29014         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29015         pointer and cast to uintptr_t.
29016         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29018         Add cast to avoid warning.
29019         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29021 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29023         * nptl/semaphore.h: Move to ...
29024         * sysdeps/pthread/semaphore.h: ... here.
29025         * Makefile (installed-headers): Change nptl/semaphore.h to
29026         sysdeps/pthread/semaphore.h.
29028 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29030         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29031         generated error format strings.
29033         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29034         -Wformat-extra-args warnings for scanf formats.
29035         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29036         test of zero-length format (duh).
29037         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29038         corner-case scanf format test.
29039         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29040         generated fprintf format string.
29041         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29042         corner-case sprintf format tests.
29043         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29044         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29045         -Wformat-extra-args warnings throughout.
29046         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29047         (CFLAGS-scanf4.c): Likewise.
29048         (CFLAGS-scanf7.c): Likewise.
29049         (CFLAGS-tst-sprintf.c): Likewise.
29050         (CFLAGS-tst-printf.c): Likewise.
29051         (CFLAGS-tst-printfsz.c): Likewise.
29053 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29055         * include/cpio.h: New file.
29056         * include/fmtmsg.h: Likewise.
29058         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29059         corresponding format argument to size_t.
29060         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29061         arguments.
29062         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29063         corresponding format argument to size_t.
29064         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29065         arguments.
29066         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29067         corresponding format argument to size_t.
29068         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29069         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29070         (CFLAGS-tst-mbswcs2.c): Likewise.
29071         (CFLAGS-tst-mbswcs3.c): Likewise.
29072         (CFLAGS-tst-mbswcs4.c): Likewise.
29073         (CFLAGS-tst-mbswcs5.c): Likewise.
29074         (CFLAGS-tst-trans.c): Likewise.
29076 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29078         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29079         rather than assuming they won't contain any '%'s.
29081 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29083         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29084         inhibit_loop_to_libcall to avoid recursive calls.
29085         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29086         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29088 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29090         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29091         prototype.
29093 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29095         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29096         integer value instead of boolean.
29098 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29100         * malloc/malloc.c: Fix powerof2 check.
29102 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29104         * locale/programs/locfile.h (maybe_swap_uint32):
29105         Remove inline and add unused attribute.
29107 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29110         Truncating assembler expression to a .long expression.
29112 2014-12-11  Andreas Schwab  <schwab@suse.de>
29114         * elf/rtld.c (struct map_args): Constify str member.
29115         (do_preload): Constify fname argument.
29117 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29120         constants definition.
29122 2014-12-11  Andreas Schwab  <schwab@suse.de>
29124         [BZ #16657]
29125         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29126         FORCE_ELISION instead of DO_ELISION.
29127         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29128         Remove.
29129         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29130         Likewise.
29132         * iconvdata/gconv-modules: Remove duplicate entry.
29134 2014-12-11  Will Newton  <will.newton@linaro.org>
29136         Merge gettext 0.19.3 into intl/.
29138         This involves a number of cosmetic changes to comments
29139         and ANSI function definitions and prototypes throughout
29140         all the files. The gettext copyright header is used but
29141         with the date ranges taken from the glibc copy.
29143         * NEWS: Add gettext merge to 2.21.
29144         * intl/bindtextdom.c: Switch to gettext copyright.
29145         Use ANSI definitions and prototypes.
29146         Use gl_* locking primitives rather than __libc_* ones.
29147         Use __builtin_expect rather than __glibc_likely/unlikely.
29148         * intl/dcgettext.c: Switch to gettext copyright.
29149         Use ANSI definitions and prototypes.
29150         * intl/dcigettext.c: Switch to gettext copyright.
29151         Use ANSI definitions and prototypes.
29152         (INTDIV0_RAISES_SIGFPE): New define.
29153         Use gl_* locking primitives rather than __libc_* ones.
29154         Include eval-plural.h instead of plural-eval.c.
29155         Use __builtin_expect rather than __glibc_likely/unlikely.
29156         * intl/dcngettext.c: Switch to gettext copyright.
29157         Use ANSI definitions and prototypes.
29158         * intl/dgettext.c: Likewise.
29159         * intl/dngettext.c: Likewise.
29160         * intl/plural-eval.c: Renamed to...
29161         * intl/eval-plural.h: ...this.
29162         * intl/explodename.c: Switch to gettext copyright.
29163         Use ANSI definitions and prototypes.
29164         (_nl_explode_name): Use strchr instead of __rawmemchr.
29165         * intl/finddomain.c: Switch to gettext copyright.
29166         Use ANSI definitions and prototypes.
29167         Use gl_* locking primitives rather than __libc_* ones.
29168         (_nl_find_domain): Use malloc rather than alloca for
29169         allocation of temporary locale name.
29170         * intl/gettext.c: Switch to gettext copyright.
29171         Use ANSI definitions and prototypes.
29172         * intl/gettextP.h: Switch to gettext copyright.
29173         Use ANSI definitions and prototypes.
29174         Use gl_* locking primitives rather than __libc_* ones.
29175         * intl/gmo.h: Switch to gettext copyright.
29176         (struct sysdep_string): Move struct segment_pair outside of
29177         struct definition.
29178         * intl/hash-string.c: Use ANSI definitions and prototypes.
29179         * intl/hash-string.h: Switch to gettext copyright.
29180         Use ANSI definitions and prototypes.
29181         * intl/l10nflist.c: Switch to gettext copyright.
29182         Use ANSI definitions and prototypes.
29183         (_nl_normalize_codeset): Avoid integer overflow.
29184         * intl/loadinfo.h: Switch to gettext copyright.
29185         Use ANSI definitions and prototypes.
29186         (LIBINTL_DLL_EXPORTED): New define.
29187         (PATH_SEPARATOR): New define.
29188         * intl/loadmsgcat.c: Switch to gettext copyright.
29189         * intl/localealias.c: Switch to gettext copyright.
29190         Use ANSI definitions and prototypes.
29191         (_nl_expand_alias): Use PATH_SEPARATOR.
29192         * intl/ngettext.c: Switch to gettext copyright.
29193         Use ANSI definitions and prototypes.
29194         * intl/plural-exp.c: Likewise.
29195         * intl/plural-exp.h: Switch to gettext copyright.
29196         Use ANSI definitions and prototypes.
29197         (struct expression): Move definition of enum operator outside
29198         of struct definition.
29199         * intl/plural.c: Regenerate.
29200         * intl/plural.y: Switch to gettext copyright.
29201         Use ANSI definitions and prototypes.
29202         Port to bison 3.0.
29203         * intl/textdomain.c: Switch to gettext copyright.
29204         Use ANSI definitions and prototypes.
29205         Use gl_* locking primitives rather than __libc_* ones.
29207 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29209         * debug/warning-nop.c: Add used atrribute.
29211 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29213         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29215         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29216         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29217         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29219 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29220             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29222         [BZ #17634]
29223         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29224         Undefine after defining function.  Define as weak alias of
29225         __wcschr.  Use libc_hidden_weak.
29226         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29227         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29228         (libc_hidden_def): Also define __GI___wcschr alias.
29229         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29230         __wcschr and define as weak alias of __wcschr.
29231         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29232         __wcschr.
29233         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29234         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29235         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29236         libc_hidden_weak.  Do not use libc_hidden_def.
29237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29238         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29239         __GI___wcschr alias.
29240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29241         [IS_IN (libc)] (wcschr): Define as macro expanding to
29242         __redirect_wcschr.
29243         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29244         [IS_IN (libc)] (__wcschr_power6): Likewise.
29245         [IS_IN (libc)] (__wcschr_power7): Likewise.
29246         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29247         instead of wcschr.
29248         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29249         __libc_wcschr.
29250         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29251         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29252         __wcschr and define as weak alias of __wcschr.  Use
29253         libc_hidden_builtin_def.
29254         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29255         as weak alias of __wcschr.  Use libc_hidden_weak.
29256         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29257         wcschr.
29258         * time/era.c (_nl_init_era_entries): Likewise.
29259         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29260         variable.
29261         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29262         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29264 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29266         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29267         format for long int variable.
29269 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29271         [BZ #10672]
29272         * manual/search.texi: (Array Sort Function): Remove claim how to make
29273         qsort stable.
29275 2014-12-10  Andreas Schwab  <schwab@suse.de>
29277         [BZ #12847]
29278         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29279         user-controlled locks.
29281 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29283         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29284         register.
29286 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29288         * configure.ac (--disable-werror): New configure option.
29289         (enable_werror): New AC_SUBST.
29290         * configure: Regenerated.
29291         * config.make.in (enable-werror): New variable.
29292         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29293         -Wno-error=undef.
29294         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29295         * manual/install.texi (Configuring and compiling): Document
29296         --disable-werror.
29297         * INSTALL: Regenerated.
29298         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29299         (CFLAGS-tst-chk2.c): Likewise.
29300         (CFLAGS-tst-chk3.c): Likewise.
29301         (CFLAGS-tst-chk4.cc): Likewise.
29302         (CFLAGS-tst-chk5.cc): Likewise.
29303         (CFLAGS-tst-chk6.cc): Likewise.
29304         (CFLAGS-tst-lfschk1.c): Likewise.
29305         (CFLAGS-tst-lfschk2.c): Likewise.
29306         (CFLAGS-tst-lfschk3.c): Likewise.
29307         (CFLAGS-tst-lfschk4.cc): Likewise.
29308         (CFLAGS-tst-lfschk5.cc): Likewise.
29309         (CFLAGS-tst-lfschk6.cc): Likewise.
29311         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29312         (main): Disable -Wdeprecated-declarations around calls to
29313         register_printf_function.
29315         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29316         (do_test): Disable -Wdiv-by-zero around some calls to
29317         fwrite_unlocked and fread_unlocked.
29319         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29320         (DIAG_POP_NEEDS_COMMENT): Likewise.
29321         (_DIAG_STR1): Likewise.
29322         (_DIAG_STR): Likewise.
29323         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29324         * stdio-common/bug21.c: Include <libc-internal.h>.
29325         (do_test): Disable -Wformat around call to sscanf.
29326         * stdio-common/scanf14.c: Include <libc-internal.h>.
29327         (main): Disable -Wformat around some calls to scanf functions.
29329 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29331         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29333 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29335         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29336         stack variable alignment.
29338 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29340         [BZ #17682]
29341         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29342         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29343         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29344         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29345         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29346         __getrlimit instead of getrlimit.
29347         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29348         __gettimeofday instead of gettimeofday.
29349         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29350         Likewise.
29351         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29352         Likewise.
29353         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29354         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29355         Remove variable.
29356         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29357         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29359 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29361         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29362         for wide-character tests.
29364 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29366         * io/openat64.c: #include <libc-internal.h>
29367         (__openat64): Prototypify.  Use ignore_value on MODE.
29368         * io/openat.c: Likewise.
29369         * misc/reboot.c: #include <libc-internal.h>
29370         (reboot): Prototypify.  Use ignore_value on HOWTO.
29371         * misc/ptrace.c: #include <libc-internal.h>
29372         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29374 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29376         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29377         XPG4, UNIX98 and XOPEN2K.
29378         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29379         Remove variable.
29380         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29382 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29384         * libio/fileops.c: Use ISO C style for function definitions.
29385         * libio/iofopen.c: Likewise.
29386         * libio/wfileops.c: Likewise.
29388         [BZ #17653]
29389         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29390         offset on EOF.
29391         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29392         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29393         (fgets_func): Function pointer to fgets and fgetws.
29394         (do_ftell_test): Add test to verify ftell value after read
29395         EOF.
29396         (do_test): Set fgets_func.
29398         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29399         O_TRUNC flag for w and w+ modes.
29400         (do_rewind_test): Likewise.
29401         (do_ftell_test): Likewise.
29402         (do_write_test): Likewise.
29404         [BZ #17647]
29405         * libio/fileops.c (do_ftell): Seek only when there are
29406         unflushed writes.
29407         * libio/wfileops.c (do_ftell_wide): Likewise.
29408         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29409         test case.
29410         (do_one_test): Call it.
29412 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29414         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29415         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29416         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29417         Remove variable.
29418         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29419         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29420         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29422 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29424         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29425         Remove variable.
29426         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29428         [BZ #17668]
29429         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29430         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29431         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29432         __freeifaddrs.  Use libc_hidden_weak.
29433         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29434         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29435         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29436         __freeifaddrs.  Use libc_hidden_weak.
29437         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29438         __getifaddrs and define as weak alias of __getifaddrs.  Use
29439         libc_hidden_weak.
29440         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29441         __freeifaddrs.  Use libc_hidden_weak.
29442         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29443         Remove variable.
29444         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29445         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29447 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29449         [BZ #17601]
29450         * sysdeps/mips/start.S (__start): Use indirect jump to call
29451         __libc_start_main.
29453 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29455         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29457         * nptl/tst-mutex1.c: Include <stdbool.h>.
29458         [!ATTR] (ATTR_NULL): New macro.
29459         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29460         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29461         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29463         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29464         to char *.
29466         [BZ #17665]
29467         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29468         Change conditional to [__USE_MISC].
29470         [BZ #17664]
29471         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29472         fgets_unlocked.
29473         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29474         __fgets_unlocked.
29475         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29476         fgets_unlocked.
29477         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29478         Remove variable.
29479         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29480         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29481         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29482         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29483         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29484         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29485         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29486         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29487         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29489         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29491 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29493         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29494         Remove strpbrk objects.
29495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29496         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29497         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29498         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29499         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29500         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29502         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29503         Remove strcspn objects.
29504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29505         (__libc_ifunc_impl_list): Remove strcspn implementation.
29506         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29507         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29508         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29509         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29512         Remove strspn objetcs.
29513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29514         (__libc_ifunc_impl_list): Remove strspn implementation.
29515         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29516         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29517         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29518         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29520 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29522         [BZ #17581]
29523         * malloc/hooks.c
29524         (mem2mem_check): Add a terminator to the chain of checking blocks.
29525         (malloc_check_get_size): Use it here.
29526         (mem2chunk_check): Ditto.
29528 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29530         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29531         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29533 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29535         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29537         * nptl/nptl-init.c: Include libc-internal.h.
29538         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29540         * elf/ldconfig.c (search_dir): Expand comment.
29542 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29544         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29545         variable.
29546         (linknamespace-symlist-stdlibs-tests): Likewise.
29547         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29548         instead of $(objpfx)symlist-stdlibs.
29549         (linknamespace-libs-isoc): New variable.
29550         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29551         (linknamespace-libs-ISO): New variable.
29552         (linknamespace-libs-ISO99): Likewise.
29553         (linknamespace-libs-ISO11): Likewise.
29554         (linknamespace-libs-XPG3): Likewise.
29555         (linknamespace-libs-XPG4): Likewise.
29556         (linknamespace-libs-POSIX): Likewise.
29557         (linknamespace-libs-UNIX98): Likewise.
29558         (linknamespace-libs-XOPEN2K): Likewise.
29559         (linknamespace-libs-POSIX2008): Likewise.
29560         (linknamespace-libs-XOPEN2K8): Likewise.
29561         ($(objpfx)symlist-stdlibs): Replace by
29562         $(linknamespace-symlist-stdlibs-tests).  Use
29563         $(linknamespace-libs-$*) as set of libraries.
29564         ($(linknamespace-header-tests)): Update dependencies.  Use
29565         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29566         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29567         * conform/linknamespace.pl: Remove comment about considering
29568         definitions of symbols from irrelevant libraries.
29570 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29572         [BZ #13862]
29573         * elf/dl-tls.c: Include <atomic.h>.
29574         (oom): Remove #ifdef SHARED/#endif.
29575         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29576         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29577         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29578         big enough.
29579         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29580         * nptl/Makefile (tests): Add tst-stack4.
29581         (modules-names): Add tst-stack4mod.
29582         ($(objpfx)tst-stack4): New.
29583         (tst-stack4mod.sos): Likewise.
29584         ($(objpfx)tst-stack4.out): Likewise.
29585         ($(tst-stack4mod.sos)): Likewise.
29586         (clean): Likewise.
29587         * nptl/tst-stack4.c: New file.
29588         * nptl/tst-stack4mod.c: Likewise.
29590 2014-11-27  J. Brown  <jb999@gmx.de>
29592         * sysdeps/x86/bits/string.h: Add recent CPUs.
29594 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29596         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29597         sigblock.
29599         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29600         feof.
29602         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29603         variable.
29605 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29607         * nscd/connections.c: Include libc-internal.h because of macro
29608         usage ignore_value.
29610 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29612         * string/bits/string3.h (__warn_memset_zero_len): Don't
29613         declare for gcc newer than 5.0.
29614         (memset): Don't test for zero-length __LEN for gcc newer than
29615         5.0.
29617 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29619         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29620         size_t for %zu format.
29622         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29623         difference, not %ju.
29625 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29627         * include/libc-internal.h (ignore_value): New macro.
29628         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29629         with ignore_value.
29631         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29632         definition.
29634         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29635         pthread_cleanup_push to void *.
29637         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29638         Undefine.
29640         [BZ #16619]
29641         [BZ #16740]
29642         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29643         instead of 1L << 52.
29645         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29646         * libio/bug-rewind2.c (do_test): Likewise.
29648         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29649         * debug/test-strcpy_chk-ifunc.c: Likewise.
29650         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29651         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29652         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29653         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29654         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29655         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29656         * Rules [$(multi-arch) = no] (tests): Do not filter out
29657         $(tests-ifunc).
29658         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29659         * debug/Makefile (tests-ifunc): Remove variable.
29660         (tests): Do not add $(tests-ifunc).
29661         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29662         (tests): Do not add $(tests-ifunc).
29663         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29664         [TEST_IFUNC]: Remove conditionals.
29665         * string/test-string.h (TEST_IFUNC): Remove macro.
29666         [TEST_IFUNC]: Remove conditionals.
29668         * string/test-strchr.c [!WIDE] (L): New macro.
29669         [WIDE] (L): Likewise.
29670         (check1): Use CHAR instead of char.  Use L on string and character
29671         constants.
29673 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29675         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29676         tests.
29677         * sysdeps/powerpc/bits/atomic.h
29678         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29679         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29680         (atomic_exchange_and_add_acq): Likewise.
29681         (atomic_exchange_and_add_rel): Likewise.
29682         * sysdeps/powerpc/powerpc32/bits/atomic.h
29683         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29684         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29685         * sysdeps/powerpc/powerpc64/bits/atomic.h
29686         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29687         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29689 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29691         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29692         Change synchronization of __sched_fifo_min_prio and
29693         __sched_fifo_max_prio.
29694         * nptl/pthread_mutexattr_getprioceiling.c
29695         (pthread_mutexattr_getprioceiling): Likewise.
29696         * nptl/pthread_mutexattr_setprioceiling.c
29697         (pthread_mutexattr_setprioceiling): Likewise.
29698         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29699         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29700         Likewise.
29702 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29704         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29705         void.
29707 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29709         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29710         third argument const.
29712 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29714         fnmatch: work around GCC compiler warning bug with uninit var
29715         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29716         This works around a bug with x86-64 GCC 4.9.2 and earlier
29717         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29718         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29719         used uninitialized in this function [-Wmaybe-uninitialized]".
29721 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29723         * posix/bug-regex31.c (main): Return RES not 0.
29725 2014-11-25  Anton Blanchard <anton@samba.org>
29727         * sysdeps/powerpc/bits/atomic.h
29728         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29730 2014-11-24  Sterling Augustine  <saugustine@google.com>
29732         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29734 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29736         [BZ #17608]
29737         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29739 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29741         [BZ #17633]
29742         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29743         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29744         variable.
29745         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29746         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29748 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29750         * string/strncpy.c (strncpy): Improve performance by using memset.
29752 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29754         * string/strcpy.c (strcpy):
29755         Improve performance by using strlen and memcpy.
29757 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29759         * string/strcoll_l.c (get_next_seq): __always_inline.
29760         * string/strcoll_l.c (do_compare): __always_inline.
29762 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29764         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29765         defined.
29766         * include/mqueue.h: Likewise.
29767         * include/stdlib.h: Likewise.
29769         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29770         (get_null_defines): Adjust.
29771         * sunrpc/Makefile: Adjust comment.
29772         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29773         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29774         (CFLAGS-interp.c): Likewise.
29775         (CFLAGS-ldconfig.c): Likewise.
29776         (CPPFLAGS-.os): Likewise.
29777         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29778         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29779         * extra-modules.mk (extra-modules.mk): Likewise.
29780         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29781         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29782         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29783         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29784         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29785         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29786         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29787         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29788         * iconvdata/Makefile (CPPFLAGS): Likewise.
29789         (cpp-srcs-left): Add libof for all iconvdata routines.
29790         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29791         * include/assert.h: Likewise.
29792         * include/ctype.h: Likewise.
29793         * include/errno.h: Likewise.
29794         * include/libc-symbols.h: Likewise.
29795         * include/math.h: Likewise.
29796         * include/netdb.h: Likewise.
29797         * include/resolv.h: Likewise.
29798         * include/stdio.h: Likewise.
29799         * include/stdlib.h: Likewise.
29800         * include/string.h: Likewise.
29801         * include/sys/stat.h: Likewise.
29802         * include/wctype.h: Likewise.
29803         * intl/l10nflist.c: Likewise.
29804         * libidn/idn-stub.c: Likewise.
29805         * libio/libioP.h: Likewise.
29806         * nptl/libc_multiple_threads.c: Likewise.
29807         * nptl/pthreadP.h: Likewise.
29808         * posix/regex_internal.h: Likewise.
29809         * resolv/res_hconf.c: Likewise.
29810         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29811         * sysdeps/arm/memmove.S: Likewise.
29812         * sysdeps/arm/sysdep.h: Likewise.
29813         * sysdeps/generic/_itoa.h: Likewise.
29814         * sysdeps/generic/symbol-hacks.h: Likewise.
29815         * sysdeps/gnu/errlist.awk: Likewise.
29816         * sysdeps/gnu/errlist.c: Likewise.
29817         * sysdeps/i386/i586/memcpy.S: Likewise.
29818         * sysdeps/i386/i586/memset.S: Likewise.
29819         * sysdeps/i386/i686/memcpy.S: Likewise.
29820         * sysdeps/i386/i686/memmove.S: Likewise.
29821         * sysdeps/i386/i686/mempcpy.S: Likewise.
29822         * sysdeps/i386/i686/memset.S: Likewise.
29823         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29824         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29825         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29826         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29827         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29828         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29829         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29830         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29831         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29832         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29833         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29834         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29835         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29836         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29837         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29838         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29839         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29840         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29841         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29842         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29843         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29844         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29845         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29846         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29847         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29848         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29849         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29850         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29851         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29852         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29853         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29854         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29856         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29857         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29858         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29859         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29860         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29861         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29862         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29863         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29864         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29865         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29866         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29867         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29868         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29869         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29870         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29871         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29872         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29873         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29874         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29875         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29876         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29877         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29878         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29879         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29880         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29881         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29882         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29883         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29884         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29885         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29886         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29887         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29888         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29889         * sysdeps/posix/closedir.c: Likewise.
29890         * sysdeps/posix/opendir.c: Likewise.
29891         * sysdeps/posix/readdir.c: Likewise.
29892         * sysdeps/posix/rewinddir.c: Likewise.
29893         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29894         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29895         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29896         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29897         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29898         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29899         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29904         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29905         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29906         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29907         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29908         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29909         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29910         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29911         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29914         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29915         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29918         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29920         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29921         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29929         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29930         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29931         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29932         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29933         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29934         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29935         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29936         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29937         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29938         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29939         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29940         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29941         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29942         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29943         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29944         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29946         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29947         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29949         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29950         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29951         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29952         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29953         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29954         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29955         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29956         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29957         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29958         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29959         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29960         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29961         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29962         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29963         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29964         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29965         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29966         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29967         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29968         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29969         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29970         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29971         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29972         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29973         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29976         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29977         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29978         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29979         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29980         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29981         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29983         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29984         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29985         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29987         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29989         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29990         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29991         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29992         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29993         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29994         * sysdeps/unix/alpha/sysdep.S: Likewise.
29995         * sysdeps/unix/alpha/sysdep.h: Likewise.
29996         * sysdeps/unix/make-syscalls.sh: Likewise.
29997         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29998         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29999         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30000         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30001         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30002         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30003         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30004         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30005         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30006         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30007         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30008         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30009         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30010         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30011         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30012         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30013         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30014         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30015         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30016         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30017         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30018         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30019         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30020         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30021         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30022         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30023         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30026         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30027         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30030         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30031         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30035         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30036         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30037         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30038         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30039         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30040         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30041         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30042         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30044         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30046         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30047         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30048         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30049         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30050         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30051         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30053         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30055         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30056         * sysdeps/x86_64/memcpy.S: Likewise.
30057         * sysdeps/x86_64/memmove.c: Likewise.
30058         * sysdeps/x86_64/memset.S: Likewise.
30059         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30061         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30062         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30063         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30064         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30065         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30066         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30067         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30068         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30069         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30070         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30071         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30074         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30075         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30076         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30077         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30078         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30079         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30080         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30081         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30082         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30083         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30084         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30085         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30086         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30087         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30088         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30089         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30090         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30091         * sysdeps/x86_64/strcmp.S: Likewise.
30093         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30095         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30096         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30097         * elf/rtld-Rules: Likewise.
30098         * elf/setup-vdso.h: Likewise.
30099         * include/assert.h: Likewise.
30100         * include/bits/stdlib-float.h: Likewise.
30101         * include/errno.h: Likewise.
30102         * include/sys/stat.h: Likewise.
30103         * include/unistd.h: Likewise.
30104         * sysdeps/aarch64/setjmp.S: Likewise.
30105         * sysdeps/alpha/setjmp.S: Likewise.
30106         * sysdeps/arm/__longjmp.S: Likewise.
30107         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30108         * sysdeps/arm/setjmp.S: Likewise.
30109         * sysdeps/arm/sysdep.h: Likewise.
30110         * sysdeps/generic/_itoa.h: Likewise.
30111         * sysdeps/generic/dl-sysdep.h: Likewise.
30112         * sysdeps/generic/ldsodefs.h: Likewise.
30113         * sysdeps/i386/dl-tls.h: Likewise.
30114         * sysdeps/i386/setjmp.S: Likewise.
30115         * sysdeps/m68k/setjmp.c: Likewise.
30116         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30117         * sysdeps/mach/hurd/opendir.c: Likewise.
30118         * sysdeps/posix/getcwd.c: Likewise.
30119         * sysdeps/posix/opendir.c: Likewise.
30120         * sysdeps/posix/profil.c: Likewise.
30121         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30122         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30124         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30125         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30127         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30128         * sysdeps/s390/dl-tls.h: Likewise.
30129         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30130         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30131         * sysdeps/sh/sh3/setjmp.S: Likewise.
30132         * sysdeps/sh/sh4/setjmp.S: Likewise.
30133         * sysdeps/unix/alpha/sysdep.h: Likewise.
30134         * sysdeps/unix/arm/sysdep.S: Likewise.
30135         * sysdeps/unix/i386/sysdep.S: Likewise.
30136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30137         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30138         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30139         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30140         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30141         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30142         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30143         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30144         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30145         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30146         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30147         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30148         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30152         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30154         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30155         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30156         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30159         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30160         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30161         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30163         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30164         * sysdeps/x86_64/setjmp.S: Likewise.
30166         * include/math.h: Use IS_IN instead of IS_IN_libm.
30167         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30168         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30169         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30170         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30171         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30172         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30173         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30174         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30175         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30176         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30177         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30178         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30179         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30180         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30181         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30182         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30183         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30184         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30185         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30186         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30187         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30188         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30189         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30190         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30191         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30192         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30193         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30194         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30195         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30196         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30197         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30198         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30199         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30201         Likewise.
30202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30203         Likewise.
30204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30205         Likewise.
30206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30207         Likewise.
30208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30209         Likewise.
30210         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30211         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30213         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30221         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30222         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30223         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30224         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30225         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30226         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30227         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30228         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30229         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30230         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30231         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30234         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30236         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30238         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30239         * nptl/pthreadP.h: Likewise.
30240         * nptl_db/structs.def: Likewise.
30241         * sysdeps/arm/sysdep.h: Likewise.
30242         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30243         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30244         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30245         * sysdeps/unix/alpha/sysdep.h: Likewise.
30246         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30247         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30248         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30249         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30250         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30251         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30252         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30253         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30254         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30255         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30256         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30257         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30258         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30259         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30264         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30267         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30268         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30269         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30270         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30271         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30273         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30274         * nptl/pthreadP.h: Likewise.
30275         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30276         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30277         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30278         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30279         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30280         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30281         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30282         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30283         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30284         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30285         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30286         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30288         Likewise.
30289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30290         Likewise.
30291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30293         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30296         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30297         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30300         * dlfcn/dladdr.c: Use IS_IN.
30301         * dlfcn/dladdr1.c: Likewise.
30302         * dlfcn/dlclose.c: Likewise.
30303         * dlfcn/dlerror.c: Likewise.
30304         * dlfcn/dlinfo.c: Likewise.
30305         * dlfcn/dlmopen.c: Likewise.
30306         * dlfcn/dlopen.c: Likewise.
30307         * dlfcn/dlsym.c: Likewise.
30308         * dlfcn/dlvsym.c: Likewise.
30310         * include/ifaddrs.h: Use IS_IN.
30311         * inet/check_pf.c: Likewise.
30312         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30313         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30315         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30316         IS_IN_ldconfig.
30317         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30318         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30320         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30321         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30322         IS_IN (libc).
30324         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30326         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30327         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30328         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30329         * include/libc-symbols.h (IS_IN_LIB): New macro.
30330         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30331         * include/netdb.h: Likewise.
30332         * include/stap-probe.h: Remove all uses of IN_LIB.
30334         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30335         instead of IN_MODULE.
30336         * include/libc-symbols.h (IN_MODULE): Define using
30337         MODULE_NAME.
30338         (PASTE_NAME, PASTE_NAME1): New macros.
30339         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30340         of IN_LIB.
30341         (STAP_PROBE_ASM): Likewise.
30343 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30345         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30346         __mach_init in dlopened libc.
30348 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30350         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30351         * sysdeps/arm/preconfigure: Regenerate.
30353 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30355         * nptl/pthread_create.c (__pthread_create_2_1): Set
30356         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30357         when copying values from IATTR into PD.
30359 2014-11-21  Will Newton  <will.newton@linaro.org>
30360             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30362         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30363         Refactor inline-asm.  Also add comment.
30365         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30366         ElfW macro instead of hardcoded Elf64 types.
30367         (la_aarch64_gnu_pltenter): Likewise.
30368         * sysdeps/aarch64/dl-machine.h
30369         (elf_machine_runtime_setup): Use ElfW(Addr).
30371         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30372         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30373         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30374         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30375         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30376         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30377         (R_AARCH64_TLS_DTPMOD): This.
30378         (R_AARCH64_TLS_DTPREL64): Rename to ...
30379         (R_AARCH64_TLS_DTPREL): This.
30380         (R_AARCH64_TLS_TPREL64): Rename to ...
30381         (R_AARCH64_TLS_TPREL): This.
30382         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30383         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30384         R_AARCH64_TLS_TPREL64.
30385         (elf_machine_rela): Likewise.
30387 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30389         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30390         by setting it to 0.  64b atomics are not supported currently.
30392 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30394         [BZ #16469]
30395         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30396         search domain names.
30398 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30400         [BZ #16469]
30401         * NEWS: Update.
30402         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30403         trailing dot.
30404         * posix/tst-getaddrinfo5.c: New.
30405         * posix/Makefile (tests): Add it.
30407 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30409         [BZ #14498]
30410         * NEWS: Fixed.
30411         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30412         after parsing line but before break_if_match.
30413         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30414         if there is a protocol mismatch.
30416 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30418         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30419         because the potential race is on the user-supplied stream.
30421 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30423         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30424         string literal if not passed a buffer.
30425         * manual/job.texi (ctermid): Update reasoning, note deviation
30426         from posix, suggest mtasurace when not passed a buffer, for
30427         future non-preliminary safety notes.
30429 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30431         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30432         of not passing it a buffer.
30433         Reported by Peng Haitao.
30435 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30437         * manual/Makefile ($(objpfx)stamp-summary): Require
30438         check-safety.sh to pass.
30439         * manual/check-safety.sh: Wish for verification that every
30440         @deftypefn and @deftypefun is followed by a @safety remark.
30442 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30444         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30446         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30447         PTHREAD_CANCEL_ASYNCHRONOUS.
30448         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30449         send SIGCANCEL.
30451         * nptl/default-sched.h: New file.
30452         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30453         * nptl/pthread_create.c: Include it.
30454         (__pthread_create_2_1): Use collect_default_sched instead of making
30455         Linux syscalls here directly.
30457 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30459         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30460         __pthread_once): Use C11 atomics.
30462 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30464         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30466 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30468         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30469         atomic_thread_fence_acquire, atomic_thread_fence_release,
30470         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30471         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30472         atomic_compare_exchange_weak_relaxed,
30473         atomic_compare_exchange_weak_acquire,
30474         atomic_compare_exchange_weak_release,
30475         atomic_exchange_acquire, atomic_exchange_release,
30476         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30477         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30478         atomic_fetch_and_acquire,
30479         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30481 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30483         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30484         USE_ATOMIC_COMPILER_BUILTINS): Define.
30485         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30486         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30487         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30488         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30489         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30491         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30492         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30493         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30494         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30495         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30497         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30499         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30500         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30501         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30502         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30503         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30505         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30507         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30509         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30511         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30513         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30515         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30517         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30519         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30520         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30521         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30523         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30526 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30528         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30529         the sched_priority value here.  It was already checked when the user
30530         called pthread_attr_setschedparam.
30532         * nptl/tst-bad-schedattr.c: New file.
30533         * nptl/Makefile (tests): Add it.
30535 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30536             Florian Weimer  <fweimer@redhat.com>
30537             Joseph Myers  <joseph@codesourcery.com>
30538             Adam Conrad  <adconrad@0c3.net>
30539             Andreas Schwab  <schwab@suse.de>
30540             Brooks  <bmoses@google.com>
30542         [BZ #17625]
30543         * wordexp-test.c (__dso_handle): Add prototype.
30544         (__register_atfork): Likewise.
30545         (__app_register_atfork): New function.
30546         (registered_forks): New global.
30547         (register_fork): New function.
30548         (test_case): Add 3 new tests for WRDE_CMDSUB.
30549         (main): Call __app_register_atfork.
30550         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30551         fork count is non-zero fail the test.
30552         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30553         is set.
30554         (parse_dollars): Remove check for WRDE_NOCMD.
30555         (parse_dquote): Likewise.
30557 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30559         * Makeconfig (built-modules): List non-library modules to be
30560         built.
30561         (module-cppflags): Include libc-modules.h for
30562         everything except shlib-versions.v.i.
30563         (CPPFLAGS): Use it.
30564         (before-compile): Add libc-modules.h.
30565         ($(common-objpfx)libc-modules.h,
30566         $(common-objpfx)libc-modules.stmp): New targets.
30567         (common-generated): Add libc-modules.h and libc-modules.stmp.
30568         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30569         * include/libc-symbols.h: Don't include libc-modules.h.
30570         * include/libc-modules.h: Remove file.
30571         * scripts/gen-libc-modules.awk: New script to generate
30572         libc-modules.h.
30573         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30574         Depend on libc-modules.stmp.
30576         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30578         * Makeconfig (in-module): Get value of libof set for the
30579         translation unit.
30580         (CPPFLAGS): Use $(in-module).
30581         * Makerules: Don't suffix routine names for nonlib.
30582         * include/libc-modules.h: New file.
30583         * include/libc-symbols.h: Include libc-modules.h
30584         (IS_IN): New macro to replace IS_IN_* macros.
30585         * elf/Makefile: Set libof-* for each routine.
30586         * elf/rtld-Rules: Likewise.
30587         * extra-modules.mk: Likewise.
30588         * iconv/Makefile: Likewise.
30589         * iconvdata/Makefile: Likewise.
30590         * locale/Makefile: Likewise.
30591         * malloc/Makefile: Likewise.
30592         * nss/Makefile: Likewise.
30593         * sysdeps/gnu/Makefile: Likewise.
30594         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30595         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30596         * sysdeps/s390/s390-64/Makefile: Likewise.
30597         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30598         CPPFLAGS for nscd instead of nonlib.
30600 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30602         * nptl/createthread.c: New file.
30604         * nptl/createthread.c: Moved ...
30605         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30607         * nptl/createthread.c: Add proper top-line comment.
30608         (do_clone): Folded into ...
30609         (create_thread): ... here.  Take new arguments STOPPED_START and
30610         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30611         increment __nptl_threads, do event-reporting logic, do
30612         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30613         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30614         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30615         just send SIGCANCEL.
30616         * nptl/pthread_create.c: Forward-declare create_thread before
30617         including createthread.c.
30618         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30619         declaration, and new macro START_THREAD_SELF to replace argument.
30620         Remove return statement.
30621         (report_thread_creation): New function.
30622         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30623         synchronization logic, and __nptl_nthreads increment here, around
30624         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30625         PD->parent_cancelhandling here, before create_thread.  When
30626         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30627         __deallocate_stack, and ENOMEM translation here.
30629 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #17616]
30632         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30633         (mptwo): Rename to __mptwo.
30634         (__inv): Use __mptwo instead of mptwo.
30635         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30636         (mptwo): Rename to __mptwo.
30637         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30638         of mpone and __mptwo instead of mptwo.
30639         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30640         instead of mpone.
30641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30642         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30643         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30644         of mpone and __mptwo instead of mptwo.
30645         (__mpranred): Use __mpone instead of mpone.
30646         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30647         variable.
30648         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30649         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30650         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30651         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30652         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30653         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30654         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30655         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30656         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30657         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30658         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30659         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30660         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30661         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30662         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30663         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30664         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30665         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30666         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30668 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30670         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30671         replace BSD Handler xref with BSD Signal Handling.
30673 2014-11-17  Richard Henderson  <rth@redhat.com>
30675         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30676         (_FP_PACK_RAW_2): Remove.
30677         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30678         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30679         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30680         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30681         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30682         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30683         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30684         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30685         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30686         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30687         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30688         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30689         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30690         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30691         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30692         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30694 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30696         * signal/signal.h [__USE_MISC]
30697         (struct sigvec): Remove type.
30698         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30699         (sigvec): Remove declaration.
30700         * sysdeps/posix/sigvec.c: Moved ...
30701         * signal/sigvec.c: ... here, replacing old file.
30702         (struct sigvec): New type, copied from old signal.h definition.
30703         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30704         (__sigvec): Convert definition to prototype.
30705         (sigvec): Replace weak_alias with compat_symbol.
30706         * signal/Versions (libc: GLIBC_2.21): New version set.
30707         * include/signal.h: Remove __sigvec declaration.
30708         * sysdeps/unix/bsd/sigvec.c: Remove file.
30709         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30710         * manual/signal.texi (BSD Handler): Remove subsection.
30711         Move siginterrupt up to ...
30712         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30713         (Blocking in BSD): Fold subsection into its parent.
30714         * NEWS: Mention sigvec removal.
30716 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30718         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30719         (DLA_FMS): Make definition conditional only on [__FMA4__].
30720         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30721         definition.
30723         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30724         Make definition conditional only on [PROF].
30725         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30726         definition.
30727         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30728         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30730         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30731         !__GNUC__].
30732         * include/signal.h (__sigpause): Move declaration above call to
30733         libc_hidden_proto.
30734         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30735         variable.
30736         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30737         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30739 2014-11-14  David S. Miller  <davem@davemloft.net>
30741         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30742         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30744 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30746         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30747         * configure: Regenerated.
30748         * manual/install.texi (Tools for Compilation): Document a
30749         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30750         compiler verified to work.
30751         * INSTALL: Regenerated.
30753         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30754         redeclare with asm name.
30755         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30756         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30757         including <string.h>.
30758         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30759         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30760         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30761         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30762         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30763         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30764         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30766 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30768         * stdlib/strtol.c (__strtol): Use prototype definition.
30770         [BZ #17594]
30771         * stdlib/strtol.c (SYM__): New macro.
30772         (SYM__1): Likewise.
30773         (__strtol): Likewise.
30774         (strtol): Rename to __strtol and define as weak alias of
30775         __strtol.  Use libc_hidden_weak.
30777 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30779         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30780         Use numbered labels in inline assembly.
30782 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30784         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30785         Add setjmp LIBC_PROBE.
30786         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30787         Likewise.
30788         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30789         Add longjmp, longjmp_target LIBC_PROBE.
30790         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30791         Likewise.
30793 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30796         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30797         to get rid of unused variable warning.
30799 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30801         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30802         Check for unwind_backtrace ==  NULL only in SHARED case.
30803         (__backchain_backtrace): Compile only in SHARED case.
30804         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30805         Likewise.
30806         (__backchain_backtrace): Declare as static.
30808 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30810         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30811         (__libc_multiple_threads_ptr): Variable moved ...
30812         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30814 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30816         * conform/GlibcConform.pm: New file.
30817         * conform/conformtest.pl: Use GlibcConform module.
30818         * conform/linknamespace.pl: New file.
30819         * conform/list-header-symbols.pl: Likewise.
30820         * conform/Makefile (linknamespace-symlists-base): New variable.
30821         (linknamespace-symlists-tests): Likewise.
30822         (linknamespace-header-base): Likewise.
30823         (linknamespace-header-tests): Likewise.
30824         (tests-special): Add new tests.
30825         ($(linknamespace-symlists-tests)): New rule.
30826         (linknamespace-libs): New variable.
30827         ($(objpfx)symlist-stdlibs): New rule.
30828         ($(linknamespace-header-tests)): Likewise.
30829         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30830         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30831         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30832         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30833         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30834         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30835         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30836         (test-xfail-ISO/math.h/linknamespace): Likewise.
30837         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30838         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30839         (test-xfail-ISO/time.h/linknamespace): Likewise.
30840         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30841         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30842         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30843         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30844         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30845         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30846         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30847         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30848         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30849         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30850         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30851         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30852         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30853         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30854         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30855         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30856         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30857         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30858         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30859         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30860         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30861         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30862         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30863         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30864         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30865         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30866         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30867         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30868         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30869         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30870         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30871         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30872         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30873         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30874         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30875         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30876         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30877         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30878         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30879         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30880         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30881         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30882         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30883         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30884         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30885         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30886         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30887         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30888         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30889         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30890         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30891         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30892         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30893         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30894         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30895         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30896         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30897         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30898         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30899         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30900         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30901         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30902         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30903         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30904         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30905         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30906         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30907         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30908         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30909         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30910         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30911         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30912         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30913         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30914         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30915         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30916         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30917         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30918         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30919         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30920         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30921         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30922         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30923         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30924         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30925         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30926         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30927         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30928         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30929         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30930         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30931         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30932         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30933         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30934         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30935         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30936         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30937         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30938         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30939         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30940         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30941         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30942         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30943         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30944         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30945         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30946         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30947         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30948         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30949         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30950         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30951         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30952         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30953         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30954         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30955         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30956         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30957         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30958         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30959         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30960         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30961         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30962         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30963         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30964         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30965         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30966         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30967         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30968         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30969         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30970         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30971         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30972         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30973         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30974         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30975         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30976         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30977         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30978         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30979         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30980         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30981         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30982         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30983         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30984         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30985         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30986         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30987         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30988         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30989         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30991         [BZ #17589]
30992         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30993         of fgets_unlocked.
30995         [BZ #17585]
30996         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30997         (memmem): Rename to __memmem and define as weak alias of
30998         __memmem.  Use libc_hidden_weak.
30999         (__memmem): Use libc_hidden_def.
31000         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31001         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31002         memmem.
31004         [BZ #17582]
31005         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31006         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31007         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31008         and define as weak alias of __fgets_unlocked.  Use
31009         libc_hidden_weak.
31010         (__fgets_unlocked): Use libc_hidden_def.
31011         * include/stdio.h (__fgets_unlocked): Declare.  Use
31012         libc_hidden_proto.
31013         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31014         __fgets_unlocked instead of fgets_unlocked.
31015         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31016         (GET_NPROCS_CONF_PARSER): Likewise.
31017         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31018         (GET_NPROCS_CONF_PARSER): Likewise.
31020         [BZ #17574]
31021         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31022         weak alias of __wmemset.  Use libc_hidden_weak.
31023         (__wmemset): Use libc_hidden_def.
31024         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31025         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31026         of wmemset.
31028         [BZ #17573]
31029         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31030         with asm name __mempcpy.
31031         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31033         [BZ #17572]
31034         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31035         and define as weak alias of __rawmemchr.
31036         (__rawmemchr): Do not define as strong alias of rawmemchr.
31038         [BZ #17571]
31039         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31040         alias of __qsort_r.
31041         (qsort): Call __qsort_r instead of qsort_r.
31042         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31043         (__qsort_r): Declare.  Call libc_hidden_proto.
31044         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31045         instead of qsort_r.
31046         * nscd/gai.c (__qsort_r): Define to qsort_r.
31047         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31048         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31049         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31051         [BZ #17570]
31052         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31053         define as weak alias of __malloc_info.
31055         [BZ #17584]
31056         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31057         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31058         (__rewinddir): Use libc_hidden_def.
31059         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31060         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31061         (__rewinddir): Use libc_hidden_def.
31062         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31063         weak alias of __rewinddir.  Don't use libc_hidden_def.
31064         (__rewinddir): Use libc_hidden_def.
31065         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31066         (__rewinddir): Use libc_hidden_proto.
31067         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31068         rewinddir.
31069         (__getcwd): Use __rewinddir instead of rewinddir.
31071         [BZ #17583]
31072         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31073         alias of __fileno.  Use libc_hidden_weak.
31074         (__fileno): Use libc_hidden_def.
31075         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31076         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31077         alias of __ftello.
31078         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31079         __ftello.
31080         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31081         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31082         libc_hidden_def.
31083         (fread_unlocked): Don't use libc_hidden_ver.
31084         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31085         and define as weak alias of __fread_unlocked.  Don't use
31086         libc_hidden_def.
31087         (__fread_unlocked): Use libc_hidden_def.
31088         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31089         (ftello): Don't use libc_hidden_proto.
31090         (__ftello): Declare.  Use libc_hidden_proto.
31091         (fread_unlocked): Don't use libc_hidden_proto.
31092         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31093         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31094         and __ftello instead of fileno, fread_unlocked and ftello.
31096 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31099         GOT12.
31100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31101         Likewise.
31102         (_dl_start_user): Likewise.
31103         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31105 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31106             Siddhesh Poyarekar  <siddhesh@redhat.com>
31108         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31109         Move argv and envp down instead of moving argc up.
31110         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31112 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31114         [BZ #17506]
31115         * test-skeleton.c (main): Return successful if one of
31116         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31117         * string/tst-strcoll-overflow.c: Define expected status.
31119 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31121         [BZ #17475]
31122         * locale/iso-639.def: Define Bhili and Tulu language codes.
31124 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31126         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31128 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31130         [BZ #17555]
31131         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31133 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31135         * configure.ac: Updated check of minimal required version to
31136         2.22.
31137         * manual/install.texi (Tools for Compilation): Updated version
31138         number.
31139         * configure: Regenerated.
31140         * INSTALL: Likewise.
31142 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31144         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31145         __tls_get_addr.
31147 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31149         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31150         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31151         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31152         libc_hidden_weak.
31153         (waitpid): Define as alias of __waitpid.
31154         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31155         __waitpid.
31156         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31157         libc_hidden_weak.
31158         (waitpid): Define as alias of __waitpid.
31159         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31160         __libc_waitpid alias.
31161         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31162         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31163         Likewise.
31164         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31165         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31166         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31167         alias.
31168         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31169         __waitpid.
31170         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31171         libc_hidden_weak.
31172         (waitpid): Define as alias of __waitpid.
31174 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31176         * manual/llio.texi: Add comment that write safety has been
31177         fixed in Linux.
31179         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31180         (localplt-build-dso): Add elf/ld.so.
31181         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31182         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31183         and free for ld.so.
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31185         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31187         Likewise.
31188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31189         Likewise.
31190         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31191         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31192         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31193         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31194         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31195         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31196         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31197         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31198         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31199         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31200         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31202 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31204         [BZ #14132]
31205         * include/libc-symbols.h (INTUSE): Remove macro.
31206         (INTDEF): Likewise.
31207         (INTVARDEF): Likewise.
31208         (_INTVARDEF): Likewise.
31209         (INTDEF2): Likewise.
31210         (INTVARDEF2): Likewise.
31211         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31212         rtld_hidden_def instead of INTVARDEF.
31213         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31214         (_dl_starting_up_internal): Remove declaration.
31215         (_dl_starting_up): Use rtld_hidden_proto.
31216         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31217         declaration.
31218         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31219         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31220         _dl_starting_up.
31221         * elf/dl-writev.h (_dl_writev): Likewise.
31222         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31223         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31224         _dl_starting_up_internal.
31226 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31228         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31229         test-skeleton.c.
31231 2014-11-05  Will Newton  <will.newton@linaro.org>
31233         * benchtests/Makefile: (bench-malloc): Add malloc thread
31234         scalability benchmark.
31235         * benchtests/bench-malloc-threads.c: New file.
31237 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31239         * sysdeps/aarch64/strchrnul.S: New file.
31241 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31243         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31244         definition.
31245         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31246         Likwise.
31247         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31248         Likewise.
31249         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31250         Likewise.
31251         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31252         Likewise.
31253         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31254         Likewise.
31256 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31258         * catgets/test-gencat.c: Use test-skeleton.c.
31259         * catgets/tst-catgets.c: Likewise.
31260         * csu/tst-empty.c: Likewise.
31261         * elf/tst-audit2.c: Likewise.
31262         * elf/tst-global1.c: Likewise.
31263         * elf/tst-pathopt.c: Likewise.
31264         * elf/tst-piemod1.c: Likewise.
31265         * elf/tst-tls10.c: Likewise.
31266         * elf/tst-tls11.c: Likewise.
31267         * elf/tst-tls12.c: Likewise.
31268         * gnulib/tst-gcc.c: Likewise.
31269         * iconvdata/tst-e2big.c: Likewise.
31270         * iconvdata/tst-loading.c: Likewise.
31271         * iconv/tst-iconv1.c: Likewise.
31272         * iconv/tst-iconv2.c: Likewise.
31273         * inet/test-inet6_opt.c: Likewise.
31274         * inet/tst-gethnm.c: Likewise.
31275         * inet/tst-network.c: Likewise.
31276         * inet/tst-ntoa.c: Likewise.
31277         * intl/tst-codeset.c: Likewise.
31278         * intl/tst-gettext2.c: Likewise.
31279         * intl/tst-gettext3.c: Likewise.
31280         * intl/tst-ngettext.c: Likewise.
31281         * intl/tst-translit.c: Likewise.
31282         * io/test-stat.c: Likewise.
31283         * libio/test-fmemopen.c: Likewise.
31284         * libio/tst-freopen.c: Likewise.
31285         * libio/tst-sscanf.c: Likewise.
31286         * libio/tst-ungetwc1.c: Likewise.
31287         * libio/tst-ungetwc2.c: Likewise.
31288         * libio/tst-widetext.c: Likewise.
31289         * localedata/tst-ctype.c: Likewise.
31290         * localedata/tst-digits.c: Likewise.
31291         * localedata/tst-leaks.c: Likewise.
31292         * localedata/tst-mbswcs1.c: Likewise.
31293         * localedata/tst-mbswcs2.c: Likewise.
31294         * localedata/tst-mbswcs3.c: Likewise.
31295         * localedata/tst-mbswcs4.c: Likewise.
31296         * localedata/tst-mbswcs5.c: Likewise.
31297         * localedata/tst-setlocale.c: Likewise.
31298         * localedata/tst-trans.c: Likewise.
31299         * localedata/tst-wctype.c: Likewise.
31300         * localedata/tst-xlocale1.c: Likewise.
31301         * login/tst-grantpt.c: Likewise.
31302         * malloc/tst-calloc.c: Likewise.
31303         * malloc/tst-malloc.c: Likewise.
31304         * malloc/tst-mallocstate.c: Likewise.
31305         * malloc/tst-mcheck.c: Likewise.
31306         * malloc/tst-mtrace.c: Likewise.
31307         * malloc/tst-obstack.c: Likewise.
31308         * math/atest-exp2.c: Likewise.
31309         * math/atest-exp.c: Likewise.
31310         * math/atest-sincos.c: Likewise.
31311         * math/test-matherr.c: Likewise.
31312         * math/test-misc.c: Likewise.
31313         * math/test-powl.c: Likewise.
31314         * math/tst-definitions.c: Likewise.
31315         * misc/tst-dirname.c: Likewise.
31316         * misc/tst-efgcvt.c: Likewise.
31317         * misc/tst-fdset.c: Likewise.
31318         * misc/tst-hsearch.c: Likewise.
31319         * misc/tst-mntent2.c: Likewise.
31320         * nptl/tst-sem7.c: Likewise.
31321         * nptl/tst-sem8.c: Likewise.
31322         * nptl/tst-sem9.c: Likewise.
31323         * nss/test-netdb.c: Likewise.
31324         * posix/tst-fnmatch.c: Likewise.
31325         * posix/tst-getlogin.c: Likewise.
31326         * posix/tst-gnuglob.c: Likewise.
31327         * posix/tst-mmap.c: Likewise.
31328         * pwd/tst-getpw.c: Likewise.
31329         * resolv/tst-inet_ntop.c: Likewise.
31330         * rt/tst-timer.c: Likewise.
31331         * stdio-common/test-fseek.c: Likewise.
31332         * stdio-common/test-popen.c: Likewise.
31333         * stdio-common/test-vfprintf.c: Likewise.
31334         * stdio-common/tst-cookie.c: Likewise.
31335         * stdio-common/tst-fileno.c: Likewise.
31336         * stdio-common/tst-gets.c: Likewise.
31337         * stdio-common/tst-obprintf.c: Likewise.
31338         * stdio-common/tst-perror.c: Likewise.
31339         * stdio-common/tst-sprintf2.c: Likewise.
31340         * stdio-common/tst-sprintf3.c: Likewise.
31341         * stdio-common/tst-sprintf.c: Likewise.
31342         * stdio-common/tst-swprintf.c: Likewise.
31343         * stdio-common/tst-tmpnam.c: Likewise.
31344         * stdio-common/tst-unbputc.c: Likewise.
31345         * stdio-common/tst-wc-printf.c: Likewise.
31346         * stdlib/tst-environ.c: Likewise.
31347         * stdlib/tst-fmtmsg.c: Likewise.
31348         * stdlib/tst-limits.c: Likewise.
31349         * stdlib/tst-rand48-2.c: Likewise.
31350         * stdlib/tst-rand48.c: Likewise.
31351         * stdlib/tst-random2.c: Likewise.
31352         * stdlib/tst-random.c: Likewise.
31353         * stdlib/tst-strtol.c: Likewise.
31354         * stdlib/tst-strtoll.c: Likewise.
31355         * stdlib/tst-tls-atexit.c: Likewise.
31356         * stdlib/tst-xpg-basename.c: Likewise.
31357         * string/test-ffs.c: Likewise.
31358         * string/tst-bswap.c: Likewise.
31359         * string/tst-inlcall.c: Likewise.
31360         * string/tst-strtok.c: Likewise.
31361         * string/tst-strxfrm.c: Likewise.
31362         * sysdeps/x86_64/tst-audit10.c: Likewise.
31363         * sysdeps/x86_64/tst-audit3.c: Likewise.
31364         * sysdeps/x86_64/tst-audit4.c: Likewise.
31365         * sysdeps/x86_64/tst-audit5.c: Likewise.
31366         * time/tst-ftime_l.c: Likewise.
31367         * time/tst-getdate.c: Likewise.
31368         * time/tst-mktime3.c: Likewise.
31369         * time/tst-mktime.c: Likewise.
31370         * time/tst-posixtz.c: Likewise.
31371         * time/tst-strptime2.c: Likewise.
31372         * time/tst-strptime3.c: Likewise.
31373         * wcsmbs/tst-btowc.c: Likewise.
31374         * wcsmbs/tst-mbrtowc.c: Likewise.
31375         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31376         * wcsmbs/tst-wchar-h.c: Likewise.
31377         * wcsmbs/tst-wcpncpy.c: Likewise.
31378         * wcsmbs/tst-wcrtomb.c: Likewise.
31379         * wcsmbs/tst-wcsnlen.c: Likewise.
31380         * wcsmbs/tst-wcstof.c: Likewise.
31382 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31384         [BZ #14132]
31385         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31386         INTDEF.
31387         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31388         declaration.
31389         (_dl_mcount): Use rtld_hidden_proto.
31390         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31391         _dl_mcount.
31392         * elf/rtld.c (_rtld_global_ro): Likewise.
31394         [BZ #14132]
31395         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31396         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31397         of _dl_init_internal.
31398         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31399         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31400         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31401         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31402         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31403         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31404         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31405         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31406         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31407         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31408         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31409         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31410         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31411         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31412         * sysdeps/tile/dl-start.S (_start): Likewise.
31413         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31414         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31416         [BZ #14132]
31417         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31418         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31419         (rtld_progname): Make macro definition unconditional.
31420         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31421         INTDEF.
31422         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31423         (dl_main): Likewise.
31424         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31425         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31426         instead of _dl_argv_internal.
31427         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31428         __GI__dl_argv instead of INTUSE(_dl_argv).
31429         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31430         __GI__dl_argv instead of _dl_argv_internal.
31432         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31433         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31434         macro.
31435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31436         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31437         New macro.
31438         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31439         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31440         macro.
31441         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31442         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31444 2014-11-04  Andreas Schwab  <schwab@suse.de>
31446         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31448 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31450         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31451         mtvsrd instruction in binary form.
31453 2014-11-03  Andreas Schwab  <schwab@suse.de>
31455         [BZ #17522]
31456         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31457         for less than MB_LEN_MAX use a local buffer of that size.
31458         * libio/tst-fputws.c: New file.
31459         * libio/Makefile (tests): Add tst-fputws.
31461 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31463         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31464         the size of the fpu_fr.fpu_dregs[] array.
31466 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31468         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31469         (__nanosleep): Do not define as alias.
31470         (nanosleep): Define as alias of __nanosleep.
31471         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31472         __libc_nanosleep name.
31474 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31476         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31477         install.texi in comment.
31479 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31481         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31482         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31483         ... add here and use lwsync or sync ...
31484         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31485         ... and add here using lwsync.
31487 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31489         * elf/dl-machine-reject-phdr.h: New file.
31490         * elf/dl-load.c: #include that.
31491         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31492         if that returned true.
31494 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31496         [BZ #17496]
31497         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31498         gen-as-const-headers chunk.  Add a big scare comment after the last
31499         safe place to touch before-compile.
31501 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31503         * manual/install.texi (Tools for Compilation): Update autoconf
31504         version requirements.
31505         * INSTALL: Regenerated.
31507         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31508         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31509         (__libc_pselect): Likewise.
31511         [BZ #14138]
31512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31517 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31519         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31520         correct barrier instruction.
31521         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31522         Likewise.
31523         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31524         Likewise.
31526 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31528         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31529         after defining inlines.  Instead, just use parens to defeat macro
31530         expansion of __isctype in its declaration.
31532 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31534         * include/sys/uio.h (__libc_readv): Remove declaration.
31535         (__libc_writev): Likewise.
31536         * misc/readv.c (__libc_readv): Rename to __readv.
31537         (__readv): Do not define as alias.
31538         (readv): Define as alias of __readv.
31539         * misc/writev.c (__libc_writev): Rename to __writev.
31540         (__writev): Do not define as alias.
31541         (writev): Define as alias of __writev.
31542         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31543         (__readv): Do not define as alias.
31544         (readv): Define unconditionally as alias of __readv.
31545         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31546         (__writev): Do not define as alias.
31547         (writev): Define unconditionally as alias of __writev.
31548         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31549         name.
31550         (writev): Do not define __libc_writev name.
31552 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31554         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31555         (convert_charseq): New function, broken out of ...
31556         (use_from_charmap): ... here.  Call it.
31557         (use_to_charmap): Use convert_charseq and free instead of duplicating
31558         its code with a variable-length stack struct.
31560 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31562         * include/fcntl.h (__libc_creat): Remove declaration.
31563         * io/creat.c (__libc_creat): Rename to creat.
31564         (creat): Do not define as alias.
31565         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31566         of creat instead of __libc_creat.
31567         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31568         to creat.
31569         (creat): Do not define as alias.
31570         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31571         __libc_creat.
31572         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31573         __libc_creat name.
31574         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31575         Likewise.
31577 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31579         * manual/llio.texi: Add comments discussing why write() may be
31580         considered MT-unsafe on Linux.
31582 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31584         * dl-load.c (local_strdup): Remove.
31585         (expand_dynamic_string_token): Use __strdup.
31586         (decompose_rpath): Likewise.
31587         (_dl_map_object): Likewise.
31589 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31591         [BZ #14132]
31592         * sysdeps/generic/unwind-dw2-fde.c
31593         (__register_frame_info_bases_internal): Do not declare.
31594         (__register_frame_info_table_bases_internal): Likewise.
31595         (__deregister_frame_info_bases_internal): Likewise.
31596         (__register_frame_info_bases): Declare and use hidden_proto before
31597         definition.  Use hidden_def instead of INTDEF.
31598         (__register_frame_info_table_bases): Likewise.
31599         (__deregister_frame_info_bases): Likewise.
31600         (__register_frame_info): Do not use INTUSE.
31601         (__register_frame): Likewise.
31602         (__register_frame_info_table): Likewise.
31603         (__register_frame_table): Likewise.
31604         (__deregister_frame_info): Likewise.
31605         (__deregister_frame): Likewise.
31607 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31610         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31611         not undefine.
31612         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31613         Likewise.
31614         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31615         Likewise.
31617 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31619         [BZ #14138]
31620         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31621         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31622         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31623         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31624         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31625         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31626         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31627         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31628         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31629         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31630         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31631         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31632         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31633         syscall.
31634         (setfsuid): Likewise.
31635         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31636         (setfsuid): Likewise.
31637         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31638         (setfsuid): Likewise.
31639         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31640         Likewise.
31641         (setfsuid): Likewise.
31642         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31643         (setfsuid): Likewise.
31644         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31645         Likewise.
31646         (setfsuid): Likewise.
31648 2014-10-27  Andreas Schwab  <schwab@suse.de>
31650         [BZ #17501]
31651         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31652         check for Slow_SSE4_2 feature bit.
31653         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31654         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31655         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31656         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31658 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31660         * configure.ac: Validate compiler version with a empirical test of
31661         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31662         $CC -v output.
31663         * configure: Regenerated.
31665         * inet/htons.c (htons): Prototypify.
31666         * inet/htonl.c (htonl): Likewise.
31668 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31670         * string/strncat.c (strncat): Improve performance by using strlen.
31672 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31674         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31676 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31678         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31679         Call libc_fetestexcept_aarch64.
31681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31683         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31684         Call libc_feholdexcept_aarch64.
31686 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31688         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31689         Call get_rounding_mode.
31691 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31693         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31694         Simplify logic.
31696 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31698         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31699         Simplify logic.
31701 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31703         [BZ #14138]
31704         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31705         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31706         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31707         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31708         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31709         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31710         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31711         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31712         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31713         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31714         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31715         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31716         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31717         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31718         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31719         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31720         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31721         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31722         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31723         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31724         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31725         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31726         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31727         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31728         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31729         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31730         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31731         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31732         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31733         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31734         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31735         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31736         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31737         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31738         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31739         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31740         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31741         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31742         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31743         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31744         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31745         syscall.
31746         (geteuid): Likewise.
31747         (getgid): Likewise.
31748         (getuid): Likewise.
31749         (getresgid): Likewise.
31750         (getresuid): Likewise.
31751         (getgroups): Likewise.
31752         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31753         (geteuid): Likewise.
31754         (getgid): Likewise.
31755         (getuid): Likewise.
31756         (getresgid): Likewise.
31757         (getresuid): Likewise.
31758         (getgroups): Likewise.
31759         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31760         (geteuid): Likewise.
31761         (getgid): Likewise.
31762         (getuid): Likewise.
31763         (getresgid): Likewise.
31764         (getresuid): Likewise.
31765         (getgroups): Likewise.
31766         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31767         Likewise.
31768         (geteuid): Likewise.
31769         (getgid): Likewise.
31770         (getuid): Likewise.
31771         (getresgid): Likewise.
31772         (getresuid): Likewise.
31773         (getgroups): Likewise.
31774         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31775         (geteuid): Likewise.
31776         (getgid): Likewise.
31777         (getuid): Likewise.
31778         (getresgid): Likewise.
31779         (getresuid): Likewise.
31780         (getgroups): Likewise.
31781         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31782         Likewise.
31783         (geteuid): Likewise.
31784         (getgid): Likewise.
31785         (getuid): Likewise.
31786         (getgroups): Likewise.
31788         [BZ #14138]
31789         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31790         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31791         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31792         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31793         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31794         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31795         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31796         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31797         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31798         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31799         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31800         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31801         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31802         __chown.
31803         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31804         (lchown): Likewise.
31805         (fchown): Likewise.
31806         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31807         Likewise.
31808         (lchown): Likewise.
31809         (fchown): Likewise.
31810         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31811         (lchown): Likewise.
31812         (fchown): Likewise.
31813         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31814         Likewise.
31815         (lchown): Likewise.
31816         (fchown): Likewise.
31818 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31820         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31821         Simplify logic.
31823 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31825         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31826         Cleanup logic.
31828 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31830         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31831         Remove unused include.
31833 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31835         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31837         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31838         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31840 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31841             Helge Deller <deller@gmx.de>
31843         [BZ #17508]
31844         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31845         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31846         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31848 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31850         [BZ #14132]
31851         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31852         Remove macro definition.
31853         (__ashrdi3_v_glibc20): Likewise.
31854         (__lshrdi3_v_glibc20): Likewise.
31855         (__cmpdi2_v_glibc20): Likewise.
31856         (__ucmpdi2_v_glibc20): Likewise.
31857         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31858         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31859         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31860         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31861         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31862         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31864 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31866         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31867         old GNU extension [0] syntax.
31868         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31869         alloca rather than an array member with variable length.
31870         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31871         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31872         (parse_opt): ... here.  Likewise use alloca there.
31873         Validate the -i argument before checking for rootness.
31874         (send_shutdown): New function, broken out of ...
31875         (parse_opt): ... here.
31877 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31879         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31880         macro to get at the _rt_local_ro field.
31881         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31882         ([PIC] case) or _dl_hwcap ([!PIC] case).
31883         * sysdeps/arm/setjmp.S: Likewise.
31885         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31886         * sysdeps/arm/configure.ac: New check to define it.
31887         * sysdeps/arm/configure: Regenerated.
31888         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31889         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31890         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31891         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31892         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31893         Use move/movt pair instead of a load.
31894         (LDST_GLOBAL): Macro removed.
31895         (LDR_GLOBAL): New macro replaces it.
31896         (LDR_HIDDEN): New macro.
31897         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31898         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31900         * setjmp/tst-setjmp-static.c: New file.
31901         * setjmp/Makefile (tests): Add it.
31902         (tests-static): New variable.
31904 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31906         [BZ #17485]
31907         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31909 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31911         [BZ #14132]
31912         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31914 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31916         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31918 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31920         * io/fts.c (dirent_not_directory): New function.
31921         (fts_build): Call it.
31923 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31925         * nptl/version.c (__nptl_main): Use normal __write rather than
31926         INTERNAL_SYSCALL.
31927         (banner): Update copyright years.
31929         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31930         gettimeofday.
31931         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31932         * nptl/pthread_cond_timedwait.c: Likewise.
31933         * nptl/pthread_mutex_timedlock.c: Likewise.
31934         * nptl/sem_timedwait.c: Likewise.
31936         * sysdeps/nptl/bits/libc-lock.h
31937         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31938         (__libc_lock_init_recursive): Return void, not 0.
31939         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31940         (__libc_rwlock_init): Likewise.
31941         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31943 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31945         [BZ #15215]
31946         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31947         (__pthread_once_slow): ... here.
31948         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31949         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31951 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31953         [BZ #15215]
31954         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31955         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31956         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31957         * nptl/pthread_once.c (__pthread_once): Likewise.
31958         Update comments.
31960 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #14138]
31963         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31964         name.
31965         (writev): Use __libc_writev as strong name.
31966         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31967         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31969 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31971         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31973         * sysdeps/i386/nptl/tls.h
31974         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31975         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31976         New macros.
31977         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31978         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31979         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31980         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31981         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31982         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31984         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31985         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31986         on [__NR_futex].
31987         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31988         broken out of ...
31989         (__pthread_mutex_init): ... here.  Call it.
31990         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31991         Conditionalize PI cases on [__NR_futex].
31992         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31993         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31994         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31996         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31997         conditional on [SIGSETXID].
31998         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31999         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32000         is defined.  Likewise for SIGSETXID.
32001         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32002         Conditionalize definitions on [SIGSETXID].
32003         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32004         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32005         unblocking on [SIGCANCEL].
32007         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32008         [__NR_set_robust_list].
32010 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32012         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32013         (do_compare): Likewise.
32015 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32017         [BZ #15884]
32018         * string/strcoll_l.c: Don't include stdio.h.
32019         (coll_seq): Remove members idxarr and rulearr.
32020         (get_next_seq_cached): Remove function.
32021         (get_next_seq): Likewise.
32022         (get_next_seq_nocache): Rename to get_next_seq.
32023         (do_compare): Remove function.
32024         (do_compare_nocache): Rename to do_compare.
32025         (STRCOLL): Remove weight and rules cache.
32027 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32029         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32030         * sysdeps/arm/sfp-machine.h: ... to here.
32031         * sysdeps/arm/Implies: Remove arm/soft-fp.
32033 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32035         * conform/data/sys/utsname.h-data (*_t): Allow.
32036         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32037         [POSIX] (WEXITED): Do not expect constant.
32038         [POSIX] (WSTOPPED): Likewise.
32039         [POSIX] (WNOHANG): Likewise.
32040         [POSIX] (WNOWAIT): Likewise.
32041         [POSIX] (siginfo_t): Do not expect type or elements.
32042         [POSIX] (pid_t): Do not expect type.
32043         [POSIX] (signal.h): Do not allow header.
32044         [POSIX] (sys/resource.h): Likewise.
32045         [POSIX] (si_*): Do not allow pattern.
32046         [POSIX] (W*): Likewise.
32047         [POSIX] (P_*): Likewise.
32048         [POSIX] (BUS_*): Likewise.
32049         [POSIX] (CLD_*): Likewise.
32050         [POSIX] (FPE_*): Likewise.
32051         [POSIX] (ILL_*): Likewise.
32052         [POSIX] (POLL_*): Likewise.
32053         [POSIX] (SEGV_*): Likewise.
32054         [POSIX] (SI_*): Likewise.
32055         [POSIX] (TRAP_*): Likewise.
32056         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32057         variable.
32059 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32061         [BZ #12926]
32062         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32063         infinite loop when __recvmsg returns 0.
32065 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32067         * CANCEL-FCT-WAIVE: Remove file.
32068         * CANCEL-FILE-WAIVE: Likewise.
32070         [BZ #14132]
32071         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32072         instead of INTVARDEF.
32073         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32074         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32075         rtld_hidden_data_def instead of INTVARDEF.
32076         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32077         * elf/dl-deps.c (expand_dst): Likewise.
32078         * elf/dl-load.c (_dl_dst_count): Likewise.
32079         (_dl_dst_substitute): Likewise.
32080         (decompose_rpath): Likewise.
32081         (_dl_init_paths): Likewise.
32082         (open_path): Likewise.
32083         (_dl_map_object): Likewise.
32084         * elf/rtld.c (dl_main): Likewise.
32085         (process_dl_audit): Likewise.
32086         (process_envvars): Likewise.
32087         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32088         Remove declaration.
32089         (__libc_enable_secure): Use rtld_hidden_proto.
32091 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32093         * elf/dl-load.c
32094         (add_path): New function broken out of _dl_rtld_di_serinfo.
32095         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32097 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32099         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32100         parentheses around macro arguments.
32101         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32102         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32103         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32107         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32112         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32113         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32114         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32115         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32116         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32117         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32120         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32121         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32130         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32131         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32132         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32133         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32134         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32135         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32136         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32137         Likewise.
32138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32139         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32140         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32144         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32145         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32146         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32147         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32148         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32149         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32150         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32159         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32161         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32162         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32163         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32164         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32165         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32166         (_FP_FRAC_SRS_1): Likewise.
32167         (_FP_FRAC_CLZ_1): Likewise.
32168         (_FP_MUL_MEAT_1_imm): Likewise.
32169         (_FP_MUL_MEAT_1_wide): Likewise.
32170         (_FP_MUL_MEAT_1_hard): Likewise.
32171         (_FP_SQRT_MEAT_1): Likewise.
32172         (_FP_FRAC_ASSEMBLE_1): Likewise.
32173         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32174         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32175         (__FP_CLZ_2): Likewise.
32176         (_FP_MUL_MEAT_2_wide): Likewise.
32177         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32178         (_FP_MUL_MEAT_2_gmp): Likewise.
32179         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32180         (_FP_SQRT_MEAT_2): Likewise.
32181         (_FP_FRAC_ASSEMBLE_2): Likewise.
32182         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32183         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32184         (_FP_FRAC_CLZ_4): Likewise.
32185         (_FP_MUL_MEAT_4_wide): Likewise.
32186         (_FP_MUL_MEAT_4_gmp): Likewise.
32187         (_FP_SQRT_MEAT_4): Likewise.
32188         (_FP_FRAC_ASSEMBLE_4): Likewise.
32189         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32190         * soft-fp/op-common.h (_FP_CMP): Likewise.
32191         (_FP_CMP_EQ): Likewise.
32192         (_FP_CMP_UNORD): Likewise.
32193         (_FP_TO_INT): Likewise.
32194         (_FP_FROM_INT): Likewise.
32195         [!__FP_CLZ] (__FP_CLZ): Likewise.
32196         (_FP_DIV_HELP_imm): Likewise.
32197         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32198         Likewise.
32199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32210         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32212         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32214         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32215         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32216         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32217         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32218         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32219         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32228         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32233         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32234         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32235         (FP_UNPACK_RAW_SP): Likewise.
32236         (FP_PACK_RAW_S): Likewise.
32237         (FP_PACK_RAW_SP): Likewise.
32238         (FP_UNPACK_S): Likewise.
32239         (FP_UNPACK_SP): Likewise.
32240         (FP_UNPACK_SEMIRAW_S): Likewise.
32241         (FP_UNPACK_SEMIRAW_SP): Likewise.
32242         (FP_PACK_S): Likewise.
32243         (FP_PACK_SP): Likewise.
32244         (FP_PACK_SEMIRAW_S): Likewise.
32245         (FP_PACK_SEMIRAW_SP): Likewise.
32246         (_FP_SQRT_MEAT_S): Likewise.
32247         (FP_CMP_S): Likewise.
32248         (FP_CMP_EQ_S): Likewise.
32249         (FP_CMP_UNORD_S): Likewise.
32250         (FP_TO_INT_S): Likewise.
32251         (FP_FROM_INT_S): Likewise.
32253         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32255         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32256         (FP_EX_INVALID_IMZ): Likewise.
32257         (FP_EX_INVALID_IMZ_FMA): Likewise.
32258         (FP_EX_INVALID_ISI): Likewise.
32259         (FP_EX_INVALID_ZDZ): Likewise.
32260         (FP_EX_INVALID_IDI): Likewise.
32261         (FP_EX_INVALID_SQRT): Likewise.
32262         (FP_EX_INVALID_CVI): Likewise.
32263         (FP_EX_INVALID_VC): Likewise.
32264         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32265         "invalid" exceptions.
32266         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32267         (_FP_ADD_INTERNAL): Likewise.
32268         (_FP_MUL): Likewise.
32269         (_FP_FMA): Likewise.
32270         (_FP_DIV): Likewise.
32271         (_FP_CMP_CHECK_NAN): Likewise.
32272         (_FP_SQRT): Likewise.
32273         (_FP_TO_INT): Likewise.
32274         (FP_EXTEND): Likewise.
32276 2014-10-09  Allan McRae  <allan@archlinux.org>
32278         * po/fr.po: Update French translation from translation project.
32280 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32282         [BZ #14132]
32283         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32284         of INTDEF.
32285         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32286         (__cxa_atexit): Use libc_hidden_proto.
32287         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32289         [BZ #14132]
32290         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32291         declaration.
32292         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32293         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32294         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32295         [!_ISOMAC] (__iswctype_internal): Likewise.
32296         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32297         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32298         alias.
32299         (fcntl): Remove __fcntl_internal alias.
32300         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32301         __connect_internal alias.
32302         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32303         Likewise.
32305         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32306         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32307         FP_DENORM_ZERO.
32308         (_FP_CHECK_FLUSH_ZERO): New macro.
32309         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32310         (_FP_CMP): Likewise.
32311         (_FP_CMP_EQ): Likewise.
32312         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32313         FP_DENORM_ZERO.
32314         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32315         (FP_TRUNC): Likewise.
32317         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32318         treated as invalid conversion, not as normal exponent.
32320         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32321         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32322         (_FP_CMP_EQ): Likewise.
32323         (_FP_CMP_UNORD): Likewise.
32324         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32325         (FP_CMP_EQ_D): Likewise.
32326         (FP_CMP_UNORD_D): Likewise.
32327         * soft-fp/extended.h (FP_CMP_E): Likewise.
32328         (FP_CMP_EQ_E): Likewise.
32329         (FP_CMP_UNORD_E): Likewise.
32330         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32331         (FP_CMP_EQ_Q): Likewise.
32332         (FP_CMP_UNORD_Q): Likewise.
32333         * soft-fp/single.h (FP_CMP_S): Likewise.
32334         (FP_CMP_EQ_S): Likewise.
32335         (FP_CMP_UNORD_S): Likewise.
32336         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32337         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32338         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32339         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32340         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32341         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32342         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32343         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32344         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32345         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32346         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32347         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32348         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32349         to FP_CMP_Q.
32350         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32351         FP_CMP_Q.
32352         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32353         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32354         FP_CMP_EQ_Q.
32355         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32356         FP_CMP_Q.
32357         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32358         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32359         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32360         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32361         FP_CMP_EQ_Q.
32362         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32363         FP_CMP_Q.
32364         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32365         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32366         FP_CMP_EQ_Q.
32367         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32368         FP_CMP_Q.
32369         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32370         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32371         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32372         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32373         FP_CMP_EQ_Q.
32375         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32376         a subnormal result, set the underflow exception if trapping on
32377         underflow is enabled.
32378         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32379         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32380         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32381         redefine to 0.
32382         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32383         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32384         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32385         * soft-fp/extendxftf2.c (__extendxftf2): Use
32386         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32388         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32389         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32390         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32391         FP_HANDLE_EXCEPTIONS.
32392         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32393         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32394         FP_HANDLE_EXCEPTIONS.
32395         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32396         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32397         FP_HANDLE_EXCEPTIONS.
32398         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32399         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32400         FP_HANDLE_EXCEPTIONS.
32402 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32404         [BZ #14132]
32405         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32406         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32407         use INTUSE.
32408         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32409         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32410         Remove alias.
32411         (__adjtimex): Define using libc_hidden_ver.
32412         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32413         Remove declaration.
32414         (ntp_gettime): Call __adjtimex directly.
32415         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32416         Remove declaration.
32417         (ntp_gettimex): Call __adjtimex directly.
32418         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32419         __adjtimex_internal alias.
32421 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32423         [BZ #17460]
32424         * nscd/nscd.c (more_help): Rewrite list of tables collection
32425         using xstrdup and asprintf.
32427         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32429 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32430             Roland McGrath  <roland@hack.frob.com>
32432         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32433         (do_lookup_unique): ... local function 'enter' here; update callers.
32435 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32437         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32438         compat_symbol calls on [SHARED].
32439         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32440         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32441         Remove.
32442         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32443         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32444         (oldsetrlimit): Remove.
32445         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32447         (lchown): New syscall entry.
32448         (oldsetrlimit): Remove.
32449         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32450         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32451         (oldsetrlimit): Remove.
32452         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32454         [BZ #14138]
32455         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32456         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32457         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32458         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32459         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32460         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32461         (fchown): Likewise.
32462         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32463         (fchown): Likewise.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32465         Likewise.
32467 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32470         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32471         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32472         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32473         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32474         Likewise.
32475         (__old_sem_post): Likewise.
32477 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32479         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32480         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32481         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32482         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32483         Use INLINE_VSYSCALL macro.
32484         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32485         __vdso_clock_gettime.
32486         * sysdeps/unix/sysv/linux/tile/init-first.c
32487         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32488         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32489         __vdso_clock_gettime.
32491         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32492         to set up frame more cleanly.
32494         * sysdeps/tile/memcmp.c: New file.
32496         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32498         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32499         * sysdeps/tile/tilegx/strcasestr.c: New file.
32500         * sysdeps/tile/tilegx/strnlen.c: New file.
32501         * sysdeps/tile/tilegx/strstr.c: New file.
32503         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32505 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32507         * nptl/tst-setuid3.c: Write errors to stdout.
32509 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32511         * elf/dl-deps.c
32512         (preload): New functions broken out of _dl_map_object_deps.
32513         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32515 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32517         [BZ #14138]
32518         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32519         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32521 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32523         * sysdeps/mips/strcmp.S: New.
32525 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32527         [BZ #14138]
32528         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32529         (linkat): Likewise.
32530         (mkdirat): Likewise.
32531         (readlinkat): Likewise.
32532         (renameat): Likewise.
32533         (symlinkat): Likewise.
32534         (unlinkat): Likewise.
32535         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32536         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32537         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32538         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32539         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32540         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32541         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32543 2014-09-30  Will Newton  <will.newton@linaro.org>
32545         * math/math.h: Define long double math functions if
32546         _LIBC_TEST is defined.
32547         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32549         * localedata/Makefile: Move assignment to tests-special
32550         into an ifdef testing run-built-tests.
32551         * timezone/Makefile: Likewise.
32553 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32555         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32556         with $(BASH) not $(SHELL).
32558 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32559             Matthew LeGendre  <legendre1@llnl.gov>
32561         [BZ #17411]
32562         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32563         l_reloc_result.
32565 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32567         * stdio-common/printf_fp.c
32568         (hack_digit): New function, broken out of ...
32569         (__printf_fp): ... local function here.  Update call sites.
32570         hack_digit now takes an additional parameter that is a pointer
32571         to a struct of the referenced locals.  Those locals moved inside
32572         the struct and references updated.
32574 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32576         * aclocal.m4: Require autoconf 2.69.
32577         * configure: Regenerated.
32578         * sysdeps/aarch64/configure: Likewise.
32579         * sysdeps/alpha/configure: Likewise.
32580         * sysdeps/arm/armv7/configure: Likewise.
32581         * sysdeps/arm/configure: Likewise.
32582         * sysdeps/ia64/configure: Likewise.
32583         * sysdeps/mach/configure: Likewise.
32584         * sysdeps/mips/configure: Likewise.
32585         * sysdeps/s390/configure: Likewise.
32586         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32589         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32590         file.
32591         * sysdeps/ia64/configure.ac: Likewise.
32593 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32596         specify symbol version for ld.so.  Do not include entry for
32597         libpthread.
32598         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32599         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32600         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32602         [BZ #14171]
32603         * Makeconfig [$(build-shared) = yes]
32604         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32605         makefiles.
32606         [$(build-shared) = yes && $(soversions.mk-done) = t]
32607         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32608         [$(build-shared) = yes && $(soversions.mk-done) = t]
32609         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32610         to Makerules.
32611         [$(build-shared) = yes && $(soversions.mk-done) = t]
32612         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32613         here.
32614         [$(build-shared) = yes && $(soversions.mk-done) = t]
32615         (common-generated): Don't append gnu/lib-names.h and
32616         gnu/lib-names.stmp here.
32617         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32618         (lib-names-h-abi): New variable.
32619         [$(build-shared) = yes && $(soversions.mk-done) = t]
32620         (lib-names-stmp-abi): Likewise.
32621         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32622         abi-variants] (before-compile): Append
32623         $(common-objpfx)$(lib-names-h-abi).
32624         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32625         abi-variants] (common-generated): Append gnu/lib-names.h.
32626         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32627         abi-variants] (install-others-nosubdir): Depend on
32628         $(inst_includedir)/$(lib-names-h-abi).
32629         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32630         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32631         [$(build-shared) = yes && $(soversions.mk-done) = t]
32632         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32633         [$(build-shared) = yes && $(soversions.mk-done) = t]
32634         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32635         [$(build-shared) = yes && $(soversions.mk-done) = t]
32636         (common-generated): Append $(lib-names-h-abi) and
32637         $(lib-names-stmp-abi).
32638         * scripts/lib-names.awk: Do not handle multi being set.
32639         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32640         Remove variable.
32641         (abi-lp64_be-ld-soname): Likewise.
32642         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32643         Likewise.
32644         (abi-hard-ld-soname): Likewise.
32645         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32646         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32647         Remove variable.
32648         (abi-o32_hard-ld-soname): Likewise.
32649         (abi-o32_soft_2008-ld-soname): Likewise.
32650         (abi-o32_hard_2008-ld-soname): Likewise.
32651         (abi-n32_soft-ld-soname): Likewise.
32652         (abi-n32_hard-ld-soname): Likewise.
32653         (abi-n32_soft_2008-ld-soname): Likewise.
32654         (abi-n32_hard_2008-ld-soname): Likewise.
32655         (abi-n64_soft-ld-soname): Likewise.
32656         (abi-n64_hard-ld-soname): Likewise.
32657         (abi-n64_soft_2008-ld-soname): Likewise.
32658         (abi-n64_hard_2008-ld-soname): Likewise.
32659         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32660         Likewise.
32661         (abi-64-v2-ld-soname): Likewise.
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32663         ld.so entries.
32664         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32665         variable.
32666         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32667         entry.
32668         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32669         variable.
32670         (abi-64-ld-soname): Likewise.
32671         (abi-x32-ld-soname): Likewise.
32672         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32673         entry.
32674         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32676 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #14138]
32679         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32680         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32681         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32682         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32683         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32684         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32685         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32686         syscall entry for GLIBC_2.2 symbol version.
32687         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32688         Likewise.
32689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32690         (setrlimit): Likewise.
32691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32692         Likewise.
32694 2014-09-23  Will Newton  <will.newton@linaro.org>
32696         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32697         _LINUX_ARM_SYSDEP_H include guard too.
32698         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32699         define.
32701 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32703         * sysdeps/unix/sysv/linux/eventfd.c:
32704         Make first argument unsigned.
32705         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32706         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32708 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32710         [BZ #16852]
32711         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32712         * socket/sys/socket.h: Likewise.
32713         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32715 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32717         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32719 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32721         * time/tst-ftime.c: New test.
32722         * time/Makefile (tests): Add tst-ftime.
32724 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32726         * soft-fp/extended.h: Fix comment formatting.
32727         * soft-fp/op-1.h: Likewise.
32728         * soft-fp/op-2.h: Likewise.
32729         * soft-fp/op-4.h: Likewise.
32730         * soft-fp/op-8.h: Likewise.
32731         * soft-fp/op-common.h: Likewise.
32732         * soft-fp/soft-fp.h: Likewise.
32734         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32736 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32738         [BZ #6652]
32739         * Makeconfig (soversions-default-setname): Remove variable.
32740         ($(common-objpfx)soversions.i): Don't pass default_setname to
32741         soversions.awk.
32742         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32743         oldest_abi to abi-versions.awk.
32744         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32745         * config.make.in (oldest-abi): Remove variable.
32746         * configure.ac (--enable-oldest-abi): Remove configure option.
32747         * configure: Regenerated.
32748         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32749         text.
32750         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32751         * scripts/soversions.awk: Do not handle default_setname variable.
32752         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32753         variable.
32754         * sysdeps/mach/hurd/configure: Regenerated.
32755         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32756         variable.
32757         * sysdeps/unix/sysv/linux/configure: Regenerated.
32759 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32761         * elf/Makefile (CFLAGS-interp.c): Remove.
32762         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32763         path string.
32764         * elf/interp.c: Include generated runtime-linker.h
32766         * Makerules (lib%.so): Don't include $(+interp) in
32767         prerequisites.
32768         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32769         * dlfcn/eval.c: Remove file.
32771         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32772         macros.
32774         [BZ #17266]
32775         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32776         4.2 and newer.
32778         [BZ #17370]
32779         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32781 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32782             Jakub Jelinek  <jakub@redhat.com>
32784         [BZ #17266]
32785         * libio/stdio.h: Check definition of __fortify_function
32786         instead of __extern_always_inline to include bits/stdio2.h.
32787         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32788         check if __extern_always_inline is defined.
32789         [__USE_MISC || __USE_XOPEN]: Likewise.
32790         [__USE_ISOC99] Likewise.
32791         * misc/sys/cdefs.h (__fortify_function): Define only if
32792         __extern_always_inline is defined.
32793         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32794         __extern_always_inline and __extern_inline only for g++-4.3
32795         and newer or a compatible gcc.
32797 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32799         [BZ #17371]
32800         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32801         last change to handle zero prefix length.
32803 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32805         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32806         _SC_REGEX_VERSION.
32808         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32809         _POSIX_RAW_SOCKETS.
32811 2014-09-13  Allan McRae  <allan@archlinux.org>
32813         * po/ru.po: Update Russian translation from translation project.
32815 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32817         * locale/programs/locale.c (show_locale_vars): Inline local function
32818         into its sole call site.  Clean up some style nits.
32819         (print_item): New function, broken out of ...
32820         (show_info): ... local function here.  Clean up style nits.
32822         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32823         out of ...
32824         (set_class_defaults): ... local function set_default here.
32825         Define set_default as a macro locally to pass constant parameters.
32826         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32827         rather than a shared local.
32829         * stdlib/rpmatch.c (try): New function, broken out of ...
32830         (rpmatch): ... local function here.  Also, prototypify definition.
32832 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32834         * scripts/soversions.awk: Do not handle configuration names.
32835         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32836         vendor and os variables to soversions.awk.
32837         * configure.ac: Do not modify gnu-* host_os.
32838         * configure: Regenerated
32839         * shlib-versions: Remove first column with configuration names.
32840         * nptl/shlib-versions: Likewise.
32841         * nptl_db/shlib-versions: Likewise.
32842         * sysdeps/hppa/shlib-versions: Likewise.
32843         * sysdeps/m68k/shlib-versions: Likewise.
32844         * sysdeps/mach/hurd/shlib-versions: Likewise.
32845         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32846         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32847         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32848         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32849         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32850         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32851         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32852         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32854         Likewise.
32855         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32856         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32857         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32858         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32859         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32860         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32861         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32862         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32865         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32867         Regenerated.
32868         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32870         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32872         * shlib-versions: Remove OS-specific entries.  Moved to files in
32873         sysdeps.
32874         * sysdeps/mach/hurd/shlib-versions: New file.
32875         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32877         * nptl/shlib-versions: Remove architecture-specific entries.
32878         Moved to files in sysdeps.
32879         * shlib-versions: Likewise.
32880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32881         file.
32882         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32883         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32884         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32885         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32887         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32888         (UDP_NO_CHECK6_RX): Likewise.
32890 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32892         * sysdeps/posix/sysconf.c (__sysconf): Spell
32893         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32895 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32897         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32898         loading.
32899         * iconv/Versions (__gconv_transliterate): Export for use from
32900         gconv modules.
32901         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32902         (struct __gconv_trans_data, __gconv_trans_fct,
32903         __gconv_trans_context_fct, __gconv_trans_query_fct,
32904         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32905         definitions.
32906         (struct __gconv_step_data): Remove __trans member.
32907         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32908         longer hidden.  Remove unused trans_data argument.
32909         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32910         (__gconv_translit_find): Remove declaration.
32911         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32912         prototype.
32913         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32914         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32915         trans_data argument.  Add hidden definition.
32916         (__gconv_translit_find): Remove.
32917         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32918         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32919         * iconv/skeleton.c: Remove transliteration initialization.
32920         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32921         __gconv_step_data initialization.
32922         * libio/iofwide.c (__libio_translit_): Remove.
32923         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32924         * wcsmbs/btowc.c (__btowc): Likewise.
32925         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32926         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32927         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32928         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32929         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32930         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32931         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32932         * wcsmbs/wctob.c (wctob): Likewise.
32934 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32936         [BZ #16194]
32937         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32938         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32939         register usage.
32940         * sysdeps/x86/Makefile: Adjust.
32942 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32943             Roland McGrath  <roland@hack.frob.com>
32945         * locale/weight.h: Add include guard.
32946         (findidx): Make static rather than auto; take new parameters
32947         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32948         * locale/weightwc.h: Likewise.
32949         * posix/fnmatch_loop.c
32950         (FCT): Change type of EXTRA from int32_t to wint_t.
32951         Don't include either header inside the function.
32952         Call FINDIDX rather than findidx, and pass new arguments.
32953         #undef FINDIDX at the end of the file.
32954         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32955         FINDIDX before including fnmatch_loop.c for the non-wide version.
32956         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32957         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32958         for the wide version.
32959         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32960         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32961         Pass new arguments to findidx.
32962         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32963         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32964         Don't #include it inside the function.  Pass new arguments to findidx.
32965         * posix/regex_internal.h
32966         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32967         (re_string_elem_size_at): Don't #include it inside the function.
32968         Pass new arguments to findidx.
32969         * string/strcoll_l.c: #include WEIGHT_H at top level.
32970         (get_next_seq): Don't #include it inside the function.
32971         Pass new arguments to findidx.
32972         (get_next_seq_nocache): Likewise.
32973         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32974         (STRXFRM): Don't #include it inside the function.
32975         Pass new arguments to findidx.
32977 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32979         [BZ #17344]
32980         * malloc/malloc.c (unlink): Turn asserts into a call to
32981         malloc_printerr.
32983 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32985         [BZ #17370]
32986         * libio/wfileops (do_ftell_wide): Free OUT.
32988 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32990         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32992 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32994         [BZ #17363]
32995         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32996         group if the current group is empty.
32998 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33000         * benchtests/bench-memset.c (test_main): Add more test from size
33001         from 32 to 512 bytes.
33002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33003         Add POWER8 memset object.
33004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33005         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33006         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33007         implementation.
33008         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33009         Likewise.
33010         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33011         multiarch POWER8 memset optimization.
33012         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33013         POWER8 memset optimization.
33015         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33016         Remove bzero multiarch objects.
33017         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33018         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33020         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33021         Remove define.
33022         [__bzero]: Redefine to specific name.
33023         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33024         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33025         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33026         define.
33027         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33030 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33032         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33033         warnings into errors.
33035         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33036         __cxa_thread_atexit_impl prototype.
33038 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33040         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33041         Fix capitalization of error message.
33043 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33045         * sysdeps/mips/preconfigure: Modify ABI tests.
33047 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33049         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33051 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33052             Carlos O'Donell  <carlos@systemhalted.org>
33054         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33055         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33056         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33057         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33058         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33059         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33060         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33061         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33062         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33063         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33064         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33065         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33066         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33067         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33068         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33069         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33070         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33071         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33072         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33073         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33074         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33075         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33076         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33077         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33078         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33079         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33080         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33081         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33082         Deconditionalize the code that was previously under [RESET_PID].
33083         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33084         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33085         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33086         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33087         include sysdep.h.
33089 2014-09-08  Allan McRae  <allan@archlinux.org>
33091         * version.h (RELEASE): Set to "development".
33092         (VERSION): Set to "2.20.90"
33094 2014-09-07  Allan McRae  <allan@archlinux.org
33096         * version.h (RELEASE): Set to "stable".
33097         (VERSION): Set to "2.20"
33098         * include/features.h (__GLIBC_MINOR__): Set to 20.
33100         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33101         Liebler.
33103         * po/ko.po: Update Korean translation from translation project.
33105 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33107         [BZ #17354]
33108         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33109         macro for handling signed relocations.
33111 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33113         [BZ #17325]
33114         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33115         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33116         assert.
33117         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33118         * iconvdata/ibm935.c (BODY): Likewise.
33119         * iconvdata/ibm937.c (BODY): Likewise.
33120         * iconvdata/ibm939.c (BODY): Likewise.
33121         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33122         assert.
33123         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33124         script.
33125         * iconvdata/run-iconv-test.sh: New test loop for checking for
33126         decoder crashers.
33128 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33130         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33131         libm_hidden_ver.
33133 2014-09-01  Allan McRae  <allan@archlinux.org>
33135         * po/eo.po: Update Esperanto translation from translation project.
33137         * po/ca.po: Update Catalan translation from translation project.
33139 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33141         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33142         __proc_dostop call.
33144 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33146         [BZ #17319]
33147         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33148         to call set_thread_area instead of hand written asm.
33149         (__NR_set_thread_area): Removed define.
33150         (TLS_FLAG_WRITABLE): Likewise.
33151         (__ASSUME_SET_THREAD_AREA): Remove check.
33152         (TLS_EBX_ARG): Remove define.
33153         (TLS_LOAD_EBX): Likewise.
33155 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33157         Simplify atomicity of socket creation in bind.
33159         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33160         looking up the name after linking the file.
33162 2014-08-27  Allan McRae  <allan@archlinux.org>
33164         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33166 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33168         [BZ #17187]
33169         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33170         trans_compare, open_translit, __gconv_translit_find):
33171         Remove module loading code.
33173 2014-08-26  Allan McRae  <allan@archlinux.org>
33175         * po/vi.po: Update Vietnamese translation from translation project.
33177         * po/uk.po: Update Ukrainian translation from translation project.
33179         * po/fr.po: Update French translation from translation project.
33181         * po/ru.po: Update Russian translation from translation project.
33183         * po/pl.po: Update Polish translation from translation project.
33185         * po/cs.po: Update Czech translation from translation project.
33187         * po/de.po: Update German translation from translation project.
33189         * po/bg.po: Update Bulgarian translation from translation project.
33191         * po/sv.po: Update Sweedish translation from translation project.
33193         * po/nl.po: Update Dutch translation from translation project.
33195         * po/es.po: Update Spanish translation from translation project.
33197 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33199         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33201         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33202         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33203         (CPPFLAGS-iconvconfig): Likewise.
33204         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33206         * include/libc-symbols.h: Remove unnecessary check for
33207         NOT_IN_libc.
33208         * nptl/pthreadP.h: Likewise.
33209         * sysdeps/aarch64/setjmp.S: Likewise.
33210         * sysdeps/alpha/setjmp.S: Likewise.
33211         * sysdeps/arm/sysdep.h: Likewise.
33212         * sysdeps/i386/setjmp.S: Likewise.
33213         * sysdeps/m68k/setjmp.c: Likewise.
33214         * sysdeps/posix/getcwd.c: Likewise.
33215         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33216         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33217         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33218         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33219         * sysdeps/sh/sh3/setjmp.S: Likewise.
33220         * sysdeps/sh/sh4/setjmp.S: Likewise.
33221         * sysdeps/unix/alpha/sysdep.h: Likewise.
33222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33223         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33224         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33225         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33230         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33231         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33233         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33235         * sysdeps/x86_64/setjmp.S: Likewise.
33237 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33239         [BZ #17263]
33240         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33241         <stdint.h>.
33242         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33243         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33245 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33247         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33249         [BZ #17262]
33250         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33251         and __x86_64__ when disabling x87 inline functions.
33253 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33255         [BZ #17259]
33256         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33257         asm statement with __cpuid_count.
33259 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33261         * configure.ac: Change __ehdr_start code to dereference the struct.
33262         Run readelf on the output to look for relocations.
33263         * configure: Regenerated.
33265 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33267         [BZ #17261]
33268         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33269         value to 0.
33270         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33272 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33274         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33276 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33278         [BZ #16892]
33279         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33280         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33282 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33284         * malloc/malloc.c: Fix typo in comment.
33286 2014-08-09  Allan McRae  <allan@archlinux.org>
33288         * Regenerate libc.po.
33290 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33292         * intl/tst-gettext2.sh: Check every lang file for creation.
33294 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33296         * sysdeps/aarch64/fpu/math_private.h
33297         (libc_feholdsetround_noex_aarch64_ctx): New function.
33299 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33301         * sysdeps/arm/armv6/strcpy.S (strcpy):
33302         Fix performance issue in misaligned cases.
33304 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33306         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33307         Move definition from termios.h.
33308         (struct termio): Likewise.
33309         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33310         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33311         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33312         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33313         Likewise.
33314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33315         Move definition to ioctl-types.h
33316         (struct termio): Likewise.
33317         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33318         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33319         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33320         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33321         Likewise.
33323 2014-08-05  Richard Henderson  <rth@redhat.com>
33325         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33326         exceptions.
33327         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33328         Add fraiseexcpt.
33329         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33330         Use __feraiseexcept.
33331         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33332         Protect libm symbols with IS_IN_libm.
33334         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33336 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33338         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33340 2014-08-04  Will Newton  <will.newton@linaro.org>
33342         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33343         file.
33345 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33347         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33348         variants for each function.
33350 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33352         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33353         appended ...
33354         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33355         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33356         appended ...
33357         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33358         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33359         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33360         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33361         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33362         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33363         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33364         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33365         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33366         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33367         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33368         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33369         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33372         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33373         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33374         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33375         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33376         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33377         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33378         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33379         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33380         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33381         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33382         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33383         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33384         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33385         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33386         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33387         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33388         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33389         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33390         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33391         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33392         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33393         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33394         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33395         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33396         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33397         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33399         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33401         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33403         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33405         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33406         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33407         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33408         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33409         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33410         Update #include.
33411         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33412         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33414 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33416         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33417         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33418         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33419         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33420         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33421         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33423 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33425         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33426         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33427         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33428         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33430 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33432         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33433         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33434         (__libc_vfork): Define function under this name.
33435         (__vfork): Define as an alias.
33436         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33437         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33439 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33441         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33442         that was previously under [RESET_PID].
33443         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33445 2014-08-04  Andreas Schwab  <schwab@suse.de>
33447         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33449 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33451         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33452         (main): Likewise.
33454 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33456         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33458 2014-08-01  Richard Henderon  <rth@redhat.com>
33460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33461         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33462         typo in exact zero test.
33463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33467 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33469         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33470         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33471         * sysdeps/arm/sysdep.h: ... here.
33472         [!__ASSEMBLER__]: Include <stdint.h>.
33474 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33476         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33477         (HAVE_WCTYPE_H): Likewise.
33478         (HAVE_ISWCTYPE): Likewise.
33479         (ENABLE_NLS): Likewise.
33480         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33481         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33483         * posix/regex_internal.c: Check if DEBUG is defined and is
33484         set.
33486         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33487         (HAVE_MBSRTOWCS): Likewise.
33488         * posix/fnmatch.c: Include string.h unconditionally.
33490 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33492         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33493         reversal.
33495 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33497         * sysdeps/generic/safe-fatal.h: New file.
33498         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33499         * nptl/forward.c: Include it.
33500         (__pthread_unwind): Use __safe_fatal as default action, rather
33501         than a bogus use of INTERNAL_SYSCALL that could never work.
33503         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33504         * configure.ac (libc_cv_builtin_trap): New test.
33505         * configure: Regenerated.
33506         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33507         (ABORT_INSTRUCTION): Define using __builtin_trap.
33509         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33510         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33511         * sysdeps/nptl/nptl-signals.h: New file.
33512         * nptl/pthreadP.h: Include <nptl-signals.h>.
33514 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33516         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33517         (ONE_DIRECTION): Define.
33518         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33519         (ONE_DIRECTION): Define.
33520         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33521         (ONE_DIRECTION): Define.
33523 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33525         * sysdeps/s390/Makefile: Delete file.
33526         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33527         * sysdeps/s390/__longjmp.c: Delete file.
33528         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33529         Remove fields __flags and __reserved.
33530         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33531         and add versioning.
33532         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33533         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33534         * sysdeps/s390/rtld-setjmp.S: Likewise.
33535         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33536         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33537         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33538         * sysdeps/s390/s390-32/setjmp.S: ... here.
33539         Add versioning.
33540         (__sigsetjmp): Remove setting __flags field.
33541         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33542         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33543         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33544         * sysdeps/s390/s390-64/setjmp.S: ... here.
33545         Add versioning.
33546         (__sigsetjmp): Remove setting __flags field.
33547         * sysdeps/s390/setjmp.S: Delete file.
33548         * sysdeps/s390/sigjmp.c: Likewise.
33549         * sysdeps/s390/v1-longjmp.c: Likewise.
33550         * sysdeps/s390/v1-setjmp.h: Likewise.
33551         * sysdeps/s390/v1-sigjmp.c: Likewise.
33552         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33553         Remove v1-longjmp_chk.
33554         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33555         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33556         Include debug/longjmp_chk.c and add versioning.
33557         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33558         Include nptl/pt-longjmp.c and add versioning.
33559         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33560         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33561         Include __longjmp.c.
33562         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33563         Move to ...
33564         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33565         (__getcontext): Remove setting __flags field.
33566         Add versioning.
33567         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33568         Don't restore upper high grps.
33569         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33570         Likewise.
33571         (__swapcontext): Remove setting uc_flags field.
33572         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33573         Delete file.
33574         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33575         Include __longjmp.c.
33576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33577         Move to ...
33578         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33579         (__getcontext): Remove setting __flags field.
33580         Add versioning.
33581         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33582         (__swapcontext): Remove setting uc_flags field.
33583         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33584         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33585         Remove fields uc_high_gprs and __reserved.
33586         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33587         New file with reverted content.
33588         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33589         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33590         Regenerated.
33591         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33592         Regenerated.
33594 2014-07-31  Andreas Schwab  <schwab@suse.de>
33596         * config.h.in (HAVE_IFUNC): Define to 0.
33597         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33598         definedness.
33600 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33603         memmove-avx-unaligned, memcpy-avx-unaligned and
33604         mempcpy-avx-unaligned.
33605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33606         Add tests for AVX memcpy functions.
33607         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33609         memcpy_chk.
33610         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33611         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33612         memmove_chk.
33613         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33614         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33615         mempcpy_chk.
33616         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33617         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33618         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33620 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33622         [BZ #17213]
33623         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33624         powerpc64le.
33626 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33628         [BZ #16839]
33629         * manual/llio.texi: Add section about open file description locks.
33630         * manual/examples/ofdlocks.c: Example of open file description
33631         lock usage.
33632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33633         F_OFD_SETLK, and F_OFD_SETLKW.
33635 2014-07-23  Allan McRae  <allan@archlinux.org>
33637         * po/es.po: Update Spanish translation from translation project.
33639 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33641         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33643 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33645         [BZ #17078]
33646         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33647         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33648         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33650 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33652         [BZ #17088]
33653         * math/fesetenv.c (__fesetenv)
33654         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33655         * math/feupdateenv.c (__feupdateenv)
33656         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33658         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33659         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33660         (__ASSUME_SOCKETCALL): Do not define.
33662         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33663         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33664         (__ASSUME_SOCKETCALL): Do not define.
33665         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33666         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33667         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33668         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33670         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33672         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33674         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33675         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33676         (__ASSUME_SOCKETCALL): Do not define.
33677         (__ASSUME_IPC64): Define unconditionally.
33678         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33680         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33682         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33684         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33685         Likewise.
33687         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33688         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33689         (__ASSUME_SOCKETCALL): Do not define.
33690         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33691         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33692         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33693         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33694         (__ASSUME_REQUEUE_PI): Define unconditionally.
33695         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33696         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33697         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33698         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33700         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33702         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33703         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33704         (__ASSUME_SOCKETCALL): Do not define.
33705         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33706         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33707         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33708         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33710         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33712         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33713         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33714         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33715         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33717         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33719         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33720         (__ASSUME_GETCPU_SYSCALL): Likewise.
33722         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33723         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33724         cases for individual architectures.
33725         * sysdeps/gnu/configure: Regenerated.
33726         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33727         LIBC_SLIBDIR_RTLDDIR.
33728         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33729         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33730         LIBC_SLIBDIR_RTLDDIR.
33731         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33733         LIBC_SLIBDIR_RTLDDIR.
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33735         Regenerated.
33736         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33737         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33738         file.
33739         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33740         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33741         file.
33742         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33743         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33744         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33745         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33747         * sysdeps/aarch64/shlib-versions: Move to ...
33748         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33749         * sysdeps/alpha/shlib-versions: Move to ...
33750         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33751         * sysdeps/arm/shlib-versions: Move to ...
33752         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33753         * sysdeps/hppa/shlib-versions: Move all contents except for
33754         libgcc_s entry to ...
33755         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33756         entry from ...
33757         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33758         * sysdeps/ia64/shlib-versions: Move to ...
33759         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33760         entry from ...
33761         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33762         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33763         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33764         * sysdeps/microblaze/shlib-versions: Move to ...
33765         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33766         * sysdeps/mips/shlib-versions: Move to ...
33767         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33768         entry from ...
33769         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33770         * sysdeps/tile/shlib-versions: Move to ...
33771         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33772         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33773         from ...
33774         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33775         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33776         entry from ...
33777         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33779 2014-07-17  Will Newton  <will.newton@linaro.org>
33781         * sysdeps/arm/bits/atomic.h
33782         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33783         (__arch_compare_and_exchange_bool_16_int): Likewise.
33784         (__arch_compare_and_exchange_bool_64_int): Likewise.
33786         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33787         into an #else block.
33789 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33791         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33792         just Linux configurations.  Test empirically that the compiler sets
33793         __ARM_EABI__, rather than using the tuple to decide.
33794         * sysdeps/arm/preconfigure: Regenerated.
33795         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33796         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33797         contents appended ...
33798         * sysdeps/arm/configure.ac: ... here.
33799         * sysdeps/arm/configure: Regenerated.
33801 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33803         * nptl/pthread_kill.c: New file.
33804         * nptl/pthread_sigmask.c: New file.
33805         * nptl/pthread_sigqueue.c: New file.
33807         * sysdeps/nptl/lowlevellock.h: New file.
33808         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33809         * sysdeps/nptl/lowlevellock-futex.h: New file.
33811         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33812         Remove dead declarations.
33814 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33816         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33817         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33818         config-cflags-avx2.
33819         * sysdeps/x86_64/configure.ac: Likewise.
33820         * sysdeps/i386/configure: Regenerated.
33821         * sysdeps/x86_64/configure: Likewise.
33822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33823         memset-avx2 only if config-cflags-avx2 is yes.
33824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33825         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33826         defined.
33827         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33828         only if HAVE_AVX2_SUPPORT is defined.
33829         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33831 2014-07-14  Alan Modra  <amodra@gmail.com>
33833         [BZ #17153]
33834         * elf/elf.h (DT_PPC64_NUM): Correct value.
33835         * NEWS: Add to fixed bug list.
33837 2014-07-13  Jim Meyering  <meyering@fb.com>
33839         [BZ 17150]
33840         regex: don't deref NULL upon heap allocation failure
33841         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33842         failure in one more place.
33843         To trigger the segfault, configure grep -with-included-regex,
33844         build it, and run these commands:
33845         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33847 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33849         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33851 2014-07-11  Richard Henderson  <rth@redhat.com>
33853         * sysdeps/aarch64/libm-test-ulps: Update.
33855 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33857         [BZ #17135]
33858         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33859         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33860         (__nptl_setxid): Initialize error member.  Call
33861         __nptl_setxid_error.
33862         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33863         * nptl/descr.h (struct xid_command): Add error member.
33864         * nptl/tst-setuid3.c: New file.
33865         * nptl/Makefile (tests): Add it.
33867 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33870         New define.
33871         (__lll_trylock): Use __lll_base_trylock.
33872         (__lll_cond_trylock): Likewise.
33874 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33876         * nptl/pthread_create.c (start_thread): Use atomic_or and
33877         lll_futex_wake directly rather than lll_robust_dead.
33878         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33879         (lll_robust_dead): Macro removed.
33880         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33881         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33882         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33883         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33885         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33887         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33888         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33892         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33893         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33896         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33897         Use atomic_compare_and_exchange_val_acq directly rather than
33898         lll_robust_trylock.
33899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33900         (__lll_robust_trylock, lll_robust_trylock): Removed.
33901         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33902         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33903         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33904         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33905         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33906         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33907         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33908         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33910         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33912         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33913         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33916 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33918         * manual/locale.texi (Locale Names): New section documenting
33919         locale name syntax.  Adjust menu and node chaining accordingly.
33920         (Choosing Locale): Reference Locale Names, Locale Categories.
33921         Mention setting LC_ALL=C.  Reflect that name syntax is now
33922         documented.
33923         (Locale Categories): New section title.  Reference Locale Names.
33924         LC_ALL is an environment variable, but not a category.
33925         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33926         description, now in Locale Name.  Reference that section.  Locale
33927         name syntax is now documented.
33929 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33931         [BZ #17137]
33932         * locale/findlocale.c (name_present, valid_locale_name): New
33933         functions.
33934         (_nl_find_locale): Use the loc_name variable to store name
33935         candidates.  Call name_present and valid_locale_name to check and
33936         validate locale names.  Return an error if the locale is invalid.
33938 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33940         * locale/setlocale.c (setlocale): Use strdup for allocating
33941         composite name copy.
33943 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33945         Sync up with gnulib.
33946         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33947         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33948         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33949         and _GL_ARG_NONNULL.
33950         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33951         [!_LIBC]: Include code for Windows and Cygwin.
33952         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33953         Include prototype for int strerror_r.
33954         [!_LIBC] (is_open): New function.
33955         (flush_stdout): New function.
33956         (print_errno_message): Use it.
33957         (error): Likewise.
33958         (error_at_line): Likewise.
33959         (error_tail) Add function attribute macros.  Use
33960         __builtin_expect.
33962         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33964         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33966         * io/ftw.c: Include sys/param.h unconditionally.
33968         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33970         [BZ #17125]
33971         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33972         libc_freeres_ptr.
33973         (freecache): New function to free CACHE on exit.
33975         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33976         initialization.
33978 2014-07-09  David S. Miller  <davem@davemloft.net>
33980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33982         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33983         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33984         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33985         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33986         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33987         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33988         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33989         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33990         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33991         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33992         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33993         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33994         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33996 2014-07-09  Andreas Schwab  <schwab@suse.de>
33998         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33999         output.
34000         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34001         (do_test): Likewise.
34003         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34005 2014-07-09  Will Newton  <will.newton@linaro.org>
34007         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34008         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34009         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34010         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34011         * sysdeps/hppa/start.S (_start): Likewise.
34013 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34015         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34017         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34018         defined.
34020 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34022         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34023         after checking that it is non-NULL.
34025         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34027 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34029         * sysdeps/powerpc/memmove.c: Remove file.
34030         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34031         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34032         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34033         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34034         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34035         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34037         string memmove instead of removed powerpc one.
34039         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34040         [weak_alias]: Fix compiler warning due trailing data.
34041         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34042         [weak_alias]: Likewise.
34043         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34044         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34047         (__libc_ifunc_impl_list): Add memmove functions.
34049 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34051         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34052         Remove code.
34053         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34054         Likewise.
34055         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34056         Likewise.
34057         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34058         Likewise.
34059         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34060         Likewise.
34061         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34062         Likewise.
34063         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34064         Likewise.
34065         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34066         Likewise.
34067         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34068         Likewise.
34069         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34070         Likewise.
34071         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34072         Likewise.
34073         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34074         Likewise.
34075         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34076         Likewise.
34077         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34078         Likewise.
34079         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34080         Likewise.
34081         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34082         Likewise.
34083         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34084         Likewise.
34086 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34088         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34089         to avoid alignment traps in non-cacheable memory.
34090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34093         multiarch objects.
34094         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34095         file: multiarch power7 memmove.
34096         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34097         multiarch default memmove.
34098         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34099         multiarch memove for powerpc32/power4.
34101         * string/bcopy.c: Use full path to include memmove.c.
34102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34103         multiarch objects.
34104         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34105         bcopy for powerpc64.
34106         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34107         bcopy for powerpc64.
34108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34109         and memmove implementations.
34110         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34111         optimized multiarch memmove for POWER7/powerpc64.
34112         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34113         default multiarch memmove for powerpc64.
34114         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34115         multiarch for powerpc64.
34116         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34117         for POWER7/powerpc64.
34118         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34119         memmove for POWER7/powerpc64.
34121         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34122         glibc default one.
34124         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34125         __ELF_NATIVE_CLASS equal to 64.
34127 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34129         * sysdeps/nptl/lowlevellock.h: File removed.
34131         * NEWS: NPTL is no longer an add-on!
34132         * nptl/internaltypes.h: Moved ...
34133         * sysdeps/nptl/internaltypes.h: ... here.
34134         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34135         * sysdeps/nptl/fork.c: Likewise.
34136         * sysdeps/nptl/gai_misc.h: Likewise.
34137         * sysdeps/nptl/librt-cancellation.c: Likewise.
34138         * sysdeps/nptl/jmp-unwind.c: Likewise.
34139         * sysdeps/nptl/setxid.h: Likewise.
34140         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34141         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34142         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34143         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34144         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34145         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34146         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34147         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34148         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34149         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34150         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34151         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34152         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34153         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34154         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34155         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34156         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34157         * nptl/Makeconfig: Moved ...
34158         * sysdeps/nptl/Makeconfig: ... here.
34159         * nptl/configure: File removed.
34160         * nptl/ANNOUNCE: File removed.
34161         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34162         * sysdeps/unix/sysv/linux/configure: Regenerated.
34164         * nptl/Makefile (routines): Add libc_pthread_init,
34165         libc_multiple_threads, register-atfork and unregister-atfork.
34166         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34167         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34168         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34169         pthread-pi-defines.sym, structsem.sym.
34170         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34171         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34172         [$(subdir) = nptl] (tests): Add tst-setgetname.
34173         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34174         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34175         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34176         [!LIBC_SIGACTION]: Remove aliases.
34177         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34178         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34179         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34180         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34181         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34182         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34183         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34184         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34185         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34186         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34187         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34188         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34189         __libc_allocate_rtsig_private.
34190         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34191         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34192         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34193         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34194         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34195         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34196         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34197         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34198         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34199         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34200         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34201         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34202         * nptl/internaltypes.h: ... here.
34203         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34204         * sysdeps/nptl/jmp-unwind.c: ... here.
34205         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34206         * nptl/libc-lowlevellock.c: ... here.
34207         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34208         * nptl/libc_multiple_threads.c: ... here.
34209         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34210         * nptl/libc_pthread_init.c: ... here.
34211         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34212         * nptl/lowlevelbarrier.sym: ... here.
34213         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34214         * nptl/lowlevelcond.sym: ... here.
34215         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34216         * nptl/lowlevellock.c: ... here.
34217         * nptl/lowlevellock.h: Moved ...
34218         * sysdeps/nptl/lowlevellock.h: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34220         * nptl/lowlevelrobustlock.c: ... here.
34221         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34222         * nptl/lowlevelrobustlock.sym: ... here.
34223         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34224         * nptl/lowlevelrwlock.sym: ... here.
34225         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34226         * nptl/pt-fork.c: ... here.
34227         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34228         * nptl/pthread-pi-defines.sym: ... here.
34229         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34230         * nptl/pthread_attr_getaffinity.c: ... here.
34231         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34232         * nptl/pthread_attr_setaffinity.c: ... here.
34233         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34234         * nptl/pthread_mutex_cond_lock.c: ... here.
34235         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34236         Update #include.
34237         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34238         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34239         * nptl/pthread_once.c: ... here, replacing old file.
34240         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34241         * nptl/pthread_yield.c: ... here.
34242         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34243         * nptl/register-atfork.c: ... here.
34244         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34245         * nptl/sem_post.c: ... here.
34246         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34247         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34248         * nptl/sem_timedwait.c: ... here.
34249         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34250         * nptl/sem_trywait.c: ... here.
34251         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34252         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34253         * nptl/sem_wait.c: ... here.
34254         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34255         * nptl/structsem.sym: ... here.
34256         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34257         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34258         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34259         * nptl/unregister-atfork.c: ... here.
34260         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34261         * nptl/unwindbuf.sym: ... here.
34262         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34263         * sysdeps/nptl/fork.c: ... here.
34264         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34265         * sysdeps/nptl/fork.h: ... here.
34266         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34267         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34268         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34270         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34272         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34274         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34275         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34276         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34277         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34278         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34279         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34280         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34281         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34282         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34284         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34286         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34288         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34290         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34292         * sysdeps/unix/sysv/linux/raise.c: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34294         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34296         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34298         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34299         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34300         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34302         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34303         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34304         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34306         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34307         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34309 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34311         * sysdeps/generic/memcopy.h: Add comment for
34312         MEMCPY_OK_FOR_FWD_MEMMOVE.
34314 2014-07-04  Will Newton  <will.newton@linaro.org>
34316         * string/memchr.c: Merge from gnulib.
34317         [_LIBC]: Remove conditionals.
34318         (__ptr_t): Remove define.
34319         (LONG_MAX_32_BITS): Likewise.
34320         (LONG_MAX): Likewise.
34321         (MEMCHR): Use ANSI prototype and optimize algorithm.
34323         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34325 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34327         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34328         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34330         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34331         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34332         in a bare environment with no <stdlib.h> installed.
34333         * sysdeps/nptl/configure: Regenerated.
34335         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34337         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34338         AC_EGREP_CPP for kernel header checks, so they only succeed if
34339         including <linux/version.h> actually works right.
34340         * sysdeps/unix/sysv/linux/configure: Regenerated.
34342         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34343         value so it's not diagnosed as unused.
34345         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34346         thing) with "ifeq ($(subdir),rt)".
34348 2014-07-03  Richard Henderson  <rth@redhat.com>
34350         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34351         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34352         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34354         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34355         (math_force_eval): New.
34357         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34358         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34360         * sysdeps/alpha/fpu/s_round.c: Remove file.
34361         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34363         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34364         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34365         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34366         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34367         (_dl_start, print_statistics): Likewise.
34368         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34369         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34371         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34372         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34373         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34374         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34376         (HP_SMALL_TIMING_AVAIL): Define.
34377         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34378         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34379         (HP_SMALL_TIMING_AVAIL): Define.
34380         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34381         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34383         * sysdeps/aarch64/hp-timing.h: New file.
34385         * sysdeps/generic/hp-timing.h: Remove dead comment.
34386         * sysdeps/generic/hp-timing-common.h: New file.
34387         * sysdeps/alpha/hp-timing.h: Include it.
34388         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34389         * sysdeps/i386/i686/hp-timing.h: Likewise.
34390         * sysdeps/ia64/hp-timing.h: Likewise.
34391         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34392         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34393         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34394         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34395         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34396         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34397         (hp_timing_t): New.
34399         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34400         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34401         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34402         * elf/rtld.c (_dl_start_final): Likewise.
34403         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34404         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34405         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34406         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34407         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34408         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34409         (HP_TIMING_DIFF_INIT): Remove.
34410         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34411         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34412         (HP_TIMING_DIFF_INIT): Remove.
34413         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34414         * sysdeps/i386/i686/hp-timing.c: Remove file.
34415         * sysdeps/x86_64/hp-timing.c: Remove file.
34416         * sysdeps/ia64/hp-timing.c: Remove file.
34417         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34418         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34419         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34420         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34422         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34423         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34424         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34425         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34427         (HP_TIMING_ACCUM): Remove.
34428         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34429         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34430         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34432         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34433         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34434         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34435         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34437         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34438         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34439         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34441         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34443 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34445         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34447 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34449         Sync up with gettext.
34450         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34451         [_MSC_VER]: Include malloc.h
34452         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34453         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34454         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34455         TEMP_FAILURE_RETRY.  Cast return of alloca.
34456         [!_LIBC] Call gl_rwlock_init.
34457         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34459 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34461         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34462         before checking its value.
34464 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34466         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34468         * debug/memcpy_chk.c: Don't include pagecopy.h.
34469         * debug/mempcpy_chk.c: Likewise.
34470         * string/memcpy.c: Likewise.
34471         * string/memmove.c: Likewise.
34472         * sysdeps/powerpc/memmove.c: Likewise.
34473         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34474         definition of PAGE_COPY_FWD_MAYBE here...
34475         * sysdeps/generic/pagecopy.h: ... from here.
34476         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34478 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34479             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34481         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34483         optimizations.
34484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34485         (__libc_ifunc_impl_list): Likewise.
34486         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34487         multiarch strcat for PPC64.
34488         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34489         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34491 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34493         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34495 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34497         * intl/loadmsgcat.c: Remove declaration of
34498         get_sysdep_segment_value.
34499         (get_sysdep_segment_value): Use ISO C style.
34500         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34501         semicolon.  Fix typo and formatting in comment.
34502         (_nl_unload_domain): Use ISO C style.
34504         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34506 2014-07-02  Will Newton  <will.newton@linaro.org>
34508         * malloc/obstack.c: Merge from gnulib master.
34509         [HAVE_CONFIG_H]: Remove conditional code.
34510         [!_LIBC]: Include config.h.
34511         [!ELIDE_CODE]: Don't include inttypes.h, include
34512         stdint.h unconditionally.
34513         (print_and_abort): Mark as _Noreturn.
34514         (_obstack_allocated_p): Mark as __attribute_pure__.
34515         (obstack_free): Rename to __obstack_free.
34516         [!__attribute__]: Remove conditional code.
34517         * malloc/obstack.h: Merge from gnulib master.
34518         [__cplusplus]: Move conditional down.
34519         [!__attribute_pure__]: Define __attribute_pure__ here
34520         if it is not already defined.
34521         (_obstack_memory_used): Mark as __attribute_pure__.
34522         [!__obstack_free]: Define as obstack_free.
34523         [__GNUC__]: Remove check for ancient NeXT gcc.
34525 2014-07-02  Will Newton  <will.newton@linaro.org>
34526             Paul Eggert  <eggert@cs.ucla.edu>
34528         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34530 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34532         * resolv/gethnamaddr.c: Add comment warning that the file is
34533         not maintained.
34535 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34537         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34538         entries.
34540         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34541         entry for aio_cancel and aio_cancel64.
34542         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34543         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34544         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34545         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34546         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34547         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34549         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34550         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34551         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34552         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34553         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34554         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34556 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34558         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34559         * nptl/pthread_mutex_lock.c: Likewise.
34560         * nptl/pthread_mutex_timedlock.c: Likewise.
34561         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34563 2014-07-01  Richard henderson  <rth@redhat.com>
34565         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34566         (__isnan, __isnanl): Remove.
34567         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34569         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34571 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34573         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34575 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34577         * resolv/nss_dns/dns-host.c (getanswer_r)
34578         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34580 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34583         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34584         undefine.
34585         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34586         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34588 2014-07-01  Roland McGrath <roland@hack.frob.com>
34590         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34591         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34593         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34594         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34596         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34597         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34598         ... here.
34599         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34600         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34602         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34603         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34604         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34605         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34607         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34608         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34609         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34610         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34611         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34612         Moved ...
34613         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34614         ... here.
34615         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34616         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34617         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34618         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34619         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34620         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34621         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34622         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34623         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34624         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34625         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34626         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34627         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34628         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34629         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34630         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34631         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34632         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34633         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34634         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34635         ... here.
34636         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34639         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34640         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34641         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34642         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34643         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34645 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34647         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34648         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34649         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34650         Add sysdep.
34652 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34656 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34658         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34661         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34663         * sysdeps/arm/libm-test-ulps: Regenerated.
34665 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34666             Roland McGrath <roland@hack.frob.com>
34668         * test-skeleton.c (signal_handler): Kill the whole process group
34669         before killing the child individually.
34670         (main): Report any failure on `setpgid'.
34672 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34674         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34675         from _TLS_H to _ARM_NPTL_TLS_H.
34676         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34677         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34679 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34681         [BZ #16539]
34682         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34683         (__expm1l): Return argument unchanged when small but not
34684         subnormal.
34686         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34687         include macro name.
34688         (_FP_UNPACK_RAW_1_P): Likewise.
34689         (_FP_PACK_RAW_1): Likewise.
34690         (_FP_PACK_RAW_1_P): Likewise.
34691         (_FP_MUL_MEAT_1_wide): Likewise.
34692         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34693         (_FP_MUL_MEAT_1_hard): Likewise.
34694         (_FP_DIV_MEAT_1_imm): Likewise.
34695         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34696         (_FP_DIV_MEAT_1_udiv): Likewise.
34697         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34698         (_FP_UNPACK_RAW_2): Likewise.
34699         (_FP_UNPACK_RAW_2_P): Likewise.
34700         (_FP_PACK_RAW_2): Likewise.
34701         (_FP_PACK_RAW_2_P): Likewise.
34702         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34703         (_FP_MUL_MEAT_2_wide): Likewise.
34704         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34705         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34706         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34707         (_FP_MUL_MEAT_2_gmp): Likewise.
34708         (_FP_DIV_MEAT_2_udiv): Likewise.
34709         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34710         (_FP_FRAC_SRL_4): Likewise.
34711         (_FP_FRAC_SRST_4): Likewise.
34712         (_FP_FRAC_SRS_4): Likewise.
34713         (_FP_UNPACK_RAW_4): Likewise.
34714         (_FP_UNPACK_RAW_4_P): Likewise.
34715         (_FP_PACK_RAW_4): Likewise.
34716         (_FP_PACK_RAW_4_P): Likewise.
34717         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34718         (_FP_MUL_MEAT_4_wide): Likewise.
34719         (_FP_MUL_MEAT_4_gmp): Likewise.
34720         (umul_ppppmnnn): Likewise.
34721         (_FP_DIV_MEAT_4_udiv): Likewise.
34722         (__FP_FRAC_ADD_4): Likewise.
34723         (__FP_FRAC_SUB_3): Likewise.
34724         (__FP_FRAC_SUB_4): Likewise.
34725         (__FP_FRAC_DEC_3): Likewise.
34726         (__FP_FRAC_DEC_4): Likewise.
34727         (__FP_FRAC_ADDI_4): Likewise.
34728         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34729         (_FP_FRAC_SRL_8): Likewise.
34730         (_FP_FRAC_SRS_8): Likewise.
34732         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34733         include macro name.
34734         (FP_UNPACK_RAW_EP): Likewise.
34735         (FP_PACK_RAW_E): Likewise.
34736         (FP_PACK_RAW_EP): Likewise.
34737         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34738         (_FP_ISSIGNAN): Likewise.
34739         (_FP_ADD_INTERNAL): Likewise.
34740         (_FP_FMA): Likewise.
34741         (_FP_CMP): Likewise.
34742         (_FP_SQRT): Likewise.
34743         (_FP_TO_INT): Likewise.
34744         (_FP_FROM_INT): Likewise.
34745         (FP_EXTEND): Likewise.
34746         (_FP_DIV_MEAT_N_loop): Likewise.
34748 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34750         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34751         throughout.
34753 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34755         [BZ #17097]
34756         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34757         result with correct sign in case of exponents that produce
34758         overflow except for X very close to 1.
34760 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34762         mktime: merge #if/#ifdef usage from glibc
34763         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34764         as that works with both Glibc's and Gnulib's style.
34765         See thread starting at Siddhesh Poyarekar's bug report at:
34766         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34768 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34770         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34771         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34772         * sysdeps/tile/tilegx/memmove.c: Remove file.
34774 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34776         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34777         abi-name definition.
34778         * scripts/soversions.awk: Do not handle or generate ABI lines.
34779         * shlib-versions: Remove ABI entries.
34780         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34781         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34783 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34786         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34787         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34788         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34790         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34792         Moved ...
34793         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34794         ... here.
34795         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34796         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34798         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34800         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34802         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34804         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34805         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34806         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34808         Moved ...
34809         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34811         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34815         Moved ...
34816         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34818         Moved ...
34819         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34823         Moved ...
34824         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34826         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34828         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34830         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34832         Moved ...
34833         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34837         Moved ...
34838         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34840         Moved ...
34841         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34843         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34844         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34845         Moved ...
34846         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34847         ... here.
34848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34849         Identical file removed.
34850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34851         Moved ...
34852         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34853         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34854         Identical file removed.
34855         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34856         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34858         Moved ...
34859         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34861         Identical file removed.
34862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34863         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34865         Identical file removed.
34866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34869         Identical file removed.
34870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34871         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34873         Identical file removed.
34874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34875         Moved ...
34876         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34878         Identical file removed.
34879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34880         Moved ...
34881         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34883         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34885         Identical file removed.
34886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34887         Moved ...
34888         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34889         ... here.
34890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34891         Identical file removed.
34892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34893         Moved ...
34894         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34896         Identical file removed.
34897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34898         Moved ...
34899         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34901         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34905         Moved ...
34906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34907         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34908         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34910         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34911         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34912         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34913         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34914         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34916 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34918         [BZ #17092]
34919         * nscd/nscd.c (monitor_child): Return exit status of child
34920         instead of return value from wait syscall.
34922 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34924         * configure.ac (libc_commonpagesize): Remove variable.
34925         (libc_relro_required): Likewise.
34926         (libc_cv_z_relro): Remove configure test.
34927         * configure: Regenerated.
34928         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34929         variable.
34930         (libc_relro_required): Likewise.
34931         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34932         (libc_relro_required): Likewise.
34933         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34934         (libc_relro_required): Likewise.
34935         * sysdeps/arm/preconfigure: Regenerated.
34936         * sysdeps/ia64/preconfigure: Remove file.
34937         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34938         variable.
34939         (libc_relro_required): Likewise.
34941         [BZ #16561]
34942         [BZ #16562]
34943         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34944         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34945         recompute overflowing results in original rounding mode.
34946         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34947         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34948         recompute overflowing results in original rounding mode.
34949         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34950         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34951         recompute overflowing results in original rounding mode.
34952         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34953         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34954         recompute overflowing results in original rounding mode.
34955         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34956         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34957         recompute overflowing results in original rounding mode.
34958         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34959         (libc_feholdsetround_ctx): New macro.
34960         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34961         * sysdeps/i386/fpu/libm-test-ulps: Update.
34962         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34964 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34966         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34967         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34968         corresponding .cpsetup call.
34970 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34972         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34973         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34974         * sysdeps/arm/Makefile [$(subdir) = csu]
34975         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34976         (static-only-routines): Add aeabi_read_tp here.
34977         (shared-only-routines): Add libc-aeabi_read_tp here.
34978         (CFLAGS-libc-start.c): Add -fexceptions here.
34979         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34980         (sysdep_routines, static-only-routines, shared-only-routines):
34981         Don't add to these here.
34982         (CFLAGS-libc-start.c): Likewise.
34984         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34985         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34986         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34987         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34988         * sysdeps/arm/Makefile [$(subdir) = rt]
34989         (librt-sysdep_routines, librt-shared-only-routines):
34990         Append rt-aeabi_unwind_cpp_pr1 here.
34991         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34992         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34993         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34994         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34995         Append nptl-aeabi_unwind_cpp_pr1 here.
34996         (tests): Filter out tst-cleanupx4 here.
34997         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34998         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34999         Don't do those here.
35001 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35003         * scripts/list-sources.sh: Do not handle ports specially.
35005 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35007         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35008         * sysdeps/arm/feupdateenv.c: Likewise.
35010         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35012 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35014         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35015         trailing whitespace removed.
35016         * scripts/config.guess: Update to version 2014-03-23.
35017         * scripts/config.sub: Update to version 2014-05-01
35018         * scripts/install-sh: Update to version 2013-12-25.23.
35019         * scripts/move-if-change: Update from gnulib.
35021 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35023         * debug/memmove_chk.c: Remove pagecopy.h include.
35025 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35027         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35028         identical to gnulib mktime.
35030 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35032         * configure.ac: Do not test for machine being rs6000.  Do not test
35033         for powerpc*-*soft.
35034         * configure: Regenerated.
35036         [BZ #11505]
35037         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35038         test.
35039         * configure: Regenerated.
35040         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35041         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35042         Remove configure test.
35043         * sysdeps/arm/configure: Regenerated.
35044         * sysdeps/nptl/configure.ac: Do not check
35045         libc_cv_asm_cfi_directives.
35046         * sysdeps/nptl/configure: Regenerated.
35047         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35048         * sysdeps/x86_64/nptl/configure: Remove generated file.
35049         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35050         unconditional.
35051         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35053 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35055         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35056         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35057         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35058         it is defined.
35060         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35061         instead of whether it is defined.
35062         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35063         * sysdeps/hppa/dl-machine.h: Likewise.
35064         * sysdeps/ia64/dl-machine.h: Likewise.
35065         * sysdeps/m68k/dl-machine.h: Likewise.
35066         * sysdeps/microblaze/dl-machine.h: Likewise.
35067         * sysdeps/mips/dl-machine.: Likewise.
35068         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35069         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35070         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35071         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35072         * sysdeps/sh/dl-machine.h: Likewise.
35073         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35074         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35075         * sysdeps/tile/dl-machine.h: Likewise.
35076         * sysdeps/x86_64/dl-machine.h: Likewise.
35078         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35079         code.
35080         (verify_persistent_db): Likewise.
35082 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35085         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35087         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35089         Moved ...
35090         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35091         ... here.
35092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35093         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35095         Identical file removed.
35096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35097         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35099         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35101         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35105         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35107         Moved ...
35108         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35110         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35112         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35114         Moved ...
35115         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35117         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35119         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35121         Identical file removed.
35122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35123         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35125         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35127         Moved ...
35128         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35129         ... here.
35130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35133         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35135         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35137         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35139         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35141         Moved ...
35142         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35144         Moved ...
35145         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35147         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35149         Moved ...
35150         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35152         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35154         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35155         folded into ...
35156         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35157         * sysdeps/unix/sysv/linux/s390/Versions
35158         (libpthread: GLIBC_2.19): New version set.
35159         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35160         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35161         (librt: GLIBC_2.3.3): New version set.
35162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35163         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35164         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35165         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35166         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35167         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35168         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35169         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35170         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35171         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35172         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35173         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35174         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35175         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35176         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35177         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35178         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35179         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35181         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35182         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35183         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35184         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35185         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35186         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35187         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35188         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35189         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35190         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35191         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35192         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35193         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35194         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35196         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35198         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35200         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35202         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35204         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35206         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35209         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35210         (__libc_vfork): Define the function under this name.
35211         [!NOT_IN_libc] (__vfork): Make this an alias.
35212         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35214         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35215         (__libc_vfork): Define the function under this name.
35216         [!NOT_IN_libc] (__vfork): Make this an alias.
35217         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35218         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35221         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35222         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35224         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35225         code that was previously under [RESET_PID].
35226         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35227         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35230         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35231         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35232         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35233         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35234         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35235         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35236         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35237         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35238         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35239         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35241         Moved ...
35242         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35244         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35245         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35247         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35248         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35249         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35250         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35251         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35252         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35253         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35254         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35255         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35256         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35257         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35258         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35259         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35260         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35261         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35262         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35263         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35264         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35265         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35266         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35267         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35268         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35270         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35272 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35274         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35275         that was previously under [RESET_PID].
35276         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35278 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35280         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35281         not undefine and redefine.
35282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35283         [O_CLOEXEC]: Make code unconditional.
35284         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35285         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35286         <kernel-features.h>.
35287         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35288         conditional variable definition.
35289         (shm_open) [O_CLOEXEC]: Make code unconditional.
35290         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35291         code.
35293         * configure.ac (USE_REGPARMS): Don't define here.
35294         * configure: Regenerated.
35295         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35296         * sysdeps/i386/configure: Regenerated.
35298         * nptl/createthread.c: Don't include kernel-features.h.
35299         * nptl/pthread_cancel.c: Likewise.
35300         * nptl/pthread_condattr_setclock.c: Likewise.
35301         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35302         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35303         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35304         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35305         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35306         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35307         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35308         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35310         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35311         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35312         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35313         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35314         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35315         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35316         * nscd/gai.c: Likewise.
35317         * nss/nss_db/db-open.c: Likewise.
35318         * sysdeps/generic/ldsodefs.h: Likewise.
35319         * sysdeps/sh/nptl/tls.h: Likewise.
35320         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35321         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35322         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35323         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35324         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35325         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35326         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35327         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35329         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35330         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35331         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35332         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35333         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35334         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35335         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35336         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35337         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35338         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35339         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35343         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35348         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35349         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35350         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35351         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35352         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35353         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35354         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35355         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35356         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35357         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35358         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35359         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35360         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35361         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35362         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35363         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35364         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35365         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35366         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35367         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35368         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35369         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35370         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35371         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35372         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35373         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35374         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35375         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35376         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35377         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35400         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35401         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35402         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35403         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35404         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35406         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35407         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35408         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35409         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35410         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35411         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35412         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35413         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35414         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35415         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35416         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35417         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35418         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35419         * sysdeps/unix/sysv/linux/system.c: Likewise.
35420         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35421         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35422         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35423         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35424         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35425         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35426         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35428         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35429         * configure: Regenerated.
35430         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35432         * configure.ac (base_machine): Do not set specially for particular
35433         machines here.
35434         * configure: Regenerated.
35435         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35436         settings from configure.ac.
35437         * sysdeps/i386/preconfigure: New file.
35438         * sysdeps/s390/preconfigure: Likewise.
35439         * sysdeps/sh/preconfigure: Likewise.
35440         * sysdeps/sparc/preconfigure: Likewise.
35442 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35444         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35445         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35446         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35447         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35448         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35449         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35450         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35451         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35452         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35453         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35454         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35455         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35456         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35457         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35459         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35460         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35461         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35462         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35464         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35465         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35466         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35467         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35468         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35469         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35470         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35471         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35472         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35473         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35474         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35475         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35476         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35477         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35478         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35479         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35480         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35481         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35482         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35483         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35485         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35487         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35489         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35490         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35491         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35492         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35493         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35495         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35496         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35497         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35499         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35500         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35501         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35504         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35506         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35508         Moved ...
35509         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35510         ... here.
35511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35512         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35516         Moved ...
35517         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35519         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35523         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35525         Moved ...
35526         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35528         Moved ...
35529         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35531         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35533         Moved ...
35534         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35536         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35538         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35540         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35542         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35546         ... here.
35547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35548         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35550         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35552         Moved ...
35553         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35555         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35559         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35561         Moved ...
35562         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35564         Moved ...
35565         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35567         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35572         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35574         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35576 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35578         * timezone/checktab.awk: Update from tzcode 2014e.
35579         * timezone/private.h: Likewise.
35580         * timezone/tzfile.h: Likewise.
35581         * timezone/zdump.c: Likewise.
35582         * timezone/zic.c: Likewise.
35584         * sysdeps/unix/sysv/linux/kernel-features.h
35585         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35586         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35587         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35588         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35589         Remove conditional code.
35591 2014-06-25  Will Newton  <will.newton@linaro.org>
35593         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35594         (_dl_arm_cap_flags): Add HWCAP2 values.
35595         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35596         (_DL_HWCAP_COUNT): Increase to 37.
35597         (_DL_HWCAP_LAST): New define.
35598         (_DL_HWCAP2_LAST): New define.
35599         (_dl_procinfo): Add support for printing
35600         AT_HWCAP2 entries.
35601         (_dl_string_hwcap): Use _dl_hwcap_string.
35603 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35607 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35609         * README: Do not mention ports directory.
35611         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35612         Remove macro.
35613         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35614         <kernel-features.h>.
35615         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35616         conditional variable definition.
35617         (__futimes): Update comment.
35618         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35619         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35621         [BZ #16560]
35622         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35623         arguments close to 0.
35624         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35625         Likewise.
35626         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35627         Likewise.
35628         * math/auto-libm-test-in: Add more tests of exp10.
35629         * math/auto-libm-test-out: Regenerated.
35630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35632         * sysdeps/unix/sysv/linux/kernel-features.h
35633         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35634         * sysdeps/unix/sysv/linux/readv.c: Do not include
35635         <kernel-features.h>.
35636         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35637         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35638         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35639         unconditional.
35640         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35641         conditional code.
35642         * sysdeps/unix/sysv/linux/writev.c: Do not include
35643         <kernel-features.h>.
35644         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35645         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35646         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35647         unconditional.
35648         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35649         conditional code.
35651 2014-06-25  Will Newton  <will.newton@linaro.org>
35653         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35654         comment changes throughout the file.  Remove checks
35655         for HAVE_*_H definitions that are not required.
35656         (__gen_tempname): Call abort if an unknown kind value is
35657         passed.
35659 2014-06-25  Andreas Schwab  <schwab@suse.de>
35661         [BZ #17086]
35662         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35663         scalbln, scalblnf, scalblnl in libc.
35665 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35667         [BZ #17086]
35668         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35669         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35670         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35672 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35674         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35675         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35676         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35677         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35678         Update #include.
35679         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35680         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35681         Update #include.
35682         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35683         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35684         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35685         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35686         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35687         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35688         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35689         * sysdeps/x86/bits/semaphore.h: ... here.
35690         * sysdeps/x86/nptl/elide.h: Moved ...
35691         * sysdeps/x86/elide.h: ... here.
35692         * sysdeps/x86_64/nptl/Implies: File removed.
35693         * sysdeps/i386/nptl/Implies: File removed.
35695 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35697         [BZ #16539]
35698         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35699         return the argument for normal arguments with exponent below -64.
35700         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35701         Likewise.
35702         * math/auto-libm-test-in: Add another test of expm1.
35703         * math/auto-libm-test-out: Regenerated.
35705         [BZ #16287]
35706         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35707         calling __erfcl for arguments at least 16.
35708         * math/auto-libm-test-in: Add more tests of erf.
35709         * math/auto-libm-test-out: Regenerated.
35711         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35712         individual architectures.
35713         * sysdeps/unix/sysv/linux/configure: Regenerated.
35714         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35715         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35716         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35717         (ldd_rewrite_script): Define variable.
35718         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35720         file.
35721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35722         generated file.
35723         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35724         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35725         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35726         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35727         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35728         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35729         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35730         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35732 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         [BZ #17084]
35735         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35736         Rename member __data.d to __data.__elision_data.
35738 2014-06-24  Wilco  <wdijkstr@arm.com>
35740         * NEWS: Add 16918 to fixed bug list.
35742 2014-06-24  Wilco  <wdijkstr@arm.com>
35744         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35746 2014-06-24  Wilco  <wdijkstr@arm.com>
35748         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35749         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35750         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35751         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35752         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35753         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35754         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35755         Use _FPU_MASK_RM.
35757 2014-06-24  Wilco  <wdijkstr@arm.com>
35759         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35761 2014-06-24  Wilco  <wdijkstr@arm.com>
35763         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35764         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35765         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35766         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35768 2014-06-24  Wilco  <wdijkstr@arm.com>
35770         [BZ #16918]
35771         * sysdeps/arm/feupdateenv.c (feupdateenv):
35772         Rewrite to reduce FPSCR accesses and fix return value.
35774 2014-06-24  Wilco  <wdijkstr@arm.com>
35776         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35777         Optimize to avoid unnecessary FPSCR writes.
35778         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35779         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35780         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35781         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35783 2014-06-24  Wilco  <wdijkstr@arm.com>
35785         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35786         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35787         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35788         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35789         Call libc_fetestexcept_vfp.
35790         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35791         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35792         __SOFTFP__ ifdef so that they can be built for softfp.
35794 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35796         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35797         argument type signed char.
35799         * Makerules (check-abi): Dump diff of symlist if the test
35800         fails.
35802 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35804         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35805         using abort.
35807         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35808         Remove unused variable ST.
35810 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35812         [BZ #16354]
35813         [BZ #17061]
35814         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35815         small arguments before calling __expm1.
35816         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35817         small arguments before calling __expm1f.
35818         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35819         small arguments before calling __expm1l.
35820         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35821         Likewise.
35822         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35823         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35824         spurious underflow for some cosh tests.
35825         * math/auto-libm-test-out: Regenerated.
35826         * sysdeps/i386/fpu/libm-test-ulps: Update.
35828         [BZ #17050]
35829         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35830         (__ieee754_y1): Set errno if return value overflows.
35831         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35832         (__ieee754_y1f): Set errno if return value overflows.
35833         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35834         (__ieee754_y1l): Set errno if return value overflows.
35835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35836         (__ieee754_y1l): Set errno if return value overflows.
35837         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35838         * math/auto-libm-test-out: Regenerated.
35840         * math/gen-auto-libm-tests.c: Document use of
35841         ignore-zero-inf-sign.
35842         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35843         (input_flags): Add ignore-zero-inf-sign.
35844         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35845         * math/gen-libm-test.pl (generate_testfile): Handle
35846         ignore-zero-inf-sign.
35847         * math/auto-libm-test-in: Mark some cpow tests with
35848         ignore-zero-inf-sign and some with xfail-rounding.
35849         * math/auto-libm-test-out: Regenerated.
35850         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35851         * sysdeps/i386/fpu/libm-test-ulps: Update.
35852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35854         [BZ #16315]
35855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35856         overflowing or underflowing operations take place with sign of
35857         result.
35858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35859         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35860         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35861         (__ieee754_pow): Recompute overflowing and underflowing results in
35862         original rounding mode.
35863         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35864         (__powl_helper): Allow negative argument X and scale negated value
35865         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35866         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35867         overflowing or underflowing operations take place with sign of
35868         result.
35869         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35870         Include <math.h>.
35871         * math/auto-libm-test-in: Add more tests of pow.
35872         * math/auto-libm-test-out: Regenerated.
35873         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35874         (pow_tonearest_test_data): Remove.
35875         (pow_test_tonearest): Likewise.
35876         (pow_towardzero_test_data): Likewise.
35877         (pow_test_towardzero): Likewise.
35878         (pow_downward_test_data): Likewise.
35879         (pow_test_downward): Likewise.
35880         (pow_upward_test_data): Likewise.
35881         (pow_test_upward): Likewise.
35882         (main): Don't call removed functions.
35883         * sysdeps/i386/fpu/libm-test-ulps: Update.
35884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35886 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35889         Moved ...
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35892         Moved ...
35893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35895         Moved ...
35896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35898         Moved ...
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35901         File removed.
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35903         File removed.
35904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35905         File removed.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35907         File removed.
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35909         File removed.
35910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35911         File removed.
35912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35913         File removed.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35915         File removed.
35916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35917         File removed.
35918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35919         File removed.
35920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35921         File removed.
35922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35923         File removed.
35924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35925         Moved ...
35926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35928         Moved ...
35929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35930         ... here.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35935         Moved ...
35936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35938         Moved ...
35939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35941         Moved ...
35942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35947         Moved ...
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35950         Moved ...
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35954         ... here.
35955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35959         Moved ...
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35961         ... here.
35962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35963         Moved ...
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35965         ... here.
35966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35967         Moved ...
35968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35969         ... here.
35970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35971         Moved ...
35972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35974         Moved ...
35975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35979         Moved ...
35980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35981         ... here.
35982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35983         Moved ...
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35985         ... here.
35986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35987         Moved ...
35988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35990         Moved ...
35991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35993         Moved ...
35994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35996         Moved ...
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35999         Moved ...
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36001         ... here.
36002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36003         Moved ...
36004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36006         Moved ...
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36009         Moved ...
36010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36012         Moved ...
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36017         Moved ...
36018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36020         Moved ...
36021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36023         Moved ...
36024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36025         ... here.
36026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36027         Moved ...
36028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36029         ... here.
36030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36031         Moved ...
36032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36033         ... here.
36034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36035         Moved ...
36036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36038         Moved ...
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36041         Moved ...
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36046         ... here.
36047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36048         Moved ...
36049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36050         ... here.
36051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36052         Moved ...
36053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36054         ... here.
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36056         Moved ...
36057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36059         Moved ...
36060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36062 2014-06-23  Will Newton  <will.newton@linaro.org>
36063             Wilco  <wdijkstr@arm.com>
36065         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36066         implementation.  Include get-rounding-mode.h.
36067         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36068         [!libc_feholdsetround_noex_ctx]: Define
36069         libc_feholdsetround_noex_ctx.
36070         [!libc_feholdsetround_noexf_ctx]: Define
36071         libc_feholdsetround_noexf_ctx.
36072         [!libc_feholdsetround_noexl_ctx]: Define
36073         libc_feholdsetround_noexl_ctx.
36074         (libc_feholdsetround_ctx): New function.
36075         (libc_feresetround_ctx): New function.
36076         (libc_feholdsetround_noex_ctx): New function.
36077         (libc_feresetround_noex_ctx): New function.
36079 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36081         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36082         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36083         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36084         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36085         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36086         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36088         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36089         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36090         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36091         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36092         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36093         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36095         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36097         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36099         Moved ...
36100         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36101         ... here.
36102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36103         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36105         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36107         Moved ...
36108         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36110         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36111         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36112         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36114         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36116         Moved ...
36117         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36119         Moved ...
36120         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36122         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36124         Moved ...
36125         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36127         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36128         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36129         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36130         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36133         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36135         Moved ...
36136         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36137         ... here.
36138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36139         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36141         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36143         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36145         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36147         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36148         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36149         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36151         Moved ...
36152         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36154         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36156         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36158         Moved ...
36159         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36161         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36162         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36163         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36165         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36166         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36167         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36168         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36169         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36170         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36171         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36172         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36174         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36175         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36176         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36177         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36178         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36179         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36180         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36181         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36182         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36183         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36184         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36185         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36186         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36187         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36188         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36189         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36190         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36191         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36192         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36194 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36197         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36198         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36199         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36200         (IPV6_PMTUDISC_INTERFACE): Likewise.
36201         (IPV6_PMTUDISC_OMIT): Likewise.
36203 2014-06-23  Andreas Schwab  <schwab@suse.de>
36205         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36206         Remove unused errout label.
36208 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36210         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36211         macro: hardware supports Vector Crypto instructions.
36213 2014-06-23  Will Newton  <will.newton@linaro.org>
36215         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36216         rather than __builtin_expect.
36218         * elf/dl-lookup.c (undefined_msg): Remove variable.
36219         (_dl_lookup_symbol_x): Replace undefined_msg with string
36220         literal.
36222         * elf/dl-lookup.c (do_lookup_unique): New function.
36223         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36224         to a separate function.
36226 2014-06-23  Andreas Schwab  <schwab@suse.de>
36228         [BZ #17079]
36229         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36230         before reading the next line.
36232 2014-06-23  Will Newton  <will.newton@linaro.org>
36234         * test-skeleton.c (signal_handler): Use printf and %m
36235         rather than perror.  Use printf rather than fprintf to
36236         stderr.  Use puts rather than fputs to stderr.
36237         (main): Likewise.
36239 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36241         * nscd/nscd.c (thread_info_t): Remove typedef.
36242         (thread_info): Remove variable.
36244 2014-06-21  Allan McRae  <allan@archlinux.org>
36246         * NEWS: Mention CVE-2014-4043.
36248 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36250         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36251         * nptl/smp.h: ... here.
36253         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36255         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36256         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36257         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36258         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36260         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36261         * nptl/stack-aliasing.h: New file.
36262         * sysdeps/i386/i686/stack-aliasing.h: New file.
36263         * sysdeps/i386/i686/nptl/Makefile: File removed.
36264         * sysdeps/x86_64/stack-aliasing.h: New file.
36265         * sysdeps/x86_64/nptl/Makefile
36266         (CFLAGS-pthread_create.c): Variable removed.
36268         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36269         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36270         old file.
36271         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36272         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36273         old file.
36275 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36278         (__ASSUME_SIGFRAME_V2): Remove macro.
36279         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36280         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36281         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36282         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36283         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36284         Declare as function.  Remove conditional macro definitions.
36285         (__default_rt_sa_restorer): Likewise.
36286         (__default_sa_restorer_v1): Remove declaration.
36287         (__default_sa_restorer_v2): Likewise.
36288         (__default_rt_sa_restorer_v1): Likewise.
36289         (__default_rt_sa_restorer_v2): Likewise.
36290         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36291         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36292         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36294 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36296         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36297         (libpthread-routines): Add sysdep.
36298         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36299         * sysdeps/unix/sysv/linux/sparc/Versions
36300         (libpthread: GLIBC_2.3.3): New version set.
36301         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36302         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36303         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36304         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36305         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36307         Moved ...
36308         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36309         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36310         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36312         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36314         * sysdeps/sparc/nptl/sem_init.c: ... here.
36315         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36316         * sysdeps/sparc/nptl/sem_post.c: ... here.
36317         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36318         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36319         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36320         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36321         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36323         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36324         (libpthread-routines): Add cpu_relax.
36325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36326         File removed.
36327         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36328         (librt: GLIBC_2.3.3): New version set.
36329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36330         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36331         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36332         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36335         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36337         Moved ...
36338         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36340         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36342         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36344         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36346         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36348         Moved ...
36349         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36350         Update #include.
36351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36352         Moved ...
36353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36354         Update #include.
36355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36356         Moved ...
36357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36358         Update #include.
36359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36360         Moved ...
36361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36362         Update #include.
36363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36364         Moved ...
36365         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36366         Update #include.
36367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36368         Moved ...
36369         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36370         Update #include.
36371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36372         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36378         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36382         Moved ...
36383         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36385         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36387         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36389 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36391         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36392         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36393         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36394         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36395         * nscd/nscd.c: Likewise.
36396         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36397         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36398         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36399         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36401         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36402         <kernel-features.h>.
36403         (init_mq_netlink): Remove conditional have_sock_cloexec
36404         definitions.  Remove code conditional on have_sock_cloexec < 0.
36405         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36406         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36407         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36408         <kernel-features.h>.
36409         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36410         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36412 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36415         Add tests for memset_chk and memset.
36417         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36418         with AVX2_Usable.
36420 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36422         [BZ #16046]
36423         * elf/tst-dl-iter-static.c: New file.
36424         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36426         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36427         error.
36429 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36431         * sysdeps/unix/sysv/linux/kernel-features.h
36432         (__ASSUME_F_GETOWN_EX): Remove macro.
36433         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36434         <kernel-features.h>.
36435         (miss_F_GETOWN_EX): Remove variable or macro.
36436         (do_fcntl): Do not check miss_F_GETOWN_EX.
36437         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36440         Remove macro.
36441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36442         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36443         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36445         * sysdeps/unix/sysv/linux/kernel-features.h
36446         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36447         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36448         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36449         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36451 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36453         [BZ #17075]
36454         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36455         Fix calculation of the symbol's value.
36456         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36457         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36458         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36459         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36460         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36461         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36462         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36463         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36464         (modules-names): Add `tst-armtlsdescmod',
36465         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36466         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36467         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36468         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36469         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36470         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36471         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36472         ($(objpfx)tst-armtlsdescloc): New dependency.
36473         ($(objpfx)tst-armtlsdescextnow): Likewise.
36474         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36475         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36476         TLS scheme support.
36477         * sysdeps/arm/configure: Regenerate.
36479 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36481         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36482         (__atfct_seterrno_2): Likewise.
36483         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36484         <kernel-features.h>.
36485         (__ASSUME_ATFCTS): Do not undefine and redefine.
36486         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36487         (__have_atfcts): Remove conditional definition.
36488         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36489         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36490         unreachable if [__ASSUME_ATFCTS].
36491         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36492         not undefine and redefine.
36493         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36494         <kernel-features.h>.
36495         (faccessat) [__NR_faccessat]: Make code unconditional.
36496         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36497         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36498         <kernel-features.h>.
36499         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36500         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36501         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36502         <kernel-features.h>.
36503         (fchownat) [__NR_fchownat]: Make code unconditional.
36504         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36505         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36506         <kernel-features.h>.
36507         (futimesat) [__NR_futimesat]: Make code unconditional.
36508         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36509         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36510         <kernel-features.h>.
36511         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36512         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36513         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36514         <kernel-features.h>.
36515         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36516         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36517         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36518         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36519         <kernel-features.h>.
36520         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36521         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36522         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36523         <kernel-features.h>.
36524         (linkat) [__NR_linkat]: Make code unconditional.
36525         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36526         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36527         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36528         <kernel-features.h>.
36529         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36530         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36531         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36532         <kernel-features.h>.
36533         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36534         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36535         * sysdeps/unix/sysv/linux/openat.c: Do not include
36536         <kernel-features.h>.
36537         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36538         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36539         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36540         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36541         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36542         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36543         <kernel-features.h>.
36544         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36545         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36546         result of INLINE_SYSCALL directly, not via int variable.
36547         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36548         <kernel-features.h>.
36549         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36550         (renameat) [__NR_renameat]: Make code unconditional.
36551         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36552         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36553         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36554         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36555         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36556         (__ASSUME_ATFCTS): Do not undefine and redefine.
36557         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36558         <kernel-features.h>.
36559         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36560         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36561         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36562         <kernel-features.h>.
36563         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36564         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36565         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36566         (__ASSUME_ATFCTS): Do not undefine and redefine.
36567         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36568         <kernel-features.h>.
36569         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36570         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36571         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36572         <kernel-features.h>.
36573         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36574         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36576 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36578         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36580 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36582         [BZ #17069]
36583         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36584         constructed tree before returning error.
36585         * posix/bug-regexp36.c: Expand test case.
36587 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36589         [BZ #6803]
36590         * math/libm-test.inc (scalbln_test_date):
36591         Add errno expectations.
36592         * math/w_scalblnf.c: New File.
36593         Add wrapper which checks for setting errno to ERANGE.
36594         Add weak_alias for corresponding scalbln function.
36595         * math/w_scalbln.c: Likewise.
36596         * math/w_scalblnl.c: Likewise.
36597         * math/Makefile (libm-calls): Add w_scalbln.
36598         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36599         Remove weak_alias for corresponding scalbln function.
36600         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36602         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36604         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36605         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36606         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36607         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36608         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36609         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36610         Remove long_double_symbol for scalblnl function in libm, libc.
36611         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36612         Add wrapper which checks for setting errno to ERANGE.
36613         Add long_double_symbol for scalblnl function in libm, libc.
36614         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36615         Remove long_double_symbol for scalblnl in libm.
36616         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36617         Add wrapper which checks for setting errno to ERANGE.
36618         Add long_double_symbol for scalblnl function in libm.
36619         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36620         Do not use wrapper because of own implementation.
36622 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36624         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36625         3 bytes for __pad1 for x32.
36626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36628 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36629             H.J. Lu  <hongjiu.lu@intel.com>
36631         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36632         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36635         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36637 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36639         [BZ #17069]
36640         * posix/regcomp.c (parse_expression): Deallocate partially
36641         constructed tree before returning error.
36642         * posix/Makefile.c (tests): Add bug-regex36.
36643         (generated): Add bug-regex36.mtrace.
36644         (tests-special): Add $(objpfx)bug-regex36-mem.out
36645         (bug-regex36-ENV): New variable.
36646         ($(objpfx)bug-regex36-mem.out): New rule.
36647         * posix/bug-regex36.c: New file.
36649 2014-06-19  Will Newton  <will.newton@linaro.org>
36651         * malloc/malloc.c (systrim): If extra is zero then return
36652         early.
36654 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36656         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36658 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36660         * sysdeps/aarch64/strchr.S: New file.
36662 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36664         [BZ #17022]
36665         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36666         from arguments -2 or below.
36667         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36668         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36670 2014-06-18  Andreas Schwab  <schwab@suse.de>
36672         [BZ #17062]
36673         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36674         of a bracket expr not to run off the end of the string.
36675         * posix/Makefile (tests): Add tst-fnmatch3.
36676         * posix/tst-fnmatch3.c: New file.
36678 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36680         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36681         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36682         [$(cross-compiling) = no]: Likewise.
36683         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36684         [$(cross-compiling) = no]: Likewise.
36686 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36688         [BZ #17031]
36689         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36690         double, adjusted for any remainder from the high double.
36691         * math/libm-test.inc (nearbyint): Add tests.
36692         (rint): Likewise.
36694 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36696         * nptl/sysdeps/powerpc/Makefile: Moved ...
36697         * sysdeps/powerpc/nptl/Makefile: ... here.
36698         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36699         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36700         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36701         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36702         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36703         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36704         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36705         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36706         * nptl/sysdeps/powerpc/tls.h: Moved ...
36707         * sysdeps/powerpc/nptl/tls.h: ... here.
36709 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36711         [BZ #16681]
36712         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36713         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36714         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36715         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36716         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36717         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36718         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36719         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36720         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36722 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36724         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36726 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36728         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36729         defined operator.
36731         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36732         $TIMEOUTFACTOR.
36734 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36736         [BZ #17058]
36737         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36738         non-executed part of the test.
36740 2014-06-16  Andreas Schwab  <schwab@suse.de>
36742         * string/bits/string2.h (strdup, strndup): Update feature guard.
36744 2014-06-14  David S. Miller  <davem@davemloft.net>
36746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36748 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36750         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36751         that was previously under [RESET_PID].
36752         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36754         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36755         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36756         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36757         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36758         (__libc_vfork): New strong alias.
36759         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36761 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36763         * sysdeps/generic/elide.h: New file.
36765 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36767         * Makefile (installed-headers): Adjust path of pthread.h header.
36769 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36771         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36772         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36773         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36774         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36776         * nptl/sysdeps/s390/Makefile: Moved ...
36777         * sysdeps/s390/nptl/Makefile: ... here.
36778         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36779         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36780         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36781         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36782         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36783         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36784         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36785         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36786         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36787         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36788         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36789         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36790         * nptl/sysdeps/s390/tls.h: Moved ...
36791         * sysdeps/s390/nptl/tls.h: ... here.
36793         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36794         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36796 2014-06-13  David S. Miller  <davem@davemloft.net>
36798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36801         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36805         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36806         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36807         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36808         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36809         Remove RESET_PID cpp guards.
36810         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36811         Remove RESET_PID cpp guards.
36812         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36814 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36816         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36817         __sp to uintptr_t.
36819 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36823         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36828         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36833         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36839         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36842         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36843         (pthread_rwlock_rdlock): Add elision.
36844         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36845         (pthread_rwlock_wrlock): Add elision.
36846         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36847         (pthread_rwlock_trywrlock): Add elision.
36848         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36849         (pthread_rwlock_tryrdlock): Add elision.
36850         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36851         (pthread_rwlock_tryrdlock): Add elision unlock.
36852         * nptl/sysdeps/pthread/pthread.h:
36853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36854         (PTHREAD_RWLOCK_INITIALIZER,
36855         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36856         Handle new elision field.
36857         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36858         * sysdeps/arm/nptl/bits/pthreadtypes.h
36859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36860         * sysdeps/sh/nptl/bits/pthreadtypes.h
36861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36862         * sysdeps/tile/nptl/bits/pthreadtypes.h
36863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36864         * sysdeps/a/nptl/bits/pthreadtypes.h
36865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36866         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36868         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36870         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36872         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36874         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36876         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36878         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36880         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36882         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36883         (elision_init): Set try_xbegin to zero when no RTM.
36884         * sysdeps/x86/nptl/bits/pthreadtypes.h
36885         (pthread_rwlock_t): Change __pad1 to __rwelision.
36886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36888 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36890         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36891         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36892         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36893         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36895 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36897         [BZ #16996]
36898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36899         that the cached result has been set before returning it.
36901 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36903         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36904         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36906         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36907         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36908         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36910         * nptl/sysdeps/sparc/Makefile: Moved ...
36911         * sysdeps/sparc/nptl/Makefile: ... here.
36912         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36913         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36914         * nptl/sysdeps/sparc/tls.h: Moved ...
36915         * sysdeps/sparc/nptl/tls.h: ... here.
36916         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36917         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36918         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36919         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36920         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36921         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36922         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36923         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36924         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36925         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36926         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36927         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36928         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36929         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36930         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36931         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36932         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36934         Update #include.
36935         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36937         Update #include.
36938         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36940         Update #include.
36941         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36943         Update #include.
36945         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36947         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36948         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36950         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36951         (struct list_links): Type removed.
36952         (struct thread_node, struct timer_node): Replace struct list_links
36953         with struct list_head.
36954         (list_unlink_ip): Likewise.
36955         * sysdeps/pthread/timer_routines.c
36956         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36957         (list_append, list_insbefore): Likewise.
36958         (list_init): Function removed.
36959         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36960         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36961         * sysdeps/pthread/Makefile: ... here, new file.
36963         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36964         * sysdeps/nptl/Implies: ... here.
36965         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36966         * nptl/sysdeps/pthread/list.h: Moved ...
36967         * include/list.h: ... here.
36968         * nptl/sysdeps/pthread/createthread.c: Moved ...
36969         * nptl/createthread.c: ... here.
36970         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36971         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36972         * nptl/pt-longjmp.c: ... here.
36973         * nptl/sysdeps/pthread/Makefile: Moved ...
36974         * sysdeps/nptl/Makefile: ... here.
36975         * nptl/sysdeps/pthread/Subdirs: Moved ...
36976         * sysdeps/nptl/Subdirs: ... here.
36977         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36978         * sysdeps/nptl/aio_misc.h: ... here.
36979         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36980         * sysdeps/nptl/bits/libc-lock.h: ... here.
36981         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36982         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36983         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36984         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36985         * nptl/sysdeps/pthread/configure: Moved ...
36986         * sysdeps/nptl/configure: ... here.
36987         * nptl/sysdeps/pthread/configure.ac: Moved ...
36988         * sysdeps/nptl/configure.ac: ... here.
36989         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36990         * sysdeps/nptl/gai_misc.h: ... here.
36991         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36992         * sysdeps/nptl/librt-cancellation.c: ... here.
36993         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36994         * sysdeps/nptl/malloc-machine.h: ... here.
36995         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36996         * sysdeps/nptl/pthread-functions.h: ... here.
36997         * nptl/sysdeps/pthread/pthread.h: Moved ...
36998         * sysdeps/nptl/pthread.h: ... here.
36999         * nptl/sysdeps/pthread/setxid.h: Moved ...
37000         * sysdeps/nptl/setxid.h: ... here.
37001         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37002         * sysdeps/nptl/sigfillset.c: ... here.
37003         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37004         * sysdeps/nptl/tcb-offsets.h: ... here.
37005         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37006         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37007         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37008         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37009         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37010         * sysdeps/pthread/allocalim.h: ... here.
37011         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37012         * sysdeps/pthread/bits/sigthread.h: ... here.
37013         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37014         * sysdeps/pthread/flockfile.c: ... here.
37015         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37016         * sysdeps/pthread/ftrylockfile.c: ... here.
37017         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37018         * sysdeps/pthread/funlockfile.c: ... here.
37019         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37020         * sysdeps/pthread/posix-timer.h: ... here.
37021         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37022         * sysdeps/pthread/timer_create.c: ... here.
37023         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37024         * sysdeps/pthread/timer_delete.c: ... here.
37025         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37026         * sysdeps/pthread/timer_getoverr.c: ... here.
37027         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37028         * sysdeps/pthread/timer_gettime.c: ... here.
37029         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37030         * sysdeps/pthread/timer_routines.c: ... here.
37031         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37032         * sysdeps/pthread/timer_settime.c: ... here.
37033         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37034         * sysdeps/pthread/tst-timer.c: ... here.
37035         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37036         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37038         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37039         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37041         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37042         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37043         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37044         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37045         Update #include target.
37046         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37047         * sysdeps/i386/i686/nptl/Makefile: ... here.
37048         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37049         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37050         Update #include target.
37051         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37052         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37053         * nptl/sysdeps/i386/Makefile: Moved ...
37054         * sysdeps/i386/nptl/Makefile: ... here.
37055         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37056         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37057         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37058         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37059         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37060         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37061         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37062         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37063         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37064         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37065         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37066         * nptl/sysdeps/i386/tls.h: Moved ...
37067         * sysdeps/i386/nptl/tls.h: ... here.
37069         * sysdeps/sh/Makefile [$(subdir) = csu]
37070         (gen-as-const-headers): Add tcb-offsets.sym.
37071         * nptl/sysdeps/sh/Makefile: File removed.
37072         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37073         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37074         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37075         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37076         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37077         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37078         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37079         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37080         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37081         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37082         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37083         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37084         * nptl/sysdeps/sh/tls.h: Moved ...
37085         * sysdeps/sh/nptl/tls.h: ... here.
37086         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37087         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37088         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37089         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37090         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37091         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37092         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37093         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37094         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37095         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37097         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37098         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37099         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37101         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37103         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37104         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37105         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37106         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37107         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37111         Moved ...
37112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37114         Moved ...
37115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37117         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37120         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37121         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37122         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37123         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37124         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37125         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37126         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37127         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37128         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37129         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37130         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37131         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37132         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37133         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37135 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37137         * posix/spawn_faction_addopen.c: Include string.h.
37139 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37141         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37142         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37143         * nptl/sysdeps/x86_64/Makefile: Moved ...
37144         * sysdeps/x86_64/nptl/Makefile: ... here.
37145         * nptl/sysdeps/x86_64/configure: Moved ...
37146         * sysdeps/x86_64/nptl/configure: ... here.
37147         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37148         * sysdeps/x86_64/nptl/configure.ac: ... here.
37149         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37150         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37151         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37152         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37153         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37154         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37155         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37156         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37157         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37158         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37159         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37160         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37161         * nptl/sysdeps/x86_64/tls.h: Moved ...
37162         * sysdeps/x86_64/nptl/tls.h: ... here.
37163         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37164         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37165         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37166         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37168         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37170 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37174 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37176         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37177         type.
37178         [POSIX] (off_t): Likewise.
37179         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37180         [POSIX] (S_ISBLK): Require macro.
37181         [POSIX] (S_ISCHR): Likewise.
37182         [POSIX] (S_ISDIR): Likewise.
37183         [POSIX] (S_ISFIFO): Likewise.
37184         [POSIX] (S_ISREG): Likewise.
37185         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37186         optional-macro.
37187         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37188         type.
37189         [POSIX] (time_t): Likewise.
37190         [POSIX] (timer_t): Likewise.
37192 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37194         [BZ #17048]
37195         * posix/spawn_int.h (struct __spawn_action): Make the path string
37196         non-const to support deallocation.
37197         * posix/spawn_faction_addopen.c
37198         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37199         * posix/spawn_faction_destroy.c
37200         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37201         path in all spawn_do_open actions.
37202         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37203         posix_spawn_file_actions_addopen.
37205 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37207         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37208         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37209         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37210         conditional code always true.
37211         (__libc_vfork): New alias.
37213 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37215         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37216         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37218         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37220         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37221         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37223         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37224         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37226         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37227         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37229 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37231         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37232         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37233         multiarch strcmp for PPC64.
37234         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37235         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37237         multiarch optimizations.
37238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37239         (__libc_ifunc_impl_list): Likewise.
37241 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37243         * benchtests/scripts/validate_benchout.py: New script.
37244         * benchtests/Makefile (bench-func): Call it.
37245         * benchtests/scripts/benchout.schema.json: New file.
37247 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37249         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37250         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37251         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37252         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37253         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37254         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37255         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37256         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37257         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37258         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37259         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37260         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37261         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37262         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37263         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37264         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37266         Moved ...
37267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37268         ... here.
37269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37270         Moved ...
37271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37273         Moved ...
37274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37275         ... here.
37276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37277         Moved ...
37278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37279         ... here.
37280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37281         Moved ...
37282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37284         Moved ...
37285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37286         ... here.
37287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37288         Moved ...
37289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37290         ... here.
37291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37292         Moved ...
37293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37295         Moved ...
37296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37297         ... here.
37298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37299         Moved ...
37300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37301         ... here.
37302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37303         Moved ...
37304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37305         ... here.
37306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37307         Moved ...
37308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37310         Moved ...
37311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37312         ... here.
37313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37314         Moved ...
37315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37316         ... here.
37317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37318         Moved ...
37319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37320         ... here.
37321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37322         Moved ...
37323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37325         Moved ...
37326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37327         ... here.
37328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37329         Moved ...
37330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37331         ... here.
37332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37333         Moved ...
37334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37336         Moved ...
37337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37338         ... here.
37339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37340         Moved ...
37341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37343         Moved ...
37344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37346         Moved ...
37347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37348         ... here.
37349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37350         Moved ...
37351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37352         ... here.
37353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37354         Moved ...
37355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37356         ... here.
37357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37358         Moved ...
37359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37361         Moved ...
37362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37363         ... here.
37364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37365         Moved ...
37366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37367         ... here.
37368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37369         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37371         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37373         Moved ...
37374         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37375         ... here.
37376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37377         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37379         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37381         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37383         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37384         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37385         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37387         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37389         Moved ...
37390         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37392         Moved ...
37393         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37395         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37397         Moved ...
37398         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37400         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37401         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37402         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37403         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37404         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37406 2014-06-10  Wilco  <wdijkstr@arm.com>
37408         * math/test-fenv-return.c: New file.
37409         * math/Makefile: Add new test test-fenv-return.
37411 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37413         [BZ #17042]
37414         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37415         when x - 1 is zero.
37416         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37417         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37418         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37419         0.0L for an argument of 1.0L.
37420         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37421         Likewise.
37422         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37423         value when x - 1 is zero.
37424         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37425         * sysdeps/i386/fpu/libm-test-ulps: Update.
37426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37428 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37430         [BZ #15119]
37431         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37433 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37435         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37436         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37438 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37440         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37441         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37443         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37444         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37446         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37447         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37449         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37450         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37452         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37453         if not already defined.
37454         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37455         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37456         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37457         (TLS_INIT_TP): Use it.
37458         (TLS_DEFINE_INIT_TP): New macro.
37459         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37461 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37463         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37464         constant.
37465         [POSIX] (IXANY): Likewise.
37466         [POSIX] (OLCUC): Likewise.
37467         [POSIX || POSIX2008] (CBAUD): Do not allow.
37468         [POSIX || POSIX2008] (DEFECHO): Likewise.
37469         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37470         [POSIX || POSIX2008] (ECHOKE): Likewise.
37471         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37472         [POSIX || POSIX2008] (EXTA): Likewise.
37473         [POSIX || POSIX2008] (EXTB): Likewise.
37474         [POSIX || POSIX2008] (FLUSHO): Likewise.
37475         [POSIX || POSIX2008] (LOBLK): Likewise.
37476         [POSIX || POSIX2008] (PENDIN): Likewise.
37477         [POSIX || POSIX2008] (SWTCH): Likewise.
37478         [POSIX || POSIX2008] (VDISCARD): Likewise.
37479         [POSIX || POSIX2008] (VDSUSP): Likewise.
37480         [POSIX || POSIX2008] (VLNEXT): Likewise.
37481         [POSIX || POSIX2008] (VREPRINT): Likewise.
37482         [POSIX || POSIX2008] (VSTATUS): Likewise.
37483         [POSIX || POSIX2008] (VWERASE): Likewise.
37484         (B*): Change to B[0123456789]*.
37485         * conform/data/time.h-data [POSIX || UNIX98]
37486         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37487         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37488         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37489         [POSIX] (tm_*): Do not allow.
37491 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37493         * Makefile (install): Don't set LANGUAGE.
37494         * Makefile.in (install): Likewise.
37495         * assert/Makefile (test-assert-ENV): Remove variable.
37496         (test-assert-perr-ENV): Likewise.
37497         * elf/Makefile (neededtest4-ENV): Likewise.
37498         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37499         [$(cross-compiling) = no]: Don't set LANGUAGE.
37500         * io/ftwtest-sh (LANG): Remove variable.
37501         * libio/Makefile (tst-widetext-ENV): Likewise.
37502         * manual/install.texi (Running make install): Don't refer to
37503         environment settings for make install.
37504         * INSTALL: Regenerated.
37505         * nptl/tst-tls6.sh: Don't set LANG.
37506         * posix/globtest.sh (LANG): Remove variable.
37507         * string/Makefile (tester-ENV): Likewise.
37508         (inl-tester-ENV): Likewise.
37509         (noinl-tester-ENV): Likewise.
37510         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37511         [$(cross-compiling) = no]: Don't set LANGUAGE.
37512         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37513         without explicit environment settings.
37515 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37517         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37518         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37519         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37520         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37522 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37524         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37525         other files in the crypt directory.
37526         * crypt/crypt.c: Remove duplicate includes.
37527         * crypt/crypt-entry.c: Likewise.
37528         * crypt/crypt_util.c: Likewise.
37530 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37532         * Makeconfig (run-program-env): New variable.
37533         (run-program-prefix-before-env): Likewise.
37534         (run-program-prefix-after-env): Likewise.
37535         (run-program-prefix): Define in terms of new variables.
37536         (built-program-cmd-before-env): New variable.
37537         (built-program-cmd-after-env): Likewise.
37538         (built-program-cmd): Define in terms of new variables.
37539         (test-program-prefix-before-env): New variable.
37540         (test-program-prefix-after-env): Likewise.
37541         (test-program-prefix): Define in terms of new variables.
37542         (test-program-cmd-before-env): New variable.
37543         (test-program-cmd-after-env): Likewise.
37544         (test-program-cmd): Define in terms of new variables.
37545         * Rules (make-test-out): Use $(run-program-env).
37546         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37547         (help): Do not mention environment variables.  Mention
37548         --timeoutfactor option.
37549         (timeoutfactor): New variable.
37550         (blacklist_exports): Remove function.
37551         (exports): Remove variable.
37552         (command): Do not include ${exports}.
37553         * manual/install.texi (Configuring and compiling): Do not mention
37554         test wrappers preserving environment variables.  Mention that last
37555         assignment to a variable must take precedence.
37556         * INSTALL: Regenerated.
37557         * benchtests/Makefile (run-bench): Use $(run-program-env).
37558         * catgets/Makefile ($(objpfx)test1.cat): Use
37559         $(built-program-cmd-before-env), $(run-program-env) and
37560         $(built-program-cmd-after-env).
37561         ($(objpfx)test2.cat): Do not specify environment variables
37562         explicitly.
37563         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37564         $(run-program-env) and $(built-program-cmd-after-env).
37565         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37566         $(run-program-env) and $(test-program-cmd-after-env).
37567         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37568         explicitly.
37569         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37570         run_program_env and test_program_cmd_after_env arguments.
37571         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37572         * elf/tst-pathopt.sh: Use run_program_env argument.
37573         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37574         $(test-wrapper-env) and $(run-program-env).
37575         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37576         run_program_env arguments.
37577         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37578         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37579         $(test-program-prefix-before-env), $(run-program-env) and
37580         $(test-program-prefix-after-env).
37581         ($(objpfx)tst-gettext2.out): Likewise.
37582         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37583         run_program_env and test_program_prefix_after_env arguments.
37584         * intl/tst-gettext2.sh: Likewise.
37585         * intl/tst-gettext4.sh: Do not set environment variables
37586         explicitly.
37587         * intl/tst-gettext6.sh: Likewise.
37588         * intl/tst-translit.sh: Likewise.
37589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37590         $(test-program-prefix-before-env), $(run-program-env) and
37591         $(test-program-prefix-after-env).
37592         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37593         run_program_env and test_program_prefix_after_env arguments.
37594         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37595         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37596         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37597         explicitly with each use of ${test_wrapper_env}.
37598         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37599         $(test-program-prefix-before-env), $(run-program-env) and
37600         $(test-program-prefix-after-env).
37601         * posix/tst-getconf.sh: Do not set environment variables
37602         explicitly.
37603         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37604         run_program_env and test_program_prefix_after_env arguments.
37605         * stdio-common/tst-printf.sh: Do not set environment variables
37606         explicitly.
37607         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37608         $(test-program-prefix-before-env), $(run-program-env) and
37609         $(test-program-prefix-after-env).
37610         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37611         run_program_env and test_program_prefix_after_env arguments.
37612         Split $test calls into $test_pre and $test.
37613         * timezone/Makefile (build-testdata): Use
37614         $(built-program-cmd-before-env), $(run-program-env) and
37615         $(built-program-cmd-after-env).
37617 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37619         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37620         strlen for non SHARED builds.
37622 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37624         * nptl/allocatestack.c (check_list): Inlined function...
37625         (__reclaim_stacks): ... here.
37627 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37629         [BZ #15698]
37630         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37631         memory overrun.
37633 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37635         * Rules (make-test-out): Include
37636         LOCPATH=$(common-objpfx)localedata in default environment.
37637         * debug/Makefile (tst-chk1-ENV): Remove variable.
37638         (tst-chk2-ENV): Likewise.
37639         (tst-chk3-ENV): Likewise.
37640         (tst-chk4-ENV): Likewise.
37641         (tst-chk5-ENV): Likewise.
37642         (tst-chk6-ENV): Likewise.
37643         (tst-lfschk1-ENV): Likewise.
37644         (tst-lfschk2-ENV): Likewise.
37645         (tst-lfschk3-ENV): Likewise.
37646         (tst-lfschk4-ENV): Likewise.
37647         (tst-lfschk5-ENV): Likewise.
37648         (tst-lfschk6-ENV): Likewise.
37649         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37650         (tst-iconv7-ENV): Likewise.
37651         * intl/Makefile (LOCPATH-ENV): Likewise.
37652         (tst-codeset-ENV): Likewise.
37653         (tst-gettext3-ENV): Likewise.
37654         (tst-gettext5-ENV): Likewise.
37655         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37656         (tst-fopenloc-ENV): Likewise.
37657         (tst-fgetws-ENV): Remove variable.
37658         (tst-ungetwc1-ENV): Likewise.
37659         (tst-ungetwc2-ENV): Likewise.
37660         (bug-ungetwc2-ENV): Likewise.
37661         (tst-swscanf-ENV): Likewise.
37662         (bug-ftell-ENV): Likewise.
37663         (tst-fgetwc-ENV): Likewise.
37664         (tst-fseek-ENV): Likewise.
37665         (tst-ftell-partial-wide-ENV): Likewise.
37666         (tst-ftell-active-handler-ENV): Likewise.
37667         (tst-ftell-append-ENV): Likewise.
37668         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37669         (tst-regexloc-ENV): Likewise.
37670         (bug-regex1-ENV): Likewise.
37671         (tst-regex-ENV): Likewise.
37672         (tst-regex2-ENV): Likewise.
37673         (bug-regex5-ENV): Likewise.
37674         (bug-regex6-ENV): Likewise.
37675         (bug-regex17-ENV): Likewise.
37676         (bug-regex18-ENV): Likewise.
37677         (bug-regex19-ENV): Likewise.
37678         (bug-regex20-ENV): Likewise.
37679         (bug-regex22-ENV): Likewise.
37680         (bug-regex23-ENV): Likewise.
37681         (bug-regex25-ENV): Likewise.
37682         (bug-regex26-ENV): Likewise.
37683         (bug-regex30-ENV): Likewise.
37684         (bug-regex32-ENV): Likewise.
37685         (bug-regex33-ENV): Likewise.
37686         (bug-regex34-ENV): Likewise.
37687         (bug-regex35-ENV): Likewise.
37688         (tst-rxspencer-ENV): Likewise.
37689         (tst-rxspencer-no-utf8-ENV): Likewise.
37690         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37691         (tst-sscanf-ENV): Likewise.
37692         (tst-swprintf-ENV): Likewise.
37693         (tst-swscanf-ENV): Likewise.
37694         (test-vfprintf-ENV): Likewise.
37695         (scanf13-ENV): Likewise.
37696         (bug14-ENV): Likewise.
37697         (tst-grouping-ENV): Likewise.
37698         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37699         (tst-strtod3-ENV): Likewise.
37700         (tst-strtod4-ENV): Likewise.
37701         (tst-strtod5-ENV): Likewise.
37702         (testmb2-ENV): Likewise./
37703         * string/Makefile (tst-strxfrm-ENV): Likewise.
37704         (tst-strxfrm2-ENV): Likewise.
37705         (bug-strcoll1-ENV): Likewise.
37706         (test-strcasecmp-ENV): Likewise.
37707         (test-strncasecmp-ENV): Likewise.
37708         * time/Makefile (tst-strptime-ENV): Likewise.
37709         (tst-ftime_l-ENV): Likewise.
37710         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37711         (tst-mbrtowc-ENV): Likewise.
37712         (tst-wcrtomb-ENV): Likewise.
37713         (tst-mbrtowc2-ENV): Likewise.
37714         (tst-c16c32-1-ENV): Likewise.
37715         (tst-mbsnrtowcs-ENV): Likewise.
37717 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37719         * manual/resource.texi (How to get information about the memory
37720         subsystem?): Fix typo.
37721         Reported by Peon de la Parra Ivan <peon@keba.com>
37723 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37725         [BZ #16882]
37726         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37727         (pthread_spin_lock): Branch out of spin loop to proper location.
37728         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37729         (pthread_spin_lock): Likewise.
37731         * nptl/tst-spin4.c: New test.
37732         * nptl/Makefile (tests): Add tst-spin4.
37734 2014-06-03  Andreas Schwab  <schwab@suse.de>
37736         [BZ #15946]
37737         * resolv/res_send.c (send_dg): Reload file descriptor after
37738         calling reopen.
37740 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37742         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37744 2014-06-03  Richard Henderson  <rth@redhat.com>
37746         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37747         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37748         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37749         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37750         in the SAVE_PID block.
37751         (__libc_vfork): New alias.
37752         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37754         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37755         child in registers, not on the stack.  Remove RESET_PID conditionals.
37756         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37758 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37760         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37762 2014-06-03  Wilco  <wdijkstr@arm.com>
37764         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37765         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37766         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37767         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37768         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37769         Likewise.
37771 2014-06-03  Wilco  <wdijkstr@arm.com>
37773         * sysdeps/aarch64/fpu/math_private.h
37774         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37775         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37776         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37777         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37778         Fix declarations.
37780 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37782         * crypt/crypt-private.h: Include ufc-crypt.h.
37783         (__b64_from_24bit): Declare extern.
37784         * crypt/crypt_util.c(__b64_from_24bit): New function.
37785         (b64t): New static const variable.
37786         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37787         (b64t): Remove variable.
37788         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37789         * crypt/sha256-crypt.c: Include crypt-private.h.
37790         (b64t): Remove variable.
37791         (__sha256_crypt_r): Remove b64_from_24bit and replace
37792         with __b64_from_24bit.
37793         * crypt/sha512-crypt.c: Likewise.
37795 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37797         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37798         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37799         Label the code __libc_vfork rather than __vfork.
37800         [!NOT_IN_libc] (vfork): Define as weak alias.
37801         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37802         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37803         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37805 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37807         * malloc/malloc.c (malloc_info): Fix format specifier for
37808         n_mmaps.
37810 2014-06-02  Wilco  <wdijkstr@arm.com>
37812         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37813         FPCR write.
37815 2014-06-02  Wilco  <wdijkstr@arm.com>
37817         [BZ #17009]
37818         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37819         Rewrite to reduce FPCR/FPSR accesses.
37821 2014-06-01  David S. Miller  <davem@davemloft.net>
37823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37825 2014-05-31  David S. Miller  <davem@davemloft.net>
37827         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37828         to occur in round to nearest mode when |x| >= 2.0
37830 2014-05-30  Richard Henderson  <rth@twiddle.net>
37832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37833         (PSEUDO_RET_NOERRNO): Remove.
37834         (ret): Don't redefine.
37835         (ret_NOERRNO): Define in terms of ret.
37836         (ret_ERRVAL): Likewise.
37838         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37839         use of PSEUDO_RET; perform the error check directly.
37841 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37843         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37844         with __int128_t.
37846 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37848         * malloc/malloc (malloc_info): Fix formatting.
37850 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37851             Roland McGrath  <roland@hack.frob.com>
37853         * malloc/malloc (malloc_info): Also print mmapped statistics.
37855 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37857         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37858         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37860 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37862         * malloc/malloc.c (malloc_info): Inline mi_arena.
37864 2014-05-29  Richard Henderson  <rth@twiddle.net>
37866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37867         Remove comma before expanding ASM_ARGS_##nr.
37868         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37869         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37870         of ASM_ARGS_##nr.
37871         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37872         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37873         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37874         (ASM_ARGS_1): Add leading comma.
37876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37877         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37878         to __errno_location.
37879         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37880         Remove the expected plt for __errno_location.
37882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37883         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37884         call to __read_tp.
37886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37887         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37888         it and break it down.
37889         (DOCARGS_0, DOCARGS_1): Do nothing.
37890         (DOCARGS_2): Update to store into the new stack frame.
37891         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37892         (UNDOCARGS_1): Update to restore from the new stack frame.
37893         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37894         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37897         (SINGLE_THREAD_P): New parameter for result regno.
37898         (PSEUDO): Update to match; use cbz instead of beq.
37900         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37901         Use ENTRY to define the _nocancel entry point.  Share the syscall
37902         and syscall error check paths with the cancel path.
37903         (PSEUDO_END): New.
37905         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37906         whitespace; tabs before and after asm mnemonics.
37908 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37910         [BZ #15132]
37911         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37912         Call fstat64 or stat64 internally, depending on arguments passed.
37913         Replace stat buffer argument with file descriptor argument.
37914         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37915         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37916         Pass fd to __internal_statvfs instead of calling fstat64.
37917         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37918         Pass fd to __internal_statvfs64 instead of calling fstat64.
37919         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37920         Pass -1 to __internal_statvfs instead of calling stat64.
37921         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37922         Pass -1 to __internal_statvfs64 instead of calling stat64.
37924 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37926         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37927         that was previously under [RESET_PID].
37928         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37930         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37931         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37933 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37935         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37937         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37938         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37940 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37942         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37944 2014-05-27  Andreas Schwab  <schwab@suse.de>
37946         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37947         TLS_INIT_TP macro.
37948         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37949         * elf/rtld.c (init_tls, dl_main): Likewise.
37950         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37951         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37952         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37953         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37954         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37955         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37956         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37957         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37958         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37959         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37960         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37961         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37962         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37963         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37964         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37965         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37966         * sysdeps/generic/tls.h: Update description.
37968 2014-05-27  Will Newton  <will.newton@linaro.org>
37970         [BZ #16990]
37971         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37972         and restore r2 rather than just restoring.
37974 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37976         [BZ #16724]
37977         * libio/tst-ftell-append.c: New test case.
37978         * libio/Makefile (tests): Add test case.
37979         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37980         append mode.
37981         * libio/wfileops.c (do_ftell_wide): Likewise.
37983 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37987         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37988         ...
37989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37991         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37992         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37994         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37995         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37998         Moved ...
37999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38001         Moved ...
38002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38003         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38004         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38005         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38006         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38007         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38008         ...
38009         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38010         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38011         Moved ...
38012         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38013         here.
38014         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38015         ...
38016         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38017         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38018         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38020         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38021         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38022         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38023         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38026         merge into ...
38027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38029         ...
38030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38032         ...
38033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38035         Moved ...
38036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38037         here.
38038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38039         Moved ...
38040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38042         Moved ...
38043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38046         conditional [RESET_PID].
38047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38049         removed.
38050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38051         removed.
38053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38054         <tcb-offsets.h>.
38055         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38056         (__libc_vfork): New strong alias.
38057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38058         removed.
38059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38060         Removed.
38062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38063         <tcb-offsets.h>.
38064         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38065         (__libc_vfork): New strong alias.
38066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38067         removed.
38068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38069         removed.
38071 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38073         * malloc/malloc.c (mi_arena): New function.
38074         (malloc_info): Remove nested function mi_arena. Call non-nosted
38075         function mi_arena.
38077 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38079         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38080         by insrwi.
38081         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38082         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38083         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38084         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38085         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38086         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38087         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38089 2014-05-26  Andreas Schwab  <schwab@suse.de>
38091         [BZ #16984]
38092         * locale/programs/repertoire.c (repertoire_read): Add slash
38093         between I18NPATH element and file name.
38094         * locale/programs/locfile.c (locfile_read): Likewise.
38096 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38098         * nptl/pthread_mutexattr_settype.c
38099         (__pthread_mutexattr_settype):
38100         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38102 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38104         * nptl/tst-mutex5 (do_test):
38105         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38107 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38109         * benchtests/README: Document 'init' directive.
38110         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38111         BENCH_INIT.
38112         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38113         (parse_file): Recognize 'init' directive.
38115 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38117         [BZ #16796]
38118         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38119         alignment of struct pthread.
38121 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38123         [BZ #16878]
38124         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38125         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38126         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38127         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38129 2014-05-25  Richard Henderson  <rth@twiddle.net>
38131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38132         (SINGLE_THREAD_P_PIC): Remove.
38133         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38134         (SINGLE_THREAD_P_PIC): Remove.
38136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38137         branch to syscall error ...
38138         (PSEUDO): ... here.
38139         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38140         from __local_syscall_error to .Lsyscall_error.
38141         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38142         (SYSCALL_ERROR): Update label name.
38144         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38145         Do not use DOARGS/UNDOARGS.
38146         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38147         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38148         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38149         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38150         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38152         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38153         block comment.
38155         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38156         define if !NOT_IN_libc.
38157         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38158         define with non-default symbol versions.
38160 2014-05-23  Richard Henderson  <rth@twiddle.net>
38162         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38163         (vfork, __vfork): Define via compat_symbol.
38165         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38166         [!HAVE_IFUNC] (vfork_compat): Remove.
38167         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38169 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38171         [BZ #16978]
38172         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38173         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38174         variable.
38176 2014-05-23  Richard Henderson  <rth@twiddle.net>
38178         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38179         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38180         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38181         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38183         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38184         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38185         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38186         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38187         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38188         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38189         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38190         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38191         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38192         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38193         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38194         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38195         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38196         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38197         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38198         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38199         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38200         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38202         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38203         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38204         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38205         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38206         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38207         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38208         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38209         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38210         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38212         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38213         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38214         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38215         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38216         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38217         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38218         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38219         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38220         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38221         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38222         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38223         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38224         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38225         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38226         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38227         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38228         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38229         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38230         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38231         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38232         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38233         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38234         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38236         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38238         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38240         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38241         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38242         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38243         before exiting on error.
38244         (__libc_vfork): New strong alias.
38245         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38246         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38248         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38249         that was previously under [RESET_PID].
38250         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38252         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38254 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38256         [BZ #16977]
38257         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38258         value when x - 1 is zero.
38259         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38260         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38261         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38262         0.0L for an argument of 1.0L.
38263         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38264         Likewise.
38265         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38266         value when x - 1 is zero.
38267         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38268         * sysdeps/i386/fpu/libm-test-ulps: Update.
38269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38271 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38273         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38274         alphasort and versionsort.
38276 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38278         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38279         macro.
38280         [copysignf]: Likewise.
38282 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38284         * crypt/md5-crypt.c: Fix formatting.
38286 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38288         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38289         (b64_from_24bit): New function.
38291 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38293         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38294         libc_hidden_builtin_def to ifunc.
38295         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38296         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38298 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38300         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38301         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38303 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38305         * nscd/Depend (linuxthreads): Remove.
38306         (nptl): Add.
38307         * resolv/Depend (linuxthreads): Remove.
38308         * rt/Depend (linuxthreads): Remove.
38310         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38311         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38312         $(common-objpfx)elf/.
38313         (link-libc-before-gnulib): Likewise.
38314         (elfobjdir): Remove variable.
38315         * Makefile (install): Use $(elf-objpfx) instead of
38316         $(common-objpfx)elf/.
38317         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38318         $(elfobjdir)/.
38319         (link-libc-deps): Likewise.
38320         ($(common-objpfx)libc.so): Likewise.
38321         ($(common-objpfx)linkobj/libc.so): Likewise.
38322         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38323         instead of $(common-objpfx)elf/.
38324         (symbolic-link-list): Likewise.
38325         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38326         [$(cross-compiling) = no]: Likewise.
38327         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38328         $(elfobjdir)/.
38329         (static-gnulib-arch): Likewise.
38330         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38331         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38332         $(common-objpfx)elf/.
38334 2014-05-21  Richard Henderson  <rth@redhat.com>
38336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38337         (SINGLE_THREAD_P): Use the correct width load.  Fold
38338         into the ldr offset.
38340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38341         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38343 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38345         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38346         (libgcc_s_resume): Use __attribute_used__.
38347         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38348         Likewise.
38350 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38352         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38353         optimization when used with float constants.
38355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38357 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38359         [BZ #16915]
38360         * locale/nl_langinfo_l.c: Make direct reference to every
38361         _nl_current_CATEGORY symbol.
38362         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38363         (tests-static): Add tst-langinfo-static.
38364         (tests-special): Add tst-langinfo-static.out.
38365         ($(objpfx)tst-langinfo.out): Redirect output.
38366         ($(objpfx)tst-langinfo-static.out): New.
38367         * localedata/tst-langinfo.sh: Send output to stdout.
38368         * localedata/tst-langinfo-static.c: New file.
38370         [BZ #16965]
38371         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38372         when the shift amount is modulo the limb size.
38374 2014-05-20  Richard Henderson  <rth@redhat.com>
38376         [BZ #16967]
38377         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38378         Change type of sa_flags from unsigned int to int.
38380         [BZ #16966]
38381         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38383         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38385 2014-05-20  Will Newton  <will.newton@linaro.org>
38387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38388         Test the return value of the system call in the nocancel case.
38390 2014-05-20  Will Newton  <will.newton@linaro.org>
38391             Yvan Roux  <yvan.roux@linaro.org>
38393         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38394         #include of asm/ptrace.h.
38395         (PTRACE_GET_THREAD_AREA): Remove #undef.
38396         (PTRACE_GETHBPREGS): Likewise.
38397         (PTRACE_SETHBPREGS): Likewise.
38398         (struct user_regs_struct): New structure.
38399         (struct user_fpsimd_struct): New structure.
38400         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38401         #include of asm/ptrace.h and second #include of sys/user.h.
38402         (PTRACE_GET_THREAD_AREA): Remove #undef.
38403         (PTRACE_GETHBPREGS): Likewise.
38404         (PTRACE_SETHBPREGS): Likewise.
38405         (ELF_NGREG): Use new struct user_regs_struct.
38406         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38408 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38413 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38415         [BZ #16958]
38416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38417         membar to avoid block loads/stores to overlap previous stores.
38419 2014-05-17  Richard Henderson  <rth@redhat.com>
38421         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38422         Create the __##syscall_name##_nocancel entry point.
38423         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38424         Remove; let the sysdep-cancel.h code create it.
38426 2014-05-17  David S. Miller  <davem@davemloft.net>
38428         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38429         Protect with __USE_GNU.
38430         (TIOCSET_TEMPT): Likewise.
38431         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38432         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38433         these are already provided in bits/ioctl-types.h
38435 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38437         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38438         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38440         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38441         Use wait4 regardless of [__NR_waitpid].
38443 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38445         PR libgcc/60166
38446         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38447         (_FP_NANSIGN_Q): Set the quiet bit.
38449 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38451         * benchtests/Makefile
38452         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38453         not $(common-objpfx)math/libm.so.
38454         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38455         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38456         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38457         $(common-objpfx)dlfcn/libdl.so.
38458         ($(objpfx)tst-audit8): Depend on $(libm), not
38459         $(common-objpfx)math/libm.so.
38460         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38461         not $(common-objpfx)dlfcn/libdl.so.
38462         * math/Makefile
38463         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38464         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38465         [$(build-shared) = yes].
38466         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38467         $(common-objpfx)nptl/libpthread.so.
38468         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38469         $(common-objpfx)math/libm.so$(libm.so-version) or
38470         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38471         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38472         $(common-objpfx)dlfcn/libdl.so.
38473         * setjmp/Makefile (link-libm): Remove variable.
38474         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38475         * stdio-common/Makefile (link-libm): Remove variable.
38476         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38477         * stdlib/Makefile (link-libm): Remove variable.
38478         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38479         ($(objpfx)tst-strtod-round): Likewise.
38480         ($(objpfx)tst-tininess): Likewise.
38481         ($(objpfx)tst-strtod-underflow): Likewise.
38482         ($(objpfx)tst-strtod6): Likewise.
38483         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38484         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38485         $(common-objpfx)dlfcn/libdl.so.
38487 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38489         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38490         BSD terminal modes definitions.
38492 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38494         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38495         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38497         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38498         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38499         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38500         Don't do #include_next.
38501         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38502         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38503         Don't do #include_next.
38504         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38505         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38506         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38507         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38509 2014-05-16  Allan McRae  <allan@archlinux.org>
38511         * po/sv.po: Update Swedish translation from translation project.
38513         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38514         in sed expression.
38516 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38518         [BZ #16917]
38519         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38520         errno if the TIOCGPTN ioctl fails with an error different than
38521         EINVAL.
38522         * login/tst-ptsname.c: New file.
38523         * login/Makefile (tests): Add tst-ptsname.
38525         [BZ #16943]
38526         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38527         and prlimit64.
38529 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         [BZ #16849]
38532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38533         herrno to return EAI_AGAIN.
38535 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38537         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38538         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38539         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38540         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38541         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38542         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38543         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38544         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38545         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38546         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38547         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38548         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38549         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38550         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38551         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38552         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38553         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38554         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38555         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38556         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38557         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38558         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38559         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38560         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38561         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38562         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38563         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38564         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38565         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38566         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38568         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38570         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38572         Moved ...
38573         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38575         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38577         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38579         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38581         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38583         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38585         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38587         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38589         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38591         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38593         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38595         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38597         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38599         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38601         Moved ...
38602         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38604         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38608         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38610         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38612         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38614         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38616         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38618         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38620         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38622         Moved ...
38623         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38625         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38627         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38628         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38629         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38630         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38631         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38632         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38633         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38634         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38635         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38636         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38637         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38638         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38639         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38640         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38641         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38642         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38643         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38644         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38645         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38646         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38647         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38648         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38649         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38650         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38651         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38652         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38653         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38654         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38655         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38656         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38657         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38659         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38660         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38662         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38663         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38664         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38665         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38666         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38668         Moved ...
38669         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38671         Moved ...
38672         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38674         Moved ...
38675         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38677         Moved ...
38678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38679         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38680         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38682         Moved ...
38683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38684         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38685         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38686         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38687         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38688         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38689         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38691         Moved ...
38692         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38694         Moved ...
38695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38696         ... here.
38697         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38698         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38699         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38700         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38702         Moved ...
38703         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38704         ... here.
38705         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38706         Moved ...
38707         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38708         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38709         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38710         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38711         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38713         Moved ...
38714         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38716         Moved ...
38717         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38719         Moved ...
38720         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38722         Moved ...
38723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38724         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38725         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38727         Moved ...
38728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38729         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38730         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38731         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38732         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38733         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38734         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38736         Moved ...
38737         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38739         Moved ...
38740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38741         ... here.
38742         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38743         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38744         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38745         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38747         Moved ...
38748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38749         ... here.
38750         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38751         Moved ...
38752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38753         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38754         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38755         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38756         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38757         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38758         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38759         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38760         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38762         Moved ...
38763         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38765         Moved ...
38766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38768         Moved ...
38769         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38771         Moved ...
38772         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38773         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38774         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38775         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38776         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38777         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38778         Moved ...
38779         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38780         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38781         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38783         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38784         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38785         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38787         Moved ...
38788         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38790         Moved ...
38791         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38792         ... here.
38793         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38794         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38795         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38796         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38798         Moved ...
38799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38800         ... here.
38801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38802         Moved ...
38803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38804         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38805         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38806         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38807         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38808         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38809         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38810         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38811         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38812         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38813         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38815         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38816         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38818         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38819         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38821         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38822         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38823         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38824         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38825         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38826         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38827         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38828         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38829         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38830         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38831         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38832         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38833         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38834         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38835         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38837         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38839         Moved ...
38840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38844         Moved ...
38845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38847         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38849         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38853         Moved ...
38854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38856         Moved ...
38857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38863         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38864         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38865         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38866         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38867         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38868         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38869         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38870         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38871         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38872         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38873         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38875         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38876         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38877         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38878         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38879         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38881         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38882         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38883         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38884         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38885         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38886         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38887         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38888         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38889         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38890         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38895         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38896         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38897         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38898         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38899         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38900         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38901         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38902         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38903         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38904         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38905         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38906         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38907         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38908         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38910         Update #include.
38911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38912         Likewise.
38913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38914         Likewise.
38915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38916         Likewise.
38917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38918         Likewise.
38919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38920         Likewise.
38921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38922         Likewise.
38923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38924         Likewise.
38925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38926         Likewise.
38927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38928         Likewise.
38929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38931         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38936         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38937         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38938         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38945         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38946         that was previously under [RESET_PID].
38947         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38948         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38949         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38951         * sysdeps/i386/nptl/Implies: New file.
38952         * sysdeps/x86_64/nptl/Implies: New file.
38953         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38954         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38955         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38956         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38958         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38959         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38960         (__libc_vfork): New strong alias.
38961         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38962         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38964         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38965         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38966         (__libc_vfork): New strong alias.
38967         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38968         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38970         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38971         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38972         (__libc_vfork): New strong alias.
38973         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38974         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38975         * nptl/pt-vfork.c: New file.
38976         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38977         (libpthread: GLIBC_2.20): New version set (empty).
38979 2014-05-14  Will Newton  <will.newton@linaro.org>
38981         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38982         rather than #if.
38984 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38986         [BZ #16564]
38987         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38988         arguments with exponent 65 or above.
38989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38990         arguments 0x1p113L or above.
38991         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38992         to arguments 0x1p107L or above.
38993         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38994         positive arguments with exponent 65 or above.
38995         * math/auto-libm-test-in: Add more tests of log1p.
38996         * math/auto-libm-test-out: Regenerated.
38998         [BZ #16928]
38999         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39000         non-finite arguments is +0.
39001         * math/s_cacosf.c (__cacosf): Likewise.
39002         * math/s_cacosl.c (__cacosl): Likewise.
39003         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39004         * sysdeps/i386/fpu/libm-test-ulps: Update.
39005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39007         [BZ #16927]
39008         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39009         value.
39010         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39011         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39012         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39013         for explicit high bit of mantissa when testing for argument equal
39014         to 1.
39015         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39016         * sysdeps/i386/fpu/libm-test-ulps: Update.
39017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39019         [BZ #16516]
39020         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39021         (__erf): Scale by 16 instead of 8 in potentially underflowing
39022         case.  Ensure exception if result actually underflows.
39023         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39024         (__erff): Scale by 16 instead of 8 in potentially underflowing
39025         case.  Ensure exception if result actually underflows.
39026         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39027         (efx8): Remove variable.
39028         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39029         case.  Ensure exception if result actually underflows.
39030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39031         (efx8): Remove variable.
39032         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39033         case.  Ensure exception if result actually underflows.
39034         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39035         (efx8): Remove variable.
39036         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39037         case.  Ensure exception if result actually underflows.
39038         * math/auto-libm-test-in: Add more tests of erf.
39039         * math/auto-libm-test-out: Regenerated.
39041 2014-05-14  Andreas Schwab  <schwab@suse.de>
39043         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39044         Remove code conditionalized on USE___THREAD.
39046         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39047         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39048         not definedness.
39050 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39053         Define unconditionally.
39054         (__ASSUME_O_CLOEXEC): Likewise.
39055         (__ASSUME_SOCK_CLOEXEC): Likewise.
39056         (__ASSUME_IN_NONBLOCK): Likewise.
39057         (__ASSUME_PIPE2): Likewise.
39058         (__ASSUME_EVENTFD2): Likewise.
39059         (__ASSUME_SIGNALFD4): Likewise.
39060         (__ASSUME_DUP3): Likewise.
39061         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39062         (__ASSUME_DUP3): Do not define.
39063         (__ASSUME_EVENTFD2): Likewise.
39064         (__ASSUME_IN_NONBLOCK): Likewise.
39065         (__ASSUME_O_CLOEXEC): Likewise.
39066         (__ASSUME_PIPE2): Likewise.
39067         (__ASSUME_SIGNALFD4): Likewise.
39068         (__ASSUME_SOCK_CLOEXEC): Likewise.
39069         (__ASSUME_UTIMES): Undefine.
39070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39071         (__ASSUME_UTIMES): Do not define.
39072         (__ASSUME_O_CLOEXEC): Likewise.
39073         (__ASSUME_SOCK_CLOEXEC): Likewise.
39074         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39075         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39076         0x020621].
39077         (__ASSUME_PIPE2): Likewise.
39078         (__ASSUME_EVENTFD2): Likewise.
39079         (__ASSUME_SIGNALFD4): Likewise.
39080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39081         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39082         Do not define.
39083         (__ASSUME_EVENTFD2): Likewise.
39084         (__ASSUME_SIGNALFD4): Likewise.
39085         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39086         (__ASSUME_32BITUIDS): Likewise.
39087         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39088         (__ASSUME_IPC64): Likewise.
39089         (__ASSUME_ST_INO_64_BIT): Likewise.
39090         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39091         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39092         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39093         (__ASSUME_UTIMES): Do not define.
39094         (__ASSUME_PSELECT): Likewise.
39095         (__ASSUME_PPOLL): Likewise.
39096         (__ASSUME_O_CLOEXEC): Likewise.
39097         (__ASSUME_SOCK_CLOEXEC): Likewise.
39098         (__ASSUME_IN_NONBLOCK): Likewise.
39099         (__ASSUME_PIPE2): Likewise.
39100         (__ASSUME_EVENTFD2): Likewise.
39101         (__ASSUME_SIGNALFD4): Likewise.
39102         (__ASSUME_DUP3): Likewise.
39103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39104         (__ASSUME_UTIMES): Likewise.
39105         (__ASSUME_O_CLOEXEC): Likewise.
39106         (__ASSUME_SOCK_CLOEXEC): Likewise.
39107         (__ASSUME_IN_NONBLOCK): Likewise.
39108         (__ASSUME_PIPE2): Likewise.
39109         (__ASSUME_EVENTFD2): Likewise.
39110         (__ASSUME_SIGNALFD4): Likewise.
39111         (__ASSUME_DUP3): Likewise.
39112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39113         (__ASSUME_UTIMES): Likewise.
39114         (__ASSUME_O_CLOEXEC): Likewise.
39115         (__ASSUME_SOCK_CLOEXEC): Likewise.
39116         (__ASSUME_IN_NONBLOCK): Likewise.
39117         (__ASSUME_PIPE2): Likewise.
39118         (__ASSUME_EVENTFD2): Likewise.
39119         (__ASSUME_SIGNALFD4): Likewise.
39120         (__ASSUME_DUP3): Likewise.
39121         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39122         Likewise.
39123         (__ASSUME_UTIMES): Likewise.
39124         (__ASSUME_EVENTFD2): Likewise.
39125         (__ASSUME_SIGNALFD4): Likewise.
39126         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39127         (__ASSUME_O_CLOEXEC): Likewise.
39128         (__ASSUME_SOCK_CLOEXEC): Likewise.
39129         (__ASSUME_IN_NONBLOCK): Likewise.
39130         (__ASSUME_PIPE2): Likewise.
39131         (__ASSUME_EVENTFD2): Likewise.
39132         (__ASSUME_SIGNALFD4): Likewise.
39133         (__ASSUME_DUP3): Likewise.
39134         (__ASSUME_UTIMES): Undefine.
39136         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39137         feclearexcept.  Remove symbol versioning code.
39138         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39139         symbol versioning code.
39140         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39141         symbol versioning code.
39142         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39143         feupdateenv.  Remove symbol versioning code.
39144         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39145         fegetexceptflag.  Remove symbol versioning code.
39146         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39147         fesetexceptflag.  Remove symbol versioning code.
39148         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39149         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39150         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39151         (__posix_fadvise64_l32): Remove prototype.
39152         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39153         code.
39155 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39157         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39158         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39159         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39160         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39162 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39164         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39165         current working directory
39167 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39169         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39170         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39171         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39172         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39173         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39174         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39175         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39176         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39177         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39178         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39179         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39180         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39181         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39182         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39183         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39184         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39185         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39186         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39187         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39188         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39189         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39190         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39191         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39192         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39193         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39194         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39195         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39196         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39197         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39198         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39199         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39200         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39201         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39202         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39203         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39204         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39205         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39206         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39207         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39208         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39209         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39210         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39212         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39213         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39215         * sysdeps/unix/sysv/linux/arm/Makefile
39216         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39217         Add rt-aeabi_unwind_cpp_pr1.
39218         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39219         Add nptl-aeabi_unwind_cpp_pr1.
39220         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39221         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39222         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39223         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39224         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39225         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39227         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39228         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39229         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39230         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39232         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39233         Deconditionalize the code that was previously under [RESET_PID].
39234         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39236         * sysdeps/generic/exit-thread.h: New file.
39237         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39238         * include/unistd.h (__exit_thread): Remove declaration.
39239         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39240         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39241         * csu/libc-start.c: Include <exit-thread.h>.
39242         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39243         * nptl/pthread_create.c: Include <exit-thread.h>.
39244         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39245         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39246         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39247         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39248         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39249         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39250         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39251         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39252         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39253         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39254         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39255         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39256         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39257         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39258         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39259         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39260         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39262 2014-05-13  Andreas Schwab  <schwab@suse.de>
39264         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39266 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39268         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39269         (__ASSUME_UTIMES): Do not condition on kernel version.
39270         (__ASSUME_PSELECT): Define unconditionally.
39271         (__ASSUME_PPOLL): Likewise.
39272         (__ASSUME_ATFCTS): Likewise.
39273         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39274         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39275         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39276         (__ASSUME_UTIMENSAT): Define unconditionally.
39277         (__ASSUME_PRIVATE_FUTEX): Likewise.
39278         (__ASSUME_FALLOCATE): Likewise.
39279         (__ASSUME_O_CLOEXEC): Likewise.
39280         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39281         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39282         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39283         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39284         (__ASSUME_IN_NONBLOCK): Likewise.
39285         (__ASSUME_PIPE2): Likewise.
39286         (__ASSUME_EVENTFD2): Likewise.
39287         (__ASSUME_SIGNALFD4): Likewise.
39288         (__ASSUME_DUP3): Likewise.
39289         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39290         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39291         (__ASSUME_AT_RANDOM): Likewise.
39292         (__ASSUME_PREADV): Likewise.
39293         (__ASSUME_PWRITEV): Likewise.
39294         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39295         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39296         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39297         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39298         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39299         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39300         (__ASSUME_O_CLOEXEC): Define unconditionally.
39301         (__ASSUME_PSELECT): Do not undefine conditionally.
39302         (__ASSUME_PPOLL): Likewise.
39303         (__ASSUME_ATFCTS): Likewise.
39304         (__ASSUME_SET_ROBUST_LIST): Likewise.
39305         (__ASSUME_UTIMENSAT): Likewise.
39306         (__ASSUME_FDATASYNC): Define unconditionally.
39307         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39308         (__ASSUME_SIGFRAME_V2): Likewise.
39309         )__ASSUME_EVENTFD2): Likewise.
39310         (__ASSUME_SIGNALFD4): Likewise.
39311         (__ASSUME_PSELECT): Do not undefine conditionally.
39312         (__ASSUME_PPOLL): Likewise.
39313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39314         (__ASSUME_PSELECT): Define unconditionally.
39315         (__ASSUME_PPOLL): Likewise.
39316         (__ASSUME_O_CLOEXEC): Likewise.
39317         (__ASSUME_SOCK_CLOEXEC): Likewise.
39318         (__ASSUME_IN_NONBLOCK): Likewise.
39319         (__ASSUME_PIPE2): Likewise.
39320         (__ASSUME_EVENTFD2): Likewise.
39321         (__ASSUME_SIGNALFD4): Likewise.
39322         (__ASSUME_DUP3): Likewise.
39323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39324         (__ASSUME_O_CLOEXEC): Likewise.
39325         (__ASSUME_SOCK_CLOEXEC): Likewise.
39326         (__ASSUME_IN_NONBLOCK): Likewise.
39327         (__ASSUME_PIPE2): Likewise.
39328         (__ASSUME_EVENTFD2): Likewise.
39329         (__ASSUME_SIGNALFD4): Likewise.
39330         (__ASSUME_DUP3): Likewise.
39331         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39332         (__ASSUME_EVENTFD2): Likewise.
39333         (__ASSUME_SIGNALFD4): Likewise.
39334         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39336 2014-05-12  Andreas Schwab  <schwab@suse.de>
39338         [BZ #16932]
39339         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39340         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39341         than maximum RPC packet size.
39342         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39343         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39344         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39345         (_nss_nis_getservbyport_r): Likewise.
39347 2014-05-12  Will Newton  <will.newton@linaro.org>
39349         * malloc/Makefile (tests): Add tst-mallopt.
39350         * malloc/tst-mallopt.c: New file.
39352 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39354         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39355         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39357 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39359         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39360         (tst-tlsmod6.so): Likewise.
39362 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39364         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39366 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39368         [BZ #16064]
39369         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39370         and <dl-procinfo.h>.
39371         (__fegetenv): Save SSE state in envp->__eip if supported.
39372         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39373         envp->__eip if supported.
39374         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39375         and <dl-procinfo.h>.
39376         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39377         __data_offset and __data_selector in environment to 0.  Set SSE
39378         state if supported.
39379         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39380         test-fenv-sse.
39381         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39382         -mfpmath=sse.
39383         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39385 2014-05-09  Will Newton  <will.newton@linaro.org>
39387         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39388         and libc_relro_required for ARM.
39389         * sysdeps/arm/preconfigure: Regenerate.
39391 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39392             Stefan Liebler  <stli@linux.vnet.ibm.com>
39394         * config.make.in (enable-lock-elision): New Makefile variable.
39395         * configure.ac: Likewise.
39396         * configure: Regenerate.
39397         * sysdeps/s390/configure.ac:
39398         Add check for gcc transactions support.
39399         * sysdeps/s390/configure: Regenerate.
39400         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39401         Build elision files if enabled.
39402         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39403         Add lock elision support for s390.
39404         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39405         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39406         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39407         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39408         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39409         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39411         Likewise.
39412         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39413         Likewise.
39414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39415         Likewise.
39416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39417         Likewise.
39418         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39419         (__lll_timedlock_elision, __lll_lock_elision)
39420         (__lll_unlock_elision, __lll_trylock_elision)
39421         (lll_timedlock_elision, lll_lock_elision)
39422         (lll_unlock_elision, lll_trylock_elision): Add.
39423         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39424         (pthread_mutex_t): Add lock elision support for s390.
39426 2014-05-14  Wilco  <wdijkstr@arm.com>
39428         * sysdeps/arm/fclrexcpt.c: Cleanup.
39429         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39430         * sysdeps/arm/feenablxcpt.c: Cleanup.
39431         * sysdeps/arm/fegetenv.c: Cleanup.
39432         * sysdeps/arm/fegetexcept.c: Cleanup.
39433         * sysdeps/arm/fegetround.c: Cleanup.
39434         * sysdeps/arm/feholdexcpt.c: Cleanup.
39435         * sysdeps/arm/fesetenv.c: Cleanup.
39436         * sysdeps/arm/fesetround.c: Cleanup.
39437         * sysdeps/arm/feupdateenv.c: Cleanup.
39438         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39439         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39440         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39441         * sysdeps/arm/ftestexcept.c: Cleanup.
39442         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39443         * sysdeps/arm/setfpucw.c: Cleanup.
39445 2014-05-09  Will Newton  <will.newton@linaro.org>
39447         * sysdeps/arm/armv7/strcmp.S: New file.
39448         * NEWS: Mention addition of ARMv7 optimized strcmp.
39450 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39452         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39453         look for %.ac rather than %.in.
39455         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39456         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39457         * sysdeps/mach/hurd/configure: Regenerated.
39458         * sysdeps/unix/sysv/linux/configure: Regenerated.
39460         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39462 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39464         [BZ# 16922]
39465         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39466         (LONG_SUB): Ditto.
39467         (PTR_SUB): Ditto.
39469 2014-05-07  Andreas Schwab  <schwab@suse.de>
39471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39472         when skipping over non-matching result from nscd.
39474 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39476         [BZ #16876]
39477         * nptl/sockperf.c (client): Check socket return value.
39479         [BZ #16877]
39480         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39481         nscd security class.
39483 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39485         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39486         * sysdeps/arm/unwind.h: ... here.
39488 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39490         [BZ# 16916]
39491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39492         Define.
39494 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39496         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39497         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39498         multiarch strncpy for PPC64.
39499         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39500         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39502         multiarch optimizations.
39503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39504         (__libc_ifunc_impl_list): Likewise.
39505         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39507         multiarch stpncpy for PPC64.
39508         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39511 2014-05-06  Andreas Schwab  <schwab@suse.de>
39513         [BZ #16912]
39514         * gmon/mcount.c (_MCOUNT_DECL): Use
39515         atomic_compare_and_exchange_bool_acq instead of
39516         catomic_compare_and_exchange_bool_acq.
39518 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39520         * elf/Makefile (others, install-bin): Remove pldd.
39521         (pldd-modules): Variable removed.
39522         ($(objpfx)pldd): Target removed.
39523         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39524         (others, install-bin): Append pldd here.
39525         ($(objpfx)pldd): New target.
39527         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39528         to 0, so the first #if test emitted later doesn't see it undefined.
39529         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39530         * sysdeps/gnu/errlist.c: Regenerated.
39532 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39535         [libc_hidden_builtin_def]: Define to empty value.
39536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39537         [libc_hidden_builtin_def]: Likewise.
39538         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39539         [libc_hidden_builtin_def]: Likewise.
39540         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39541         [libc_hidden_builtin_def]: Likewise.
39542         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39543         __redirect_memcpy and define ifunc as default hidden symbol.
39544         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39545         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39547 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39549         * locale/iso-4217.def: Reintroduce XDR currency.
39551 2014-05-04  Allan McRae  <allan@archlinux.org>
39553         * po/eo.po: Update Esperanto translation from translation project.
39555 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39557         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39558         and FEATURE_INDEX_MAX to 1.
39559         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39561 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39563         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39564         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39565         * iconvdata/big5.c (ONE_DIRECTION): Define.
39566         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39567         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39568         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39569         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39570         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39571         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39572         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39573         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39574         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39575         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39576         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39577         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39578         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39579         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39580         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39581         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39582         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39583         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39584         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39585         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39586         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39587         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39588         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39589         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39590         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39591         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39592         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39593         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39594         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39595         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39596         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39597         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39598         * iconvdata/johab.c (ONE_DIRECTION): Define.
39599         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39600         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39601         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39602         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39603         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39604         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39605         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39606         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39607         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39608         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39610 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39612         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39613         (_IO_JUMPS_OFFSET): Define to 0.
39615         * nptl/sysdeps/pthread/bits/libc-lock.h
39616         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39617         (__libc_lock_define_initialized_recursive): Always define using
39618         initializer.  Modern compilers treat uninitialized (implicit zero) and
39619         explicit zero initializers the same (i.e. put the datum in bss).
39621 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39623         * nscd/nscd-client.h: Include <string.h>.
39625 2014-05-01  David S. Miller  <davem@davemloft.net>
39627         [BZ #16885]
39628         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39629         multiple zero bytes exist at the end of a string.
39630         Reported by Aurelien Jarno <aurelien@aurel32.net>
39632         * string/test-strcmp.c (check): Add explicit test for situations where
39633         there are multiple zero bytes after the first.
39635 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39637         [BZ #16890]
39638         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39639         when compiling wprintf.
39640         * stdio-common/tstdiomisc.c (t3): New function.
39641         (main): Call it.
39643 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39645         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39646         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39647         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39648         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39650 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39652         * stdlib/longlong.h: Updated from GCC.
39654 2014-05-01  Will Newton  <will.newton@linaro.org>
39655             Bernard Ogden  <bernie.ogden@linaro.org>
39657         * NEWS: Update fixed bug list.
39659         [BZ #15119]
39660         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39662 2014-04-30  David S. Miller  <davem@davemloft.net>
39664         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39665         (libc_feholdexcept_setround_sparc_ctx): New function.
39666         (libc_fesetenv_sparc_ctx): Likewise.
39667         (libc_feupdateenv_sparc_ctx): Likewise.
39668         (libc_feholdsetround_sparc_ctx): Likewise.
39669         (libc_feholdexcept_setround_ctx): Define.
39670         (libc_feholdexcept_setroundf_ctx): Likewise.
39671         (libc_feholdexcept_setroundl_ctx): Likewise.
39672         (libc_fesetenv_ctx): Likewise.
39673         (libc_fesetenvf_ctx): Likewise.
39674         (libc_fesetenvl_ctx): Likewise.
39675         (libc_feupdateenv_ctx): Likewise.
39676         (libc_feupdateenvf_ctx): Likewise.
39677         (libc_feupdateenvl_ctx): Likewise.
39678         (libc_feresetround_ctx): Likewise.
39679         (libc_feresetroundf_ctx): Likewise.
39680         (libc_feresetroundl_ctx): Likewise.
39681         (libc_feholdsetround_ctx): Likewise.
39682         (libc_feholdsetroundf_ctx): Likewise.
39683         (libc_feholdsetroundl_ctx): Likewise.
39685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39686         with __USE_GNU instead of XOPEN cpp guards.
39688         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39689         0.
39691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39692         with XOPEN cpp guards.
39694 2014-04-30  Julian Brown  <julian@codesourcery.com>
39696         [BZ #16888]
39697         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39698         handling.
39700 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39702         [BZ #9894]
39703         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39704         Change to 2.6.32.
39705         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39706         * sysdeps/unix/sysv/linux/configure: Regenerated.
39707         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39708         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39709         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39710         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39711         * README: Update reference to required Linux kernel version.
39712         * manual/install.texi (Linux): Update reference to required Linux
39713         kernel headers version.
39714         * INSTALL: Regenerated.
39716         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39717         header inclusion.
39718         [POSIX] (limits.h): Likewise.
39719         [POSIX] (math.h): Likewise.
39720         [POSIX] (sys/wait.h): Likewise.
39721         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39722         function.
39723         [POSIX] (stddef.h): Do not allow header inclusion.
39725 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39727         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39729 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39731         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39732         Return immediately after lll_futex_wake.
39734 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39736         [BZ #16791]
39737         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39738         structure.
39739         (datahead_init_pos): Call datahead_init_common early.
39740         (datahead_init_neg): Likewise.
39742         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39743         datahead_init_neg): New functions.
39744         * nscd/aicache.c (addhstaiX): Use them.
39745         * nscd/grpcache.c (cache_addgr): Likewise.
39746         * nscd/hstcache.c (cache_addhst): Likewise.
39747         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39748         * nscd/netgroupcache.c (do_notfound): Likewise.
39749         (addgetnetgrentX): Likewise.
39750         (addinnetgrX): Likewise.
39751         * nscd/pwdcache.c (cache_addpw): Likewise.
39752         * nscd/servicescache.c (cache_addserv): Likewise.
39754 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39755             Atsushi Onoe  <atsushi@onoe.org>
39757         [BZ #14308]
39758         [BZ #12994]
39759         [BZ #13651]
39760         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39761         one response is valid.
39762         * resolv/res_send.c (send_dg): Check for validity of other
39763         response if the current response is a referral.
39765 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39767         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39769 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39771         [BZ #16823]
39772         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39773         Always divide by positive zero when computing -Inf result.
39774         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39775         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39777 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39779         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39780         FPSCR if value do not change.
39781         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39782         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39783         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39784         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39785         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39786         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39787         function.
39789 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39791         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39792         * sysdeps/unix/sysv/linux/hppa: Move directory from
39793         ports/systeps/unix/sysv/linux/hppa.
39794         * README: Update listing for hppa-*-linux-gnu.
39796 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39798         [BZ #16754]
39799         * manual/stdio.texi (Hook functions): Fix types of stream hook
39800         functions.
39801         [BZ #16854]
39802         * socket/sys/socket.h: Fix typo in comment.
39804 2014-04-28  Wilco  <wdijkstr@arm.com>
39806         * sysdeps/arm/fenv_private.h: New file.
39807         * sysdeps/arm/math_private.h: New file.
39808         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39810 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39812         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39813         with __int128_t.
39814         (La_x86_64_retval): Likewise.
39816 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39818         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39819         fpsr if value didn't change.
39820         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39821         to fpcr if value didn't change.
39822         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39823         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39824         fpsr or fpcr if value didn't change.
39825         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39826         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39827         fpcr if value didn't change.
39828         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39829         to fpsr if value didn't change.
39831 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39833         * nptl/tst-sem3.c: Use test-skeleton.c
39834         (main): Rename to do_test.  Use return instead of
39835         exit.
39836         * nptl/tst-sem4.c: Use test-skeleton.c
39837         (main): Rename to do_test.
39839 2014-04-22  David S. Miller  <davem@davemloft.net>
39841         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39842         (struct sigaction): New struct member __glibc_reserved0, change
39843         type of sa_flags to int.
39845 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39847         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39848         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39850 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39852         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39853         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39855 2014-04-22  Will Newton  <will.newton@linaro.org>
39856             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39858         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39859         (__longjmp): Add longjmp and longjmp_target SystemTap
39860         probes.
39861         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39862         (__sigsetjmp): Add setjmp SystemTap probe.
39864 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39866         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39867         match manual order.
39869 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39871         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39873         * sysdeps/powerpc/fpu/fenv_private.h
39874         (libc_feholdexcept_setroundl_ctx): Define to
39875         libc_feholdexcept_setround_ppc_ctx.
39876         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39877         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39878         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39879         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39881 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39883         * sysdeps/aarch64/math-tests.h: New file.
39885 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39887         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39888         New.
39889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39890         Check and set bit_AVX2_Usable.
39891         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39892         macro.
39893         (bit_AVX2): Likewise.
39894         (index_AVX2_Usable): Likewise.
39895         (CPUID_AVX2): Likewise.
39896         (HAS_AVX2): Likewise.
39898 2014-04-17  Will Newton  <will.newton@linaro.org>
39900         * manual/setjmp.texi (System V contexts): Add note that
39901         calling setcontext on a context created by a call to a
39902         signal handler is undefined.  Update text to note that
39903         setcontext from a signal handler is possible but not
39904         recommended.
39906         [BZ #16629]
39907         * stdlib/tst-setcontext.c: Include signal.h.
39908         (main): Check that the signal stack before and
39909         after swapcontext is the same.
39911         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39912         Re-implement to restore registers in user code and avoid
39913         rt_sigreturn system call.
39915 2014-04-17  Wilco  <wdijkstr@arm.com>
39917         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39918         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39919         * math/test-fenv.c: Skip exception trap tests on targets which only
39920         support non-stop mode.
39922 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39923             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39925         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39926         (libc_feholdsetround_aarch64_ctx)
39927         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39928         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39929         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39930         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39931         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39932         (libc_feresetround_noexl_ctx): Define.
39934 2014-04-16  Richard Henderson  <rth@redhat.com>
39936         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39938         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39939         unwind tables.
39941         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39942         const from the non-libc, non-ldso copy.
39944         * sysdeps/alpha/libm-test-ulps: Regenerate.
39946 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39947             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39949         * sysdeps/aarch64/fpu/math_private.h: New file.
39951 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39953         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39955 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39957         [BZ #16275]
39958         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39959         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39961         Intel MPX bound registers before _dl_profile_fixup.
39962         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39963         registers after _dl_profile_fixup.  Save and restore bound
39964         registers bnd0/bnd1 when calling _dl_call_pltexit.
39965         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39966         (LR_BND_OFFSET): Likewise.
39967         (LRV_BND0_OFFSET): Likewise.
39968         (LRV_BND1_OFFSET): Likewise.
39970 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39972         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39973         to...
39974         * sysdeps/mach/hurd/i386/tls.h: ... here.
39975         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39976         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39977         fields.
39979 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39981         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39983 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39985         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39987 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39989         [BZ #14770]
39990         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39991         * sysdeps/s390/configure: Regenerate.
39993         [BZ #16824]
39994         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39995         Set round-to-nearest internally to reduce error accumulation.
39997 2014-04-16  Alan Modra  <amodra@gmail.com>
39999         [BZ #16740]
40000         [BZ #16619]
40001         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40002         * math/libm-test.inc (frexp_test_data): Add tests.
40003         * NEWS: Update fixed bug list.
40005 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40007         * benchtests/Makefile: Depend on libraries in build directory.
40008         (bench-math): Separate out math tests.
40009         (bench-pthread): Separate out pthread tests.
40010         (bench): Include math and pthread tests.
40012 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40014         [BZ #16831]
40015         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40016         _dl_debug_initialize.
40018         * configure.ac: Remove SELinux header check.
40019         * configure: Regenerate.
40020         * nscd/selinux.c (perms): Array of const char* to permission names.
40021         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40022         default policy. Call string_to_security_class and string_to_av_perm to
40023         translate strings. Enforce default policy and call avs_has_perm with
40024         results of translated strings.
40026 2014-04-13  David S. Miller  <davem@davemloft.net>
40028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40030 2014-04-12  Allan McRae  <allan@archlinux.org>
40032         [BZ #16838]
40033         * manual/string.texi (Collation Functions): Fix qsort argument
40034         order in example.
40035         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40037 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40039         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40040         Make the test a no-op if there are no exceptions defined.
40042 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40044         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40045         enable-hardcoded-path-in-tests
40047 2014-04-11  Will Newton  <will.newton@linaro.org>
40049         * benchtests/Makefile (extra-objs): Add json-lib.o.
40050         (bench-func): Tidy up JSON output.
40051         * benchtests/bench-skeleton.c: Include json-lib.h.
40052         (main): Use JSON library functions to do output of
40053         benchmark results.
40054         * benchtests/bench-timing-type.c (main): Output the
40055         timing type simply, leaving formatting to the user.
40056         * benchtests/json-lib.c: New file.
40057         * benchtests/json-lib.h: Likewise.
40059 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40061         [BZ #15215]
40062         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40063         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40064         memory barriers.  Add comments.
40065         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40066         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40067         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40068         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40069         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40070         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40072 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40074         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40075         * sysdeps/s390/s390-64/configure.ac: ... this ...
40076         * sysdeps/s390/configure.ac: ... to here.
40077         * sysdeps/s390/s390-32/configure: Delete file.
40078         * sysdeps/s390/s390-64/configure: Delete file.
40079         * sysdeps/s390/configure: Regenerate.
40081 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40083         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40085 2014-04-11  Will Newton  <will.newton@linaro.org>
40087         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40088         to zero if it is not defined elsewhere.  (mtrim): Test
40089         the value of MALLOC_DEBUG with #if rather than #ifdef.
40091 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40093         * benchtests/pthread_once-inputs: New file.
40094         * benchtests/pthread_once-source.c: New file.
40095         * benchtests/README: Update documentation.
40097 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40098             H.J. Lu  <hongjiu.lu@intel.com>
40100         [BZ #16275]
40101         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40102         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40103         * sysdeps/x86_64/configure: Regenerated.
40104         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40105         macro.
40106         (REGISTER_SAVE_RAX): Likewise.
40107         (REGISTER_SAVE_RCX): Likewise.
40108         (REGISTER_SAVE_RDX): Likewise.
40109         (REGISTER_SAVE_RSI): Likewise.
40110         (REGISTER_SAVE_RDI): Likewise.
40111         (REGISTER_SAVE_R8): Likewise.
40112         (REGISTER_SAVE_R9): Likewise.
40113         (REGISTER_SAVE_BND0): Likewise.
40114         (REGISTER_SAVE_BND1): Likewise.
40115         (REGISTER_SAVE_BND2): Likewise.
40116         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40117         bound registers when calling _dl_fixup.
40119 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40121         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40122         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40123         of its definition.
40124         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40125         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40126         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40127         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40128         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40129         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40130         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40132 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40134         [BZ #15514]
40135         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40136         pathconf(_PC_NAME_MAX).
40138 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40140         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40141         Remove macro usage.
40142         (__PTHREAD_SPINS): Move definition to ...
40143         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40144         (__PTHREAD_SPINS): ... here.
40145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40146         (__PTHREAD_SPIN): Likewise.
40147         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40148         (__PTHREAD_SPIN): Likewise.
40149         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40150         (__PTHREAD_SPIN): Likewise.
40151         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40152         (__PTHREAD_SPIN): Likewise.
40153         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40154         (__PTHREAD_SPIN): Likewise.
40155         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40156         (__PTHREAD_SPIN): Likewise.
40157         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40158         (__PTHREAD_SPIN): Likewise.
40159         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40160         (__PTHREAD_SPIN): Likewise.
40161         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40162         (__PTHREAD_SPIN): Likewise.
40163         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40164         (__PTHREAD_SPIN): Likewise.
40165         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40166         (__PTHREAD_SPIN): Likewise.
40167         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40168         (__PTHREAD_SPIN): Likewise.
40170         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40171         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40172         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40173         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40174         imply folder.
40175         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40176         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40177         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40178         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40179         correct imply path.
40180         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40181         strlen symbol for non multi-arch builds.
40182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40183         missing hidden_def and weak_alias.
40185 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40187         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40189 2014-04-07  Will Newton  <will.newton@linaro.org>
40191         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40192         and contents.  [!_LIBC] Remove #ifndef and contents.
40193         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40194         * string/memccpy.c (__memccpy): Use ANSI prototype.
40195         * string/memfrob.c (memfrob): Likewise.
40196         * string/strcoll.c (STRCOLL): Likewise.
40197         * string/strlen.c (strlen): Likewise.
40198         * string/strtok.c (STRTOK): Likewise.
40199         * string/strcat.c: Remove unused #include of memcopy.h.
40200         (strcat): Use ANSI prototype.
40201         * string/strchr.c: Remove unused #include of memcopy.h.
40202         (strchr): Use ANSI prototype.
40203         * string/strcmp.c: Remove unused #include of memcopy.h.
40204         (strcmp): Use ANSI prototype.
40205         * string/strcpy.c: Remove unused #include of memcopy.h.
40206         (strcpy): Use ANSI prototype.
40208 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40210         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40211         * config.make.in (config-extra-cppflags): Set it from
40212         libc_extra_cppflags.
40213         * configure.ac (libc_extra_cflags): Make it accumulate over
40214         configure fragments.
40215         (libc_extra_cppflags): New flag.
40216         * configure. Regenerate.
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40218         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40219         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40222         [BZ #16815]
40223         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40224         result for FE_DOWNWARD rounding mode.
40225         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40226         Likewise.
40227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40229 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40231         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40232         in function argument name.
40234 2014-04-03  David Svoboda  <svoboda@cert.org>
40236         [BZ #5666]
40237         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40238         explicitly.
40240 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40242         * elf/dl-unmap-segments.h: New file.
40243         * sysdeps/generic/ldsodefs.h
40244         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40245         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40246         * elf/dl-fptr.c: Likewise.
40247         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40248         * sysdeps/aarch64/tlsdesc.c: Likewise.
40249         * sysdeps/arm/tlsdesc.c: Likewise.
40250         * sysdeps/i386/tlsdesc.c: Likewise.
40251         * sysdeps/tile/dl-runtime.c: Likewise.
40252         * sysdeps/x86_64/tlsdesc.c: Likewise.
40253         * elf/dl-load.h: New file.
40254         * elf/dl-load.c: Include it.
40255         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40256         Macros moved to dl-load.h.
40257         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40258         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40259         Use _dl_unmap_segments in place of __munmap.
40260         Break out segment-mapping loop into ...
40261         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40263 2014-04-03  Will Newton  <will.newton@linaro.org>
40265         * elf/dl-lookup.c (do_lookup_x): Remove comment
40266         referring to nested function and move variable
40267         declarations down to before first use.
40269 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40271         [BZ #16799]
40272         [BZ #16800]
40273         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40274         with 0 numerator.
40275         * math/s_catanf.c (__catanf): Likewise.
40276         * math/s_catanh.c (__catanh): Likewise.
40277         * math/s_catanhf.c (__catanhf): Likewise.
40278         * math/s_catanhl.c (__catanhl): Likewise.
40279         * math/s_catanl.c (__catanl): Likewise.
40280         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40281         by positive zero when computing -Inf result.
40282         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40283         (catanh_test): Likewise.
40284         * sysdeps/i386/fpu/libm-test-ulps: Update.
40285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40287         [BZ #16789]
40288         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40289         instead of using underflowing value in computing result.
40290         * math/s_clog10.c (__clog10): Likewise.
40291         * math/s_clog10f.c (__clog10f): Likewise.
40292         * math/s_clog10l.c (__clog10l): Likewise.
40293         * math/s_clogf.c (__clogf): Likewise.
40294         * math/s_clogl.c (__clogl): Likewise.
40295         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40296         (clog10_test): Likewise.
40297         * sysdeps/i386/fpu/libm-test-ulps: Update.
40298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40300 2014-04-02  Alan Modra  <amodra@gmail.com>
40302         [BZ #16739]
40303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40304         output when value is near a power of two.  Use int64_t for lx and
40305         remove casts.  Use decimal rather than hex exponent constants.
40306         Don't use long double multiplication when double will suffice.
40307         * math/libm-test.inc (nextafter_test_data): Add tests.
40308         * NEWS: Add 16739 and 16786 to bug list.
40310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40312         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40314 2014-04-01  Will Newton  <will.newton@linaro.org>
40316         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40317         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40319 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40321         [BZ #13347]
40322         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40323         * nptl/tst-setuid2.c: New file.
40324         * nptl/Makefile (xtests): Add tst-setuid2.
40326 2014-04-01  Alan Modra  <amodra@gmail.com>
40328         [BZ #16786]
40329         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40331 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40333         [BZ #6803]
40334         [BZ #6804]
40335         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40336         set errno as appropriate.
40337         * math/w_scalbf.c (__scalbf): Likewise.
40338         * math/w_scalbl.c (__scalbl): Likewise.
40339         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40340         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40341         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40342         Add more NaN tests.
40344         [BZ #16349]
40345         * math/w_atan2.c: Include <errno.h>.
40346         (__atan2): Set errno for result underflowing to zero.
40347         * math/w_atan2f.c: Include <errno.h>.
40348         (__atan2f): Set errno for result underflowing to zero.
40349         * math/w_atan2l.c: Include <errno.h>.
40350         (__atan2l): Set errno for result underflowing to zero.
40351         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40352         tests.
40353         * math/auto-libm-test-out: Regenerated.
40355 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40357         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40358         Encode instruction correctly in little endian.
40359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40360         Likewise.
40361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40362         Likewise.
40363         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40364         Likewise.
40365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40366         Likewise.
40368 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40370         [BZ #9894]
40371         * sysdeps/unix/sysv/linux/kernel-features.h
40372         [__sparc__ && !__arch64__ && !__sparc_v9__]
40373         (__ASSUME_SET_ROBUST_LIST): Do not define.
40374         [__sparc__ && !__arch64__ && !__sparc_v9__]
40375         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40376         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40377         Likewise.
40378         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40379         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40380         (__ASSUME_REQUEUE_PI): Likewise.
40381         (__ASSUME_SET_ROBUST_LIST): Likewise.
40382         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40383         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40384         Undefine.
40385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40386         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40387         Likewise.
40388         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40389         Likewise.
40390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40391         Likewise.
40392         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40393         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40394         Undefine.
40395         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40396         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40397         Likewise.
40399         [BZ #16648]
40400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40402         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40404 2014-03-31  Will Newton  <will.newton@linaro.org>
40406         * benchtests/Makefile (bench): Add ffs and ffsll to list
40407         of tests.
40408         * benchtests/ffs-inputs: New file.
40409         * benchtests/ffsll-inputs: Likewise.
40411 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40413         [BZ #16770]
40414         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40415         too large before casting to int.
40416         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40417         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40418         * math/libm-test.inc (scalb_test_data): Add more tests.
40420 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40422         * benchtests/Makefile (DETAILED_OPT): New make option.
40423         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40424         set.
40425         * benchtests/bench-skeleton.c: Include stdbool.h.
40426         (main): Store and print timings per input.
40427         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40428         member to each argument value.
40429         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40430         (_print_arg_data): Initialize per-input timing to 0.
40432         * benchtests/Makefile (timing-type): New binary.
40433         (bench-clean): Also remove bench-timing-type.
40434         (bench): New target for timing-type.
40435         (bench-func): Print output in JSON format.
40436         * benchtests/bench-skeleton.c (main): Print output in JSON
40437         format.
40438         * benchtests/bench-timing-type.c: New file.
40439         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40440         (TIMING_PRINT_STATS): Remove.
40441         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40442         name separately.
40444         * benchtests/bench-modf.c: Remove.
40445         * benchtests/modf-inputs: New inputs file.
40447 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40449         [BZ #16362]
40450         * math/s_clog10.c (M_PI_LOG10E): New macro.
40451         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40452         imaginary parts are 0.
40453         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40454         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40455         imaginary parts are 0.
40456         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40457         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40458         imaginary parts are 0.
40459         * math/libm-test.inc (clog10_test_data): Update expected results
40460         for when real and imaginary parts are 0.
40462 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40464         * elf/dl-load.c: Finish conversion of __builtin_expect into
40465         __glibc_{un}likely.
40467 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40469         [BZ #16348]
40470         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40471         1+x for argument with exponent below -67.
40472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40473         Likewise.
40474         * math/auto-libm-test-in: Add more tests of exp.
40475         * math/auto-libm-test-out: Regenerated.
40477 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         [BZ #16759]
40480         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40481         (nscd_getnetgrent): Use it.
40483         [BZ #16760]
40484         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40485         of stpcpy.
40487 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40489         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40490         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40491         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40492         (lll_robust_unlock): Remove out of line section. Use cfi
40493         intrinsics.
40494         (LLL_STUB_UNWIND_INFO*): Remove.
40495         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40496         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40497         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40498         (lll_robust_unlock): Remove out of line section. Use cfi
40499         intrinsics.
40500         (LLL_STUB_UNWIND_INFO*): Remove.
40502 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40504         [BZ #16758]
40505         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40506         blank values.
40508 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40510         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40512 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40514         [BZ #16198]
40515         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40516         fnstenv.
40517         * math/test-fenv-preserve.c: New file.
40518         * math/Makefile (tests): Add test-fenv-preserve.
40520 2014-03-26  Will Newton <will.newton@linaro.org>
40522         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40524 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40526         * scripts/versionlist.awk: Partition the version sets and emit all
40527         GLIBC_* (sorted) before all others (sorted).
40529 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40531         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40532         GLIBC_2.2.5 version.
40534 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40536         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40537         calls.
40539         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40540         previous change.
40542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40544 2014-03-25  Andreas Schwab  <schwab@suse.de>
40546         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40547         label to be used after in6ailist is initialized.
40549 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40551         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40552         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40554 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40556         [BZ #16357]
40557         [BZ #16599]
40558         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40559         min_plus_half.
40560         (fp_formats): Update initializers.
40561         (init_fp_formats): Initialize new field.
40562         (output_for_one_input_case): Allow underflow for results up to
40563         min_plus_half.
40564         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40565         * math/auto-libm-test-in: Don't mark some underflows from asin and
40566         atanh as spurious.
40567         * math/auto-libm-test-out: Regenerated.
40568         * sysdeps/i386/fpu/libm-test-ulps: Update.
40569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40571 2014-03-25  Andreas Schwab  <schwab@suse.de>
40573         * libio/Makefile (tst-ftell-partial-wide-ENV)
40574         (tst-ftell-active-handler-ENV): Define.
40576 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40578         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40580 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40582         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40584 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40587         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40588         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40590 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40592         [BZ #16634]
40593         * elf/dl-load.c (open_verify): Add mode parameter.
40594         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40595         (open_path): Change from boolean 'secure' to complete flag 'mode'
40596         (_dl_map_object): Adjust.
40597         * elf/Makefile (tests): Add tst-dlopen-aout.
40598         * elf/tst-dlopen-aout.c: New test.
40600 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40602         [BZ #16714]
40603         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40604         (struct stat): Rename member pad0 to __glibc_reserved0.
40606         [BZ #16712]
40607         * sysdeps/s390/s390-32/bits/wordsize.h
40608         (__WORDSIZE32_SIZE_ULONG): New define.
40609         * sysdeps/s390/s390-64/bits/wordsize.h
40610         (__WORDSIZE32_SIZE_ULONG): Likewise.
40611         * sysdeps/generic/stdint.h (SIZE_MAX):
40612         Define as UL if __WORDSIZE32_SIZE_ULONG.
40614         [BZ #16713]
40615         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40616         (__glibc_reserved0): New variable.
40617         (sa_flags): Change type to int.
40619         * posix/Makefile (before-compile): Use += before-compile instead
40620         of a :=.
40622         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40623         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40625 2014-03-20  Andreas Schwab  <schwab@suse.de>
40627         [BZ #16743]
40628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40629         non-matching result from nscd.
40631 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40633         * scripts/bench.py: Moved to ...
40634         * benchtests/scripts/bench.py: ... here.
40635         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40637 2014-03-24  Andreas Schwab  <schwab@suse.de>
40639         [BZ #16002]
40640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40641         alloca_account and account alloca use for struct in6ailist.
40643 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40645         [BZ #16284]
40646         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40647         rounding mode to recompute results that overflow to infinity or
40648         underflow to zero.
40649         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40650         bug 16284.
40651         * math/auto-libm-test-out: Regenerated.
40652         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40653         (ccosh_test): Likewise.
40654         (csin_test_data): Use plus_oflow.
40655         (csin_test): Use ALL_RM_TEST.
40656         (csinh_test_data): Use plus_oflow.
40657         (csinh_test): Use ALL_RM_TEST.
40658         * sysdeps/i386/fpu/libm-test-ulps: Update.
40659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40661 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40663         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40664         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40665         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40667         [BZ #16731]
40668         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40669         when x - 1 is zero.
40670         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40671         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40672         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40673         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40674         argument is 1.
40675         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40676         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40677         zero.
40678         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40679         * sysdeps/i386/fpu/libm-test-ulps: Update.
40680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40682 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40684         * scripts/bench.pl: Remove file.
40685         * scripts/bench.py: New benchmark script.
40686         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40687         * benchtests/README: Mention python dependency.
40688         * scripts/pylintrc: New file.
40689         * scripts/pylint: New file.
40691         * bits/mathdef.h: Use #ifdef instead of #if.
40692         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40693         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40694         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40695         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40696         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40697         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40699 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40700             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40702         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40704         and strpbrk-ppc64 objects.
40705         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40706         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40707         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40708         multiarch strpbrk for POWER7.
40709         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40710         multiarch strpbrk for PPC64.
40711         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40712         ifunc selector.
40713         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40714         strpbrk for POWER7.
40716 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40718         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40719         (atan_test): Likewise.
40720         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40721         (atanh_test): Use ALL_RM_TEST.
40722         (atan2_test_data): Likewise.
40723         (cabs_test): Likewise.
40724         (cacosh_test): Likewise.
40725         (carg_test): Likewise.
40726         (casin_test): Likewise.
40727         (casinh_test): Likewise.
40728         (cbrt_test): Likewise.
40729         (csqrt_test): Likewise.
40730         (erf_test): Likewise.
40731         (erfc_test): Likewise.
40732         (pow10_test): Likewise.
40733         (exp2_test): Likewise.
40734         (hypot_test): Likewise.
40735         (j0_test): Likewise.
40736         (j1_test): Likewise.
40737         (lgamma_test): Likewise.
40738         (gamma_test): Likewise.
40739         (sincos_test): Likewise.
40740         (tanh_test): Likewise.
40741         (y0_test): Likewise.
40742         (y1_test): Likewise.
40743         * sysdeps/i386/fpu/libm-test-ulps: Update.
40744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40746 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40748         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40750         and strcspn-ppc64 objects.
40751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40752         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40753         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40754         multiarch strcspn for POWER7.
40755         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40756         multiarch strcspn for PPC64.
40757         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40758         ifunc selector.
40759         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40760         strcspn for POWER7.
40762 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40764         * math/gen-libm-test.pl (generate_testfile): Expect only function
40765         name as argument to AUTO_TESTS_* and pass results for all rounding
40766         modes to parse_args.
40767         (parse_auto_input): Separate inputs of automatic tests from
40768         outputs before storing in %auto_tests.
40769         * math/libm-test.inc (acos_test_data): Update call to
40770         AUTO_TESTS_f_f.
40771         (acos_test): Use ALL_RM_TEST.
40772         (acos_tonearest_test_data): Remove.
40773         (acos_test_tonearest): Likewise.
40774         (acos_towardzero_test_data): Likewise.
40775         (acos_test_towardzero): Likewise.
40776         (acos_downward_test_data): Likewise.
40777         (acos_test_downward): Likewise.
40778         (acos_upward_test_data): Likewise.
40779         (acos_test_upward): Likewise.
40780         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40781         (asin_test_data): Likewise.
40782         (asin_test): Use ALL_RM_TEST.
40783         (asin_tonearest_test_data): Remove.
40784         (asin_test_tonearest): Likewise.
40785         (asin_towardzero_test_data): Likewise.
40786         (asin_test_towardzero): Likewise.
40787         (asin_downward_test_data): Likewise.
40788         (asin_test_downward): Likewise.
40789         (asin_upward_test_data): Likewise.
40790         (asin_test_upward): Likewise.
40791         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40792         (atan_test_data): Likewise.
40793         (atanh_test_data): Likewise.
40794         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40795         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40796         (carg_test_data): Likewise.
40797         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40798         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40799         (ccosh_test_data): Likewise.
40800         (cexp_test_data): Likewise.
40801         (clog_test_data): Likewise.
40802         (clog10_test_data): Likewise.
40803         (cos_test_data): Update call to AUTO_TESTS_f_f.
40804         (cos_test): Use ALL_RM_TEST.
40805         (cos_tonearest_test_data): Remove.
40806         (cos_test_tonearest): Likewise.
40807         (cos_towardzero_test_data): Likewise.
40808         (cos_test_towardzero): Likewise.
40809         (cos_downward_test_data): Likewise.
40810         (cos_test_downward): Likewise.
40811         (cos_upward_test_data): Likewise.
40812         (cos_test_upward): Likewise.
40813         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40814         (cosh_test): Use ALL_RM_TEST.
40815         (cosh_tonearest_test_data): Remove.
40816         (cosh_test_tonearest): Likewise.
40817         (cosh_towardzero_test_data): Likewise.
40818         (cosh_test_towardzero): Likewise.
40819         (cosh_downward_test_data): Likewise.
40820         (cosh_test_downward): Likewise.
40821         (cosh_upward_test_data): Likewise.
40822         (cosh_test_upward): Likewise.
40823         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40824         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40825         (ctan_test_data): Likewise.
40826         (ctan_test): Use ALL_RM_TEST.
40827         (ctan_tonearest_test_data): Remove.
40828         (ctan_test_tonearest): Likewise.
40829         (ctan_towardzero_test_data): Likewise.
40830         (ctan_test_towardzero): Likewise.
40831         (ctan_downward_test_data): Likewise.
40832         (ctan_test_downward): Likewise.
40833         (ctan_upward_test_data): Likewise.
40834         (ctan_test_upward): Likewise.
40835         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40836         (ctanh_test): Use ALL_RM_TEST.
40837         (ctanh_tonearest_test_data): Remove.
40838         (ctanh_test_tonearest): Likewise.
40839         (ctanh_towardzero_test_data): Likewise.
40840         (ctanh_test_towardzero): Likewise.
40841         (ctanh_downward_test_data): Likewise.
40842         (ctanh_test_downward): Likewise.
40843         (ctanh_upward_test_data): Likewise.
40844         (ctanh_test_upward): Likewise.
40845         (erf_test_data): Update call to AUTO_TESTS_f_f.
40846         (erfc_test_data): Likewise.
40847         (exp_test_data): Likewise.
40848         (exp_test): Use ALL_RM_TEST.
40849         (exp_tonearest_test_data): Remove.
40850         (exp_test_tonearest): Likewise.
40851         (exp_towardzero_test_data): Likewise.
40852         (exp_test_towardzero): Likewise.
40853         (exp_downward_test_data): Likewise.
40854         (exp_test_downward): Likewise.
40855         (exp_upward_test_data): Likewise.
40856         (exp_test_upward): Likewise.
40857         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40858         (exp10_test): Use ALL_RM_TEST.
40859         (exp10_tonearest_test_data): Remove.
40860         (exp10_test_tonearest): Likewise.
40861         (exp10_towardzero_test_data): Likewise.
40862         (exp10_test_towardzero): Likewise.
40863         (exp10_downward_test_data): Likewise.
40864         (exp10_test_downward): Likewise.
40865         (exp10_upward_test_data): Likewise.
40866         (exp10_test_upward): Likewise.
40867         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40868         (expm1_test_data): Likewise.
40869         (expm1_test): Use ALL_RM_TEST.
40870         (expm1_tonearest_test_data): Remove.
40871         (expm1_test_tonearest): Likewise.
40872         (expm1_towardzero_test_data): Likewise.
40873         (expm1_test_towardzero): Likewise.
40874         (expm1_downward_test_data): Likewise.
40875         (expm1_test_downward): Likewise.
40876         (expm1_upward_test_data): Likewise.
40877         (expm1_test_upward): Likewise.
40878         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40879         (fma_test): Use ALL_RM_TEST.
40880         (fma_towardzero_test_data): Remove.
40881         (fma_test_towardzero): Likewise.
40882         (fma_downward_test_data): Likewise.
40883         (fma_test_downward): Likewise.
40884         (fma_upward_test_data): Likewise.
40885         (fma_test_upward): Likewise.
40886         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40887         (j0_test_data): Update call to AUTO_TESTS_f_f.
40888         (j1_test_data): Likewise.
40889         (jn_test_data): Update call to AUTO_TESTS_if_f.
40890         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40891         (log_test_data): Update call to AUTO_TESTS_f_f.
40892         (log10_test_data): Likewise.
40893         (log1p_test_data): Likewise.
40894         (log2_test_data): Likewise.
40895         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40896         (pow_tonearest_test_data): Likewise.
40897         (sin_test_data): Update call to AUTO_TESTS_f_f.
40898         (sin_test): Use ALL_RM_TEST.
40899         (sin_tonearest_test_data): Remove.
40900         (sin_test_tonearest): Likewise.
40901         (sin_towardzero_test_data): Likewise.
40902         (sin_test_towardzero): Likewise.
40903         (sin_downward_test_data): Likewise.
40904         (sin_test_downward): Likewise.
40905         (sin_upward_test_data): Likewise.
40906         (sin_test_upward): Likewise.
40907         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40908         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40909         (sinh_test): Use ALL_RM_TEST.
40910         (sinh_tonearest_test_data): Remove.
40911         (sinh_test_tonearest): Likewise.
40912         (sinh_towardzero_test_data): Likewise.
40913         (sinh_test_towardzero): Likewise.
40914         (sinh_downward_test_data): Likewise.
40915         (sinh_test_downward): Likewise.
40916         (sinh_upward_test_data): Likewise.
40917         (sinh_test_upward): Likewise.
40918         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40919         (sqrt_test): Use ALL_RM_TEST.
40920         (sqrt_tonearest_test_data): Remove.
40921         (sqrt_test_tonearest): Likewise.
40922         (sqrt_towardzero_test_data): Likewise.
40923         (sqrt_test_towardzero): Likewise.
40924         (sqrt_downward_test_data): Likewise.
40925         (sqrt_test_downward): Likewise.
40926         (sqrt_upward_test_data): Likewise.
40927         (sqrt_test_upward): Likewise.
40928         (tan_test_data): Update call to AUTO_TESTS_f_f.
40929         (tan_test): Use ALL_RM_TEST.
40930         (tan_tonearest_test_data): Remove.
40931         (tan_test_tonearest): Likewise.
40932         (tan_towardzero_test_data): Likewise.
40933         (tan_test_towardzero): Likewise.
40934         (tan_downward_test_data): Likewise.
40935         (tan_test_downward): Likewise.
40936         (tan_upward_test_data): Likewise.
40937         (tan_test_upward): Likewise.
40938         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40939         (tgamma_test_data): Likewise.
40940         (y0_test_data): Likewise.
40941         (y1_test_data): Likewise.
40942         (yn_test_data): Update call to AUTO_TESTS_if_f.
40943         (main): Do not call removed functions.
40945 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40947         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40948         (ldexp_test_data): Remove.
40949         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40950         scalbn_test_data.
40951         (scalb_test): Use ALL_RM_TEST.
40953 2014-03-19  Andreas Schwab  <schwab@suse.de>
40955         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40957 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40959         [BZ #16649]
40960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40961         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40962         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40964         (__ASSUME_PREADV): Undefine.
40965         (__ASSUME_PWRITEV): Likewise.
40967 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40969         * bits/mman-linux.h: Add comment about non-Linux use.
40970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40971         bits/mman-linux.h resting place.
40973         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40974         * bits/mman-linux.h: ... here.
40976 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40978         * conform/conformtest.pl: Add standard definition when calling C
40979         preprocessor on data files.
40980         (checknamespace): Remove unused variable.
40982 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40984         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40985         minus_oflow, plus_uflow and minus_uflow in expected results.
40986         * math/libm-test.inc (scalbn_test_data): Add more tests of
40987         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40988         minus_uflow.
40989         (scalbn_test): Use ALL_RM_TEST.
40990         (scalbln_test_data): Add more tests of negative arguments.  Use
40991         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40992         (scalbln_test): Use ALL_RM_TEST.
40994 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40996         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40998 2014-03-18  Will Newton  <will.newton@linaro.org>
41000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41001         inaccurate comment.
41003 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41005         * Makerules [!subdir] (check-abi): Exit with error status if a
41006         test failed.
41008 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41010         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41011         for rint.  Include results for all rounding modes.
41012         (nearbyint_test): Use ALL_RM_TEST.
41013         (rint_test_data): Include all tests used for nearbyint.
41015 2014-03-17  Will Newton  <will.newton@linaro.org>
41017         * nptl/sysdeps/pthread/pthread.h: Revert previous
41018         change.
41020         * sysdeps/generic/ldsodefs.h: Revert previous
41021         change.
41023         * libio/genops.c: Revert previous change.
41024         * libio/libioP.h: Likewise.
41025         * stdio-common/vfprintf.c: Likewise.
41027         * sysdeps/generic/math_private.h: Revert previous
41028         change.
41030         * sysdeps/generic/math_private.h: Check whether
41031         HAVE_RM_CTX is defined with #ifdef rather
41032         than #if.
41034         * argp/argp-fmtstream.h: Check whether
41035         __STRICT_ANSI__ is defined with #ifdef rather
41036         than #if.
41037         * argp/argp.h: Likewise.
41039         * libio/genops.c: Check whether
41040         _IO_JUMPS_OFFSET is defined with #ifdef rather
41041         than #if.
41042         * libio/libioP.h: Likewise.
41043         * stdio-common/vfprintf.c: Likewise.
41045         * sysdeps/generic/ldsodefs.h: Check whether
41046         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41047         than #if.
41049         * nptl/sysdeps/pthread/pthread.h: Check
41050         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41051         its value.
41053 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41055         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41056         setting O_APPEND.
41057         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41058         test case.
41060         [BZ #16680]
41061         * libio/fileops.c (_IO_file_open): Seek to end of file but
41062         don't cache the offset.
41063         (get_file_offset): Remove function.
41064         (do_ftell): Use cached offset when available.
41065         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41066         don't cache the offset.
41067         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41068         case.
41069         (do_one_test): Call it.
41070         (do_ftell_test): Fix up expected old offset for a+ mode.
41071         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41072         available.
41074         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41075         up test status with function return status.
41076         (do_write_test): Likewise.
41077         (do_append_test): Likewise.
41079         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41080         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41081         Remove.
41083 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41085         * math/gen-libm-test.pl (parse_args): Handle results specified for
41086         each rounding mode separately.
41087         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41088         tests and results from lrint_tonearest_test_data,
41089         lrint_towardzero_test_data, lrint_downward_test_data and
41090         lrint_upward_test_data.
41091         (lrint_test): Use ALL_RM_TEST.
41092         (lrint_tonearest_test_data): Remove.
41093         (lrint_test_tonearest): Likewise.
41094         (lrint_towardzero_test_data): Likewise.
41095         (lrint_test_towardzero): Likewise.
41096         (lrint_downward_test_data): Likewise.
41097         (lrint_test_downward): Likewise.
41098         (lrint_upward_test_data): Likewise.
41099         (lrint_test_upward): Likewise.
41100         (llrint_test_data): Merge in per-rounding-mode tests and results
41101         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41102         llrint_downward_test_data and llrint_upward_test_data.
41103         (llrint_test): Use ALL_RM_TEST.
41104         (llrint_tonearest_test_data): Remove.
41105         (llrint_test_tonearest): Likewise.
41106         (llrint_towardzero_test_data): Likewise.
41107         (llrint_test_towardzero): Likewise.
41108         (llrint_downward_test_data): Likewise.
41109         (llrint_test_downward): Likewise.
41110         (llrint_upward_test_data): Likewise.
41111         (llrint_test_upward): Likewise.
41112         (rint_test_data): Merge in per-rounding-mode tests and results
41113         from rint_tonearest_test_data, rint_towardzero_test_data,
41114         rint_downward_test_data and rint_upward_test_data.  Add
41115         per-rounding-mode results for tests not in those arrays.
41116         (rint_test): Use ALL_RM_TEST.
41117         (rint_tonearest_test_data): Remove.
41118         (rint_test_tonearest): Likewise.
41119         (rint_towardzero_test_data): Likewise.
41120         (rint_test_towardzero): Likewise.
41121         (rint_downward_test_data): Likewise.
41122         (rint_test_downward): Likewise.
41123         (rint_upward_test_data): Likewise.
41124         (rint_test_upward): Likewise.
41125         (main): Don't call removed functions.
41127 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41129         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41130         "Compiled on ..." crapola.  It is anti-useful.
41132 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41134         * scripts/evaluate-test.sh: Handle fourth argument to determine
41135         whether test run should stop on failure.
41136         * Makeconfig (stop-on-test-failure): New variable.
41137         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41138         $(stop-on-test-failure).
41139         * Makefile (tests): Give a summary of results from testing and
41140         exit with failure status if they include an ERROR or FAIL.
41141         (xtests): Likewise.
41142         * manual/install.texi (Configuring and compiling): Mention
41143         stop-on-test-failure=y.
41144         * INSTALL: Regenerated.
41146 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41148         * scripts/versionlist.awk: New file.
41149         * Makerules [$(build-shared) = yes]
41150         (postclean-generated): Add Versions.def, not Versions.def.v and
41151         Versions.def.v.i.
41152         ($(common-objpfx)Versions.def.v.i): Target removed.
41153         ($(common-objpfx)Versions.def): New target.
41154         ($(common-objpfx)Versions.all): Depend on that rather that
41155         $(common-objpfx)Versions.def.v.
41156         * Versions.def: File removed.
41158         * Makeconfig (+gccwarn): Add -Wundef.
41159         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41160         a dl-sysdep.h breaking its contract.
41161         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41162         * include/stackinfo.h: New file.
41163         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41164         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41165         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41166         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41167         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41168         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41169         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41170         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41171         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41172         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41173         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41174         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41175         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41176         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41177         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41179 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41181         [BZ #16707]
41182         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41183         implementation.
41184         * math/libm-test.inc (round_test_data): Add more tests.
41186         [BZ #16706]
41187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41188         implementation.
41189         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41191         [BZ #16701]
41192         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41193         implementation.
41194         * math/libm-test.inc (ceil_test_data): Add more tests.
41196         * math/libm-test.inc (trunc_test_data): Add more tests related to
41197         BZ#16414.
41199 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41201         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41202         with #if rather than #ifdef.
41203         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41205 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41207         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41208         first.  Disable AVX-512 GCC support if assembler doesn't support
41209         it.
41210         * sysdeps/x86_64/configure: Regenerated.
41212 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41214         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41215         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41216         (__old_pthread_attr_setstack): Likewise.
41217         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41218         [!_STACK_GROWS_DOWN]: Likewise.
41220 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41222         * config.make.in (have-bash2): Delete.
41223         * configure.ac (libc_cv_have_bash2): Delete.
41224         * configure: Regenerate.
41225         * elf/Makefile (common-ldd-rewrite): Rename to ...
41226         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41227         (sh-ldd-rewrite): Delete.
41228         (bash-ldd-rewrite): Delete.
41229         (have-bash2): Delete checks.
41230         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41231         ldd-rewrite.
41233         * config.make.in (have-ksh): Delete.
41234         (KSH): Delete.
41235         * configure.ac (libc_cv_have_ksh): Delete.
41236         * configure: Regenerate.
41238         * elf/Makefile: Delete $(have-ksh) check.
41239         ($(objpfx)sotruss): Change KSH to BASH.
41240         * elf/sotruss.ksh: Rename to ...
41241         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41242         function style to match POSIX.  Drop ksh vim mode setting.
41244         * manual/time.texi (Specifying the Time Zone with TZ): Change
41245         Tuesday to Thursday.
41247         * debug/tst-longjmp_chk2.c: Update header comment.
41248         (stackoverflow_handler): Add comment.  Call assert on pass value.
41250 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41252         [BZ #16194]
41253         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41254         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41255         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41256         (La_x86_64_vector): Add zmm.
41257         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41258         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41259         ($(objpfx)tst-audit10): New target.
41260         ($(objpfx)tst-audit10.out): Likewise.
41261         (tst-audit10-ENV): New.
41262         (AVX512-CFLAGS): Likewise.
41263         (CFLAGS-tst-audit10.c): Likewise.
41264         (CFLAGS-tst-auditmod10a.c): Likewise.
41265         (CFLAGS-tst-auditmod10b.c): Likewise.
41266         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41267         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41268         * sysdeps/x86_64/configure: Regenerated.
41269         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41270         AVX-512 zmm register support.
41271         (_dl_x86_64_save_sse): Likewise.
41272         (_dl_x86_64_restore_sse): Likewise.
41273         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41274         size vector registers.
41275         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41276         (ZMM_SIZE): Likewise.
41277         * sysdeps/x86_64/tst-audit10.c: New file.
41278         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41279         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41281 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41283         * configure.ac (HAVE_EHDR_START): New check.
41284         * configure: Regenerated.
41285         * config.h.in (HAVE_EHDR_START): New #undef.
41286         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41287         assuming the lowest-addressed segment maps the start of the file.
41289 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41291         * INSTALL: Regenerated.
41293 2014-03-13  Will Newton  <will.newton@linaro.org>
41295         * manual/setjmp.texi (System V contexts): Improve
41296         clarity and grammar of documentation.
41298 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41300         [BZ #16381]
41301         * elf/Makefile (tests): Add tst-pie2.
41302         (tests-pie): Add tst-pie2.
41303         * elf/tst-pie2.c: New file.
41304         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41305         for ET_EXEC.
41306         * elf/rtld.c (map_doit): Load executable as lt_executable.
41307         (dl_main): Likewise.
41309 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41311         [BZ #16642]
41312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41313         (__ASSUME_PSELECT): Undefine.
41315 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41317         [BZ #16689]
41318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41319         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41320         static build.
41321         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41322         selector for static builds.
41324 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41326         [BZ #16695]
41327         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41328         key in the buffer.
41330 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41332         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41333         IFUNC selector for static builds.
41335 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41337         * sysdeps/mips/math_private.h [__mips_hard_float]
41338         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41339         libc_feresetround_mips_ctx.
41340         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41341         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41342         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41344         [BZ #16677]
41345         * math/s_nextafter.c (__nextafter): Do not return value from
41346         overflowing computation.
41347         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41348         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41349         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41350         Likewise.
41351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41352         Likewise.
41353         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41354         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41356 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41358         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41359         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41360         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41361         the new mov targetting sp.
41363 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41365         [BZ #16683]
41366         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41367         Define it for static builds as well.
41368         (NO_BZERO_IMPL): Likewise.
41370 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41372         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41373         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41374         multiarch strspn for PPC64.
41375         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41376         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41378         (__libc_ifunc_impl_list): Likewise.
41379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41380         multiarch optimizations
41381         * string/strspn.c (strspn): Using macro to redefine symbol name.
41383 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41384             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41386         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41387         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41388         multiarch strncat for PPC64.
41389         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41390         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41392         (__libc_ifunc_impl_list): Likewise.
41393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41394         multiarch optimizations
41396 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41398         [BZ #16639]
41399         * nscd/nscd.service: Make service type forking.
41401 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41403         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41404         sign in non default rounding modes.
41405         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41407 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41409         * math/libm-test.inc (ALL_RM_TEST): New macro.
41410         (ceil_test): Use ALL_RM_TEST.
41411         (cimag_test): Likewise.
41412         (conj_test): Likewise.
41413         (copysign_test): Likewise.
41414         (cproj_test): Likewise.
41415         (creal_test): Likewise.
41416         (fabs_test): Likewise.
41417         (floor_test): Likewise.
41418         (fmax_test): Likewise.
41419         (fmin_test): Likewise.
41420         (fmod_test): Likewise.
41421         (fpclassify_test): Likewise.
41422         (frexp_test): Likewise.
41423         (ilogb_test): Likewise.
41424         (isfinite_test): Likewise.
41425         (finite_test): Likewise.
41426         (isgreater_test): Likewise.
41427         (isgreaterequal_test): Likewise.
41428         (isinf_test): Likewise.
41429         (isless_test): Likewise.
41430         (islessequal_test): Likewise.
41431         (islessgreater_test): Likewise.
41432         (isnan_test): Likewise.
41433         (isnormal_test): Likewise.
41434         (issignaling_test): Likewise.
41435         (isunordered_test): Likewise.
41436         (logb_test): Likewise.
41437         (logb_downward_test_data): Remove.
41438         (logb_test_downward): Likewise.
41439         (lround_test): Use ALL_RM_TEST.
41440         (llround_test): Likewise.
41441         (modf_test): Likewise.
41442         (nexttoward_test): Likewise.
41443         (remainder_test): Likewise.
41444         (drem_test): Likewise.
41445         (remainder_tonearest_test_data): Likewise.
41446         (remainder_test_tonearest): Likewise.
41447         (drem_test_tonearest): Likewise.
41448         (remainder_towardzero_test_data): Likewise.
41449         (remainder_test_towardzero): Likewise.
41450         (drem_test_towardzero): Likewise.
41451         (remainder_downward_test_data): Likewise.
41452         (remainder_test_downward): Likewise.
41453         (drem_test_downward): Likewise.
41454         (remainder_upward_test_data): Likewise.
41455         (remainder_test_upward): Likewise.
41456         (drem_test_upward): Likewise.
41457         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41458         (round_test): Use ALL_RM_TEST.
41459         (signbit_test): Likewise.
41460         (trunc_test): Likewise.
41461         (significand_test): Likewise.
41462         (main): Don't call removed functions.
41464 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41466         [BZ #16674]
41467         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41468         || __USE_XOPEN2K8].
41469         (ILL_ILLOPN): Likewise.
41470         (ILL_ILLADR): Likewise.
41471         (ILL_ILLTRP): Likewise.
41472         (ILL_PRVOPC): Likewise.
41473         (ILL_PRVREG): Likewise.
41474         (ILL_COPROC): Likewise.
41475         (ILL_BADSTK): Likewise.
41476         (FPE_INTDIV): Likewise.
41477         (FPE_INTOVF): Likewise.
41478         (FPE_FLTDIV): Likewise.
41479         (FPE_FLTOVF): Likewise.
41480         (FPE_FLTUND): Likewise.
41481         (FPE_FLTRES): Likewise.
41482         (FPE_FLTINV): Likewise.
41483         (FPE_FLTSUB): Likewise.
41484         (SEGV_MAPERR): Likewise.
41485         (SEGV_ACCERR): Likewise.
41486         (BUS_ADRALN): Likewise.
41487         (BUS_ADRERR): Likewise.
41488         (BUS_OBJERR): Likewise.
41489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41490         (TRAP_TRACE): Likewise.
41491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41492         __USE_XOPEN2K8].
41493         (CLD_KILLED): Likewise.
41494         (CLD_DUMPED): Likewise.
41495         (CLD_TRAPPED): Likewise.
41496         (CLD_STOPPED): Likewise.
41497         (CLD_CONTINUED): Likewise.
41498         (POLL_IN): Likewise.
41499         (POLL_OUT): Likewise.
41500         (POLL_MSG): Likewise.
41501         (POLL_ERR): Likewise.
41502         (POLL_PRI): Likewise.
41503         (POLL_HUP): Likewise.
41504         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41505         Likewise.
41506         (ILL_ILLOPN): Likewise.
41507         (ILL_ILLADR): Likewise.
41508         (ILL_ILLTRP): Likewise.
41509         (ILL_PRVOPC): Likewise.
41510         (ILL_PRVREG): Likewise.
41511         (ILL_COPROC): Likewise.
41512         (ILL_BADSTK): Likewise.
41513         (FPE_INTDIV): Likewise.
41514         (FPE_INTOVF): Likewise.
41515         (FPE_FLTDIV): Likewise.
41516         (FPE_FLTOVF): Likewise.
41517         (FPE_FLTUND): Likewise.
41518         (FPE_FLTRES): Likewise.
41519         (FPE_FLTINV): Likewise.
41520         (FPE_FLTSUB): Likewise.
41521         (SEGV_MAPERR): Likewise.
41522         (SEGV_ACCERR): Likewise.
41523         (BUS_ADRALN): Likewise.
41524         (BUS_ADRERR): Likewise.
41525         (BUS_OBJERR): Likewise.
41526         (BUS_MCEERR_AR): Likewise.
41527         (BUS_MCEERR_AO): Likewise.
41528         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41529         (TRAP_TRACE): Likewise.
41530         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41531         __USE_XOPEN2K8].
41532         (CLD_KILLED): Likewise.
41533         (CLD_DUMPED): Likewise.
41534         (CLD_TRAPPED): Likewise.
41535         (CLD_STOPPED): Likewise.
41536         (CLD_CONTINUED): Likewise.
41537         (POLL_IN): Likewise.
41538         (POLL_OUT): Likewise.
41539         (POLL_MSG): Likewise.
41540         (POLL_ERR): Likewise.
41541         (POLL_PRI): Likewise.
41542         (POLL_HUP): Likewise.
41543         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41544         (ILL_ILLOPN): Likewise.
41545         (ILL_ILLADR): Likewise.
41546         (ILL_ILLTRP): Likewise.
41547         (ILL_PRVOPC): Likewise.
41548         (ILL_PRVREG): Likewise.
41549         (ILL_COPROC): Likewise.
41550         (ILL_BADSTK): Likewise.
41551         (FPE_INTDIV): Likewise.
41552         (FPE_INTOVF): Likewise.
41553         (FPE_FLTDIV): Likewise.
41554         (FPE_FLTOVF): Likewise.
41555         (FPE_FLTUND): Likewise.
41556         (FPE_FLTRES): Likewise.
41557         (FPE_FLTINV): Likewise.
41558         (FPE_FLTSUB): Likewise.
41559         (SEGV_MAPERR): Likewise.
41560         (SEGV_ACCERR): Likewise.
41561         (BUS_ADRALN): Likewise.
41562         (BUS_ADRERR): Likewise.
41563         (BUS_OBJERR): Likewise.
41564         (BUS_MCEERR_AR): Likewise.
41565         (BUS_MCEERR_AO): Likewise.
41566         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41567         (TRAP_TRACE): Likewise.
41568         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41569         __USE_XOPEN2K8].
41570         (CLD_KILLED): Likewise.
41571         (CLD_DUMPED): Likewise.
41572         (CLD_TRAPPED): Likewise.
41573         (CLD_STOPPED): Likewise.
41574         (CLD_CONTINUED): Likewise.
41575         (POLL_IN): Likewise.
41576         (POLL_OUT): Likewise.
41577         (POLL_MSG): Likewise.
41578         (POLL_ERR): Likewise.
41579         (POLL_PRI): Likewise.
41580         (POLL_HUP): Likewise.
41581         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41582         Likewise.
41583         (ILL_ILLOPN): Likewise.
41584         (ILL_ILLADR): Likewise.
41585         (ILL_ILLTRP): Likewise.
41586         (ILL_PRVOPC): Likewise.
41587         (ILL_PRVREG): Likewise.
41588         (ILL_COPROC): Likewise.
41589         (ILL_BADSTK): Likewise.
41590         (ILL_BADIADDR): Likewise.
41591         (ILL_BREAK): Likewise.
41592         (FPE_INTDIV): Likewise.
41593         (FPE_INTOVF): Likewise.
41594         (FPE_FLTDIV): Likewise.
41595         (FPE_FLTOVF): Likewise.
41596         (FPE_FLTUND): Likewise.
41597         (FPE_FLTRES): Likewise.
41598         (FPE_FLTINV): Likewise.
41599         (FPE_FLTSUB): Likewise.
41600         (FPE_DECOVF): Likewise.
41601         (FPE_DECDIV): Likewise.
41602         (FPE_DECERR): Likewise.
41603         (FPE_INVASC): Likewise.
41604         (FPE_INVDEC): Likewise.
41605         (SEGV_MAPERR): Likewise.
41606         (SEGV_ACCERR): Likewise.
41607         (SEGV_PSTKOVF): Likewise.
41608         (BUS_ADRALN): Likewise.
41609         (BUS_ADRERR): Likewise.
41610         (BUS_OBJERR): Likewise.
41611         (BUS_MCEERR_AR): Likewise.
41612         (BUS_MCEERR_AO): Likewise.
41613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41614         (TRAP_TRACE): Likewise.
41615         (TRAP_BRANCH): Likewise.
41616         (TRAP_HWBKPT): Likewise.
41617         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41618         __USE_XOPEN2K8].
41619         (CLD_KILLED): Likewise.
41620         (CLD_DUMPED): Likewise.
41621         (CLD_TRAPPED): Likewise.
41622         (CLD_STOPPED): Likewise.
41623         (CLD_CONTINUED): Likewise.
41624         (POLL_IN): Likewise.
41625         (POLL_OUT): Likewise.
41626         (POLL_MSG): Likewise.
41627         (POLL_ERR): Likewise.
41628         (POLL_PRI): Likewise.
41629         (POLL_HUP): Likewise.
41630         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41631         (ILL_ILLOPN): Likewise.
41632         (ILL_ILLADR): Likewise.
41633         (ILL_ILLTRP): Likewise.
41634         (ILL_PRVOPC): Likewise.
41635         (ILL_PRVREG): Likewise.
41636         (ILL_COPROC): Likewise.
41637         (ILL_BADSTK): Likewise.
41638         (FPE_INTDIV): Likewise.
41639         (FPE_INTOVF): Likewise.
41640         (FPE_FLTDIV): Likewise.
41641         (FPE_FLTOVF): Likewise.
41642         (FPE_FLTUND): Likewise.
41643         (FPE_FLTRES): Likewise.
41644         (FPE_FLTINV): Likewise.
41645         (FPE_FLTSUB): Likewise.
41646         (SEGV_MAPERR): Likewise.
41647         (SEGV_ACCERR): Likewise.
41648         (BUS_ADRALN): Likewise.
41649         (BUS_ADRERR): Likewise.
41650         (BUS_OBJERR): Likewise.
41651         (BUS_MCEERR_AR): Likewise.
41652         (BUS_MCEERR_AO): Likewise.
41653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41654         (TRAP_TRACE): Likewise.
41655         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41656         __USE_XOPEN2K8].
41657         (CLD_KILLED): Likewise.
41658         (CLD_DUMPED): Likewise.
41659         (CLD_TRAPPED): Likewise.
41660         (CLD_STOPPED): Likewise.
41661         (CLD_CONTINUED): Likewise.
41662         (POLL_IN): Likewise.
41663         (POLL_OUT): Likewise.
41664         (POLL_MSG): Likewise.
41665         (POLL_ERR): Likewise.
41666         (POLL_PRI): Likewise.
41667         (POLL_HUP): Likewise.
41668         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41669         (ILL_ILLOPN): Likewise.
41670         (ILL_ILLADR): Likewise.
41671         (ILL_ILLTRP): Likewise.
41672         (ILL_PRVOPC): Likewise.
41673         (ILL_PRVREG): Likewise.
41674         (ILL_COPROC): Likewise.
41675         (ILL_BADSTK): Likewise.
41676         (FPE_INTDIV): Likewise.
41677         (FPE_INTOVF): Likewise.
41678         (FPE_FLTDIV): Likewise.
41679         (FPE_FLTOVF): Likewise.
41680         (FPE_FLTUND): Likewise.
41681         (FPE_FLTRES): Likewise.
41682         (FPE_FLTINV): Likewise.
41683         (FPE_FLTSUB): Likewise.
41684         (SEGV_MAPERR): Likewise.
41685         (SEGV_ACCERR): Likewise.
41686         (BUS_ADRALN): Likewise.
41687         (BUS_ADRERR): Likewise.
41688         (BUS_OBJERR): Likewise.
41689         (BUS_MCEERR_AR): Likewise.
41690         (BUS_MCEERR_AO): Likewise.
41691         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41692         (TRAP_TRACE): Likewise.
41693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41694         __USE_XOPEN2K8].
41695         (CLD_KILLED): Likewise.
41696         (CLD_DUMPED): Likewise.
41697         (CLD_TRAPPED): Likewise.
41698         (CLD_STOPPED): Likewise.
41699         (CLD_CONTINUED): Likewise.
41700         (POLL_IN): Likewise.
41701         (POLL_OUT): Likewise.
41702         (POLL_MSG): Likewise.
41703         (POLL_ERR): Likewise.
41704         (POLL_PRI): Likewise.
41705         (POLL_HUP): Likewise.
41706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41707         (ILL_ILLOPN): Likewise.
41708         (ILL_ILLADR): Likewise.
41709         (ILL_ILLTRP): Likewise.
41710         (ILL_PRVOPC): Likewise.
41711         (ILL_PRVREG): Likewise.
41712         (ILL_COPROC): Likewise.
41713         (ILL_BADSTK): Likewise.
41714         (FPE_INTDIV): Likewise.
41715         (FPE_INTOVF): Likewise.
41716         (FPE_FLTDIV): Likewise.
41717         (FPE_FLTOVF): Likewise.
41718         (FPE_FLTUND): Likewise.
41719         (FPE_FLTRES): Likewise.
41720         (FPE_FLTINV): Likewise.
41721         (FPE_FLTSUB): Likewise.
41722         (SEGV_MAPERR): Likewise.
41723         (SEGV_ACCERR): Likewise.
41724         (BUS_ADRALN): Likewise.
41725         (BUS_ADRERR): Likewise.
41726         (BUS_OBJERR): Likewise.
41727         (BUS_MCEERR_AR): Likewise.
41728         (BUS_MCEERR_AO): Likewise.
41729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41730         (TRAP_TRACE): Likewise.
41731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41732         __USE_XOPEN2K8].
41733         (CLD_KILLED): Likewise.
41734         (CLD_DUMPED): Likewise.
41735         (CLD_TRAPPED): Likewise.
41736         (CLD_STOPPED): Likewise.
41737         (CLD_CONTINUED): Likewise.
41738         (POLL_IN): Likewise.
41739         (POLL_OUT): Likewise.
41740         (POLL_MSG): Likewise.
41741         (POLL_ERR): Likewise.
41742         (POLL_PRI): Likewise.
41743         (POLL_HUP): Likewise.
41744         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41745         (ILL_ILLOPN): Likewise.
41746         (ILL_ILLADR): Likewise.
41747         (ILL_ILLTRP): Likewise.
41748         (ILL_PRVOPC): Likewise.
41749         (ILL_PRVREG): Likewise.
41750         (ILL_COPROC): Likewise.
41751         (ILL_BADSTK): Likewise.
41752         (ILL_DBLFLT): Likewise.
41753         (ILL_HARDWALL): Likewise.
41754         (FPE_INTDIV): Likewise.
41755         (FPE_INTOVF): Likewise.
41756         (FPE_FLTDIV): Likewise.
41757         (FPE_FLTOVF): Likewise.
41758         (FPE_FLTUND): Likewise.
41759         (FPE_FLTRES): Likewise.
41760         (FPE_FLTINV): Likewise.
41761         (FPE_FLTSUB): Likewise.
41762         (SEGV_MAPERR): Likewise.
41763         (SEGV_ACCERR): Likewise.
41764         (BUS_ADRALN): Likewise.
41765         (BUS_ADRERR): Likewise.
41766         (BUS_OBJERR): Likewise.
41767         (BUS_MCEERR_AR): Likewise.
41768         (BUS_MCEERR_AO): Likewise.
41769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41770         (TRAP_TRACE): Likewise.
41771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41772         __USE_XOPEN2K8].
41773         (CLD_KILLED): Likewise.
41774         (CLD_DUMPED): Likewise.
41775         (CLD_TRAPPED): Likewise.
41776         (CLD_STOPPED): Likewise.
41777         (CLD_CONTINUED): Likewise.
41778         (POLL_IN): Likewise.
41779         (POLL_OUT): Likewise.
41780         (POLL_MSG): Likewise.
41781         (POLL_ERR): Likewise.
41782         (POLL_PRI): Likewise.
41783         (POLL_HUP): Likewise.
41784         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41785         (ILL_ILLOPN): Likewise.
41786         (ILL_ILLADR): Likewise.
41787         (ILL_ILLTRP): Likewise.
41788         (ILL_PRVOPC): Likewise.
41789         (ILL_PRVREG): Likewise.
41790         (ILL_COPROC): Likewise.
41791         (ILL_BADSTK): Likewise.
41792         (FPE_INTDIV): Likewise.
41793         (FPE_INTOVF): Likewise.
41794         (FPE_FLTDIV): Likewise.
41795         (FPE_FLTOVF): Likewise.
41796         (FPE_FLTUND): Likewise.
41797         (FPE_FLTRES): Likewise.
41798         (FPE_FLTINV): Likewise.
41799         (FPE_FLTSUB): Likewise.
41800         (SEGV_MAPERR): Likewise.
41801         (SEGV_ACCERR): Likewise.
41802         (BUS_ADRALN): Likewise.
41803         (BUS_ADRERR): Likewise.
41804         (BUS_OBJERR): Likewise.
41805         (BUS_MCEERR_AR): Likewise.
41806         (BUS_MCEERR_AO): Likewise.
41807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41808         (TRAP_TRACE): Likewise.
41809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41810         __USE_XOPEN2K8].
41811         (CLD_KILLED): Likewise.
41812         (CLD_DUMPED): Likewise.
41813         (CLD_TRAPPED): Likewise.
41814         (CLD_STOPPED): Likewise.
41815         (CLD_CONTINUED): Likewise.
41816         (POLL_IN): Likewise.
41817         (POLL_OUT): Likewise.
41818         (POLL_MSG): Likewise.
41819         (POLL_ERR): Likewise.
41820         (POLL_PRI): Likewise.
41821         (POLL_HUP): Likewise.
41822         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41823         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41825         [BZ #16670]
41826         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41827         before #include of <time.h>.
41828         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41829         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41830         (test-xfail-UNIX98/sched.h/conform): Likewise.
41832 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41834         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41835         error absence of trapping exception support.
41836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41838 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41840         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41841         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41842         * timezone/Makefile (testdata): Move definition above include of
41843         Rules.
41844         (test-zones): New variable.
41845         (tests-special): Add zone files.
41846         (build-testdata): Use $(evaluate-test).
41848         * elf/Makefile (tests-special): Rename tests to end with .out.
41849         ($(objpfx)noload-mem): Likewise.
41850         ($(objpfx)tst-leaks1-mem): Likewise.
41851         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41852         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41853         $(objpfx)test-iconvconfig.out.
41854         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41855         set -e inside subshell and redirect output to file.
41856         * iconvdata/Makefile (generated): Rename tests to end with .out.
41857         Correct type.
41858         (tests-special): Rename tests to end with .out.
41859         ($(objpfx)mtrace-tst-loading): Likewise.
41860         * intl/Makefile (generated): Likewise.
41861         (tests-special): Likewise.
41862         ($(objpfx)mtrace-tst-gettext): Likewise.
41863         * misc/Makefile (generated): Likewise.
41864         (tests-special): Likewise.
41865         ($(objpfx)tst-error1-mem): Likewise.
41866         * nptl/Makefile (tests-special): Likewise.
41867         ($(objpfx)tst-stack3-mem): Likewise.
41868         (generated): Likewise.
41869         * posix/Makefile (generated): Likewise.
41870         (tests-special): Likewise.
41871         (xtests-special): Likewise.
41872         ($(objpfx)tst-fnmatch-mem): Likewise.
41873         ($(objpfx)bug-regex2-mem): Likewise.
41874         ($(objpfx)bug-regex14-mem): Likewise.
41875         ($(objpfx)bug-regex21-mem): Likewise.
41876         ($(objpfx)bug-regex31-mem): Likewise.
41877         ($(objpfx)tst-vfork3-mem): Likewise.
41878         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41879         ($(objpfx)tst-pcre-mem): Likewise.
41880         ($(objpfx)tst-boost-mem): Likewise.
41881         ($(objpfx)bug-ga2-mem): Likewise.
41882         ($(objpfx)bug-glob2-mem): Likewise.
41883         * resolv/Makefile (generate): Likewise.
41884         (tests-special): Likewise.
41885         (xtests-special): Likewise.
41886         (generated): Likewise.
41887         ($(objpfx)mtrace-tst-leaks): Likewise.
41888         ($(objpfx)mtrace-tst-leaks2): Likewise.
41890         * scripts/merge-test-results.sh: New file.
41891         * Makefile (tests-special-notdir): New variable.
41892         (tests): Run merge-test-results.sh.
41893         (xtests): Likewise.
41894         * Rules (tests-special-notdir): New variable.
41895         (xtests-special-notdir): Likewise.
41896         (tests): Run merge-test-results.sh
41897         (xtests): Likewise.
41899         * Makeconfig (test-xfail-name): New variable.
41900         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41901         compute variable name for expected failures.
41902         * conform/Makefile (conformtest-headers-data): New variable.
41903         (conformtest-standards): Likewise.
41904         (conformtest-headers-ISO): Likewise.
41905         (conformtest-headers-ISO99): Likewise.
41906         (conformtest-headers-ISO11): Likewise.
41907         (conformtest-headers-POSIX): Likewise.
41908         (conformtest-headers-XPG3): Likewise.
41909         (conformtest-headers-XPG4): Likewise.
41910         (conformtest-headers-UNIX98): Likewise.
41911         (conformtest-headers-XOPEN2K): Likewise.
41912         (conformtest-headers-POSIX2008): Likewise.
41913         (conformtest-headers-XOPEN2K8): Likewise.
41914         (conformtest-header-list-base): Likewise.
41915         (conformtest-header-list-tests): Likewise.
41916         (conformtest-header-base): Likewise.
41917         (conformtest-header-tests): Likewise.
41918         (tests-special): Add $(conformtest-header-list-tests).  If
41919         [$(fast-check) && !$(cross-compiling)], add
41920         $(conformtest-header-tests) instead of
41921         $(objpfx)run-conformtest.out.
41922         (generated): Add $(conformtest-header-list-base).  If
41923         [$(fast-check) && !$(cross-compiling)], add
41924         $(conformtest-header-base).  Remove previous setting.
41925         ($(conformtest-header-list-tests)): New target.
41926         (test-xfail-run-conformtest): Remove variable.
41927         ($(objpfx)run-conformtest.out): Remove target.
41928         (test-xfail-ISO11/complex.h/conform): New variable.
41929         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41930         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41931         (test-xfail-XPG3/varargs.h/conform): Likewise.
41932         (test-xfail-XPG4/varargs.h/conform): Likewise.
41933         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41934         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41935         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41936         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41937         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41938         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41939         (test-xfail-XPG3/ftw.h/conform): Likewise.
41940         (test-xfail-XPG3/grp.h/conform): Likewise.
41941         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41942         (test-xfail-XPG3/limits.h/conform): Likewise.
41943         (test-xfail-XPG3/pwd.h/conform): Likewise.
41944         (test-xfail-XPG3/search.h/conform): Likewise.
41945         (test-xfail-XPG3/signal.h/conform): Likewise.
41946         (test-xfail-XPG3/stdio.h/conform): Likewise.
41947         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41948         (test-xfail-XPG3/string.h/conform): Likewise.
41949         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41950         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41951         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41952         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41953         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41954         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41955         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41956         (test-xfail-XPG3/termios.h/conform): Likewise.
41957         (test-xfail-XPG3/time.h/conform): Likewise.
41958         (test-xfail-XPG3/unistd.h/conform): Likewise.
41959         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41960         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41961         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41962         (test-xfail-XPG4/netdb.h/conform): Likewise.
41963         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41964         (test-xfail-XPG4/signal.h/conform): Likewise.
41965         (test-xfail-XPG4/stdio.h/conform): Likewise.
41966         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41967         (test-xfail-XPG4/stropts.h/conform): Likewise.
41968         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41969         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41970         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41971         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41972         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41973         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41974         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41975         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41976         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41977         (test-xfail-XPG4/termios.h/conform): Likewise.
41978         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41979         (test-xfail-XPG4/unistd.h/conform): Likewise.
41980         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41981         (test-xfail-POSIX/sched.h/conform): Likewise.
41982         (test-xfail-POSIX/signal.h/conform): Likewise.
41983         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41984         (test-xfail-POSIX/tar.h/conform): Likewise.
41985         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41986         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41987         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41988         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41989         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41990         (test-xfail-UNIX98/sched.h/conform): Likewise.
41991         (test-xfail-UNIX98/signal.h/conform): Likewise.
41992         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41993         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41994         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41995         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41996         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41997         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41998         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41999         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42000         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42001         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42002         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42003         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42004         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42005         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42006         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42007         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42008         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42009         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42010         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42011         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42012         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42013         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42014         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42015         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42016         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42017         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42018         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42019         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42020         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42021         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42022         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42023         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42024         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42025         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42026         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42027         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42028         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42029         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42030         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42031         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42032         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42033         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42034         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42035         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42036         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42037         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42038         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42039         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42040         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42041         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42042         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42043         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42044         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42045         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42046         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42047         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42048         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42049         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42050         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42051         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42052         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42053         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42054         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42055         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42056         (conformtest-cc-flags): Likewise.
42057         ($(conformtest-header-tests): New target.
42058         * conform/check-header-lists.sh: New file.
42059         * conform/run-conformtest.sh: Remove.
42061         * conform/conformtest.pl: Allow ' and \ in values given for
42062         constants.
42063         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42064         inclusion.
42065         [POSIX] (sys/types.h): Likewise.
42066         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42067         inclusion.
42068         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42069         inclusion.
42070         * conform/data/signal.h-data (SIGIO): Remove expectation.
42071         [XPG3] (SIGBUS): Do not expect.
42072         [POSIX || XPG3] (SIGPOLL): Likewise.
42073         [POSIX || XPG3] (SIGPROF): Likewise.
42074         [POSIX || XPG3] (SIGSYS): Likewise.
42075         [XPG3] (SIGTRAP): Likewise.
42076         [POSIX || XPG3] (SIGURG): Likewise.
42077         [POSIX || XPG3] (SIGVTALRM): Likewise.
42078         [POSIX || XPG3] (SIGXCPU): Likewise.
42079         [POSIX || XPG3] (SIGXFSZ): Likewise.
42080         [POSIX] (SA_SIGINFO): Expect.
42081         [XPG3] (siginfo_t): Do not expect type or contents.
42082         [POSIX] (si_pid): Do not expect element.
42083         [POSIX] (si_uid): Likewise.
42084         [POSIX] (si_addr): Likewise.
42085         [POSIX] (si_status): Likewise.
42086         [POSIX] (si_band): Likewise.
42087         [XPG4] (si_value): Likewise.
42088         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42089         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42090         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42091         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42092         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42093         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42094         [POSIX || XPG3] (ILL_COPROC): Likewise.
42095         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42096         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42097         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42098         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42099         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42100         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42101         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42102         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42103         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42104         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42105         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42106         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42107         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42108         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42109         [POSIX || XPG3] (CLD_EXITED): Likewise.
42110         [POSIX || XPG3] (CLD_KILLED): Likewise.
42111         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42112         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42113         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42114         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42115         [POSIX || XPG3] (POLL_IN): Likewise.
42116         [POSIX || XPG3] (POLL_OUT): Likewise.
42117         [POSIX || XPG3] (POLL_MSG): Likewise.
42118         [POSIX || XPG3] (POLL_ERR): Likewise.
42119         [POSIX || XPG3] (POLL_PRI): Likewise.
42120         [POSIX || XPG3] (POLL_HUP): Likewise.
42121         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42122         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42123         (SIG*): Do not allow.
42124         [XPG3] (si_*): Likewise.
42125         [XPG3] (SI_*): Likewise.
42126         [XPG3 || XPG4] (sigev_*): Likewise.
42127         [XPG3 || XPG4] (SIGEV_*): Likewise.
42128         [XPG3 || XPG4] (sival_*): Likewise.
42129         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42130         [POSIX || XPG3] (BUS_*): Likewise.
42131         [POSIX || XPG3] (CLD_*): Likewise.
42132         [POSIX || XPG3] (FPE_*): Likewise.
42133         [POSIX || XPG3] (ILL_*): Likewise.
42134         [POSIX || XPG3] (POLL_*): Likewise.
42135         [POSIX || XPG3] (SEGV_*): Likewise.
42136         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42137         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42138         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42139         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42140         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42141         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42142         Specify type and value.
42143         (TVERSLEN): Likewise.
42144         (REGTYPE): Likewise.
42145         (AREGTYPE): Likewise.
42146         (LNKTYPE): Likewise.
42147         (SYMTYPE): Likewise.
42148         (CHRTYPE): Likewise.
42149         (BLKTYPE): Likewise.
42150         (DIRTYPE): Likewise.
42151         (FIFOTYPE): Likewise.
42152         (CONTTYPE): Likewise.
42153         (TSUID): Likewise.
42154         (TSGID): Likewise.
42155         (TSVTX): Likewise.
42156         (TUREAD): Likewise.
42157         (TUWRITE): Likewise.
42158         (TUEXEC): Likewise.
42159         (TGREAD): Likewise.
42160         (TGWRITE): Likewise.
42161         (TGEXEC): Likewise.
42162         (TOREAD): Likewise.
42163         (TOWRITE): Likewise.
42164         (TOEXEC): Likewise.
42165         [POSIX] (TSVTX): Expect constant.
42167 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42169         * Makefile (tests): Change dependencies to ....
42170         (tests-special): ... additions to this variable.
42171         (tests): Depend on $(tests-special).
42172         * Makerules (check-abi-list): New variable.
42173         (check-abi): Depend on $(check-abi-list).
42174         [$(subdir) = elf] (tests-special): Add
42175         $(objpfx)check-abi-libc.out.
42176         [$(build-shared) = yes && subdir] (tests-special): Add
42177         $(check-abi-list).
42178         [$(build-shared) = yes && subdir] (tests): Do not depend on
42179         check-abi.
42180         * Rules (tests): Depend on $(tests-special).
42181         (xtests): Depend on $(xtests-special).
42182         * catgets/Makefile (tests): Change dependencies to ....
42183         (tests-special): ... additions to this variable.
42184         * conform/Makefile (tests): Change dependencies to ....
42185         (tests-special): ... additions to this variable.
42186         * elf/Makefile (tests): Change dependencies to ....
42187         (tests-special): ... additions to this variable.
42188         * grp/Makefile (tests): Change dependencies to ....
42189         (tests-special): ... additions to this variable.
42190         * iconv/Makefile (xtests): Change dependencies to ....
42191         (xtests-special): ... additions to this variable.
42192         * iconvdata/Makefile (tests): Change dependencies to ....
42193         (tests-special): ... additions to this variable.
42194         * intl/Makefile (tests): Change dependencies to ....
42195         (tests-special): ... additions to this variable.  Also add
42196         $(objpfx)tst-gettext.out.
42197         * io/Makefile (tests): Change dependencies to ....
42198         (tests-special): ... additions to this variable.
42199         * libio/Makefile (tests): Change dependencies to ....
42200         (tests-special): ... additions to this variable.
42201         * malloc/Makefile (tests): Change dependencies to ....
42202         (tests-special): ... additions to this variable.
42203         * misc/Makefile (tests): Change dependencies to ....
42204         (tests-special): ... additions to this variable.
42205         * nptl/Makefile (tests): Change dependencies to ....
42206         (tests-special): ... additions to this variable.
42207         * nptl_db/Makefile (tests): Change dependencies to ....
42208         (tests-special): ... additions to this variable.
42209         * posix/Makefile (tests): Change dependencies to ....
42210         (tests-special): ... additions to this variable.
42211         (xtests): Change dependencies to ....
42212         (xtests-special): ... additions to this variable.
42213         * resolv/Makefile (tests): Change dependencies to ....
42214         (tests-special): ... additions to this variable.
42215         (xtests): Change dependencies to ....
42216         (xtests-special): ... additions to this variable.
42217         * stdio-common/Makefile (tests): Change dependencies to ....
42218         (tests-special): ... additions to this variable.
42219         (do-tst-unbputc): Remove target.
42220         (do-tst-printf): Likewise.
42221         * stdlib/Makefile (tests): Change dependencies to ....
42222         (tests-special): ... additions to this variable.
42223         * string/Makefile (tests): Change dependencies to ....
42224         (tests-special): ... additions to this variable.
42225         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42226         (tests-special): ... additions to this variable.
42228         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42229         whole file.
42230         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42231         whole file.
42232         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42233         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42235         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42236         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42237         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42238         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42239         * conform/data/libgen.h-data [XPG3]: Likewise.
42240         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42241         * conform/data/ndbm.h-data [XPG3]: Likewise.
42242         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42243         * conform/data/netdb.h-data [XPG3]: Likewise.
42244         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42245         * conform/data/poll.h-data [XPG3]: Likewise.
42246         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42247         * conform/data/strings.h-data [XPG3]: Likewise.
42248         * conform/data/stropts.h-data [XPG3]: Likewise.
42249         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42250         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42251         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42252         Likewise.
42253         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42254         * conform/data/sys/time.h-data [XPG3]: Likewise.
42255         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42256         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42257         * conform/data/sys/un.h-data [XPG3]: Likewise.
42258         * conform/data/syslog.h-data [XPG3]: Likewise.
42259         * conform/data/ucontext.h-data [XPG3]: Likewise.
42260         * conform/data/utmpx.h-data [XPG3]: Likewise.
42261         * conform/data/varargs.h-data [UNIX98]: Enable file.
42263         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42265         * math/libm-test.inc (struct test_f_f_data): Move expected results
42266         into structure for each rounding mode.
42267         (struct test_ff_f_data): Likewise.
42268         (struct test_ff_f_data_nexttoward): Likewise.
42269         (struct test_fi_f_data): Likewise.
42270         (struct test_fl_f_data): Likewise.
42271         (struct test_if_f_data): Likewise.
42272         (struct test_fff_f_data): Likewise.
42273         (struct test_c_f_data): Likewise.
42274         (struct test_f_f1_data): Likewise.
42275         (struct test_fF_f1_data): Likewise.
42276         (struct test_ffI_f1_data): Likewise.
42277         (struct test_c_c_data): Likewise.
42278         (struct test_cc_c_data): Likewise.
42279         (struct test_f_i_data): Likewise.
42280         (struct test_ff_i_data): Likewise.
42281         (struct test_f_l_data): Likewise.
42282         (struct test_f_L_data): Likewise.
42283         (struct test_fFF_11_data): Likewise.
42284         (RM_): New macro.
42285         (RM_FE_DOWNWARD): Likewise.
42286         (RM_FE_TONEAREST): Likewise.
42287         (RM_FE_TOWARDZERO): Likewise.
42288         (RM_FE_UPWARD): Likewise.
42289         (RUN_TEST_LOOP_f_f): Update references to expected results.
42290         (RUN_TEST_LOOP_2_f): Likewise.
42291         (RUN_TEST_LOOP_fff_f): Likewise.
42292         (RUN_TEST_LOOP_c_f): Likewise.
42293         (RUN_TEST_LOOP_f_f1): Likewise.
42294         (RUN_TEST_LOOP_fF_f1): Likewise.
42295         (RUN_TEST_LOOP_fI_f1): Likewise.
42296         (RUN_TEST_LOOP_ffI_f1): Likewise.
42297         (RUN_TEST_LOOP_c_c): Likewise.
42298         (RUN_TEST_LOOP_cc_c): Likewise.
42299         (RUN_TEST_LOOP_f_i): Likewise.
42300         (RUN_TEST_LOOP_f_i_tg): Likewise.
42301         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42302         (RUN_TEST_LOOP_f_b): Likewise.
42303         (RUN_TEST_LOOP_f_b_tg): Likewise.
42304         (RUN_TEST_LOOP_f_l): Likewise.
42305         (RUN_TEST_LOOP_f_L): Likewise.
42306         (RUN_TEST_LOOP_fFF_11): Likewise.
42307         * math/gen-libm-test.pl (parse_args): Output four copies of
42308         expected results for each test.
42310         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42311         (__ASSUME_UTIMES): Remove.
42312         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42313         (__ASSUME_UTIMES): Likewise.
42315         * math/gen-auto-libm-tests.c: Update comment on output format.
42316         (output_for_one_input_case): Generate before-rounding and
42317         after-rounding information as conditions on output flags not
42318         floating-point format.
42319         * math/auto-libm-test-out: Regenerated.
42320         * math/gen-libm-test.pl (cond_value): New function.
42321         (or_cond_value): Use cond_value.
42322         (generate_testfile): Handle conditional exceptions.
42324 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42326         * math/libm-test.inc (max_valid_error): New variable.
42327         (init_max_error): Take new argument specifying whether function
42328         results are exactly determined.  Set max_valid_error and bound
42329         other variables for errors based on this argument.
42330         (set_max_error): Do not record results above max_valid_error.
42331         (check_float_internal): Only accept errors of up to 0.5ulps if
42332         also at most max_valid_error.
42333         (START): Take new argument EXACT and pass it to init_max_error.
42334         (acos_test): Update call to START.
42335         (acos_test_tonearest): Likewise.
42336         (acos_test_towardzero): Likewise.
42337         (acos_test_downward): Likewise.
42338         (acos_test_upward): Likewise.
42339         (acosh_test): Likewise.
42340         (asin_test): Likewise.
42341         (asin_test_tonearest): Likewise.
42342         (asin_test_towardzero): Likewise.
42343         (asin_test_downward): Likewise.
42344         (asin_test_upward): Likewise.
42345         (asinh_test): Likewise.
42346         (atan_test): Likewise.
42347         (atanh_test): Likewise.
42348         (atan2_test): Likewise.
42349         (cabs_test): Likewise.
42350         (cacos_test): Likewise.
42351         (cacosh_test): Likewise.
42352         (carg_test): Likewise.
42353         (casin_test): Likewise.
42354         (casinh_test): Likewise.
42355         (catan_test): Likewise.
42356         (catanh_test): Likewise.
42357         (cbrt_test): Likewise.
42358         (ccos_test): Likewise.
42359         (ccosh_test): Likewise.
42360         (ceil_test): Likewise.
42361         (cexp_test): Likewise.
42362         (cimag_test): Likewise.
42363         (clog_test): Likewise.
42364         (clog10_test): Likewise.
42365         (conj_test): Likewise.
42366         (copysign_test): Likewise.
42367         (cos_test): Likewise.
42368         (cos_test_tonearest): Likewise.
42369         (cos_test_towardzero): Likewise.
42370         (cos_test_downward): Likewise.
42371         (cos_test_upward): Likewise.
42372         (cosh_test): Likewise.
42373         (cosh_test_tonearest): Likewise.
42374         (cosh_test_towardzero): Likewise.
42375         (cosh_test_downward): Likewise.
42376         (cosh_test_upward): Likewise.
42377         (cpow_test): Likewise.
42378         (cproj_test): Likewise.
42379         (creal_test): Likewise.
42380         (csin_test): Likewise.
42381         (csinh_test): Likewise.
42382         (csqrt_test): Likewise.
42383         (ctan_test): Likewise.
42384         (ctan_test_tonearest): Likewise.
42385         (ctan_test_towardzero): Likewise.
42386         (ctan_test_downward): Likewise.
42387         (ctan_test_upward): Likewise.
42388         (ctanh_test): Likewise.
42389         (ctanh_test_tonearest): Likewise.
42390         (ctanh_test_towardzero): Likewise.
42391         (ctanh_test_downward): Likewise.
42392         (ctanh_test_upward): Likewise.
42393         (erf_test): Likewise.
42394         (erfc_test): Likewise.
42395         (exp_test): Likewise.
42396         (exp_test_tonearest): Likewise.
42397         (exp_test_towardzero): Likewise.
42398         (exp_test_downward): Likewise.
42399         (exp_test_upward): Likewise.
42400         (exp10_test): Likewise.
42401         (exp10_test_tonearest): Likewise.
42402         (exp10_test_towardzero): Likewise.
42403         (exp10_test_downward): Likewise.
42404         (exp10_test_upward): Likewise.
42405         (pow10_test): Likewise.
42406         (exp2_test): Likewise.
42407         (expm1_test): Likewise.
42408         (expm1_test_tonearest): Likewise.
42409         (expm1_test_towardzero): Likewise.
42410         (expm1_test_downward): Likewise.
42411         (expm1_test_upward): Likewise.
42412         (fabs_test): Likewise.
42413         (fdim_test): Likewise.
42414         (floor_test): Likewise.
42415         (fma_test): Likewise.
42416         (fma_test_towardzero): Likewise.
42417         (fma_test_downward): Likewise.
42418         (fma_test_upward): Likewise.
42419         (fmax_test): Likewise.
42420         (fmin_test): Likewise.
42421         (fmod_test): Likewise.
42422         (fpclassify_test): Likewise.
42423         (frexp_test): Likewise.
42424         (hypot_test): Likewise.
42425         (ilogb_test): Likewise.
42426         (isfinite_test): Likewise.
42427         (finite_test): Likewise.
42428         (isgreater_test): Likewise.
42429         (isgreaterequal_test): Likewise.
42430         (isinf_test): Likewise.
42431         (isless_test): Likewise.
42432         (islessequal_test): Likewise.
42433         (islessgreater_test): Likewise.
42434         (isnan_test): Likewise.
42435         (isnormal_test): Likewise.
42436         (issignaling_test): Likewise.
42437         (isunordered_test): Likewise.
42438         (j0_test): Likewise.
42439         (j1_test): Likewise.
42440         (jn_test): Likewise.
42441         (ldexp_test): Likewise.
42442         (lgamma_test): Likewise.
42443         (gamma_test): Likewise.
42444         (lrint_test): Likewise.
42445         (lrint_test_tonearest): Likewise.
42446         (lrint_test_towardzero): Likewise.
42447         (lrint_test_downward): Likewise.
42448         (lrint_test_upward): Likewise.
42449         (llrint_test): Likewise.
42450         (llrint_test_tonearest): Likewise.
42451         (llrint_test_towardzero): Likewise.
42452         (llrint_test_downward): Likewise.
42453         (llrint_test_upward): Likewise.
42454         (log_test): Likewise.
42455         (log10_test): Likewise.
42456         (log1p_test): Likewise.
42457         (log2_test): Likewise.
42458         (logb_test): Likewise.
42459         (logb_test_downward): Likewise.
42460         (lround_test): Likewise.
42461         (llround_test): Likewise.
42462         (modf_test): Likewise.
42463         (nearbyint_test): Likewise.
42464         (nextafter_test): Likewise.
42465         (nexttoward_test): Likewise.
42466         (pow_test): Likewise.
42467         (pow_test_tonearest): Likewise.
42468         (pow_test_towardzero): Likewise.
42469         (pow_test_downward): Likewise.
42470         (pow_test_upward): Likewise.
42471         (remainder_test): Likewise.
42472         (drem_test): Likewise.
42473         (remainder_test_tonearest): Likewise.
42474         (drem_test_tonearest): Likewise.
42475         (remainder_test_towardzero): Likewise.
42476         (drem_test_towardzero): Likewise.
42477         (remainder_test_downward): Likewise.
42478         (drem_test_downward): Likewise.
42479         (remainder_test_upward): Likewise.
42480         (drem_test_upward): Likewise.
42481         (remquo_test): Likewise.
42482         (rint_test): Likewise.
42483         (rint_test_tonearest): Likewise.
42484         (rint_test_towardzero): Likewise.
42485         (rint_test_downward): Likewise.
42486         (rint_test_upward): Likewise.
42487         (round_test): Likewise.
42488         (scalb_test): Likewise.
42489         (scalbn_test): Likewise.
42490         (scalbln_test): Likewise.
42491         (signbit_test): Likewise.
42492         (sin_test): Likewise.
42493         (sin_test_tonearest): Likewise.
42494         (sin_test_towardzero): Likewise.
42495         (sin_test_downward): Likewise.
42496         (sin_test_upward): Likewise.
42497         (sincos_test): Likewise.
42498         (sinh_test): Likewise.
42499         (sinh_test_tonearest): Likewise.
42500         (sinh_test_towardzero): Likewise.
42501         (sinh_test_downward): Likewise.
42502         (sinh_test_upward): Likewise.
42503         (sqrt_test): Likewise.
42504         (sqrt_test_tonearest): Likewise.
42505         (sqrt_test_towardzero): Likewise.
42506         (sqrt_test_downward): Likewise.
42507         (sqrt_test_upward): Likewise.
42508         (tan_test): Likewise.
42509         (tan_test_tonearest): Likewise.
42510         (tan_test_towardzero): Likewise.
42511         (tan_test_downward): Likewise.
42512         (tan_test_upward): Likewise.
42513         (tanh_test): Likewise.
42514         (tgamma_test): Likewise.
42515         (trunc_test): Likewise.
42516         (y0_test): Likewise.
42517         (y1_test): Likewise.
42518         (yn_test): Likewise.
42519         (significand_test): Likewise.
42521         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42522         individual tests in comment.
42523         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42524         (prev_max_error): New variable.
42525         (prev_real_max_error): Likewise.
42526         (prev_imag_max_error): Likewise.
42527         (compare_ulp_data): Don't refer to test names in comment.
42528         (find_test_ulps): Remove function.
42529         (find_function_ulps): Likewise.
42530         (find_complex_function_ulps): Likewise.
42531         (init_max_error): Take function name as argument.  Look up ulps
42532         for that function.
42533         (print_ulps): Remove function.
42534         (print_max_error): Use prev_max_error instead of calling
42535         find_function_ulps.
42536         (print_complex_max_error): Use prev_real_max_error and
42537         prev_imag_max_error instead of calling find_complex_function_ulps.
42538         (check_float_internal): Take max_ulp parameter instead of calling
42539         find_test_ulps.  Don't call print_ulps.
42540         (check_float): Update call to check_float_internal.
42541         (check_complex): Update calls to check_float_internal.
42542         (START): Pass argument to init_max_error.
42543         * math/gen-libm-test.pl (%results): Don't include "kind"
42544         information.
42545         (parse_ulps): Don't handle ulps of individual tests.
42546         (print_ulps_file): Likewise.
42547         (output_ulps): Likewise.
42548         * math/README.libm-test: Update.
42549         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42550         individual tests.
42551         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42552         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42553         * sysdeps/arm/libm-test-ulps: Likewise.
42554         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42555         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42556         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42557         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42558         * sysdeps/microblaze/libm-test-ulps: Likewise.
42559         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42560         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42562         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42563         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42564         * sysdeps/sh/libm-test-ulps: Likewise.
42565         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42566         * sysdeps/tile/libm-test-ulps: Likewise.
42567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42569 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42571         * math/libm-test.inc (print_complex_max_error): Check separately
42572         whether real and imaginary errors are within allowed range and
42573         pass 0 to print_complex_function_ulps instead of value within
42574         allowed range.
42576 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42578         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42579         formatting.
42580         (get_handles_fopen): Likewise.
42581         (do_write_test): Likewise.
42583         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42585         * libio/fileops.c (do_ftell): Use cached offset when
42586         available.
42587         * libio/iofwide.c (do_ftell_wide): Likewise.
42588         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42589         _IO_file_attach.
42590         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42592         [BZ #16532]
42593         * libio/libioP.h (get_file_offset): New function.
42594         * libio/fileops.c (get_file_offset): Likewise.
42595         (do_ftell): Likewise.
42596         (_IO_new_file_seekoff): Split out ftell logic.
42597         * libio/wfileops.c (do_ftell_wide): Likewise.
42598         (_IO_wfile_seekoff): Split out ftell logic.
42599         * libio/tst-ftell-active-handler.c: New test case.
42600         * libio/Makefile (tests): Add it.
42602 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42604         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42605         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42607 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42609         [BZ #16639]
42610         * nscd/connections.c (nscd_init): Call do_exit.
42611         (start_threads): Call do_exit and notify_parent.
42612         (begin_drop_privileges): Call do_exit.
42613         (finish_drop_privileges): Likewise.
42614         * nscd/selinux.c (preserve_capabilities): Likewise.
42615         (install_real_capabilities): Likewise.
42616         (nscd_selinux_enabled): Likewise.
42617         (avc_create_thread): Likewise.
42618         (avc_alloc_lock): Likewise.
42619         (nscd_avc_init): Likewise.
42620         * nscd/nscd.c (parent_fd): New static variable.
42621         (main): Create a pipe between parent and child processes.
42622         Skip closing parent_fd.
42623         (monitor_child): New function.
42624         (do_exit): Likewise.
42625         (notify_parent): Likewise.
42626         * nscd/nscd.h (notify_parent): Likewise.
42627         (do_exit): Likewise.
42629 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42631         * malloc/malloc.c (__libc_calloc): Revert last change.
42633 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42637 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42639         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42641         implementation.
42642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42643         (__libc_ifunc_impl_list): Likewise.
42644         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42645         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42646         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42647         * string/strrchr.c: Define STRRCHR.
42649 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42651         * benchtest/bench-strtok.c (simple_strtok): Delete.
42652         (strtok_string): Use as benchmark.
42653         * string/strtok (STRTOK): New macro.
42655 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42657         * manual/threads.texi: Add header and standard comments to all
42658         functions.
42660         * elf/dl-lookup.c (check_match): New function.
42661         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42662         (do_lookup_x): Remove nested function check_match. Use non-nested
42663         function check_match.
42665 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42667         * csu/Makefile (generated, before-compile): Use += rather than =.
42668         * catgets/Makefile (generated, generated-dirs): Likewise.
42669         * debug/Makefile (generated): Likewise.
42670         * dlfcn/Makefile (generated): Likewise.
42671         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42672         * iconvdata/Makefile (before-compile, generated): Likewise.
42673         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42674         * libio/Makefile (generated): Likewise.
42675         * malloc/Makefile (generated): Likewise.
42676         * manual/Makefile (generated, generated-dirs): Likewise.
42677         * misc/Makefile (generated): Likewise.
42678         * posix/Makefile (generated): Likewise.
42679         * resolv/Makefile (generated): Likewise.
42680         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42681         * timezone/Makefile (generated, generated-dirs): Likewise.
42683         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42685 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42687         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42688         power8 implementation.
42689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42690         file: POWER8 llround ifunc implementation.
42691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42692         (__lllround): Add POWER8 implementation.
42693         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42694         POWER8 llround implementation.
42696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42697         power8 implementation.
42698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42699         file: POWER8 llrint ifunc implementation.
42700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42701         Add POWER8 implementation.
42702         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42703         POWER8 llrint implementation.
42705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42706         power8 implementation.
42707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42708         file: POWER8 finite ifunc implementation.
42709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42710         Add POWER8 implementation.
42711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42712         Likewise.
42713         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42714         POWER8 finite implementation.
42715         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42718         power8 implementation.
42719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42720         file: POWER8 isinf ifunc implementation.
42721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42722         POWER8 implementation.
42723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42724         Likewise.
42725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42726         isinf implementation.
42727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42729         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42730         (INIT_ARCH): Add hwcap2 initialization.
42731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42732         power8 implementation.
42733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42734         file: POWER8 isnan ifunc implementation.
42735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42736         POWER8 implementation.
42737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42738         Likewise.
42739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42740         isnan implementation.
42741         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42743 2014-02-27  Joey Ye  <joey.ye@arm.com>
42745         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42746         (_FP_NANFRAC_Q): Set to zero.
42748 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42750         [BZ #16623]
42751         * math/auto-libm-test-in: New test inputs.
42752         * math/auto-libm-test-out: Regenerate.
42753         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42754         and DA.
42755         (__cos): Likewise.
42756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42758 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42760         * scripts/evaluate-test.sh: Take new argument indicating whether
42761         failure is expected.
42762         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42763         indicating whether failure is expected.
42764         * conform/Makefile (test-xfail-run-conformtest): New variable.
42765         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42766         level.
42767         * posix/Makefile (test-xfail-annexc): New variable.
42768         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42770 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42772         * argp/Makefile: Include Makeconfig immediately after defining
42773         subdir.
42774         * assert/Makefile: Likewise.
42775         * benchtests/Makefile: Likewise.
42776         * catgets/Makefile: Likewise.
42777         * conform/Makefile: Likewise.
42778         * crypt/Makefile: Likewise.
42779         * csu/Makefile: Likewise.
42780         (all): Remove target.
42781         * ctype/Makefile: Include Makeconfig immediately after defining
42782         subdir.
42783         * debug/Makefile: Likewise.
42784         * dirent/Makefile: Likewise.
42785         * dlfcn/Makefile: Likewise.
42786         * gmon/Makefile: Likewise.
42787         * gnulib/Makefile: Likewise.
42788         * grp/Makefile: Likewise.
42789         * gshadow/Makefile: Likewise.
42790         * hesiod/Makefile: Likewise.
42791         * hurd/Makefile: Likewise.
42792         (all): Remove target.
42793         * iconvdata/Makefile: Include Makeconfig immediately after
42794         defining subdir.
42795         * inet/Makefile: Likewise.
42796         * intl/Makefile: Likewise.
42797         * io/Makefile: Likewise.
42798         * libio/Makefile: Likewise.
42799         (all): Remove target.
42800         * locale/Makefile: Include Makeconfig immediately after defining
42801         subdir.
42802         * login/Makefile: Likewise.
42803         * mach/Makefile: Likewise.
42804         (all): Remove target.
42805         * malloc/Makefile: Include Makeconfig immediately after defining
42806         subdir.
42807         (all): Remove target.
42808         * manual/Makefile: Include Makeconfig immediately after defining
42809         subdir.
42810         * math/Makefile: Likewise.
42811         * misc/Makefile: Likewise.
42812         * nis/Makefile: Likewise.
42813         * nss/Makefile: Likewise.
42814         * po/Makefile: Likewise.
42815         (all): Remove target.
42816         * posix/Makefile: Include Makeconfig immediately after defining
42817         subdir.
42818         * pwd/Makefile: Likewise.
42819         * resolv/Makefile: Likewise.
42820         * resource/Makefile: Likewise.
42821         * rt/Makefile: Likewise.
42822         * setjmp/Makefile: Likewise.
42823         * shadow/Makefile: Likewise.
42824         * signal/Makefile: Likewise.
42825         * socket/Makefile: Likewise.
42826         * soft-fp/Makefile: Likewise.
42827         * stdio-common/Makefile: Likewise.
42828         * stdlib/Makefile: Likewise.
42829         * streams/Makefile: Likewise.
42830         * string/Makefile: Likewise.
42831         * sunrpc/Makefile: Likewise.
42832         (all): Remove target.
42833         * sysvipc/Makefile: Include Makeconfig immediately after defining
42834         subdir.
42835         * termios/Makefile: Likewise.
42836         * time/Makefile: Likewise.
42837         * timezone/Makefile: Likewise.
42838         (all): Remove target.
42839         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42840         subdir.
42841         * wctype/Makefile: Likewise.
42843 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42845         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42846         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42847         (libc_feholdexcept_setround_mips): Ditto.
42848         (libc_feholdsetround): New.
42849         (libc_feholdsetroundf): New.
42850         (libc_feholdsetroundl): New.
42851         (libc_feupdateenv_test_mips): New.
42852         (libc_feupdateenv_test): New.
42853         (libc_feupdateenv_testf): New.
42854         (libc_feupdateenv_testl): New.
42855         (libc_feresetround): New.
42856         (libc_feresetroundf): New.
42857         (libc_feresetroundl): New.
42858         (libc_fetestexcept_mips): New.
42859         (libc_fetestexcept): New.
42860         (libc_fetestexceptf): New.
42861         (libc_fetestexceptl): New.
42862         (HAVE_RM_CTX): New.
42863         (libc_feholdexcept_setround_mips_ctx): New.
42864         (libc_feholdexcept_setround_ctx): New.
42865         (libc_feholdexcept_setroundf_ctx): New.
42866         (libc_feholdexcept_setroundl_ctx): New.
42867         (libc_fesetenv_mips_ctx): New.
42868         (libc_fesetenv_ctx): New.
42869         (libc_fesetenv_ctxf): New.
42870         (libc_fesetenv_ctxl): New.
42871         (libc_feupdateenv_mips_ctx): New.
42872         (libc_feupdateenv_ctx): New.
42873         (libc_feupdateenvf_ctx): New.
42874         (libc_feupdateenvl_ctx): New.
42875         (libc_feholdsetround_mips_ctx): New.
42876         (libc_feholdsetround_ctx): New.
42877         (libc_feholdsetroundf_ctx): New.
42878         (libc_feholdsetroundl_ctx): New.
42879         (libc_feresetround_mips_ctx): New.
42880         (libc_feresetround_ctx): New.
42881         (libc_feresetroundf_ctx): New.
42882         (libc_feresetroundl_ctx): New.
42884 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42886         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42888         * manual/ipc.texi: New file.
42889         * manual/Makefile (chapters): Add ipc.
42890         * manual/job.texi: Add "Inter-Process Communication" to next.
42891         * manual/process.texi: Add "Inter-Process Communication" to prev.
42893 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42897 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42899         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42901         * manual/arith.texi: Fix spaces after sentences.
42902         * manual/charset.texi: Likewise.
42903         * manual/errno.texi: Likewise.
42904         * manual/install.texi: Likewise.
42905         * manual/llio.texi: Likewise.
42906         * manual/locale.texi: Likewise.
42907         * manual/maint.texi: Likewise.
42908         * manual/math.texi: Likewise.
42909         * manual/memory.texi: Likewise.
42910         * manual/message.texi: Likewise.
42911         * manual/probes.texi: Likewise.
42912         * manual/resource.texi: Likewise.
42913         * manual/signal.texi: Likewise.
42914         * manual/socket.texi: Likewise.
42915         * manual/stdio.texi: Likewise.
42916         * manual/string.texi: Likewise.
42917         * manual/time.texi: Likewise.
42918         * manual/users.texi: Likewise.
42920 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42922         [BZ #16632]
42923         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42924         _DEFAULT_SOURCE is defined.
42926 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42927             Carlos O'Donell  <carlos@redhat.com>
42929         [BZ #16613]
42930         * elf/dl-tls.c (_dl_count_modids): New function.
42931         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42932         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42933         audit library and increment generation counter.
42934         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42935         * elf/tst-audit9.c: New file.
42936         * elf/tst-auditmod9a.c: New file.
42937         * elf/tst-auditmod9b.c: New file.
42938         * elf/Makefile: Add rules to build and run tst-audit9.
42940 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42942         [BZ #15347]
42943         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42945 2014-02-25  Will Newton  <will.newton@linaro.org>
42947         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42948         (__longjmp): Restore sp and lr before restoring callee
42949         saved registers.  Add longjmp and longjmp_target
42950         SystemTap probe point.
42951         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42952         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42953         Define to zero to match jmpbuf layout.
42954         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42955         (__sigsetjmp): Save sp and lr before saving callee
42956         saved registers.  Add setjmp SystemTap probe point.
42958 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42962 2014-02-24  Andreas Schwab  <schwab@suse.de>
42964         [BZ #15804]
42965         * elf/pldd.c (wait_for_ptrace_stop): New function.
42966         (main): Call it after attaching.
42968 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42970         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42971         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42972         Versions files is now verboten.
42973         * hurd/Versions (libc: GLIBC_2.0):
42974         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42975         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42976         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42977         * mach/Versions: Likewise.
42979         * csu/Versions: Remove unused %include.
42980         * resolv/Versions: Likewise.
42982 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42984         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42985         ($(objpfx)check-local-headers.out): Likewise.
42986         ($(objpfx)begin-end-check.out): Likewise.
42987         * Makerules (check-abi-%.out): Likewise.
42988         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42989         ($(objpfx)test2.cat): Likewise.
42990         ($(objpfx)de/libc.cat): Likewise.
42991         ($(objpfx)test-gencat.out): Likewise.
42992         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42993         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42994         ($(objpfx)noload-mem): Likewise.
42995         ($(objpfx)tst-pathopt.out): Likewise.
42996         ($(objpfx)tst-rtld-load-self.out): Likewise.
42997         ($(objpfx)tst-array1-cmp.out): Likewise.
42998         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42999         ($(objpfx)tst-array2-cmp.out): Likewise.
43000         ($(objpfx)tst-array3-cmp.out): Likewise.
43001         ($(objpfx)tst-array4-cmp.out): Likewise.
43002         ($(objpfx)tst-array5-cmp.out): Likewise.
43003         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43004         ($(objpfx)check-textrel.out): Likewise.
43005         ($(objpfx)check-execstack.out): Likewise.
43006         ($(objpfx)check-localplt.out): Likewise.
43007         ($(objpfx)order2-cmp.out): Likewise.
43008         ($(objpfx)tst-leaks1-mem): Likewise.
43009         ($(objpfx)tst-leaks1-static-mem): Likewise.
43010         ($(objpfx)tst-initorder-cmp.out): Likewise.
43011         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43012         ($(objpfx)tst-unused-dep.out): Likewise.
43013         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43014         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43015         * iconv/Makefile (test-iconvconfig): Likewise.
43016         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43017         ($(objpfx)iconv-test.out): Likewise.
43018         ($(objpfx)tst-tables.out): Likewise.
43019         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43020         ($(objpfx)tst-gettext.out): Likewise.
43021         ($(objpfx)tst-translit.out): Likewise.
43022         ($(objpfx)tst-gettext2.out): Likewise.
43023         ($(objpfx)tst-gettext4.out): Likewise.
43024         ($(objpfx)tst-gettext6.out): Likewise.
43025         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43026         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43027         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43028         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43029         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43030         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43031         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43032         ($(objpfx)wordexp-tst.out): Likewise.
43033         ($(objpfx)annexc.out): Likewise.
43034         ($(objpfx)tst-fnmatch-mem): Likewise.
43035         ($(objpfx)bug-regex2-mem): Likewise.
43036         ($(objpfx)bug-regex14-mem): Likewise.
43037         ($(objpfx)bug-regex21-mem): Likewise.
43038         ($(objpfx)bug-regex31-mem): Likewise.
43039         ($(objpfx)tst-vfork3-mem): Likewise.
43040         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43041         ($(objpfx)tst-pcre-mem): Likewise.
43042         ($(objpfx)tst-boost-mem): Likewise.
43043         ($(objpfx)tst-getconf.out): Likewise.
43044         ($(objpfx)bug-ga2-mem): Likewise.
43045         ($(objpfx)bug-glob2-mem): Likewise.
43046         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43047         ($(objpfx)mtrace-tst-leaks2): Likewise.
43048         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43049         ($(objpfx)tst-printf.out): Likewise.
43050         ($(objpfx)tst-setvbuf1.out): Likewise.
43051         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43052         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43053         ($(objpfx)tst-fmtmsg.out): Likewise.
43054         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43055         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43057         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43058         * bits/sigaction.h [__USE_MISC]: Likewise.
43059         * bits/waitstatus.h: Update #endif comments.
43060         * ctype/ctype.h: Likewise.
43061         * dirent/dirent.h: Likewise.
43062         [__USE_MISC]: Remove redundant conditionals.
43063         * grp/grp.h: Update #endif comments.
43064         [__USE_GNU]: Remove redundant conditionals.
43065         [__USE_MISC]: Likewise.
43066         * inet/netinet/in.h [__USE_GNU]: Likewise.
43067         * io/sys/stat.h [__USE_MISC]: Likewise.
43068         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43069         * libio/bits/stdio.h: Update #endif comments.
43070         [__USE_MISC]: Remove redundant conditionals.
43071         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43072         * libio/stdio.h: Update #endif comments.
43073         [__USE_MISC]: Remove redundant conditionals.
43074         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43075         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43076         * math/math.h: Update #else and #endif comments.
43077         [__USE_MISC]: Remove redundant conditionals.
43078         * misc/sys/uio.h: Update #endif comments.
43079         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43080         * posix/glob.h [__USE_MISC]: Likewise.
43081         * posix/sys/types.h: Update #endif comments.
43082         [__USE_MISC]: Remove redundant conditionals.
43083         * posix/sys/wait.h: Update #endif comments.
43084         [__USE_MISC]: Remove redundant conditionals.
43085         * posix/unistd.h: Update #endif comments.
43086         [__USE_MISC]: Remove redundant conditionals.
43087         * pwd/pwd.h [__USE_GNU]: Likewise.
43088         [__USE_MISC]: Likewise.
43089         * resolv/netdb.h [__USE_GNU]: Likewise.
43090         * signal/signal.h: Update #endif comments.
43091         [__USE_MISC]: Remove redundant conditionals.
43092         * stdlib/stdlib.h: Update #else and #endif comments.
43093         [__USE_MISC]: Remove redundant conditionals.
43094         [__USE_GNU]: Likewise.
43095         * string/bits/string2.h [__USE_MISC]: Likewise.
43096         * string/string.h: Update #endif comments.
43097         [__USE_MISC]: Remove redundant conditionals.
43098         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43099         Likewise.
43100         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43101         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43102         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43103         Likewise.
43104         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43105         Likewise.
43106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43107         comments.
43108         [__USE_MISC]: Remove redundant conditionals.
43109         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43110         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43111         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43112         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43113         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43114         Likewise.
43115         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43116         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43117         Likewise.
43118         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43119         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43120         Likewise.
43121         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43122         Likewise.
43123         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43124         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43125         Likewise.
43126         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43127         Likewise.
43128         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43129         * sysdeps/x86/bits/string.h: Update #endif comments.
43130         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43131         conditionals.
43132         * time/sys/time.h: Update #endif comments.
43133         * time/time.h: Likewise.
43134         [__USE_MISC]: Remove redundant conditionals.
43136 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43138         [BZ #16600]
43139         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43141 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43143         * Versions.def (librt): Add GLIBC_2.17.
43145 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43147         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43148         synonym for _SYS_AUXV_H to allow direct inclusion.
43149         * sysdeps/sparc/bits/hwcap.h: Likewise.
43150         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43151         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43152         * sysdeps/sparc/sysdep.h: Likewise.
43154 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43156         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43158 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43160         * benchtests/bench-strrchr.c: Print length instead of position.
43162 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43164         [BZ #16611]
43165         * sysdeps/unix/sysv/linux/kernel-features.h
43166         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43167         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43168         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43169         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43170         Likewise.
43171         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43172         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43173         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43174         (__ASSUME_SENDMMSG): Define instead of using previous
43175         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43176         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43177         (__ASSUME_SENDMMSG_SYSCALL): Define.
43178         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43179         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43180         Likewise.
43181         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43182         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43183         Likewise.
43184         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43185         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43186         Likewise.
43187         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43188         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43189         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43190         [__ASSUME_SENDMMSG]: Change conditionals to
43191         [__ASSUME_SENDMMSG_SOCKETCALL].
43192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43193         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43194         Define.
43195         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43196         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43197         Likewise.
43198         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43199         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43200         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43201         [!__ASSUME_SENDMMSG]: Change conditional to
43202         [!__ASSUME_SENDMMSG_SOCKETCALL].
43203         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43204         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43205         Define.
43207         [BZ #16610]
43208         * sysdeps/unix/sysv/linux/kernel-features.h
43209         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43210         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43211         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43212         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43213         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43214         [__i386__ || __sparc__]
43215         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43216         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43217         (__ASSUME_RECVMMSG): Define instead of using previous
43218         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43219         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43220         (__ASSUME_RECVMMSG_SYSCALL): Define.
43221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43223         Likewise.
43224         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43226         Likewise.
43227         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43229         Likewise.
43230         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43231         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43232         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43233         [__ASSUME_RECVMMSG]: Change condition to
43234         [__ASSUME_RECVMMSG_SOCKETCALL].
43235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43237         Define.
43238         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43239         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43241         Likewise.
43242         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43243         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43244         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43245         [!__ASSUME_RECVMMSG]: Change condition to
43246         [!__ASSUME_RECVMMSG_SOCKETCALL].
43247         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43248         (__ASSUME_RECVMMSG_SYSCALL): Define.
43250         [BZ #16609]
43251         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43252         __powerpc__ || __s390__ || __sh__ || __sparc__]
43253         (__ASSUME_SOCKETCALL): Define.
43254         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43255         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43256         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43257         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43258         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43259         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43260         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43261         (__ASSUME_ACCEPT4): Define instead of using previous
43262         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43263         __powerpc__ || __sparc__ || __s390__)] condition.
43264         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43265         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43266         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43267         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43268         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43269         [!__ASSUME_ACCEPT4]: Change condition to
43270         [!__ASSUME_ACCEPT4_SOCKETCALL].
43271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43272         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43273         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43275         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43276         __ASSUME_ACCEPT4_SYSCALL.
43277         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43278         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43279         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43280         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43281         __ASSUME_ACCEPT4_SYSCALL.
43282         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43283         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43284         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43285         [__ASSUME_ACCEPT4]: Change condition to
43286         [__ASSUME_ACCEPT4_SOCKETCALL].
43287         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43288         (__ASSUME_SOCKETCALL): Define.
43289         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43290         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43291         (__ASSUME_SOCKETCALL): Define.
43292         (__ASSUME_ACCEPT4): Remove.
43293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43294         Define.
43295         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43296         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43297         Likewise.
43298         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43299         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43301         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43302         macro.
43303         (HWCAP_ARM_LPAE): Likewise.
43304         (HWCAP_ARM_EVTSTRM): Likewise.
43305         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43306         Add vpfd32, lpae and evtstrm.
43307         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43308         Increase to 22.
43310 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43312         * math/auto-libm-test-in: Add tests of clog10.
43313         * math/auto-libm-test-out: Regenerated.
43314         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43315         * sysdeps/i386/fpu/libm-test-ulps: Update.
43316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43318 2014-02-18  Andreas Schwab  <schwab@suse.de>
43320         [BZ #16574]
43321         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43322         Store non-zero if the second buffer was newly allocated.
43323         (send_dg): Likewise.
43324         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43325         to send_vc and send_dg.
43326         (res_nsend): Pass NULL for ansp2_malloced.
43327         * resolv/res_query.c (__libc_res_nquery): Add parameter
43328         answerp2_malloced and pass it down to __libc_res_nsend.
43329         (res_nquery): Pass additional NULL to __libc_res_nquery.
43330         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43331         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43332         second answer buffer if answerp2_malloced was set.
43333         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43334         (__libc_res_nquerydomain): Add parameter
43335         answerp2_malloced and pass it down to __libc_res_nquery.
43336         (res_nquerydomain): Pass additional NULL to
43337         __libc_res_nquerydomain.
43338         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43339         additional NULL to __libc_res_nsend and __libc_res_nquery.
43340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43341         additional NULL to __libc_res_nsearch.
43342         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43343         parameter of __libc_res_nsearch to check for separately allocated
43344         second buffer.
43345         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43346         __libc_res_nquery.
43347         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43348         additional NULL to __libc_res_nquery.
43349         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43350         __libc_res_nsearch.
43351         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43352         * include/resolv.h: Update prototypes of __libc_res_nquery,
43353         __libc_res_nsearch, __libc_res_nsend.
43355 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43357         * math/auto-libm-test-in: Add tests of fma.
43358         * math/auto-libm-test-out: Regenerated.
43359         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43360         (fma_towardzero_test_data): Likewise.
43361         (fma_downward_test_data): Likewise.
43362         (fma_upward_test_data): Likewise.
43363         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43364         mpc_mode.
43365         (rounding_modes): Add values for new field.
43366         (func_calc_method): Add value mpfr_fff_f.
43367         (func_calc_desc): Add mpfr_fff_f union field.
43368         (test_function): Add field exact_args.
43369         (FUNC): Add macro argument EXACT_ARGS.
43370         (FUNC_mpfr_f_f): Update call to FUNC.
43371         (FUNC_mpfr_f_f): Likewise.
43372         (FUNC_mpfr_ff_f): Likewise.
43373         (FUNC_mpfr_if_f): Likewise.
43374         (FUNC_mpc_c_f): Likewise.
43375         (FUNC_mpc_c_c): Likewise.
43376         (test_functions): Add fma.  Update calls to FUNC.
43377         (handle_input_arg): Add argument exact_args.
43378         (add_test): Update call to handle_input_arg.
43379         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43380         (output_for_one_input_case): Update call to calc_generic_results.
43381         Recalculate exact zero results in each rounding mode.
43383         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43384         non-negative before setting low bit.
43385         * math/auto-libm-test-in: Mark one asin test possibly having
43386         spurious underflow.
43387         * math/auto-libm-test-out: Regenerated.
43388         * sysdeps/i386/fpu/libm-test-ulps: Update.
43389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43391 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43393         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43394         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43395         ports/sysdeps/unix/sysv/linux/microblaze.
43396         * README: Add missing listing for microblaze*-*-linux-gnu.
43398 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43400         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43401         duplicate code
43403 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43405         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43406         * sysdeps/unix/sysv/linux/ia64: Move directory from
43407         ports/sysdeps/unix/sysv/linux/ia64.
43408         * README: Update listing for ia64-*-linux-gnu.
43410 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43411             Joseph Myers  <joseph@codesourcery.com>
43413         * Makeconfig (test-name): New variable.
43414         (evaluate-test): Likewise.
43415         * Makerules (do-test-clean): Remove .test-result files.
43416         (common-mostlyclean): Likewise.
43417         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43418         * scripts/evaluate-test.sh: New file.
43420 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43422         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43423         separate $(objpfx)tst-fopenloc-cmp.out and
43424         $(objpfx)tst-fopenloc-mem.out targets.
43425         (tests): Update dependencies.
43426         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43427         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43428         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43429         (tst-rxspencer-no-utf8-ARGS): New variable.
43430         (tst-rxspencer-no-utf8-ENV): Likewise.
43431         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43432         instead of $(objpfx)tst-rxspencer-mem.
43433         ($(objpfx)tst-rxspencer-mem): Change target to
43434         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43435         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43436         * posix/tst-rxspencer-no-utf8.c: New file.
43438         * elf/Makefile ($(objpfx)order.out): Remove rule.
43439         [$(run-built-tests) = yes] (tests): Depend on
43440         $(objpfx)order-cmp.out.
43441         ($(objpfx)order-cmp.out): New rule.
43442         [$(run-built-tests) = yes] (tests): Depend on
43443         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43444         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43445         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43446         $(objpfx)tst-array5-static-cmp.out.
43447         ($(objpfx)tst-array1.out): Remove rule.
43448         ($(objpfx)tst-array1-cmp.out): New rule.
43449         ($(objpfx)tst-array1-static.out): Remove rule.
43450         ($(objpfx)tst-array1-static-cmp.out): New rule.
43451         ($(objpfx)tst-array2.out): Remove rule.
43452         ($(objpfx)tst-array2-cmp.out): New rule.
43453         ($(objpfx)tst-array3.out): Remove rule.
43454         ($(objpfx)tst-array3-cmp.out): New rule.
43455         ($(objpfx)tst-array4.out): Remove rule.
43456         ($(objpfx)tst-array4-cmp.out): New rule.
43457         ($(objpfx)tst-array5.out): Remove rule.
43458         ($(objpfx)tst-array5-cmp.out): New rule.
43459         ($(objpfx)tst-array5-static.out): Remove rule.
43460         ($(objpfx)tst-array5-static-cmp.out): New rule.
43461         [$(run-built-tests) = yes] (tests): Depend on
43462         $(objpfx)order2-cmp.out.
43463         ($(objpfx)order2.out): Remove rule.
43464         ($(objpfx)order2-cmp.out): New rule.
43465         ($(objpfx)tst-initorder.out): Remove rule.
43466         [$(run-built-tests) = yes] (tests): Depend on
43467         $(objpfx)tst-initorder-cmp.out.
43468         ($(objpfx)tst-initorder-cmp.out): New rule.
43469         ($(objpfx)tst-initorder2.out): Remove rule.
43470         [$(run-built-tests) = yes] (tests): Depend on
43471         $(objpfx)tst-initorder2-cmp.out.
43472         ($(objpfx)tst-initorder2-cmp.out): New rule.
43473         [$(run-built-tests) = yes] (tests): Depend on
43474         $(objpfx)tst-unused-dep-cmp.out.
43475         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43476         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43477         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43478         on $(objpfx)tst-setvbuf1-cmp.out.
43479         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43480         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43481         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43482         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43483         ($(objpfx)tst-svc.out): Remove rule.
43484         ($(objpfx)tst-svc-cmp.out): New rule.
43486 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43488         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43489         * ctype/ctype.h [__USE_MISC]: Likewise.
43490         * dirent/dirent.h [__USE_MISC]: Likewise.
43491         * grp/grp.h [__USE_MISC]: Likewise.
43492         * io/fcntl.h [__USE_MISC]: Likewise.
43493         * io/sys/stat.h [__USE_MISC]: Likewise.
43494         * libio/stdio.h [__USE_MISC]: Likewise.
43495         * posix/unistd.h [__USE_MISC]: Likewise.
43496         * pwd/pwd.h [__USE_MISC]: Likewise.
43497         * stdlib.h [__USE_MISC]: Likewise.
43498         * string/bits/string2.h [__USE_MISC]: Likewise.
43499         * string/string.h [__USE_MISC]: Likewise.
43500         * time/time.h [__USE_MISC]: Likewise.
43502 2014-02-13  Andreas Schwab  <schwab@suse.de>
43504         [BZ #16574]
43505         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43506         second answer buffer if it was separately allocated.
43508 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43510         * sysdeps/mips/math-tests.h: Include <features.h>.
43511         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43512         (ROUNDING_TESTS_long_double): Do not define.
43513         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43514         (EXCEPTION_TESTS_long_double): Likewise.
43515         * sysdeps/mips/mips64/libm-test-ulps: Update.
43517         * include/features.h (__USE_BSD): Remove macro definitions.
43518         (__USE_SVID): Likewise.
43519         (_BSD_SOURCE): Likewise.
43520         (_SVID_SOURCE): Likewise.
43521         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43522         from definition of _DEFAULT_SOURCE.
43523         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43524         [_DEFAULT_SOURCE].
43525         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43526         * bits/mman.h [__USE_BSD]: Likewise.
43527         * bits/termios.h [__USE_BSD]: Likewise.
43528         * bits/waitstatus.h [__USE_BSD]: Likewise.
43529         * ctype/ctype.h [__USE_SVID]: Likewise.
43530         * dirent/dirent.h [__USE_BSD]: Likewise.
43531         * grp/grp.h [__USE_SVID]: Likewise.
43532         [__USE_BSD]: Likewise.
43533         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43534         * io/fcntl.h [__USE_BSD]: Likewise.
43535         * io/ftw.h [__USE_BSD]: Likewise.
43536         * io/sys/stat.h [__USE_BSD]: Likewise.
43537         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43538         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43539         * libio/stdio.h [__USE_SVID]: Likewise.
43540         [__USE_BSD]: Likewise.
43541         * math/math.h [__USE_SVID]: Likewise.
43542         [__USE_BSD]: Likewise.
43543         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43544         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43545         * misc/search.h [__USE_SVID]: Likewise.
43546         * misc/sys/mman.h [__USE_BSD]: Likewise.
43547         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43548         * misc/sys/uio.h [__USE_BSD]: Likewise.
43549         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43550         * posix/glob.h [__USE_BSD]: Likewise.
43551         * posix/regex.h [__USE_BSD]: Likewise.
43552         * posix/sys/types.h [__USE_BSD]: Likewise.
43553         [__USE_SVID]: Likewise.
43554         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43555         * posix/sys/wait.h [__USE_BSD]: Likewise.
43556         [__USE_SVID]: Likewise.
43557         * posix/unistd.h [__USE_BSD]: Likewise.
43558         [__USE_SVID]: Likewise.
43559         * pwd/pwd.h [__USE_SVID]: Likewise.
43560         * resolv/netdb.h [__USE_BSD]: Likewise.
43561         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43562         * signal/signal.h [__USE_BSD]: Likewise.
43563         [__USE_SVID]: Likewise.
43564         * socket/sys/socket.h [__USE_BSD]: Likewise.
43565         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43566         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43567         [__USE_SVID]: Likewise.
43568         * string/bits/string2.h [__USE_BSD]: Likewise.
43569         [__USE_SVID]: Likewise.
43570         * string/bits/string3.h [__USE_BSD]: Likewise.
43571         * string/endian.h [__USE_BSD]: Likewise.
43572         * string/string.h [__USE_SVID]: Likewise.
43573         [__USE_BSD]: Likewise.
43574         * string/strings.h [__USE_BSD]: Likewise.
43575         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43576         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43577         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43578         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43579         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43580         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43581         Likewise.
43582         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43583         Likewise.
43584         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43585         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43586         Likewise.
43587         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43588         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43589         Likewise.
43590         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43591         Likewise.
43592         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43593         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43594         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43595         Likewise.
43596         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43597         Likewise.
43598         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43599         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43600         * termios/termios.h [__USE_BSD]: Likewise.
43601         * time/sys/time.h [__USE_BSD]: Likewise.
43602         * time/time.h [__USE_BSD]: Likewise.
43603         [__USE_SVID]: Likewise.
43605         * Makefile (subdir_targets): Remove subdir_lint.out.
43607         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43608         (do-tst-printf): Likewise.
43609         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43610         $(objpfx)tst-printf.out.
43612         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43614         * Makerules (check-abi-%): Change target to
43615         $(objpfx)check-abi-%.out.
43616         (check-abi target): Update dependencies.
43617         (check-abi-pattern variable): Redirect output of diff to $@.
43618         (check-abi variable): Likewise.
43619         * elf/Makefile (check-abi): Update dependencies.
43621         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43622         unused.
43623         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43624         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43625         subnormal range.
43626         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43627         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43628         value has largest subnormal exponent.
43629         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43630         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43631         * sysdeps/aarch64/soft-fp/sfp-machine.h
43632         (_FP_TININESS_AFTER_ROUNDING): New macro.
43633         * sysdeps/alpha/soft-fp/sfp-machine.h
43634         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43635         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43636         Likewise.
43637         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43638         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43639         * sysdeps/mips/soft-fp/sfp-machine.h
43640         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43641         * sysdeps/powerpc/soft-fp/sfp-machine.h
43642         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43643         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43644         Likewise.
43645         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43646         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43647         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43648         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43649         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43650         Likewise.
43652 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43654         [BZ #16545]
43655         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43656         model 1.
43658 2014-02-12  Richard Henderson  <rth@redhat.com>
43660         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43661         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43662         * sysdeps/unix/sysv/linux/alpha: Move directory from
43663         ports/sysdeps/unix/sysv/linux/alpha.
43664         * README: Update listing for alpha-*-linux-gnu.
43666 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43668         * include/features.h: Update comment documenting feature test
43669         macros.
43670         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43671         _DEFAULT_SOURCE.
43672         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43673         (_SVID_SOURCE): Likewise.
43674         (_DEFAULT_SOURCE): Update description of default features.
43675         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43676         with _GNU_SOURCE.
43677         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43678         (S_ISVTX): Likewise.
43679         * manual/math.texi (Mathematical Constants): Likewise.
43680         * manual/signal.texi (Interrupted Primitives): Likewise.
43681         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43682         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43683         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43684         Don't refer to _SVID_SOURCE in warning text.
43686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43688         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43689         already defined.
43690         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43691         * sysdeps/mips/dl-lookup.c: Remove.
43692         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43694 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43696         [BZ #16447]
43697         * math/auto-libm-test-in: Add testcase for expl.
43698         * math/auto-libm-test-out: Regenerate.
43699         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43700         calculation of unsafe.
43701         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43703 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43705         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43706         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43707         ports/sysdeps/unix/sysv/linux/aarch64.
43708         * README: Update listing for aarch64*-*-linux-gnu.
43710 2014-02-11  Will Newton  <will.newton@linaro.org>
43712         * manual/probes.texi (Mathematical Function Probes): Use
43713         "triggered" instead of "hit".
43715         * manual/probes.texi (Internal Probes): Add documentation
43716         of setjmp, longjmp and longjmp_target probes.
43718         * include/stap-probe.h: Add comment about probe argument
43719         format.
43721         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43722         definition.  (tr_where, tr_freehook, tr_mallochook,
43723         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43725 2014-02-11  David S. Miller  <davem@davemloft.net>
43727         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43728         processing int_tests.
43730 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43732         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43733         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43734         * sysdeps/unix/sysv/linux/mips: Move directory from
43735         ports/sysdeps/unix/sysv/linux/mips.
43736         * README: Update listing for mips-*-linux-gnu and
43737         mips64-*-linux-gnu.
43739 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43741         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43742         * sysdeps/unix/sysv/linux/m68k: Move directory from
43743         ports/sysdeps/unix/sysv/linux/m68k.
43744         * README: Update listing for m68k-*-linux-gnu.
43746 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43748         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43749         * sysdeps/unix/sysv/linux/generic: Move directory from
43750         ports/sysdeps/unix/sysv/linux/generic.
43751         * sysdeps/unix/sysv/linux/tile: Move directory from
43752         ports/sysdeps/unix/sysv/linux/tile.
43753         * README: Update listing for tile*-*-linux-gnu.
43755 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43757         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43758         __builtin_expect.
43759         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43760         * catgets/open_catalog.c (__open_catalog): Likewise.
43761         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43762         * debug/confstr_chk.c: Likewise.
43763         * debug/fread_chk.c (__fread_chk): Likewise.
43764         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43765         * debug/getgroups_chk.c: Likewise.
43766         * debug/mbsnrtowcs_chk.c: Likewise.
43767         * debug/mbsrtowcs_chk.c: Likewise.
43768         * debug/mbstowcs_chk.c: Likewise.
43769         * debug/memcpy_chk.c: Likewise.
43770         * debug/memmove_chk.c: Likewise.
43771         * debug/mempcpy_chk.c: Likewise.
43772         * debug/memset_chk.c: Likewise.
43773         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43774         * debug/strcat_chk.c (__strcat_chk): Likewise.
43775         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43776         * debug/strncat_chk.c (__strncat_chk): Likewise.
43777         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43778         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43779         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43780         * debug/wcpncpy_chk.c: Likewise.
43781         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43782         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43783         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43784         * debug/wcsncpy_chk.c: Likewise.
43785         * debug/wcsnrtombs_chk.c: Likewise.
43786         * debug/wcsrtombs_chk.c: Likewise.
43787         * debug/wcstombs_chk.c: Likewise.
43788         * debug/wmemcpy_chk.c: Likewise.
43789         * debug/wmemmove_chk.c: Likewise.
43790         * debug/wmempcpy_chk.c: Likewise.
43791         * debug/wmemset_chk.c: Likewise.
43792         * dirent/scandirat.c (SCANDIRAT): Likewise.
43793         * dlfcn/dladdr1.c (dladdr1): Likewise.
43794         * dlfcn/dladdr.c (dladdr): Likewise.
43795         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43796         * dlfcn/dlerror.c (__dlerror): Likewise.
43797         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43798         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43799         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43800         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43801         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43802         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43803         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43804         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43805         Likewise.
43806         * elf/dl-conflict.c: Likewise.
43807         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43808         * elf/dl-dst.h: Likewise.
43809         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43810         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43811         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43812         * elf/dl-init.c (call_init, _dl_init): Likewise.
43813         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43814         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43815         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43816         Likewise.
43817         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43818         Likewise.
43819         * elf/dl-minimal.c (__libc_memalign): Likewise.
43820         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43821         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43822         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43823         * elf/dl-sym.c (do_sym): Likewise.
43824         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43825         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43826         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43827         * elf/dl-writev.h (_dl_writev): Likewise.
43828         * elf/ldconfig.c (search_dir): Likewise.
43829         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43830         (dl_main): Likewise.
43831         * elf/setup-vdso.h (setup_vdso): Likewise.
43832         * grp/compat-initgroups.c (compat_call): Likewise.
43833         * grp/fgetgrent.c (fgetgrent): Likewise.
43834         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43835         * grp/putgrent.c (putgrent): Likewise.
43836         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43837         Likewise.
43838         * hurd/hurdinit.c: Likewise.
43839         * iconvdata/8bit-gap.c (struct): Likewise.
43840         * iconvdata/ansi_x3.110.c : Likewise.
43841         * iconvdata/big5.c : Likewise.
43842         * iconvdata/big5hkscs.c : Likewise.
43843         * iconvdata/cp1255.c: Likewise.
43844         * iconvdata/cp1258.c : Likewise.
43845         * iconvdata/cp932.c : Likewise.
43846         * iconvdata/euc-cn.c: Likewise.
43847         * iconvdata/euc-jisx0213.c : Likewise.
43848         * iconvdata/euc-jp.c: Likewise.
43849         * iconvdata/euc-jp-ms.c : Likewise.
43850         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43851         * iconvdata/gb18030.c : Likewise.
43852         * iconvdata/gbbig5.c (const): Likewise.
43853         * iconvdata/gbgbk.c: Likewise.
43854         * iconvdata/gbk.c : Likewise.
43855         * iconvdata/ibm1364.c : Likewise.
43856         * iconvdata/ibm930.c : Likewise.
43857         * iconvdata/ibm932.c: Likewise.
43858         * iconvdata/ibm933.c : Likewise.
43859         * iconvdata/ibm935.c : Likewise.
43860         * iconvdata/ibm937.c : Likewise.
43861         * iconvdata/ibm939.c : Likewise.
43862         * iconvdata/ibm943.c: Likewise.
43863         * iconvdata/iso_11548-1.c: Likewise.
43864         * iconvdata/iso-2022-cn.c : Likewise.
43865         * iconvdata/iso-2022-cn-ext.c : Likewise.
43866         * iconvdata/iso-2022-jp-3.c: Likewise.
43867         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43868         * iconvdata/iso-2022-kr.c : Likewise.
43869         * iconvdata/iso646.c (gconv_end): Likewise.
43870         * iconvdata/iso_6937-2.c : Likewise.
43871         * iconvdata/iso_6937.c : Likewise.
43872         * iconvdata/iso8859-1.c: Likewise.
43873         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43874         * iconvdata/shift_jisx0213.c : Likewise.
43875         * iconvdata/sjis.c : Likewise.
43876         * iconvdata/t.61.c : Likewise.
43877         * iconvdata/tcvn5712-1.c : Likewise.
43878         * iconvdata/tscii.c: Likewise.
43879         * iconvdata/uhc.c : Likewise.
43880         * iconvdata/unicode.c (gconv_end): Likewise.
43881         * iconvdata/utf-16.c (gconv_end): Likewise.
43882         * iconvdata/utf-32.c (gconv_end): Likewise.
43883         * iconvdata/utf-7.c (base64): Likewise.
43884         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43885         * iconv/gconv_close.c (__gconv_close): Likewise.
43886         * iconv/gconv_open.c (__gconv_open): Likewise.
43887         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43888         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43889         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43890         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43891         (ucs4le_internal_loop_single): Likewise.
43892         * iconv/iconv.c (iconv): Likewise.
43893         * iconv/iconv_close.c: Likewise.
43894         * iconv/loop.c (SINGLE): Likewise.
43895         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43896         * include/atomic.h: Likewise.
43897         * inet/inet6_option.c (option_alloc): Likewise.
43898         * intl/bindtextdom.c (set_binding_values): Likewise.
43899         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43900         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43901         * intl/localealias.c (read_alias_file): Likewise.
43902         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43903         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43904         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43905         * libio/fmemopen.c (fmemopen): Likewise.
43906         * libio/iofgets.c (_IO_fgets): Likewise.
43907         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43908         * libio/iofgetws.c (fgetws): Likewise.
43909         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43910         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43911         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43912         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43913         * locale/findlocale.c (_nl_find_locale): Likewise.
43914         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43915         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43916         Likewise.
43917         * locale/setlocale.c (setlocale): Likewise.
43918         * login/programs/pt_chown.c (main): Likewise.
43919         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43920         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43921         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43922         (mmap, mmap64, mremap, munmap): Likewise.
43923         * math/e_exp2l.c: Likewise.
43924         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43925         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43926         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43927         * math/s_catan.c (__catan): Likewise.
43928         * math/s_catanf.c (__catanf): Likewise.
43929         * math/s_catanh.c (__catanh): Likewise.
43930         * math/s_catanhf.c (__catanhf): Likewise.
43931         * math/s_catanhl.c (__catanhl): Likewise.
43932         * math/s_catanl.c (__catanl): Likewise.
43933         * math/s_ccosh.c (__ccosh): Likewise.
43934         * math/s_ccoshf.c (__ccoshf): Likewise.
43935         * math/s_ccoshl.c (__ccoshl): Likewise.
43936         * math/s_cexp.c (__cexp): Likewise.
43937         * math/s_cexpf.c (__cexpf): Likewise.
43938         * math/s_cexpl.c (__cexpl): Likewise.
43939         * math/s_clog10.c (__clog10): Likewise.
43940         * math/s_clog10f.c (__clog10f): Likewise.
43941         * math/s_clog10l.c (__clog10l): Likewise.
43942         * math/s_clog.c (__clog): Likewise.
43943         * math/s_clogf.c (__clogf): Likewise.
43944         * math/s_clogl.c (__clogl): Likewise.
43945         * math/s_csin.c (__csin): Likewise.
43946         * math/s_csinf.c (__csinf): Likewise.
43947         * math/s_csinh.c (__csinh): Likewise.
43948         * math/s_csinhf.c (__csinhf): Likewise.
43949         * math/s_csinhl.c (__csinhl): Likewise.
43950         * math/s_csinl.c (__csinl): Likewise.
43951         * math/s_csqrt.c (__csqrt): Likewise.
43952         * math/s_csqrtf.c (__csqrtf): Likewise.
43953         * math/s_csqrtl.c (__csqrtl): Likewise.
43954         * math/s_ctan.c (__ctan): Likewise.
43955         * math/s_ctanf.c (__ctanf): Likewise.
43956         * math/s_ctanh.c (__ctanh): Likewise.
43957         * math/s_ctanhf.c (__ctanhf): Likewise.
43958         * math/s_ctanhl.c (__ctanhl): Likewise.
43959         * math/s_ctanl.c (__ctanl): Likewise.
43960         * math/w_pow.c: Likewise.
43961         * math/w_powf.c: Likewise.
43962         * math/w_powl.c: Likewise.
43963         * math/w_scalb.c (sysv_scalb): Likewise.
43964         * math/w_scalbf.c (sysv_scalbf): Likewise.
43965         * math/w_scalbl.c (sysv_scalbl): Likewise.
43966         * misc/error.c (error_tail): Likewise.
43967         * misc/pselect.c (__pselect): Likewise.
43968         * nis/nis_callback.c (__nis_create_callback): Likewise.
43969         * nis/nis_call.c (__nisfind_server): Likewise.
43970         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43971         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43972         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43973         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43974         * nis/nis_lookup.c (nis_lookup): Likewise.
43975         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43976         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43977         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43978         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43979         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43980         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43981         * nis/nss_compat/compat-initgroups.c (add_group)
43982         (internal_getgrent_r): Likewise.
43983         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43984         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43985         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43986         (internal_getspnam_r): Likewise.
43987         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43988         (_nss_nis_getaliasbyname_r): Likewise.
43989         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43990         (_nss_nis_getntohost_r): Likewise.
43991         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43992         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43993         (_nss_nis_getgrgid_r): Likewise.
43994         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43995         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43996         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43997         (_nss_nis_gethostbyname4_r): Likewise.
43998         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43999         (initgroups_netid): Likewise.
44000         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44001         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44002         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44003         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44004         (_nss_nis_getprotobynumber_r): Likewise.
44005         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44006         (_nss_nis_getsecretkey): Likewise.
44007         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44008         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44009         (_nss_nis_getpwuid_r): Likewise.
44010         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44011         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44012         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44013         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44014         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44015         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44016         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44017         Likewise.
44018         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44019         (_nss_nisplus_getntohost_r): Likewise.
44020         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44021         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44022         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44023         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44024         Likewise.
44025         * nis/nss_nisplus/nisplus-initgroups.c
44026         (_nss_nisplus_initgroups_dyn): Likewise.
44027         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44028         (_nss_nisplus_getnetbyaddr_r): Likewise.
44029         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44030         (_nss_nisplus_getprotobynumber_r): Likewise.
44031         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44032         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44033         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44034         Likewise.
44035         * nis/nss_nisplus/nisplus-service.c
44036         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44037         (_nss_nisplus_getservbyport_r): Likewise.
44038         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44039         (_nss_nisplus_getspnam_r): Likewise.
44040         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44041         Likewise.
44042         * nscd/aicache.c (addhstaiX): Likewise.
44043         * nscd/cache.c (cache_search, prune_cache): Likewise.
44044         * nscd/connections.c (register_traced_file, send_ro_fd)
44045         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44046         (main_loop_epoll): Likewise.
44047         * nscd/grpcache.c (addgrbyX): Likewise.
44048         * nscd/hstcache.c (addhstbyX): Likewise.
44049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44050         * nscd/mem.c (gc, mempool_alloc): Likewise.
44051         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44052         (addinnetgrX): Likewise.
44053         * nscd/nscd-client.h (__nscd_acquire_maplock)
44054         (__nscd_drop_map_ref): Likewise.
44055         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44056         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44057         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44058         Likewise.
44059         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44060         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44061         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44062         (__nscd_get_map_ref): Likewise.
44063         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44064         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44065         Likewise.
44066         * nscd/pwdcache.c (addpwbyX): Likewise.
44067         * nscd/selinux.c (preserve_capabilities): Likewise.
44068         * nscd/servicescache.c (addservbyX): Likewise.
44069         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44070         * posix/fnmatch.c (fnmatch): Likewise.
44071         * posix/getopt.c (_getopt_internal_r): Likewise.
44072         * posix/glob.c (glob, glob_in_dir): Likewise.
44073         * posix/wordexp.c (exec_comm_child): Likewise.
44074         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44075         (getanswer_r, gaih_getanswer_slice): Likewise.
44076         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44077         * resolv/res_init.c: Likewise.
44078         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44079         * resolv/res_query.c (__libc_res_nquery): Likewise.
44080         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44081         Likewise.
44082         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44083         * stdio-common/perror.c (perror): Likewise.
44084         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44085         * stdio-common/tmpnam.c (tmpnam): Likewise.
44086         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44087         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44088         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44089         Likewise.
44090         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44091         * stdlib/putenv.c (putenv): Likewise.
44092         * stdlib/setenv.c (__add_to_environ): Likewise.
44093         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44094         * stdlib/strtol_l.c (INTERNAL): Likewise.
44095         * string/memmem.c (memmem): Likewise.
44096         * string/strerror.c (strerror): Likewise.
44097         * string/strnlen.c (__strnlen): Likewise.
44098         * string/test-memmem.c (simple_memmem): Likewise.
44099         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44100         * sunrpc/pm_getport.c (__get_socket): Likewise.
44101         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44102         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44103         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44104         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44105         Likewise.
44106         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44107         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44108         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44109         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44110         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44111         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44112         Likewise.
44113         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44114         Likewise.
44115         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44116         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44117         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44118         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44119         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44121         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44122         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44123         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44124         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44125         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44126         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44127         Likewise.
44128         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44129         Likewise.
44130         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44131         Likewise.
44132         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44133         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44135         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44136         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44137         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44138         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44139         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44141         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44142         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44143         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44144         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44145         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44147         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44148         Likewise.
44149         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44150         Likewise.
44151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44152         Likewise.
44153         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44154         Likewise.
44155         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44157         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44158         Likewise.
44159         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44160         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44161         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44162         * sysdeps/posix/sleep.c: Likewise.
44163         * sysdeps/posix/tempname.c: Likewise.
44164         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44165         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44166         Likewise.
44167         * sysdeps/powerpc/powerpc32/dl-machine.h
44168         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44169         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44170         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44171         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44172         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44173         Likewise.
44174         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44176         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44177         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44178         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44179         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44180         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44181         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44182         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44183         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44185         (elf_machine_lazy_rel): Likewise.
44186         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44188         (elf_machine_lazy_rel): Likewise.
44189         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44190         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44191         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44192         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44193         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44194         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44195         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44197         Likewise.
44198         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44199         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44200         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44201         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44202         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44203         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44204         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44205         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44206         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44207         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44208         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44209         Likewise.
44210         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44211         (__posix_fallocate64_l64): Likewise.
44212         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44213         (posix_fallocate): Likewise.
44214         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44215         Likewise.
44216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44217         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44218         (getifaddrs_internal): Likewise.
44219         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44220         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44221         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44222         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44223         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44224         (__posix_fallocate64_l64): Likewise.
44225         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44226         Likewise.
44227         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44228         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44229         (__get_clockfreq): Likewise.
44230         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44231         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44232         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44235         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44236         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44237         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44238         Likewise.
44239         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44240         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44241         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44242         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44243         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44244         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44245         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44246         Likewise.
44247         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44248         (posix_fallocate): Likewise.
44249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44250         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44251         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44252         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44253         (elf_machine_rela, elf_machine_rela_relative)
44254         (elf_machine_lazy_rel): Likewise.
44255         * time/asctime.c (asctime_internal): Likewise.
44256         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44257         * time/tzset.c (__tzset_parse_tz): Likewise.
44258         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44259         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44260         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44261         * wcsmbs/wcsmbsload.h: Likewise.
44263         [BZ #15894]
44264         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44266         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44267         (arena_get2): Remove THREAD_STATS conditionals.
44268         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44269         (__malloc_stats, int): Likewise.
44271 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44273         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44274         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44276         * manual/setjmp.texi: Fix typos/grammar errors.
44278         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44279         Only return early when n is <= 0.  Delete unused return statement.
44281         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44282         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44283         * debug/tst-longjmp_chk3.c: New file.
44285         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44286         (test_main): Replace code with set_fortify_handler call.
44287         * debug/test-strcpy_chk.c: Likewise.
44288         * debug/tst-chk1.c: Likewise.
44289         * debug/tst-longjmp_chk.c: Likewise.
44290         * test-skeleton.c: Include fcntl.h & paths.h
44291         (set_fortify_handler): Define.
44293         * debug/tst-longjmp_chk.c: Add header comment and include
44294         ../test-skeleton.c.
44295         (do_test): Mark static.
44296         (TEST_FUNCTION): Define.
44298         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44299         (IP_PMTUDISC_INTERFACE): Likewise.
44300         (IP_MULTICAST_IF): Likewise.
44301         (IP_MULTICAST_TTL): Likewise.
44302         (IP_MULTICAST_LOOP): Likewise.
44303         (IP_ADD_MEMBERSHIP): Likewise.
44304         (IP_DROP_MEMBERSHIP): Likewise.
44305         (IP_UNBLOCK_SOURCE): Likewise.
44306         (IP_BLOCK_SOURCE): Likewise.
44307         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44308         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44309         (IP_MSFILTER): Likewise.
44310         (MCAST_JOIN_GROUP): Likewise.
44311         (MCAST_BLOCK_SOURCE): Likewise.
44312         (MCAST_UNBLOCK_SOURCE): Likewise.
44313         (MCAST_LEAVE_GROUP): Likewise.
44314         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44315         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44316         (MCAST_MSFILTER): Likewise.
44317         (IP_MULTICAST_ALL): Likewise.
44318         (IP_UNICAST_IF): Likewise.
44320         * timezone/Makefile: Delete $(have-ksh) check.
44321         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44322         * timezone/tzselect.ksh: Add +x mode bits.
44324         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44325         (ANON_INODE_FS_MAGIC): Likewise.
44326         (BDEVFS_MAGIC): Likewise.
44327         (BINFMTFS_MAGIC): Likewise.
44328         (BTRFS_TEST_MAGIC): Likewise.
44329         (CRAMFS_MAGIC_WEND): Likewise.
44330         (DEBUGFS_MAGIC): Likewise.
44331         (ECRYPTFS_SUPER_MAGIC): Likewise.
44332         (EXT3_SUPER_MAGIC): Likewise.
44333         (EXT4_SUPER_MAGIC): Likewise.
44334         (FUTEXFS_SUPER_MAGIC): Likewise.
44335         (HOSTFS_SUPER_MAGIC): Likewise.
44336         (HUGETLBFS_MAGIC): Likewise.
44337         (MINIX3_SUPER_MAGIC): Likewise.
44338         (MTD_INODE_FS_MAGIC): Likewise.
44339         (NILFS_SUPER_MAGIC): Likewise.
44340         (OPENPROM_SUPER_MAGIC): Likewise.
44341         (PIPEFS_MAGIC): Likewise.
44342         (PSTOREFS_MAGIC): Likewise.
44343         (QNX6_SUPER_MAGIC): Likewise.
44344         (RAMFS_MAGIC): Likewise.
44345         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44346         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44347         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44348         (SECURITYFS_MAGIC): Likewise.
44349         (SELINUX_MAGIC): Likewise.
44350         (SMACK_MAGIC): Likewise.
44351         (SOCKFS_MAGIC): Likewise.
44352         (SQUASHFS_MAGIC): Likewise.
44353         (STACK_END_MAGIC): Likewise.
44354         (TMPFS_MAGIC): Likewise.
44355         (USBDEVICE_SUPER_MAGIC): Likewise.
44356         (V9FS_MAGIC): Likewise.
44357         (XENFS_SUPER_MAGIC): Likewise.
44358         (CRAMFS_MAGIC): Fix typo in comment.
44359         (EXT2_SUPER_MAGIC): Update comment.
44360         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44362 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44364         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44365         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44366         * sysdeps/unix/sysv/linux/arm: Move directory from
44367         ports/sysdeps/unix/sysv/linux/arm.
44368         * README: Update listing for arm-*-linux-gnueabi.
44370         * README: Remove mention of am33.
44372 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44374         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44375         than the comma operator, to avoid "rhs of comma has no effect"
44376         compiler warnings.
44377         (__sigfillset, __sigandset, __sigorset): Likewise.
44378         * include/signal.h (__sigemptyset): Likewise.
44379         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44381 2014-02-07  Allan McRae  <allan@archlinux.org>
44383         * version.h (RELEASE): Set to "development".
44384         (VERSION): Set to "2.19.90"
44385         * NEWS: Add 2.20 section.
44387 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44389         [BZ #16529]
44390         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44392 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44394         * manual/contrib.texi: Update entry for Carlos O'Donell,
44395         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44397 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44399         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44401         * sysdeps/unix/sysv/linux/kernel-features.h
44402         [__LINUX_KERNEL_VERSION >= 0x020621]
44403         (__ASSUME_PROC_PID_TASK_COMM): Define.
44405 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44407         [BZ #16398]
44408         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44409         conversion when destination buffer does not have enough space.
44410         * libio/tst-ftell-partial-wide.c: New test case.
44411         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44413         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44414         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44415         Leonard and Allan McRae.
44417 2014-02-04  David S. Miller  <davem@davemloft.net>
44419         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44420         32-bit.
44422 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44425         New file
44426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44427         New file
44428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44429         New file.
44430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44431         New file.
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44433         New file.
44434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44435         New file.
44436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44437         New file.
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44439         New file.
44440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44441         New file.
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44443         New file.
44444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44445         New file.
44446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44447         New file.
44448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44449         New file.
44451 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44453         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44454         * shlib-versions: Likewise.
44456 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44457             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44459         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44460         (abilist-pattern): New variable, set to %-le.abilist.
44462         * Makerules (abilist-pattern): New variable.
44463         (vpath): Use $(abilist-pattern) in place of %.abilist.
44464         (check-abi-% pattern rule): Likewise.
44465         (check-abi, update-abi): Likewise.
44467 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44471 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44473         * manual/startup.texi: Add next, previous, and top entries for
44474         the `Program Arguments' and `Environment Variables' nodes.
44476 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44478         * manual/macros.texi: Add comments before MTASC-safety macros.
44480         * manual/users.texi: Document MTASC-safety properties.
44482         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44483         (pthread_getspecific, pthread_setspecific): Format with
44484         @deftypefun, and add @safety note.
44485         * manual/signal.texi: Move comments that analyze the above
44486         functions to their home place.
44488 2014-02-03  Allan McRae  <allan@archlinux.org>
44490         * po/sl.po: Update Slovenian translation from translation project.
44492 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44494         * manual/time.texi (timegm): Add missing blank after @c.
44495         Reported by Joseph Myers <joseph@codesourcery.com>.
44497 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44499         * manual/check-safety.sh: New.
44500         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44502         * manual/terminal.texi: Document MTASC-safety properties.
44504         * manual/filesys.texi: Document MTASC-safety properties.
44506         * manual/errno.texi: Document MTASC-safety properties.
44508         * manual/intro.texi: Document safety identifiers and
44509         conditionals.
44511         * manual/string.texi (wcstok): Fix prototype.
44512         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44514         * manual/time.texi: Document MTASC-safety properties.
44516         * manual/string.texi: Document MTASC-safety properties.
44518         * manual/threads.texi: Document MTASC-safety properties.
44520         * manual/stdio.texi: Document MTASC-safety properties.
44522         * manual/syslog.texi: Document MTASC-safety properties.
44524         * manual/sysinfo.texi: Document MTASC-safety properties.
44526         * manual/startup.texi: Document MTASC-safety properties.
44528         * manual/socket.texi: Document MTASC-safety properties.
44530         * manual/signal.texi: Document MTASC-safety properties.
44532 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44534         * manual/setjmp.texi: Document MTASC-safety properties.
44536         * manual/search.texi: Document MTASC-safety properties.
44538         * manual/resource.texi: Document MTASC-safety properties.
44540         * manual/process.texi: Document MTASC-safety properties.
44542         * manual/platform.texi: Document MTASC-safety properties.
44544         * manual/pipe.texi: Document MTASC-safety properties.
44546         * manual/pattern.texi: Document MTASC-safety properties.
44548         * manual/message.texi: Document MTASC-safety properties.
44550         [BZ #12751]
44551         * manual/memory.texi: Document MTASC-safety properties.
44553         * manual/math.texi: Document MTASC-safety properties.
44555         * manual/locale.texi: Document MTASC-safety properties.
44557         * manual/llio.texi: Document MTASC-safety properties.
44559         * manual/libdl.texi: New.
44561         * manual/lang.texi: Document MTASC-safety properties.
44563         * manual/job.texi: Document MTASC-safety properties.
44565         * manual/getopt.texi: Document MTASC-safety properties.
44567         * manual/ctype.texi: Document MTASC-safety properties.
44569 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44571         [BZ #16046]
44572         * csu/libc-tls.c (static_map): Remove variable.
44573         (__libc_setup_tls): Use main executable's link map for TLS data.
44574         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44575         casing for LM_ID_BASE and GL(dl_nns).
44576         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44577         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44578         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44579         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44580         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44581         member.
44582         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44583         l_phnum members.
44585 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44587         * manual/debug.texi: Document MTASC-safety properties.
44589 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44591         [BZ #16510]
44592         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44593         of __x86_64__ when disabling x87 inline functions.
44595 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44597         * manual/charset.texi: Document MTASC-safety properties.
44599         * manual/crypt.texi: Document MTASC-safety properties.
44601         * manual/conf.texi: Document MTASC-safety properties.
44603         * manual/arith.texi: Document MTASC-safety properties.
44605         * manual/argp.texi: Document MTASC-safety properties.
44607         * manual/macros.texi: Introduce macros to document multi
44608         thread, asynchronous signal and asynchronous cancellation
44609         safety properties.
44610         * manual/intro.texi: Introduce the properties themselves.
44612 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44614         * sysdeps/sh/sh4/Makefile: New file.
44616 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44618         * math/gen-libm-test.pl ($srcdir): New variable.
44619         ($auto_input): Use it.
44621 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44623         [BZ #16506]
44624         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44625         access beyond array bounds when parsing netgroups file.
44627         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44628         the old buffer before realloc.
44630 2014-01-27  Allan McRae  <allan@archlinux.org>
44632         * po/fr.po: Update French translation from translation project.
44634 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44636         * sysdeps/sh/libm-test-ulps: Regenerate.
44638 2014-01-24  David S. Miller  <davem@davemloft.net>
44640         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44642 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44644         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44645         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44647 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44649         [BZ #16474]
44650         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44651         string pointers after reallocation.
44653 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44655         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44656         __SH4A__ instead of __SH_FPU_ANY__.
44658 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44660         * sysdeps/sh/fpu_control.h: New file.
44661         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44662         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44663         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44664         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44665         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44666         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44667         * sysdeps/sh/sys/ucontext.h: Remove.
44668         * sysdeps/sh/sys: Remove directory.
44670 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44672         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44673         s390/sys/ucontext.h.
44674         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44675         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44677 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44679         [BZ #15605]
44680         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44682 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44684         [BZ#16431]
44685         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44686         Adjust the vDSO correctly for internal calls.
44687         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44689 2014-01-20  Allan McRae  <allan@archlinux.org>
44691         * po/ca.po: Update Catalan translation from translation project.
44693 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44695         * sysdeps/s390/sotruss-lib.c: New file.
44697 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44699         [BZ#16430]
44700         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44701         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44702         local calls issues by not having a PLT stub required for IFUNC calls.
44703         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44705 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44707         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44708         * math/test-fpucw-static.c: Likewise.
44710 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44712         [BZ #16453]
44713         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44715 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44717         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44718         implementation for powerpc.
44720 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44722         [BZ #14782]
44723         * sysdeps/posix/system.c (__libc_system): Do not enable
44724         asynchronous cancellation.
44726 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44728         [BZ #16427]
44729         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44730         handling only for numbers special also in the IEEE case.
44732 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44734         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44736 2014-01-11  Allan McRae  <allan@archlinux.org>
44738         * po/bg.po: Update Bulgarian translation from translation project.
44740         * po/de.po: Update German translation from translation project.
44742 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44744         * sysdeps/generic/gcc-compat.h: New file.
44746 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44748         * benchtests/asin-inputs: Correct slow inputs.
44749         * benchtests/acos-inputs: Likewise.
44751 2014-01-10  Allan McRae  <allan@archlinux.org>
44753         * po:sv.po: Update Swedish translation from translation project.
44755         * po/vi.po: Update Vietnamese translation from translation project.
44757         * po/eo.po: Update Esperanto translation from translation project.
44759         * po/cs.po: Update Czech translation from translation project.
44761         * po/nl.po: Update Dutch translation from translation project.
44763         * po/pl.po: Update Polish translation from translation project.
44765         * po/ru.po: Update Russian translation from translation project.
44767         * po/uk.po: Update Ukrainian translation from translation project.
44769 2014-01-08  Brooks Moses  <bmoses@google.com>
44771         * elf/dl-load.c: Fix comment typo.
44773 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44775         * po/header.pot: Rename to...
44776         * po/pot.header: ... this.
44777         * po/Makefile: Use pot.header.
44779 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44780             Maxim Kuvyrkov  <maxim@kugelworks.com>
44782         [BZ #16394]
44783         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44784         SRC and DEST against LEN.
44786 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44788         [BZ #16414]
44789         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44790         implementation.
44791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44793 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44797 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44799         [BZ #16408]
44800         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44801         for large positive arguments.
44803 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44805         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44807         * math/auto-libm-test-in: Mark various tests with
44808         xfail-rounding:ldbl-128ibm.
44809         * math/auto-libm-test-out: Regenerated.
44811         [BZ #16407]
44812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44813         Increase overflow threshold.
44815 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44817         [BZ #14286]
44818         * stdio-common/vfprintf.c: Check for integer overflow.
44820 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44822         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44823         the first argument and return value of __tls_get_addr_internal.
44825 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44827         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44828         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44830 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44832         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44833         * sysdeps/s390/rtld-global-offsets.sym: New file.
44834         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44835         GLIBC_2.19 symbol.
44836         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44837         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44839         ... this.
44840         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44841         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44842         ... this.
44843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44844         Regenerate.
44845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44846         Regenerate.
44847         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44848         halfs of GPRs for high_gprs contexts.
44849         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44850         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44851         field.
44852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44853         uc_flags field.
44854         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44855         64 bit versions:
44856         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44857         for high GPRs (uc_high_gprs) and for future extensions
44858         (__reserved).
44859         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44860         for future extensions (__reserved).
44861         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44862         64 bit versions:
44863         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44864         SC_HIGHGPRS offset definition.
44865         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44866         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44868         * Versions.def: Add GLIBC_2.19 for libpthread.
44869         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44870         siglongjmp for libpthread with GLIBC_2.19 symver.
44871         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44872         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44873         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44874         * sysdeps/s390/__longjmp.c: New file.
44875         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44876         * sysdeps/s390/longjmp.c: New file.
44877         * sysdeps/s390/setjmp.S: New file.
44878         * sysdeps/s390/sigjmp.S: New file.
44879         * sysdeps/s390/v1-longjmp.c: New file.
44880         * sysdeps/s390/v1-setjmp.h: New file.
44881         * sysdeps/s390/v1-sigjmp.c: New file.
44882         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44883         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44884         GLIBC_2.19 version.
44885         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44886         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44887         versioned symbols for ____longjmp_chk.
44888         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44889         Likewise.
44890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44891         Regenerate.
44892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44893         Regenerate.
44894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44895         Regenerate.
44896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44897         Regenerate.
44898         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44899         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44900         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44901         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44902         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44903         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44904         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44905         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44906         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44907         * sysdeps/s390/rtld-__longjmp.c: New file.
44908         * sysdeps/s390/rtld-setjmp.S: New file.
44910 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44912         [BZ #16400]
44913         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44914         Return -__logl (x) for small positive arguments without evaluating
44915         a polynomial.
44917 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44919         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44920         Rename to ...
44921         (__ptrace_peeksiginfo_args): ... this.
44922         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44923         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44924         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44926 2014-01-06  Allan McRae  <allan@archlinux.org>
44928         * inet/netinet/in.h: Fix typo in comment.
44930 2014-01-05  Andreas Jaeger  <aj@suse.de>
44932         * sysdeps/i386/fpu/libm-test-ulps: Update.
44934 2014-01-05  Allan McRae  <allan@archlinux.org>
44936         * po/libc.pot: Regenerated.
44938         * malloc/memusagestat.c: Fix gettext call formatting.
44940 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44942         * nscd/nscd.c: Improve usage() output.
44944 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44946         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44947         * sysdeps/unix/sysv/linux/configure: Regenerated.
44948         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44949         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44951 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44953         [BZ #16390]
44954         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44955         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44957 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44960         extra tokens at end of #undef directive.
44961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44962         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44965 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44967         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44969         * math/auto-libm-test-in: Mark various tests with
44970         xfail-rounding:ldbl-128ibm.
44971         * math/auto-libm-test-out: Regenerated.
44973 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44975         [BZ #16386]
44976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44977         numbers with subnormal high part when calculating exponent.
44979         [BZ #16385]
44980         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44981         fabs.
44983         [BZ #16384]
44984         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44985         M_LN2l.
44986         (__ieee754_acoshl): Use __log1pl not __log1p.
44988 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44990         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44991         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44992         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44993         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44994         (reused_arena, arena_get2): Convert to GNU style.
44995         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44996         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44997         (memalign_check, __malloc_set_state): Likewise.
44998         * malloc/mallocbug.c (main): Likewise.
44999         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45000         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45001         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45002         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45003         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45004         (__posix_memalign, malloc_info): Likewise.
45005         * malloc/malloc.h: Likewise.
45006         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45007         (mallochook, memalignhook, reallochook, mabort): Likewise.
45008         * malloc/mcheck.h: Likewise.
45009         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45010         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45011         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45012         * malloc/morecore.c (__default_morecore): Likewise.
45013         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45014         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45015         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45016         (print_and_abort): Likewise.
45017         * malloc/obstack.h: Likewise.
45018         * malloc/set-freeres.c (__libc_freeres): Likewise.
45019         * malloc/tst-mallocstate.c (main): Likewise.
45020         * malloc/tst-mtrace.c (main): Likewise.
45021         * malloc/tst-realloc.c (do_test): Likewise.
45023 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025         [BZ #16366]
45026         * nscd/netgroupcache.c (do_notfound): New function.
45027         (addgetnetgrentX): Use it.
45029         [BZ # 16365]
45030         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45031         NSS_STATUS_NOTFOUND.
45033 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45035         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45038 2014-01-01  Allan McRae  <allan@archlinux.org>
45040         * scripts/update-copyrights: Update configure input file suffix.
45042         * NEWS: Update copyright year.
45043         * catgets/gencat.c: Likewise.
45044         * csu/version.c: Likewise.
45045         * debug/catchsegv.sh: Likewise.
45046         * debug/pcprofiledump.c: Likewise.
45047         * debug/xtrace.sh: Likewise.
45048         * elf/ldconfig.c: Likewise.
45049         * elf/ldd.bash.in: Likewise.
45050         * elf/pldd.c: Likewise.
45051         * elf/sotruss.ksh: Likewise.
45052         * elf/sprof.c: Likewise.
45053         * iconv/iconv_prog.c: Likewise.
45054         * iconv/iconvconfig.c: Likewise.
45055         * locale/programs/locale.c: Likewise.
45056         * locale/programs/localedef.c: Likewise.
45057         * login/programs/pt_chown.c: Likewise.
45058         * malloc/memusage.sh: Likewise.
45059         * malloc/memusagestat.c: Likewise.
45060         * malloc/mtrace.pl: Likewise.
45061         * manual/libc.texinfo: Likewise.
45062         * nscd/nscd.c: Likewise.
45063         * nss/getent.c: Likewise.
45064         * nss/makedb.c: Likewise.
45065         * posix/getconf.c: Likewise.
45066         * scripts/test-installation.pl: Likewise.
45068         * All files with FSF copyright notices: Update copyright dates
45069         using scripts/update-copyrights.
45070         * intl/plural.c: Regenerated.
45071         * locale/programs/charmap-kw.h: Likewise.
45072         * locale/programs/locfile-kw.h: Likewise.
45074 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45076         * sysdeps/unix/sysv/linux/configure: Regenerated.
45077         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45078         the linux/fanotify.h header.
45079         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45080         HAVE_LINUX_FANOTIFY_H is defined.
45082 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45084         * benchtests/cos-inputs: New inputs.
45085         * benchtests/sin-inputs: Likewise.
45087         * benchtests/atan-inputs: New inputs. Fix name of multiple
45088         precision fallback inputs.
45090         * benchtests/atanh-inputs: New inputs.
45091         * benchtests/tanh-inputs: Likewise.
45093         * benchtests/acosh-inputs: New inputs.
45094         * benchtests/asinh-inputs: Likewise.
45096         * benchtests/cosh-inputs: New inputs.
45097         * benchtests/sinh-inputs: Likewise.
45099         * benchtests/acos-inputs: Add more inputs.
45100         * benchtests/asin-inputs: Likewise.
45102 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45104         [BZ #16375]
45105         * manual/arith.texi: Fix spelling.
45106         * manual/charset.texi: Likewise.
45107         * manual/errno.texi: Likewise.
45108         * manual/filesys.texi: Likewise.
45109         * manual/lang.texi: Likewise.
45110         * manual/llio.texi: Likewise.
45111         * manual/locale.texi: Likewise.
45112         * manual/message.texi: Likewise.
45113         * manual/resource.texi: Likewise.
45114         * manual/search.texi: Likewise.
45115         * manual/setjmp.texi: Likewise.
45116         * manual/stdio.texi: Likewise.
45117         * manual/string.texi: Likewise.
45118         * manual/sysinfo.texi: Likewise.
45119         * manual/time.texi: Likewise.
45121 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45123         * po/sl.po: New file.
45125 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45127         * .gitignore: Add core/.gdbinit/.gdb_history.
45129 2013-12-27  Allan McRae  <allan@archlinux.org>
45131         [BZ #16369]
45132         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45133         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45135 2013-12-24  Brooks Moses  <bmoses@google.com>
45137         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45138         all compilers that claim C++98 compliance, not just GCC.
45139         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45140         Likewise.
45142 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45144         * NEWS: Restore accidentally deleted bug-fix entries.
45146 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45147             Ondřej Bílka  <neleai@seznam.cz>
45149         [BZ #15073]
45150         * malloc/malloc.c (_int_free): Perform sanity check only if we
45151         have_lock.
45153 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45155         [BZ #12986]
45156         * manual/stdio.texi (String Input Conversions): Clarify that character
45157         classes are not supported.
45159 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45163 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45165         [BZ #16337]
45166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45167         Calculate results for small negative arguments directly rather
45168         than using reflection formula with special underflow handling.
45170         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45171         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45172         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45173         (fchflags): Likewise.
45174         (revoke): Likewise.
45175         (setlogin): Likewise.
45176         (sigaltstack): Likewise.
45177         (wait4): Likewise.
45178         (sigblock): Remove.
45179         (sigsetmask): Likewise.
45180         (wait3): Likewise.
45181         (waitpid): Likewise.
45182         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45183         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45184         file.
45185         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45186         * sysdeps/unix/bsd/Makefile: ... here.
45187         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45188         * sysdeps/unix/bsd/Versions: ... here.
45189         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45190         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45191         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45192         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45193         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45194         * sysdeps/unix/bsd/sigblock.c: ... here.
45195         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45196         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45197         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45198         * sysdeps/unix/bsd/sigvec.c: ... here.
45199         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45200         * sysdeps/unix/bsd/tcdrain.c: ... here.
45201         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45202         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45203         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45204         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45205         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45206         * sysdeps/unix/bsd/wait.c: ... here.
45207         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45208         * sysdeps/unix/bsd/wait3.c: ... here.
45209         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45210         * sysdeps/unix/bsd/waitpid.c: ... here.
45212 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45214         [BZ #16356]
45215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45216         round-to-nearest for [!USE_AS_EXPM1L].
45217         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45218         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45219         more tests of exp and exp10.  Expect some exp10 tests to miss
45220         exceptions or fail in directed rounding modes.
45221         * math/auto-libm-test-out: Regenerated.
45222         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45223         (exp10_test_tonearest): New function.
45224         (exp10_towardzero_test_data): New array.
45225         (exp10_test_towardzero): New function.
45226         (exp10_downward_test_data): New array.
45227         (exp10_test_downward): New function.
45228         (exp10_upward_test_data): New array.
45229         (exp10_test_upward): New function.
45230         (main): Call the new functions.
45231         * sysdeps/i386/fpu/libm-test-ulps: Update.
45232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45234 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45236         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45237         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45238         * math/auto-libm-test-out: Regenerated.
45239         * math/libm-test.inc (acosh_test_data): Add more tests.
45240         (atanh_test_data): Likewise.
45241         (ceil_test_data): Likewise.
45242         (copysign_test_data): Likewise.
45243         * sysdeps/i386/fpu/libm-test-ulps: Update.
45244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45246         * timezone/checktab.awk: Update from tzcode 2013i.
45247         * timezone/private.h: Likewise.
45248         * timezone/scheck.c: Likewise.
45249         * timezone/tzfile.h: Likewise.
45250         * timezone/tzselect.ksh: Likewise.
45251         * timezone/zdump.c: Likewise.
45252         * timezone/zic.c: Likewise.
45254         * math/auto-libm-test-in: Add tests of cpow.
45255         * math/auto-libm-test-out: Regenerated.
45256         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45258         mpc_cc_c.
45259         (func_calc_desc): Add mpc_cc_c union field.
45260         (test_functions): Add cpow.
45261         (special_fill_2pi): New function.
45262         (special_real_inputs): Add 2pi.
45263         (calc_generic_results): Handle mpc_cc_c.
45264         * sysdeps/i386/fpu/libm-test-ulps: Update.
45265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45267         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45268         csqrt, ctan and ctanh.
45269         * math/auto-libm-test-out: Regenerated.
45270         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45271         (TEST_COND_x86): Likewise.
45272         (ccos_test_data): Use AUTO_TESTS_c_c.
45273         (ccosh_test_data): Likewise.
45274         (cexp_test_data): Likewise.
45275         (clog_test_data): Likewise.
45276         (csqrt_test_data): Likewise.
45277         (ctan_test_data): Likewise.
45278         (ctan_tonearest_test_data): Likewise.
45279         (ctan_towardzero_test_data): Likewise.
45280         (ctan_downward_test_data): Likewise.
45281         (ctan_upward_test_data): Likewise.
45282         (ctanh_test_data): Likewise.
45283         (ctanh_tonearest_test_data): Likewise.
45284         (ctanh_towardzero_test_data): Likewise.
45285         (ctanh_downward_test_data): Likewise.
45286         (ctanh_upward_test_data): Likewise.
45287         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45288         mpc_c_c.
45289         (func_calc_desc): Add mpc_c_c union field.
45290         (FUNC_mpc_c_c): New macro.
45291         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45292         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45293         ctanh.
45294         (special_fill_min_subnorm_p120): New function.
45295         (special_real_inputs): Add min_subnorm_p120.
45296         (calc_generic_results): Handle mpc_c_c.
45297         * sysdeps/i386/fpu/libm-test-ulps: Update.
45298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45300 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45302         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45303         (do_sin_slow): New functions.
45304         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45305         (cslow2, csloww1, csloww2): Use the new functions.
45307         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45308         Use M to change sign of result instead of X.  Assume X is
45309         positive.
45310         (csloww1): Likewise.
45311         (__sin): Adjust.
45312         (__cos): Adjust.
45314         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45315         arguments A and DA.
45316         (__sin): Adjust.
45317         (__cos): Likewise.
45319         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45320         (__cos): Likewise.
45321         (sloww1): Don't adjust sign of DX.
45322         (csloww1): Likewise.
45323         (sloww2): Use X directly and don't adjust sign of DX.
45324         (csloww2): Likewise.
45326 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45328         * math/auto-libm-test-in: Add tests of cabs and carg.
45329         * math/auto-libm-test-out: Regenerated.
45330         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45331         (carg_test_data): Likewise.
45332         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45333         mpc_c_f.
45334         (func_calc_desc): Add mpc_c_f union field.
45335         (test_functions): Add cabs and carg.
45336         (calc_generic_results): Handle mpc_c_f.
45338         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45339         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45340         as a macro and a compat symbol.
45341         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45342         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45343         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45344         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45345         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45346         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45347         not use .hidden.
45348         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45349         Likewise.
45350         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45351         Likewise.
45352         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45353         Likewise.
45354         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45355         Likewise.
45356         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45357         Likewise.
45358         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45359         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45360         from GLIBC_2.3.2.
45362 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45366 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45368         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45369         trailing whitespace removed.
45370         * scripts/config.guess: Update to version 2013-11-29.
45371         * scripts/config.sub: Update to version 2013-10-01.
45373         * math/auto-libm-test-in: Add tests of sincos.
45374         * math/auto-libm-test-out: Regenerated.
45375         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45377         mpfr_f_11.
45378         (func_calc_desc): Add mpfr_f_11 union field.
45379         (test_functions): Add sincos.
45380         (calc_generic_results): Handle mpfr_f_11.
45381         * sysdeps/i386/fpu/libm-test-ulps: Update.
45382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45384 2013-12-19  Andreas Schwab  <schwab@suse.de>
45386         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45387         CALL_MCOUNT.
45388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45389         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45390         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45392 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45394         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45395         * sysdeps/i386/fpu/libm-test-ulps: Update.
45396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45398         [BZ #16293]
45399         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45400         round-to-nearest mode when using frndint.
45401         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45402         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45403         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45404         Likewise.
45405         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45406         sinh test to fail.
45407         * math/auto-libm-test-out: Regenerated.
45408         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45409         (TEST_COND_x86): Likewise.
45410         (expm1_tonearest_test_data): New array.
45411         (expm1_test_tonearest): New function.
45412         (expm1_towardzero_test_data): New array.
45413         (expm1_test_towardzero): New function.
45414         (expm1_downward_test_data): New array.
45415         (expm1_test_downward): New function.
45416         (expm1_upward_test_data): New array.
45417         (expm1_test_upward): New function.
45418         (main): Run the new test functions.
45419         * sysdeps/i386/fpu/libm-test-ulps: Update.
45420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45422         * include/features.h: Update comment documenting feature test
45423         macros.  Mention _DEFAULT_SOURCE in comment.
45424         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45425         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45426         _BSD_SOURCE and _SVID_SOURCE.
45427         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45428         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45429         !_SVID_SOURCE]: Likewise.
45430         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45431         (__USE_POSIX_IMPLICITLY): Define.
45432         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45433         (_POSIX_SOURCE): Undefine and redefine.
45434         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45435         (_POSIX_C_SOURCE): Likewise.
45436         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45437         (Feature Test Macros): Update documentation of default features.
45439 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45441         * benchtests/Makefile: Add bench-strtok.
45442         * benchtests/bench-strtok.c: New file: strtok benchtest.
45444 2013-12-19  Allan McRae  <allan@archlinux.org>
45446         * manual/install.texi: Suppress menu for plain text output.
45447         * INSTALL: Regenerated.
45449 2013-12-18  Brooks Moses  <bmoses@google.com>
45451         [BZ #15846]
45452         * misc/getauxval.c: Include errno.h.
45453         (__getauxval): Set errno to ENOENT if the requested type is not
45454         found.
45455         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45456         don't declare with __attribute_const__.
45457         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45458         * manual/startup.texi: Document that getauxval sets errno.
45460 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45462         * math/auto-libm-test-in: Add tests of jn and yn.
45463         * math/auto-libm-test-out: Regenerated.
45464         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45465         (yn_test_data): Likewise.
45466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45467         mpfr_if_f.
45468         (func_calc_desc): Add mpfr_if_f union field.
45469         (FUNC_mpfr_if_f): New macro.
45470         (test_functions): Add jn and yn.
45471         (calc_generic_results): Assert type of second input for
45472         mpfr_ff_f.  Handle mpfr_if_f.
45473         (output_for_one_input_case): Disable all checking for arguments
45474         fitting floating-point types in case of an integer argument.
45475         * sysdeps/i386/fpu/libm-test-ulps: Update.
45476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45479         Don't expect fegetround reference in libm.so.
45481 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45483         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45484         $(config-cflags-nofma).
45486 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45488         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45489         * math/auto-libm-test-out: Regenerated.
45491         [BZ #16338]
45492         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45493         to determine exponent and adjust argument to have exponent of -1.
45494         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45495         log2.
45496         * math/auto-libm-test-out: Regenerated.
45497         * sysdeps/i386/fpu/libm-test-ulps: Update.
45498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45500 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45502         * manual/probes.texi: Remove cases when per-thread arenas are
45503         disabled.
45505 2013-12-18  Andreas Schwab  <schwab@suse.de>
45507         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45508         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45509         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45510         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45511         * sysdeps/i386/i686/multiarch/Makefile: Update.
45512         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45514 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45516         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45517         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45519 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45521         [BZ #15968]
45522         Support TZ transition times < 00:00:00.
45523         This is needed for version-3 tz-format files; it supports time
45524         stamps past 2037 for America/Godthab (the only entry in the tz
45525         database for which this change is relevant).
45526         * manual/time.texi (TZ Variable): Document transition times
45527         from -167:59:59 through -00:00:01.
45528         * time/tzset.c (tz_rule): Time of day is now signed.
45529         (__tzset_parse_tz): Parse negative time of day.
45531         Document TZ transition times >= 25:00:00.
45532         * manual/time.texi (TZ Variable): Document transition times from
45533         25:00:00 through 167:59:59.  These are already supported, and this
45534         support will help with version-3 tz-format files.
45536         * manual/time.texi (TZ Variable): Modernize North America example
45537         to reflect current (i.e., 2007-and-later) daylight saving rules.
45539         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45541 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45543         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45544         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45547         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45548         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45549         * sysdeps/unix/bsd/clock.c: Likewise.
45550         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45551         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45552         * sysdeps/unix/bsd/init-posix.c: Likewise.
45553         * sysdeps/unix/bsd/poll.c: Likewise.
45554         * sysdeps/unix/bsd/ptsname.c: Likewise.
45555         * sysdeps/unix/bsd/seekdir.c: Likewise.
45556         * sysdeps/unix/bsd/setegid.c: Likewise.
45557         * sysdeps/unix/bsd/seteuid.c: Likewise.
45558         * sysdeps/unix/bsd/setgid.c: Likewise.
45559         * sysdeps/unix/bsd/setrgid.c: Likewise.
45560         * sysdeps/unix/bsd/setruid.c: Likewise.
45561         * sysdeps/unix/bsd/setsid.c: Likewise.
45562         * sysdeps/unix/bsd/setuid.c: Likewise.
45563         * sysdeps/unix/bsd/sigaction.c: Likewise.
45564         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45565         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45566         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45567         * sysdeps/unix/bsd/telldir.c: Likewise.
45568         * sysdeps/unix/bsd/times.c: Likewise.
45569         * sysdeps/unix/bsd/usleep.c: Likewise.
45571         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45572         ($(objpfx)libbsd-compat.a): Remove rule.
45574         * include/features.h (__FAVOR_BSD): Do not define.
45575         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45576         features conflicting with POSIX.
45577         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45578         (_BSD_SOURCE): Remove description of not being a subset of other
45579         feature test macros.
45580         * manual/job.texi (getpgrp): Do not document BSD version.
45581         (getpgid): Do not document by reference to BSD getpgrp.
45582         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45583         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45584         * signal/signal.h [__FAVOR_BSD]: Likewise.
45585         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45586         instead of making contents conditional on [__FAVOR_BSD].
45587         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45589 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45593 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45595         [BZ #16314]
45596         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45597         values below 2**-450, not 2**-500.
45598         * math/auto-libm-test-in: Don't allow spurious underflow from
45599         hypot.
45600         * math/auto-libm-test-out: Regenerated.
45602         [BZ #16316]
45603         [BZ #16330]
45604         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45605         values of ha and hb and sort them after adjusting subnormal
45606         arguments.
45607         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45608         Likewise.
45609         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45610         values of ea and eb and sort them after adjusting subnormal
45611         arguments.
45612         * math/auto-libm-test-in: Do not expect some hypot tests of
45613         subnormals to fail.  Add more hypot tests.
45614         * math/auto-libm-test-out: Regenerated.
45616 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45618         [BZ #13304]
45619         * sysdeps/sh/s_fma.c: New file.
45620         * sysdeps/sh/s_fmaf.c: New file.
45621         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45622         version.
45623         * sysdeps/sh/Implies: Add sh/soft-fp.
45625 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45627         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45628         level of indirection to members `objname', `errstring', `malloced'.
45629         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45630         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45631         it as the __longjmp argument (just pass 1 instead).
45632         (_dl_catch_error): Initialize C with argument pointers and address of
45633         volatile local ERRCODE rather than copying values out of C at return.
45635 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45637         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45638         * math/auto-libm-test-out: Regenerated.
45639         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45640         (hypot_test_data): Likewise.
45641         (pow_test_data): Likewise.
45642         (pow_tonearest_test_data): Likewise.
45643         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45644         mpfr_ff_f.
45645         (func_calc_desc): Add mpfr_ff_f union field.
45646         (FUNC_mpfr_ff_f): New macro.
45647         (test_functions): Add atan2, hypot and pow.
45648         (special_fill_min): New function.
45649         (special_fill_minus_min): Likewise.
45650         (special_fill_min_subnorm): Likewise.
45651         (special_fill_minus_min_subnorm): Likewise.
45652         (special_real_inputs): Add min, -min, min_subnorm and
45653         -min_subnorm.
45654         (calc_generic_results): Handle mpfr_ff_f.
45655         * sysdeps/i386/fpu/libm-test-ulps: Update.
45656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45658 2013-12-16  Will Newton  <will.newton@linaro.org>
45660         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45661         (Aligned Memory Blocks): Add documentation for aligned_alloc
45662         and suggest it as an alternative to posix_memalign.
45663         (Hooks for Malloc): Document __memalign_hook is also called
45664         for aligned_alloc.  (Summary of Malloc): Add summary for
45665         aligned alloc.  Document __memalign_hook is also called
45666         for aligned_alloc.
45668 2013-12-16  Will Newton  <will.newton@linaro.org>
45670         * manual/memory.texi (Malloc Examples): Clarify default
45671         alignment documentation.  Suggest posix_memalign rather
45672         than memalign or valloc.
45673         (Aligned Memory Blocks): Remove suggestion to use memalign
45674         or valloc.  Remove obsolete comment about BSD.
45675         Document memalign errno values and mark the function obsolete.
45676         Document posix_memalign returned error codes.  Mark valloc
45677         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45678         called for posix_memalign and valloc.
45679         (Summary of Malloc): Add posix_memalign to function summary.
45680         __memalign_hook is also called for posix_memalign and valloc.
45682 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45684         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45685         TAYLOR_SIN.
45686         (__sin): Adjust.
45687         (__cos): Likewise.
45688         (sloww): Use mynumber union.  Expand ternary operator into
45689         if-else statements.
45690         (cslow): use mynumber union.
45692 2013-12-16  Allan McRae  <allan@archlinux.org>
45694         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45695         * configure: Regenerated.
45697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45699         [BZ #14120]
45700         * configure.ac: Added --enable-maintainer-mode. Check for
45701         autoconf when enabled.
45702         * configure: Regenerated.
45704         * nscd/nscd.service: New file.
45705         * nscd/nscd.tmpfiles: New file.
45707 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45709         [BZ #12100]
45710         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45711         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45712         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45713         (strstr): Add __strstr_sse2_unaligned ifunc.
45714         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45715         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45716         (strcasestr): Remove __strcasestr_sse42 ifunc.
45717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45721 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45723         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45724         * sysdeps/sh/bits/fenv.h: ... here.
45725         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45727 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45729         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45732         hypotf multiarch implementations.
45733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45735         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45736         multiarch hypot for PPC64.
45737         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45738         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45739         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45740         multiarch hypotf for PPC64.
45742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45743         modff multiarch implementations.
45744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45747         multiarch modf for PPC64.
45748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45751         multiarch modff for PPC64.
45753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45754         and logl multiarch implementations.
45755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45758         multiarch logb for PPC64.
45759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45762         multiarch logb for PPC64.
45763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45766         multiarch logb for PPC64.
45768         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45769         isinff multiarch implementation.
45770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45771         file.
45772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45774         multiarch isinf for PPC64.
45775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45776         file.
45777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45778         multiarch isinff for PPC64.
45780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45781         finitef multiarch implementation.
45782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45783         file.
45784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45786         multiarch finite for PPC64.
45787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45788         file.
45789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45790         multiarch finitef for PPC64.
45792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45793         lrint multiarch implementation.
45794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45795         file.
45796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45798         multiarch llrint for PPC64.
45799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45800         multiarch lrint for PPC64.
45802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45803         copysignf multiarch implementation.
45804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45805         file.
45806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45807         file.
45808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45809         multiarch copysign for PPC64.
45810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45811         multiarch copysignf for PPC64.
45813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45814         multiarch implementation.
45815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45816         file.
45817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45818         file.
45819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45820         file.
45821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45822         file.
45823         multiarch llround for PPC64.
45824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45825         multiarch trunc for PPC64.
45826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45827         multiarch truncf for PPC64.
45829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45830         multiarch implementation.
45831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45832         file.
45833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45834         file.
45835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45836         file.
45837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45838         file.
45839         multiarch llround for PPC64.
45840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45841         multiarch round for PPC64.
45842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45843         multiarch roundf for PPC64.
45845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45846         multiarch implementation.
45847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45848         file.
45849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45850         file.
45851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45852         file.
45853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45854         file.
45855         multiarch llround for PPC64.
45856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45857         multiarch floor for PPC64.
45858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45859         multiarch floorf for PPC64.
45861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45862         multiarch implementation.
45863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45864         file.
45865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45866         file.
45867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45868         file.
45869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45870         file.
45871         multiarch llround for PPC64.
45872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45873         multiarch ceil for PPC64.
45874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45875         multiarch ceilf for PPC64.
45877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45878         multiarch implementation.
45879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45880         file.
45881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45882         file.
45883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45884         file.
45885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45886         multiarch llround for PPC64.
45887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45888         multiarch lround for PPC64.
45890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45891         multiarch implementation.
45892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45895         file.
45896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45899         multiarch isnan for PPC64.
45900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45901         multiarch isnanf for PPC64.
45903         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45904         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45905         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45906         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45907         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45910         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45911         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45913         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45916         multiarch implementations.
45917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45918         (__libc_ifunc_impl_list): Likewise.
45919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45922         multiarch stpcpy for PPC64.
45924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45925         multiarch implementations.
45926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45927         (__libc_ifunc_impl_list): Likewise.
45928         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45929         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45930         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45931         multiarch strcpy for PPC64.
45933         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45934         redefine function name.
45935         (_wordcopy_fwd_dest_aligned): Likewise.
45936         (_wordcopy_bwd_aligned): Likewise.
45937         (_wordcopy_bwd_dest_aligned): Likewise.
45938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45939         multiarch implementations.
45940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45941         (__libc_ifunc_impl_list): Likewise.
45942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45943         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45945         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45946         multiarch wcscpy for PPC64.
45948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45949         multiarch implementations.
45950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45951         (__libc_ifunc_impl_list): Likewise.
45952         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45953         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45954         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45955         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45956         multiarch wcscpy for PPC64.
45958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45959         multiarch implementations.
45960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45961         (__libc_ifunc_impl_list): Likewise.
45962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45963         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45964         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45965         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45966         multiarch wcsrchr for PPC64.
45968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45969         multiarch implementations.
45970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45971         (__libc_ifunc_impl_list): Likewise.
45972         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45973         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45974         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45975         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45976         multiarch wcschr for PPC64.
45978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45979         multiarch implementations.
45980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45981         (__libc_ifunc_impl_list): Likewise.
45982         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45983         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45984         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45985         multiarch strchrnul for PPC64.
45987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45988         implementations.
45989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45990         (__libc_ifunc_impl_list): Likewise.
45991         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45992         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45993         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45994         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45995         strchr for PPC64.
45997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45998         implementations.
45999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46000         (__libc_ifunc_impl_list): Likewise.
46001         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46002         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46003         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46004         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46005         strncmp for PPC64.
46007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46008         multiarch implementations.
46009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46010         (__libc_ifunc_impl_list): Likewise.
46011         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46012         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46013         strncasecmp for PPC64.
46014         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46015         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46016         multiarch strncasecmp_l for PPC64.
46018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46019         multiarch implementations.
46020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46021         (__libc_ifunc_impl_list): Likewise.
46022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46023         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46024         multiarch strcasecmp for PPC64.
46025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46026         file.
46027         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46028         multiarch strcasecmp_l for PPC64.
46030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46031         implementations.
46032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46033         (__libc_ifunc_impl_list): Likewise.
46034         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46035         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46036         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46037         strnlen for PPC64.
46039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46040         implementations.
46041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46042         (__libc_ifunc_impl_list): Likewise.
46043         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46044         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46045         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46046         strlen for PPC64.
46048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46049         implementations.
46050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46051         (__libc_ifunc_impl_list): Likewise.
46052         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46053         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46054         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46055         rawmemrchr for PPC64.
46057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46058         implementation.
46059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46060         (__libc_ifunc_impl_list): Likewise.
46061         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46062         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46063         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46064         memrchr for PPC64.
46066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46067         implementation.
46068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46069         (__libc_ifunc_impl_list): Likewise.
46070         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46071         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46072         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46073         memchr for PPC64.
46075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46076         implementation.
46077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46078         (__libc_ifunc_impl_list): Likewise.
46079         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46081         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46082         mempcpy for PPC64.
46084         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46085         avoid cretion of __bzero symbol.
46086         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46087         Likewise.
46088         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46089         Likewise.
46090         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46091         Likewise.
46092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46093         multiarch implementations.
46094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46095         (__libc_ifunc_impl_list): Likewise.
46096         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46097         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46098         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46099         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46100         bzero for PPC32.
46101         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46102         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46103         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46104         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46105         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46106         memset for PPC64.
46107         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46109         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46111         implementations.
46112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46113         (__libc_ifunc_impl_list): Likewise.
46114         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46115         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46116         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46117         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46118         memcmp for PPC64.
46120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46121         multiarch for POWER/PPC64.
46122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46123         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46127         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46130         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46131         memcpy for PPC64.
46133         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46134         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46135         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46136         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46137         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46138         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46139         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46140         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46141         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46142         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46143         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46144         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46145         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46146         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46147         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46156 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46158         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46160 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46162         * benchtests/Makefile (bench): Add exp2 and log2.
46163         (LDLIBS-bench-exp2): Add -lm.
46164         (LDLIBS-bench-log2): Likewise.
46165         * benchtests/exp2-inputs: New inputs file.
46166         * benchtests/log2-inputs: New inputs file.
46167         * benchtests/log-inputs: Add new inputs.
46168         * benchtests/tan-inputs: Likewise.
46170 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46172         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46173         definition...
46174         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46175         (csloww2): ... from here.
46177         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46178         instead of structures.
46179         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46180         (POLYNOMIAL): Likewise.
46181         (TAYLOR_SLOW): Likewise.
46182         (__sin): Likewise.
46183         (__cos): Likewise.
46184         (slow1): Likewise.
46185         (slow2): Likewise.
46186         (sloww): Likewise.
46187         (sloww1); Likewise.
46188         (sloww2): Likewise.
46189         (bsloww1): Likewise.
46190         (bsloww2): Likewise.
46191         (cslow2): Likewise.
46192         (csloww): Likewise.
46193         (csloww1): Likewise.
46194         (csloww2): Likewise.
46196 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46198         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46199         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46200         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46201         * malloc/hooks.c (realloc_check): Likewise.
46203         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46204         * malloc/arena.c: Remove PER_THREAD conditional.
46205         [!PER_THREAD]: Remove code.
46206         (ptmalloc_unlock_all2): Likewise.
46207         (ptmalloc_init): Likewise.
46208         (_int_new_arena): Likewise.
46209         (arena_get2): Likewise.
46210         * malloc/hooks.c (__malloc_get_state): Likewise.
46211         (__malloc_set_state): Likewise.
46212         * malloc/malloc.c: Likewise.
46213         (struct malloc_state): Likewise.
46214         (struct malloc_par): Likewise.
46215         (__libc_realloc): Likewise.
46216         (__libc_mallopt): Likewise.
46218 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46220         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46222 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46224         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46225         macro to a function.  Check for zero perturb_byte.
46226         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46228         * malloc/malloc.c: (force_reg): Remove.
46229         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46230         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46231         force_reg by atomic_forced_read.
46232         * malloc/arena.c (ptmalloc_init): Likewise.
46233         * malloc/hooks.c (top_check): Likewise.
46235 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46239 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46243 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46245         * math/auto-libm-test-in: Add tests of lgamma.
46246         * math/auto-libm-test-out: Regenerated.
46247         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46248         (M_LOG_2_SQRT_PIl): Likewise.
46249         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46250         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46251         mpfr_f_f1.
46252         (func_calc_desc): Add mpfr_f_f1 union field.
46253         (ARGS1): New macro.
46254         (ARGS2): Likewise.
46255         (ARGS3): Likewise.
46256         (ARGS4): Likewise.
46257         (RET1): Likewise.
46258         (RET2): Likewise.
46259         (CALC): Likewise.
46260         (FUNC): Likewise.
46261         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46262         (test_functions): Add lgamma.
46263         (calc_generic_results): Handle mpfr_f_f1.
46264         * sysdeps/i386/fpu/libm-test-ulps: Update.
46265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46267 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46269         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46270         __mpn_add_n for PowerPC64/POWER7.
46271         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46272         __mpn_sub_n for PowerPC64/POWER7.
46274         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46275         __mpn_addmul_1 for PowerPC64.
46276         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46277         __mpn_submul_1 for PowerPC64.
46278         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46279         for PowerPC64.
46280         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46281         for PowerPC64.
46283 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46285         [BZ #15089]
46286         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46290         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46292         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46293         add multiarch folders.
46294         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46295         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46296         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46297         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46298         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46299         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46300         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46301         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46302         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46303         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46304         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46313         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46315         New file.
46316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46317         New file.
46318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46319         multiarch __ieee754_hypot for PowerPC32.
46320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46321         New file.
46322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46323         New file.
46324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46325         multiarch __ieee754_hypotf for PowerPC32.
46327         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46328         long_double_symbol only if __logbl is defined.
46329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46330         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46331         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46332         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46333         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46334         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46335         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46336         path for implementation.
46337         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46340         logb, and logbl multiarch implementations for PowerPC32.
46341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46342         file.
46343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46344         file.
46345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46346         multiarch logb for PowerPC32.
46347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46348         file.
46349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46350         file.
46351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46352         multiarch logbf for PowerPC32.
46353         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46355         file.
46356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46357         multiarch logbl implementation for PowerPC32.
46359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46360         and modff multiarch implementations.
46361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46362         New file.
46363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46364         New file.
46365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46366         multiarch modf for PowerPC32.
46367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46368         New file.
46369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46370         New file.
46371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46372         multiarch modff for PowerPC32.
46374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46375         and lrintf multiarch implementations.
46376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46377         New file.
46378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46379         New file.
46380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46381         multiarch lrint for PowerPC32.
46382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46383         file: multiarch lrintf for PowerPC32.
46385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46386         and lroundf multiarch implementations.
46387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46388         New file.
46389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46390         New file.
46391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46392         New file.
46393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46394         multiarch lround for PowerPC32.
46395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46396         file: multiarch lroundf for PowerPC32.
46398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46399         copysign and copysignf multiarch implementations.
46400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46401         New file.
46402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46403         New file.
46404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46405         file: multiarch copysign for PowerPC32.
46406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46407         file: multiarch copysignf for PowerPC32.
46409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46410         and truncf multiarch implementations.
46411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46412         New file.
46413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46414         file.
46415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46416         multiarch trunc for PowerPC32.
46417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46418         New file.
46419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46420         New file.
46421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46422         multiarch truncf for PowerPC32.
46424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46425         and roundf multiarch implementations.
46426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46427         New file.
46428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46429         file.
46430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46431         multiarch round for PowerPC32.
46432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46433         New file.
46434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46435         New file.
46436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46437         multiarch roundf for PowerPC32.
46439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46440         and floorf multiarch implementations.
46441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46442         New file.
46443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46444         file.
46445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46446         multiarch floor for PowerPC32.
46447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46448         New file.
46449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46450         New file.
46451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46452         multiarch floorf for PowerPC32.
46454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46455         and ceilf multiarch implementations.
46456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46457         New file.
46458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46459         file.
46460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46461         multiarch ceil for PowerPC32.
46462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46463         New file.
46464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46465         file.
46466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46467         multiarch ceilf for PowerPC32.
46469         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46470         is defined.
46471         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46472         FINITEF is defined.
46473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46474         and finitef multiarch implementations.
46475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46476         New file.
46477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46478         file.
46479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46480         multiarch finite for PowerPC32.
46481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46482         New file.
46483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46484         file: multiarch finitef for PowerPC32.
46486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46487         and isinff multiarch implementations.
46488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46489         file.
46490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46491         file.
46492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46493         multiarch isinf for PowerPC32.
46494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46495         New file.
46496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46497         multiarch isinff for PowerPC32.
46499         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46500         alias when __isnan is defined.
46501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46502         and isnanf multiarch implementations.
46503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46504         file.
46505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46506         file.
46507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46508         file.
46509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46510         file.
46511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46512         multiarch isnan for PowerPC32.
46513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46514         New file.
46515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46516         New file.
46517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46518         multiarch isnanf for PowerPC32.
46520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46521         and sqrtf multiarch implementations.
46522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46523         file.
46524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46525         file.
46526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46527         multiarch sqrt for PowerPC32.
46528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46529         file.
46530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46531         file.
46532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46533         multiarch sqrtf for PowerPC32.
46535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46536         and llroundf multiarch implementations.
46537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46538         New file.
46539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46540         New file.
46541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46542         New file.
46543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46544         file: multiarch llround for PowerPC32.
46545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46546         file: multiarch llroundf for PowerPC32.
46548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46549         multiarch PowerPC32 fpu implementations.
46550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46551         New file.
46552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46553         New file.
46554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46555         multiarch llrint for PowerPC32.
46556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46557         New file.
46558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46559         New file.
46560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46561         file.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46565         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46566         file.
46567         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46568         file.
46569         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46570         file.
46571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46572         multiarch wordcopy for PPC32.
46573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46574         wordcopy objects.
46575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46576         (__libc_ifunc_impl_list): Likewise.
46577         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46578         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46579         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46580         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46581         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46582         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46584         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46586         file.
46587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46588         file.
46589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46590         file.
46591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46592         multiarch wcscpy for PPC32.
46593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46594         multiarch objects.
46595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46596         (__libc_ifunc_impl_list): Likewise.
46597         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46598         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46599         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46600         sysdeps/powerpc/power6/wcscpy.c.
46602         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46604         file.
46605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46606         file.
46607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46608         file.
46609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46610         multiarch wcsrchr for PPC32.
46611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46612         multiarch objects.
46613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46614         (__libc_ifunc_impl_list): Likewise.
46615         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46616         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46617         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46618         sysdeps/powerpc/power6/wcsrchr.c.
46620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46621         file.
46622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46623         file.
46624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46626         multiarch wcschr for PPc32.
46627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46628         multiarch objects.
46629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46630         (__libc_ifunc_impl_list): Likewise.
46631         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46632         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46633         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46634         sysdeps/powerpc/power6/wcschr.c.
46636         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46638         file.
46639         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46640         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46641         file: multiarch strchr for PPC32.
46642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46643         multiarch objects.
46644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46645         (__libc_ifunc_impl_list): Likewise.
46647         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46648         name.
46649         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46650         file.
46651         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46652         file.
46653         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46654         multiarch strchrnul for PPC32.
46655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46656         multiarch objects.
46657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46658         (__libc_ifunc_impl_list): Likewise.
46660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46661         file.
46662         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46663         multiarch strncasecmp for PPC32.
46664         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46665         file.
46666         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46667         multiarch strncasecmp_l for PPC32.
46668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46669         strncasecmp multiarch objects.
46670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46671         (__libc_ifunc_impl_list): Likewise.
46673         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46674         file.
46675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46676         multiarch strncasecmp for PPC32.
46677         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46678         New file.
46679         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46680         multiarch strcasecmp_l for PPC32.
46681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46682         multiarch objects.
46683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46684         (__libc_ifunc_impl_list): Likewise.
46686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46687         file.
46688         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46689         file.
46690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46691         multiarch strncmp for PPC32.
46692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46693         multiarch objects.
46694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46695         (__libc_ifunc_impl_list): Likewise.
46697         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46698         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46699         file.
46700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46701         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46703         multiarch objects.
46704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46705         (__libc_ifunc_impl_list): Likewise.
46707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46708         file.
46709         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46710         file.
46711         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46713         multiarch objects.
46714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46715         (__libc_ifunc_impl_list): Likewise.
46717         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46718         file.
46719         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46720         file.
46721         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46722         multiarch rawmemchr for PPC32.
46723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46724         multiarch objects.
46725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46726         (__libc_ifunc_impl_list): Likewise.
46728         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46729         file.
46730         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46731         file.
46732         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46733         file: memrchr multiarch for PPC32.
46734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46735         multiarch objects.
46736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46737         (__libc_ifunc_impl_list): Likewise.
46739         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46741         file.
46742         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46743         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46744         multiarch memchr for PPC32.
46745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46746         multiarch objects.
46747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46748         (__libc_ifunc_impl_list): Likewise.
46750         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46752         file.
46753         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46754         file.
46755         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46756         file: multiarch mempcpy for PPC32.
46757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46758         multiarch objects.
46759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46760         (__libc_ifunc_impl_list): Likewise.
46762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46764         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46765         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46766         multiarch bzero for PPC32.
46767         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46768         file.
46769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46770         file.
46771         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46772         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46773         file: multiarch memset for PPC32.
46774         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46776         memset multiarch objects.
46777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46778         (__libc_ifunc_impl_list): Likewise.
46780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46781         file.
46782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46784         memcmp for PPC32.
46785         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46787         multiarch objects.
46788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46789         (__libc_ifunc_impl_list): Likewise.
46791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46794         file.
46795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46796         file.
46797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46798         file.
46799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46800         multiarch memcpy for PPC32.
46801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46802         multiarch objects.
46803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46804         (__libc_ifunc_impl_list): Likewise.
46806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46807         support multiarch for POWER/PPC32.
46808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46809         Likewise.
46810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46812         Implies file to make multiarch folder appers before the fpu and
46813         default folder for power4 configuration.
46815 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46817         * scripts/bench.pl: Append volatile keyword to type.
46819 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46821         * sysdeps/sh/sotruss-lib.c: New file.
46822         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46824 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46828 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46830         [BZ #6810]
46831         * math/w_tgamma.c: Include <errno.h>.
46832         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46833         * math/w_tgammaf.c: Include <errno.h>.
46834         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46835         * math/w_tgammal.c: Include <errno.h>.
46836         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46837         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46838         underflow.  Add more tgamma tests.
46839         * math/auto-libm-test-out: Regenerated.
46840         * sysdeps/i386/fpu/libm-test-ulps: Update.
46841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46843         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46844         sin, sinh, tan, tanh, tgamma, y0 and y1.
46845         * math/auto-libm-test-out: Regenerated.
46846         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46847         (TEST_COND_x86): Likewise.
46848         (M_E2l): Remove macro.
46849         (M_E3l): Likewise.
46850         (M_2_SQRT_PIl): Likewise.
46851         (M_SQRT_PIl): Likewise.
46852         (M_1_DIV_El): Likewise.
46853         (log_test_data): Use AUTO_TESTS_f_f.
46854         (log10_test_data): Likewise.
46855         (log1p_test_data): Likewise.
46856         (log2_test_data): Likewise.
46857         (sin_test_data): Likewise.
46858         (sin_tonearest_test_data): Likewise.
46859         (sin_towardzero_test_data): Likewise.
46860         (sin_downward_test_data): Likewise.
46861         (sin_upward_test_data): Likewise.
46862         (sinh_test_data): Likewise.
46863         (sinh_tonearest_test_data): Likewise.
46864         (sinh_towardzero_test_data): Likewise.
46865         (sinh_downward_test_data): Likewise.
46866         (sinh_upward_test_data): Likewise.
46867         (tan_test_data): Likewise.
46868         (tan_tonearest_test_data): Likewise.
46869         (tan_towardzero_test_data): Likewise.
46870         (tan_downward_test_data): Likewise.
46871         (tan_upward_test_data): Likewise.
46872         (tanh_test_data): Likewise.
46873         (tgamma_test_data): Likewise.
46874         (y0_test_data): Likewise.
46875         (y1_test_data): Likewise.
46876         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46877         (special_real_inputs): Add pi/4.
46878         * sysdeps/i386/fpu/libm-test-ulps: Update.
46879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46881 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46883         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46884         "longjmp_target" static probes.
46885         (__longjmp): Rename to __longjmp_symbol.
46886         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46887         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46888         on which longjmp to generate.
46889         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46890         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46891         probe.
46892         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46893         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46894         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46895         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46896         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46897         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46899         __longjmp_symbol based on which __longjmp to generate.
46900         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46901         probe.
46902         (setjmp): Rename to setjmp_symbol.
46903         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46904         (_setjmp): Rename to _setjmp_symbol.
46905         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46906         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46907         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46908         which setjmp to generate.
46909         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46910         "longjmp_target" static probes.
46912 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46914         * benchtests/README: Add note about output arguments.
46915         * benchtests/bench-sincos.c: Remove file.
46916         * benchtests/sincos-inputs: New file.
46917         * scripts/bench.pl: Identify output arguments and define
46918         static variables for them.
46920         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46922         [BZ #15941]
46923         * Makefile (INSTALL): Add install-plain.texi as the primary
46924         dependency.
46925         * manual/install-plain.texi: New file.
46926         * manual/install.texi: Include node directive only for
46927         non-plaintext output.
46929 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46931         * stdlib/longlong.h: Update from GCC.
46933         [BZ #6807]
46934         [BZ #15901]
46935         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46936         * math/w_j0f.c (y0f): Likewise.
46937         * math/w_j0l.c (__y0l): Likewise.
46938         * math/w_j1.c (y1): Likewise.
46939         * math/w_j1f.c (y1f): Likewise.
46940         * math/w_j1l.c (__y1l): Likewise.
46941         * math/w_jn.c (yn): Likewise.
46942         * math/w_jnf.c (ynf): Likewise.
46943         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46944         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46945         value for Bessel function domain errors outside _SVID_ mode.
46946         Adjust sign of return value for yn (negative integer, 0).
46947         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46948         by zero in return for negative x and set sign appropriately for
46949         negative n.
46950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46952         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46953         expectations in error cases.
46954         (y1_test_data): Likewise.
46955         (yn_test_data): Likewise.
46956         * sysdeps/i386/fpu/libm-test-ulps: Update.
46957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46959 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46961         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46962         "64" to "64-v1".  Add "64-v2".
46963         (abi-64-options): Rename to ...
46964         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46965         (abi-64-condition): Rename to ...
46966         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46967         (abi-64-ld-soname): Rename to ...
46968         (abi-64-v1-ld-soname): ... this.
46969         (abi-64-v2-options): Define.
46970         (abi-64-v2-condition): Likewise.
46971         (abi-64-v2-ld-soname): Likewise.
46972         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46973         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46978 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46979             Alan Modra  <amodra@gmail.com>
46981         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46982         New versions for use with the ELFv2 ABI.
46983         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46984         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46985         declaration.
46986         (struct La_ppc64v2_retval): Likewise.
46987         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46988         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46989         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46990         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46991         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46992         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46993         Do not save or restore CR.
46994         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46995         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46996         return values for ELFv2 ABI.  Fix location of FPR return registers.
46997         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46998         updated values for _CALL_ELF == 2.
46999         (La_regs, La_retval, int_retval): Likewise.
47001 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47003         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47004         (FRAME_MIN_SIZE_PARM): Likewise.
47005         (FRAME_BACKCHAIN): Likewise.
47006         (FRAME_CR_SAVE): Likewise.
47007         (FRAME_LR_SAVE): Likewise.
47008         (FRAME_TOC_SAVE): Likewise.
47009         (FRAME_PARM_SAVE): Likewise.
47010         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47011         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47012         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47013         (call_mcount_parm_offset): New macro.
47014         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47015         (PROF): Use symbolic stack frame offsets.
47016         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47017         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47018         Redefine in terms of FRAME_MIN_SIZE.
47019         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47020         (_dl_profile_resolve): Likewise.  Update comment.
47021         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47022         symbols stack frame offsets.
47023         (__sigsetjmp): Likewise.
47024         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47025         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47026         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47027         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47030         (FRAME_BACKCHAIN): Remove.
47031         (FRAME_CR_SAVE): Likewise.
47032         (FRAME_LR_SAVE): Likewise.
47033         (FRAME_COMPILER_DW): Likewise.
47034         (FRAME_LINKER_DW): Likewise.
47035         (FRAME_TOC_SAVE): Likewise.
47036         (FRAME_PARM_SAVE): Likewise.
47037         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47038         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47039         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47041         (CHECK_SP): Use symbolic stack frame offsets.
47042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47043         zone" instead of caller's parameter save area for temp storage.
47044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47045         Likewise.  Also, use symbolic stack frame offsets.
47046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47047         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47048         our own stack frame instead of the caller's.
47049         (__socket): Use symbolic stack frame offsets.
47051 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47052             Alan Modra  <amodra@gmail.com>
47054         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47055         Define.
47056         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47057         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47058         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47059         New function.
47060         (elf_machine_fixup_plt): Call it.
47061         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47062         reloc arguments.
47063         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47065         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47066         r2 before calling target.
47068 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47069             Alan Modra  <amodra@gmail.com>
47071         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47072         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47073         versions of macros to support ELFv2 ABI.
47074         (LOCALENTRY): New macro.
47075         (ENTRY, EALIGN): Use it.
47076         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47077         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47078         fall through into ENTRY entry point.
47079         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47080         Only define if _CALL_ELF != 2.
47082         (elf_machine_matches_host): Verify ABI version matches.
47083         (RTLD_START): Use LOCALENTRY.
47084         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47085         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47086         (PLT_ENTRY_WORDS): New macro.
47087         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47088         (elf_machine_runtime_setup): Support ELFv2 ABI.
47089         (elf_machine_fixup_plt): Likewise.
47090         (elf_machine_plt_conflict): Likewise.
47091         (resolve_ifunc): Likewise.
47092         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47093         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47094         Likewise.
47095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47096         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47098         (makecontext): Support ELFv2 ABI.
47099         * elf/elf.h (EF_PPC64_ABI): Define.
47101 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47103         * sysdeps/powerpc/powerpc64/sysdep.h
47104         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47105         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47106         (ENTRY) [ASSEMBLER]: ... but instead here ...
47107         (EALIGN) [ASSEMBLER]: ... and here.
47108         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47109         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47110         (ENTRY_2) [!ASSEMBLER]: Use it.
47111         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47112         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47113         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47114         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47115         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47117         Use PPC64_LOAD_FUNCPTR.
47119         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47121 2013-12-04  Alan Modra  <amodra@gmail.com>
47123         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47124         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47125         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47126         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47128         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47129         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47130         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47131         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47132         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47133         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47138         (__makecontext): Fix incorrect CFI when backtracing out of
47139         context created via makecontext.
47140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47141         (__setcontext): Fix incorrect CFI during switch to new context.
47142         (__novec_setcontext): Likewise.
47144 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47146         [BZ #4772]
47147         * time/strptime_l.c (__strptime_internal): Allow modifiers
47148         in strptime.
47149         * time/tst-strptime.c (day_tests): Add testcase.
47151 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47153         * scripts/bench.pl: Skip over blank lines.
47155 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47157         [BZ #926]
47158         * manual/time.texi (Calendar Time): Clarify what timezone functions
47159         use.
47161 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47165 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47167         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47168         implementation.
47169         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47170         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47171         * debug/memset_chk.c (__memset_chk): Likewise.
47172         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47173         * debug/strncpy_chk.c: Likewise.
47175 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47177         [BZ #15268]
47178         [BZ #15425]
47179         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47180         (__ieee754_exp): For possibly underflowing results, check size of
47181         result and force underflow exception if required.
47182         * math/auto-libm-test-in: Add more tests of exp.
47183         * math/auto-libm-test-out: Regenerated.
47184         * sysdeps/i386/fpu/libm-test-ulps: Update.
47185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47187         [BZ #16283]
47188         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47189         * math/w_exp2f.c (__exp2f): Likewise.
47190         * math/w_exp2l.c (__exp2l): Likewise.
47191         * math/auto-libm-test-in: Do not allow missing errno on exp2
47192         underflow.
47193         * math/auto-libm-test-out: Regenerated.
47195 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47197         [BZ #16274]
47198         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47199         handle filename validation.
47200         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47201         (do_open): Delete.
47203 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47205         [BZ #6786]
47206         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47207         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47208         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47209         <float.h>.
47210         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47212         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47214         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47215         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47216         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47217         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47218         Add more erfc tests.
47219         * math/auto-libm-test-out: Regenerated.
47220         * sysdeps/i386/fpu/libm-test-ulps: Update.
47221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47223         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47224         exp2, expm1, j0 and j1.
47225         * math/auto-libm-test-out: Regenerated.
47226         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47227         (erfc_test_data): Likewise.
47228         (exp_test_data): Likewise.
47229         (exp_tonearest_test_data): Likewise.
47230         (exp_towardzero_test_data): Likewise.
47231         (exp_downward_test_data): Likewise.
47232         (exp_upward_test_data): Likewise.
47233         (exp10_test_data): Likewise.
47234         (exp2_test_data): Likewise.
47235         (expm1_test_data): Likewise.
47236         (j0_test_data): Likewise.
47237         (j1_test_data): Likewise.
47238         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47239         (input_flag_type): Add flag_xfail_rounding.
47240         (input_flags): Add xfail-rounding.
47241         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47242         (output_for_one_input_case): Handle flag_xfail_rounding.
47243         * sysdeps/i386/fpu/libm-test-ulps: Update.
47244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47246 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47248         [BZ #16289]
47249         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47250         division by 0.
47252 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47254         [BZ #16195]
47255         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47256         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47257         (STAP_PROBE0): New macro.
47258         (STAP_PROBE1): Likewise.
47259         (STAP_PROBE2): Likewise.
47260         (STAP_PROBE3): Likewise.
47261         (STAP_PROBE4): Likewise.
47263 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47265         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47267 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47269         * benchtests/Makefile (bench): Add sqrt.
47270         (LDLIBS-bench-sqrt): New.
47271         * benchtests/sqrt-input: New.
47273 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47275         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47276         (GAIH_EAI): Likewise.
47277         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47278         (gaih_inet): Likewise.
47279         (getaddrinfo): Don't use GAIH_EAI.
47281         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47282         (struct gaih): Remove definition.
47284 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47286         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47287         Use HERRNOP directly.
47289 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47293 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47295         * math/gen-auto-libm-tests.c (test_functions): Add more
47296         single-argument functions.
47297         (special_fill_pi_2): New function.
47298         (special_fill_minus_pi_2): Likewise.
47299         (special_fill_pi_6): Likewise.
47300         (special_fill_minus_pi_6): Likewise.
47301         (special_fill_pi_3): Likewise.
47302         (special_fill_2pi_3): Likewise.
47303         (special_fill_e): Likewise.
47304         (special_fill_1_e): Likewise.
47305         (special_fill_e_minus_1): Likewise.
47306         (special_real_inputs): Add more special inputs.
47307         (output_for_one_input_case): Do not require ERANGE on underflow to
47308         zero if round-to-nearest result does not underflow to zero, unless
47309         exact results required.
47310         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47311         atan, atanh, cbrt, cos and cosh.
47312         * math/auto-libm-test-out: Regenerated.
47313         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47314         (acos_tonearest_test_data): Likewise.
47315         (acos_towardzero_test_data): Likewise.
47316         (acos_downward_test_data): Likewise.
47317         (acos_upward_test_data): Likewise.
47318         (acosh_test_data): Likewise.
47319         (asin_test_data): Likewise.
47320         (asin_tonearest_test_data): Likewise.
47321         (asin_towardzero_test_data): Likewise.
47322         (asin_upward_test_data): Likewise.
47323         (asinh_test_data): Likewise.
47324         (atan_test_data): Likewise.
47325         (atanh_test_data): Likewise.
47326         (cbrt_test_data): Likewise.
47327         (cos_test_data): Likewise.
47328         (cos_tonearest_test_data): Likewise.
47329         (cos_towardzero_test_data): Likewise.
47330         (cos_downward_test_data): Likewise.
47331         (cos_upward_test_data): Likewise.
47332         (cosh_test_data): Likewise.
47333         (cosh_tonearest_test_data): Likewise.
47334         (cosh_towardzero_test_data): Likewise.
47335         (cosh_downward_test_data): Likewise.
47336         (cosh_upward_test_data): Likewise.
47337         * sysdeps/i386/fpu/libm-test-ulps: Update.
47338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47340 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47342         [BZ #6787]
47343         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47344         * math/w_exp10f.c (__exp10f): Likewise.
47345         * math/w_exp10l.c (__exp10l): Likewise.
47346         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47347         errno settings in existing tests.
47349         [BZ #14032]
47350         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47351         precision control set to double precision.
47352         * sysdeps/i386/fpu/w_sqrt.c: New file.
47353         * math/auto-libm-test-in: Add more tests.
47354         * math/auto-libm-test-out: Update.
47356         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47357         (sqrt_test_tonearest): New function.
47358         (sqrt_towardzero_test_data): New variable.
47359         (sqrt_test_towardzero): New function.
47360         (sqrt_downward_test_data): New variable.
47361         (sqrt_test_downward): New function.
47362         (sqrt_upward_test_data): New variable.
47363         (sqrt_test_upward): New function.
47364         (main): Call the new functions.
47366         * math/gen-auto-libm-tests.c: New file.
47367         * math/auto-libm-test-in: Likewise.
47368         * math/auto-libm-test-out: New generated file.
47369         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47370         variables.
47371         (%beautify): Add generated representations of zero.
47372         (top level): Set $auto_input and call parse_auto_input.
47373         (beautify): Remove trailing "f" from hex float constants.
47374         (parse_args): Handle XFAIL_TEST.
47375         (convert_condition): New function.
47376         (or_value): Likewise.
47377         (or_cond_value): Likewise.
47378         (generate_testfile): Handle AUTO_TESTS_* lines.
47379         (parse_auto_input): New function.
47380         * math/libm-test.inc (XFAIL_TEST): New macro.
47381         (ERRNO_UNCHANGED): Update value.
47382         (ERRNO_EDOM): Likewise.
47383         (ERRNO_ERANGE): Likewise.
47384         (IGNORE_RESULT): Likewise.
47385         (TEST_COND_flt_32): New macro.
47386         (TEST_COND_dbl_64): Likewise.
47387         (TEST_COND_ldbl_96_intel): Likewise.
47388         (TEST_COND_ldbl_96_m68k): Likewise.
47389         (TEST_COND_ldbl_128): Likewise.
47390         (TEST_COND_ldbl_128ibm): Likewise.
47391         (TEST_COND_long32): Likewise.
47392         (TEST_COND_long64): Likewise.
47393         (TEST_COND_before_rounding): Likewise.
47394         (TEST_COND_after_rounding): Likewise.
47395         (enable_test): Handle XFAIL_TEST flag.
47396         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47397         with finite results.
47398         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47399         auto-libm-test-out.
47401 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47402             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47404         [BZ #16214]
47405         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47406         __tls_get_addr_internal instead of __tls_get_offset in order to
47407         avoid GOT pointer dependency.  Make rtld export
47408         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47409         __tls_get_addr since we are a __tls_get_offset platform.
47410         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47411         GOT pointer being set up before.
47412         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47414 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47416         * manual/math.texi (Errors in Math Functions): Document accuracy
47417         goals.
47419         [BZ #15004]
47420         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47421         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47422         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47423         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47424         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47425         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47426         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47427         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47428         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47429         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47430         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47433         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47435         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47437         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47438         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47439         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47440         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47441         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47442         Likewise.
47443         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47444         Likewise.
47445         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47446         Likewise.
47447         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47448         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47449         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47450         atomic-feupdateenv and flt-rounds.
47451         * sysdeps/powerpc/nofpu/Versions (libc): Add
47452         __atomic_feholdexcept, __atomic_feclearexcept,
47453         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47455         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47456         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47457         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47458         here.
47459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47460         Update.
47462         * manual/arith.texi (FP Exceptions): Document that exceptions may
47463         not be raised when matherr is used.
47464         (Math Error Reporting): Document overflow in directed rounding
47465         modes.  Document that errno may not be set when finite values are
47466         returned on overflow.  Document intent to set errno on underflow
47467         only for underflow to zero.
47469         [BZ #16271]
47470         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47471         round-to-nearest then adjust result for other rounding modes.
47472         * include/fenv.h (fegetround): Use libm_hidden_proto.
47473         * math/fegetround.c (fegetround): Use libm_hidden_def.
47474         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47475         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47476         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47477         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47478         Likewise.
47479         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47480         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47481         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47482         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47484 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47486         [BZ #16077]
47487         * nss/Versions (libnss_files): Add
47488         _nss_files_gethostbyname3_r.
47489         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47490         New function.
47491         (HOST_DB_LOOKUP): Remove macro.
47492         (_nss_files_gethostbyname_r): Implement function without the
47493         HOST_DB_LOOKUP macro.
47494         (_nss_files_gethostbyname2_r): Likewise.
47496 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47498         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47500 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47502         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47503         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47504         warning.
47506 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47508         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47509         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47510         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47511         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47512         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47513         __fe_nomask_env_priv and attribute_hidden.
47514         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47515         (libc_feupdateenv_test_ppc): Likewise.
47516         (libc_feresetround_ppc): Likewise.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47518         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47519         compat_symbol macro.
47520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47521         (__fe_nomask_env): Likewise.
47522         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47524 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47526         * string/Makefile: Remove ifunc tests.
47527         * string/test-string.h: Define TEST_IFUNC.
47528         * string/test-bcopy-ifunc.c: Remove.
47529         * string/test-bzero-ifunc.c: Likewise.
47530         * string/test-memccpy-ifunc.c: Likewise.
47531         * string/test-memchr-ifunc.c: Likewise.
47532         * string/test-memcmp-ifunc.c: Likewise.
47533         * string/test-memcpy-ifunc.c: Likewise.
47534         * string/test-memmem-ifunc.c: Likewise.
47535         * string/test-memmove-ifunc.c: Likewise.
47536         * string/test-mempcpy-ifunc.c: Likewise.
47537         * string/test-memrchr-ifunc.c: Likewise.
47538         * string/test-memset-ifunc.c: Likewise.
47539         * string/test-rawmemchr-ifunc.c: Likewise.
47540         * string/test-stpcpy-ifunc.c: Likewise.
47541         * string/test-stpncpy-ifunc.c: Likewise.
47542         * string/test-strcasecmp-ifunc.c: Likewise.
47543         * string/test-strcasestr-ifunc.c: Likewise.
47544         * string/test-strcat-ifunc.c: Likewise.
47545         * string/test-strchr-ifunc.c: Likewise.
47546         * string/test-strchrnul-ifunc.c: Likewise.
47547         * string/test-strcmp-ifunc.c: Likewise.
47548         * string/test-strcpy-ifunc.c: Likewise.
47549         * string/test-strcspn-ifunc.c: Likewise.
47550         * string/test-strlen-ifunc.c: Likewise.
47551         * string/test-strncasecmp-ifunc.c: Likewise.
47552         * string/test-strncat-ifunc.c: Likewise.
47553         * string/test-strncmp-ifunc.c: Likewise.
47554         * string/test-strncpy-ifunc.c: Likewise.
47555         * string/test-strnlen-ifunc.c: Likewise.
47556         * string/test-strpbrk-ifunc.c: Likewise.
47557         * string/test-strrchr-ifunc.c: Likewise.
47558         * string/test-strspn-ifunc.c: Likewise.
47559         * string/test-strstr-ifunc.c: Likewise.
47561 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47563         * benchtests/Makefile: Remove ifunc tests.
47564         * benchtests/bench-string.h: Define TEST_IFUNC.
47565         * benchtests/bench-bcopy-ifunc.c: Remove.
47566         * benchtests/bench-bzero-ifunc.c: Likewise.
47567         * benchtests/bench-memccpy-ifunc.c: Likewise.
47568         * benchtests/bench-memchr-ifunc.c: Likewise.
47569         * benchtests/bench-memcmp-ifunc.c: Likewise.
47570         * benchtests/bench-memcpy-ifunc.c: Likewise.
47571         * benchtests/bench-memmem-ifunc.c: Likewise.
47572         * benchtests/bench-memmove-ifunc.c: Likewise.
47573         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47574         * benchtests/bench-memrchr-ifunc.c: Likewise.
47575         * benchtests/bench-memset-ifunc.c: Likewise.
47576         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47577         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47578         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47579         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47580         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47581         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47582         * benchtests/bench-strcat-ifunc.c: Likewise.
47583         * benchtests/bench-strchr-ifunc.c: Likewise.
47584         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47585         * benchtests/bench-strcmp-ifunc.c: Likewise.
47586         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47587         * benchtests/bench-strcpy-ifunc.c: Likewise.
47588         * benchtests/bench-strcspn-ifunc.c: Likewise.
47589         * benchtests/bench-strlen-ifunc.c: Likewise.
47590         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47591         * benchtests/bench-strncat-ifunc.c: Likewise.
47592         * benchtests/bench-strncmp-ifunc.c: Likewise.
47593         * benchtests/bench-strncpy-ifunc.c: Likewise.
47594         * benchtests/bench-strnlen-ifunc.c: Likewise.
47595         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47596         * benchtests/bench-strrchr-ifunc.c: Likewise.
47597         * benchtests/bench-strsep-ifunc.c: Likewise.
47598         * benchtests/bench-strspn-ifunc.c: Likewise.
47599         * benchtests/bench-strstr-ifunc.c: Likewise.
47601 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47603         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47605 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47607         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47608         * rt/aio.h: Likewise.
47609         * sysdeps/gnu/bits/utmp.h: Likewise.
47610         * sysdeps/gnu/bits/utmpx.h: Likewise.
47611         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47612         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47613         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47614         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47615         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47616         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47617         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47618         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47619         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47620         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47621         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47622         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47623         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47625         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47626         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47627         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47628         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47629         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47630         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47631         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47632         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47633         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47634         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47635         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47637         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47638         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47639         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47640         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47641         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47642         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47643         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47644         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47645         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47646         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47647         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47648         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47649         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47650         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47651         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47652         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47654 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47656         [BZ #16245]
47657         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47658         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47660 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47662         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47663         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47664         Likewise.
47666 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47669         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47670         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47671         (__fesetround): Remove define.
47672         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47673         rounding and exceptions handling.
47674         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47675         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47676         (__fe_nomask_env): Likewise.
47677         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47678         __fegetround instead of fegetround.
47679         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47680         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47682 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47684         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47685         it's there.
47687         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47689 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47691         [BZ #11157]
47692         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47693         (encrypt_r): Likewise.
47694         * malloc/obstack.h (obstack_free): Likewise.
47695         * posix/unistd.h (encrypt): Likewise.
47697 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47699         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47700         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47701         DL_CALL_DT_FINI() that call the functions directly.
47702         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47703         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47704         * elf/dl-fini.c: Likewise.
47706 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47708         * malloc/hooks.c (memalign_check): Add alignment rounding.
47709         * malloc/malloc.c (_mid_memalign): New function.
47710         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47711         Implement by calling _mid_memalign.
47712         * manual/probes.texi (Memory Allocation Probes): Remove
47713         memory_valloc_retry and memory_pvalloc_retry.
47715 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         * locale/programs/locarchive.c (open_archive): Add const
47718         qualifier to ARCHIVEFNAME and copy default fname to
47719         DEFAULT_FNAME.
47721         [BZ #15601]
47722         * libio/tst-widetext.input: Rename Oriya to Odia.
47723         * locale/iso-639.def: Likewise.
47725         * manual/probes.texi (Mathematical Function Probes): Add
47726         documentation for sin, cos, asin and acos probes.
47727         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47728         (__sin32): Add slowasin probe.
47729         (__cos32): Add slowacos probe.
47730         (__mpsin): Add slowsin probe.
47731         (__mpcos): Add slowcos probe.
47733 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47735         [BZ #15483]
47736         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47737         thread-local __sim_exceptions_thread and global
47738         __sim_exceptions_global.
47739         (__sim_disabled_exceptions): Change to thread-local
47740         __sim_disabled_exceptions_thread and global
47741         __sim_disabled_exceptions_global.
47742         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47743         and global __sim_round_mode_global.
47744         (__simulate_exceptions): Use thread-local floating-point state and
47745         set global state from it as needed.
47746         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47747         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47748         __sim_round_mode_thread.
47749         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47750         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47751         and global __sim_exceptions_global.
47752         (__sim_disabled_exceptions): Change to thread-local
47753         __sim_disabled_exceptions_thread and global
47754         __sim_disabled_exceptions_global.
47755         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47756         and global __sim_round_mode_global.
47757         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47758         (SIM_SET_GLOBAL): Likewise.
47759         * sysdeps/powerpc/soft-fp/sfp-machine.h
47760         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47761         __sim_round_mode_thread.
47762         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47763         __sim_disabled_exceptions_thread.
47764         (__sim_exceptions): Change to __sim_exceptions_thread.
47765         (__sim_disabled_exceptions): Change to
47766         __sim_disabled_exceptions_thread.
47767         (__sim_round_mode): Change to __sim_round_mode_thread.
47768         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47769         thread-local floating-point state and set global state from it as
47770         needed.
47771         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47772         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47773         (__sim_disabled_exceptions): Remove extern declaration.
47774         (feenableexcept): Use thread-local floating-point state and set
47775         global state from it as needed.
47776         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47777         extern declaration.
47778         (__sim_disabled_exceptions): Likewise.
47779         (__sim_round_mode): Likewise.
47780         (__fegetenv): Use thread-local floating-point state.
47781         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47782         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47783         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47784         floating-point state and set global state from it as needed.
47785         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47786         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47787         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47788         Likewise.
47789         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47790         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47791         Likewise.
47792         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47793         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47794         Use __sim_round_mode_thread.
47795         * math/test-fenv-tls.c: New file.
47796         * math/Makefile (tests): Add test-fenv-tls.
47797         ($(objpfx)test-fenv-tls): Depend on
47798         $(common-objpfx)nptl/libpthread.so.
47800 2013-11-19  Andreas Schwab  <schwab@suse.de>
47802         * locale/programs/locale.c (show_info): Decode wordarray elements.
47803         * locale/categories.def (LC_MONETARY): Add element for
47804         _NL_MONETARY_CRNCYSTR.
47805         * locale/C-monetary.c (conversion_rate): New variable.
47806         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47807         element.
47809 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47811         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47812         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47814 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47816         * elf/Makefile (tst-auxv): New test.
47817         * elf/tst-auxv.c: New
47818         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47820 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47822         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47823         (hidden_proto): Caller changed.
47824         (hidden_tls_proto): New macro.
47825         (libc_hidden_tls_proto): Likewise.
47826         (rtld_hidden_tls_proto): Likewise.
47827         (libm_hidden_tls_proto): Likewise.
47828         (libresolv_hidden_tls_proto): Likewise.
47829         (librt_hidden_tls_proto): Likewise.
47830         (libdl_hidden_tls_proto): Likewise.
47831         (libnss_files_hidden_tls_proto): Likewise.
47832         (libnsl_hidden_tls_proto): Likewise.
47833         (libnss_nisplus_hidden_tls_proto): Likewise.
47834         (libutil_hidden_tls_proto): Likewise.
47836 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47838         [BZ #10253]
47839         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47840         (decompose_rpath): Defer expansion to fillin_rpath.
47841         (_dl_init_paths): Pass linkmap to fillin_rpath.
47843 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47845         * benchtests/Makefile: Add strsep.
47846         * benchtests/bench-strsep.c: New file: strsep benchtest.
47847         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47849 2013-11-18  Andreas Schwab  <schwab@suse.de>
47851         * locale/programs/locale.c (show_info) [case byte]: Check for
47852         '\377' instead of '\177'.
47853         * locale/C-monetary.c (not_available): Always use "\377".
47854         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47855         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47856         detect unavailable sign_posn locale elements.
47857         * locale/localeconv.c (__localeconv): For grouping and
47858         mon_grouping handle "\177" and "\377" like no grouping.
47859         (INT_ELEM): New macro.  Use it to set all numeric members.
47860         * locale/programs/ld-monetary.c (monetary_read)
47861         <tok_mon_grouping>: Normalize single -1 to the empty string.
47862         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47863         Likewise.
47865 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47867         [BZ #16055]
47868         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47869         when we match (nil).
47870         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47872 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47874         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47875         (NO_TEST_INLINE): Update value.
47876         (ERRNO_UNCHANGED): Likewise.
47877         (ERRNO_EDOM): Likewise.
47878         (ERRNO_ERANGE): Likewise.
47879         (IGNORE_RESULT): Likewise.
47880         (check_float_internal): Check signs of NaN results if
47881         TEST_NAN_SIGN used.
47882         (check_complex): Pass TEST_NAN_SIGN flag through to second
47883         check_float_internal call.
47884         (copysign_test_data): Add tests with quiet NaNs as second
47885         argument.  Use TEST_NAN_SIGN.
47886         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47887         TEST_NAN_SIGN.
47888         (signbit_test_data): Add tests of quiet NaN argument.
47889         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47891         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47892         $ignore_result.
47893         (parse_args): Handle function results specified as IGNORE.
47894         * math/libm-test.inc (IGNORE_RESULT): New macro.
47895         (check_float_internal): Do not check numerical result if flag
47896         IGNORE_RESULT set.
47897         (check_complex): Pass through IGNORE_RESULT to second
47898         check_float_internal call.
47899         (check_int): Do not check numerical result if flag IGNORE_RESULT
47900         set.
47901         (check_long): Likewise.
47902         (check_bool): Likewise.
47903         (check_longlong): Likewise.
47904         (lrint_test_data): Add tests of infinite and NaN arguments.
47905         (lrint_tonearest_test_data): Likewise.
47906         (lrint_towardzero_test_data): Likewise.
47907         (lrint_downward_test_data): Likewise.
47908         (lrint_upward_test_data): Likewise.
47909         (llrint_test_data): Likewise.
47910         (llrint_tonearest_test_data): Likewise.
47911         (llrint_towardzero_test_data): Likewise.
47912         (llrint_downward_test_data): Likewise.
47913         (llrint_upward_test_data): Likewise.
47914         (lround_test_data): Likewise.
47915         (llround_test_data): Likewise.
47917         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47918         (ERRNO_UNCHANGED): Update value.
47919         (ERRNO_EDOM): Likewise.
47920         (ERRNO_ERANGE): Likewise.
47921         (NO_TEST_INLINE_FLOAT): New macro.
47922         (NO_TEST_INLINE_DOUBLE): Likewise.
47923         (enable_test): New function.
47924         (RUN_TEST_f_f): Check enable_test before running test.
47925         (RUN_TEST_2_f): Likewise.
47926         (RUN_TEST_fff_f): Likewise.
47927         (RUN_TEST_c_f): Likewise.
47928         (RUN_TEST_f_f1): Likewise.
47929         (RUN_TEST_fF_f1): Likewise.
47930         (RUN_TEST_fI_f1): Likewise.
47931         (RUN_TEST_ffI_f1): Likewise.
47932         (RUN_TEST_c_c): Likewise.
47933         (RUN_TEST_cc_c): Likewise.
47934         (RUN_TEST_f_i): Likewise.
47935         (RUN_TEST_f_i_tg): Likewise.
47936         (RUN_TEST_ff_i_tg): Likewise.
47937         (RUN_TEST_f_b): Likewise.
47938         (RUN_TEST_f_b_tg): Likewise.
47939         (RUN_TEST_f_l): Likewise.
47940         (RUN_TEST_f_L): Likewise.
47941         (RUN_TEST_fFF_11): Likewise.
47942         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47943         conditionals.
47944         (cosh_test_data): Likewise.
47945         (exp_test_data): Likewise.
47946         (expm1_test_data): Likewise.
47947         (hypot_test_data): Likewise.
47948         (pow_test_data): Likewise.
47949         (sinh_test_data): Likewise.
47950         (tanh_test_data): Likewise.
47951         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47952         flags argument.
47954         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47955         tests with quiet NaN input and output.
47956         (acosh_test_data): Likewise.
47957         (asin_test_data): Likewise.
47958         (asinh_test_data): Likewise.
47959         (atan_test_data): Likewise.
47960         (atanh_test_data): Likewise.
47961         (atan2_test_data): Likewise.
47962         (cbrt_test_data): Likewise.
47963         (cos_test_data): Likewise.
47964         (cosh_test_data): Likewise.
47965         (erf_test_data): Likewise.
47966         (erfc_test_data): Likewise.
47967         (exp_test_data): Likewise.
47968         (exp10_test_data): Likewise.
47969         (exp2_test_data): Likewise.
47970         (expm1_test_data): Likewise.
47971         (hypot_test_data): Likewise.
47972         (j0_test_data): Likewise.
47973         (j1_test_data): Likewise.
47974         (jn_test_data): Likewise.
47975         (lgamma_test_data): Likewise.
47976         (log_test_data): Likewise.
47977         (log10_test_data): Likewise.
47978         (log1p_test_data): Likewise.
47979         (log2_test_data): Likewise.
47980         (pow_test_data): Likewise.
47981         (scalb_test_data): Likewise.
47982         (sin_test_data): Likewise.
47983         (sincos_test_data): Likewise.
47984         (sinh_test_data): Likewise.
47985         (tan_test_data): Likewise.
47986         (tanh_test_data): Likewise.
47987         (tgamma_test_data): Likewise.
47988         (y0_test_data): Likewise.
47989         (y1_test_data): Likewise.
47990         (yn_test_data): Likewise.
47992         [BZ #16167]
47993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47994         argument being NaN and avoid computations with second argument in
47995         that case.
47996         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47997         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48000 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48002         * locale/iso-639.def: Add Chitwani Tharu (the).
48004 2013-11-14  Andreas Schwab  <schwab@suse.de>
48006         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48007         word instead of empty string.
48009 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48012         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48014         (__fe_nomask_env): Likewise.
48016 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48018         * benchtests/bench-timing.h: Include time.h.
48020 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48022         [BZ #15997]
48023         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48024         to 3.4.0 for x32.
48025         * sysdeps/unix/sysv/linux/configure: Regenerated.
48027 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48029         [BZ #16151]
48030         * stdlib/strtod_l.c (round_and_return): Do not consider
48031         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48032         exponent one less than half the least subnormal exponent.
48033         * stdlib/test-strtod-round-data: Add more tests.
48034         * stdlib/tst-strtod-round.c (tests): Regenerated.
48036 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48038         [BZ #14143]
48039         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48040         (__fe_mask_env): Likewise.
48041         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48042         libm_hidden_proto and add function prototype.
48043         (__fe_mask_env): Add function prototype.
48044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48045         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48047         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48049         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48051 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48053         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48054         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48056 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48058         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48059         of htab_find_slot().
48061 2013-11-11  David S. Miller  <davem@davemloft.net>
48063         [BZ #16150]
48064         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48065         symbol in the non-vis3 case in static builds.
48066         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48067         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48068         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48069         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48071 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48073         [BZ #387]
48074         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48075         it is empty.
48077 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48079         * benchtests/Makefile: Add bench-strtod.
48080         * benchtests/bench-strtod.c: New file: strtod benchtest
48082 2013-11-11  Andreas Schwab  <schwab@suse.de>
48084         [BZ #16153]
48085         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48086         terminating NUL in key length.
48088 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48091         Add artificial ODP entry for vDSO symbol for PPC64.
48092         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48093         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48095 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48097         [BZ #15374]
48098         * nss/getent.c (services_keys): Recognize services starting with digit.
48100 2013-11-06  David S. Miller  <davem@davemloft.net>
48102         [BZ #15985]
48103         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48104         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48106 2013-11-06  Will Newton  <will.newton@linaro.org>
48108         * manual/memory.texi (Malloc Examples): Remove register
48109         keyword from examples.
48111 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48113         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48115 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48117         [BZ #6981]
48118         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48119         depending on [__GCC_IEC_559 > 0].
48120         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48121         depending on [__GCC_IEC_559_COMPLEX > 0].
48123 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48125         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48126         to iso-639.def.
48128 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48130         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48132 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48134         [BZ #16112]
48135         * malloc/malloc (malloc_info): Do not handle first bin as
48136         special case.
48138 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48140         * locale/iso-639.def: Add Central Nahuatl (nhn).
48142 2013-11-01  Bruno Haible  <bruno@clisp.org>
48144         [BZ #7003]
48145         * manual/math.texi (BSD Random): Specify range upper bound as
48146         in POSIX.
48148 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48150         * locale/iso-639.def: Add Meadow Mari (mhr).
48152 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48154         [BZ #14752], [BZ #15763]
48155         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48156         Validate name.
48157         * rt/tst_shm.c: Add test for escaping directory.
48159 2013-10-31  Andreas Schwab  <schwab@suse.de>
48161         [BZ #15917]
48162         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48163         followed by 'x' as part of digit sequence.
48164         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48166 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48168         [BZ #16037]
48169         * configure.ac: allow GNU Make 4.0 and greater.
48170         * configure: Regenerated.
48172 2013-10-30  Will Newton  <will.newton@linaro.org>
48174         [BZ #16038]
48175         * malloc/hooks.c (memalign_check): Limit alignment to the
48176         maximum representable power of two.
48177         * malloc/malloc.c (__libc_memalign): Likewise.
48178         * malloc/tst-memalign.c (do_test): Add test for very
48179         large alignment values.
48180         * malloc/tst-posix_memalign.c (do_test): Likewise.
48182 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48184         [BZ #11087]
48185         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48186         (munmap_chunk): Likewise.
48187         (mremap_chunk): Likewise.
48189 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48191         [BZ #15799]
48192         * stdlib/div.c (div): Remove obsolete code.
48193         * stdlib/ldiv.c (ldiv): Likewise.
48194         * stdlib/lldiv.c (lldiv): Likewise.
48196 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48198         [BZ #16071]
48199         * nss/nss_files/files-XXX.c (get_contents_ret): New
48200         enumerator.
48201         (get_contents): New function.
48202         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48204 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48206         * configure.in: Moved to ...
48207         * configure.ac: ... here. Change reference to configure.in
48208         to configure.ac.
48209         * sysdeps/arm/preconfigure.ac: ... here.
48210         configure.in to configure.ac.
48211         * sysdeps/gnu/configure.in: Moved to ...
48212         * sysdeps/gnu/configure.ac: ... here.
48213         * sysdeps/i386/configure.in: Moved to ...
48214         * sysdeps/i386/configure.ac: ... here.
48215         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48216         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48217         * sysdeps/mach/configure.in: Moved to ...
48218         * sysdeps/mach/configure.ac: ... here.
48219         * sysdeps/mach/hurd/configure.in: Moved to ...
48220         * sysdeps/mach/hurd/configure.ac: ... here.
48221         * sysdeps/powerpc/configure.in: Moved to ...
48222         * sysdeps/powerpc/configure.ac: ... here.
48223         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48224         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48225         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48226         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48227         * sysdeps/s390/s390-32/configure.in: Moved to ...
48228         * sysdeps/s390/s390-32/configure.ac: ... here.
48229         * sysdeps/s390/s390-64/configure.in: Moved to ...
48230         * sysdeps/s390/s390-64/configure.ac: ... here.
48231         * sysdeps/sh/configure.in: Moved to ...
48232         * sysdeps/sh/configure.ac: ... here.
48233         * sysdeps/sparc/configure.in: Moved to ...
48234         * sysdeps/sparc/configure.ac: ... here.
48235         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48236         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48237         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48238         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48239         * sysdeps/x86_64/configure.in: Moved to ...
48240         * sysdeps/x86_64/configure.ac: ... here.
48241         * sysdeps/x86_64/preconfigure.in: Moved to ...
48242         * sysdeps/x86_64/preconfigure.ac: ... here.
48243         * aclocal.m4: Change reference to configure.in to configure.ac.
48244         * config.h.in: Likewise.
48245         * manual/install.texi: Likewise.
48246         * manual/maint.texi: Likewise.
48247         * Makefile: Likewise.
48248         * malloc/Makefile: Likewise.
48249         * nscd/Makefile: Likewise.
48250         * Makeconfig: Change reference to configure.in and
48251         preconfigure.in to configure.ac and preconfigure.ac
48252         respectively.
48253         * INSTALL: Regenerated.
48254         * configure: Likewise.
48255         * sysdeps/gnu/configure: Likewise.
48256         * sysdeps/i386/configure: Likewise.
48257         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48258         * sysdeps/mach/configure: Likewise.
48259         * sysdeps/mach/hurd/configure: Likewise.
48260         * sysdeps/powerpc/configure: Likewise.
48261         * sysdeps/powerpc/powerpc32/configure: Likewise.
48262         * sysdeps/powerpc/powerpc64/configure: Likewise.
48263         * sysdeps/s390/s390-32/configure: Likewise.
48264         * sysdeps/s390/s390-64/configure: Likewise.
48265         * sysdeps/sh/configure: Likewise.
48266         * sysdeps/sparc/configure: Likewise.
48267         * sysdeps/unix/sysv/linux/configure: Likewise.
48268         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48269         * sysdeps/x86_64/configure: Likewise.
48270         * sysdeps/x86_64/preconfigure: Likewise.
48272 2013-10-29  Andreas Schwab  <schwab@suse.de>
48274         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48276 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48278         * benchtests/pow-inputs: Add new inputs.
48280         * benchtests/exp-inputs: Add new inputs.
48282         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48283         conditional check for return value.
48284         (__cos32): Likewise.
48286 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48288         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48289         to provide a boost for large inputs with word alignment.
48290         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48291         implementation based on optimized PPC64 strcpy.
48292         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48293         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48294         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48295         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48297 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48299         [BZ #2801]
48300         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48302 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48304         [BZ #14876]
48305         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48306         * time/tst-strptime.c (day_tests): Add testcase.
48308 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48310         [BZ #14029]
48311         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48313 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48315         [BZ #16074]
48316         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48317         MAP_FAILED on error.
48319 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48321         [BZ #16072]
48322         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48323         heap for large requests.
48325 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48327         [BZ #9954]
48328         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48329         result if the result has no associated interface.
48330         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48331         interface for all 127.X.Y.Z addresses.
48333 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48335         * locale/iso-639.def: Add Ligurian (lij)
48337 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48339         [BZ #15825]
48340         * sunrpc/rpc_main.c: Document rpcgen -5.
48342 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48344         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48346 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48348         [BZ #10278]
48349         * posix/glob.c: Match only directories when trailing slash is present.
48350         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48351         (main): Add testcase.
48353 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48355         [BZ #15670]
48356         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48358 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48360         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48361         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48362         AUTH_DES and cindex for FIPS 140-2.
48363         (DES Encryption): Add cindex FIPS 46-3.
48365         * locale/locarchive.h (struct locarhandle): Add fname.
48366         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48367         if an optional argument was specified to --list-archive,
48368         otherwise NULL.
48369         * locale/programs/locarchive.c (show_archive_content): Take new
48370         argument fname and pass it via ah.fname to open_archive.
48371         * locale/programs/localedef.h: Update decl.
48372         (open_archive): If AH->fname is non-null, open that file
48373         rather than the default file name, and don't ignore ENOENT.
48374         (create_archive): Set AH.fname to NULL.
48375         (delete_locales_from_archive): Likewise.
48376         (add_locales_to_archive): Likewise.
48377         * locale/programs/locfile.c (write_all_categories): Likewise.
48379 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48380             Aldy Hernandez  <aldyh@redhat.com>
48382         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48383         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48384         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48385         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48386         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48387         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48388         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48389         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48390         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48391         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48392         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48393         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48394         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48395         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48396         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48397         Likewise.
48398         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48399         Likewise.
48400         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48401         Likewise.
48402         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48403         Likewise.
48404         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48405         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48406         Likewise.
48407         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48408         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48409         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48410         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48411         Likewise.
48412         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48413         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48414         * sysdeps/powerpc/preconfigure: Likewise.
48415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48416         Likewise.
48417         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48418         Replace contents of file by #include of <fenv_libc.h>.
48419         * sysdeps/powerpc/soft-fp/sfp-machine.h
48420         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48421         and <sys/prctl.h>.
48422         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48424         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48425         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48428         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48431         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48435         Allow copysignl PLT reference to be missing.
48437 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48438             Joseph Myers  <joseph@codesourcery.com
48440         [BZ #15948]
48441         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48442         single character.
48443         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48445 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48447         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48448         * elf/tst-tls1.c: Likewise.
48449         * elf/tst-tls10.h: Likewise.
48450         * elf/tst-tls14.c: Likewise.
48451         * elf/tst-tls2.c: Likewise.
48452         * elf/tst-tls3.c: Likewise.
48453         * elf/tst-tls4.c: Likewise.
48454         * elf/tst-tls5.c: Likewise.
48455         * elf/tst-tls6.c: Likewise.
48456         * elf/tst-tls7.c: Likewise.
48457         * elf/tst-tls8.c: Likewise.
48458         * elf/tst-tls9.c: Likewise.
48459         * elf/tst-tlsmod1.c: Likewise.
48460         * elf/tst-tlsmod13.c: Likewise.
48461         * elf/tst-tlsmod13a.c: Likewise.
48462         * elf/tst-tlsmod14a.c: Likewise.
48463         * elf/tst-tlsmod16a.c: Likewise.
48464         * elf/tst-tlsmod16b.c: Likewise.
48465         * elf/tst-tlsmod2.c: Likewise.
48466         * elf/tst-tlsmod3.c: Likewise.
48467         * elf/tst-tlsmod4.c: Likewise.
48468         * elf/tst-tlsmod5.c: Likewise.
48469         * elf/tst-tlsmod6.c: Likewise.
48471 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48473         [BZ #12486]
48474         * malloc/malloc.c: remove checks for statistics.
48476 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48478         [BZ #15277]
48479         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48480         * inet/tst-network.c: Add testcase.
48482 2013-10-17  Andreas Schwab  <schwab@suse.de>
48484         [BZ #15218]
48485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48486         to determine canonical name.
48488 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48490         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48491         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48492         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48493         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48495         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48496         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48497         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48498         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48499         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48500         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48501         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48502         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48503         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48504         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48505         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48507         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48508         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48509         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48510         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48512         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48513         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48514         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48515         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48516         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48517         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48518         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48519         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48520         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48522         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48523         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48524         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48525         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48526         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48527         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48528         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48530         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48531         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48532         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48533         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48534         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48535         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48536         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48537         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48538         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48539         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48540         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48541         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48542         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48543         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48544         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48545         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48546         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48547         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48549 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48551         [BZ #16041]
48552         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48553         make result into a quiet NaN.
48555 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48557         * soft-fp/adddf3.c: Fix horizontal whitespace.
48558         * soft-fp/addsf3.c: Likewise.
48559         * soft-fp/addtf3.c: Likewise.
48560         * soft-fp/divdf3.c: Likewise.
48561         * soft-fp/divsf3.c: Likewise.
48562         * soft-fp/divtf3.c: Likewise.
48563         * soft-fp/double.h: Likewise.
48564         * soft-fp/eqdf2.c: Likewise.
48565         * soft-fp/eqsf2.c: Likewise.
48566         * soft-fp/eqtf2.c: Likewise.
48567         * soft-fp/extenddftf2.c: Likewise.
48568         * soft-fp/extended.h: Likewise.
48569         * soft-fp/extendsfdf2.c: Likewise.
48570         * soft-fp/extendsftf2.c: Likewise.
48571         * soft-fp/extendxftf2.c: Likewise.
48572         * soft-fp/fixdfdi.c: Likewise.
48573         * soft-fp/fixdfsi.c: Likewise.
48574         * soft-fp/fixdfti.c: Likewise.
48575         * soft-fp/fixsfdi.c: Likewise.
48576         * soft-fp/fixsfsi.c: Likewise.
48577         * soft-fp/fixsfti.c: Likewise.
48578         * soft-fp/fixtfdi.c: Likewise.
48579         * soft-fp/fixtfsi.c: Likewise.
48580         * soft-fp/fixtfti.c: Likewise.
48581         * soft-fp/fixunsdfdi.c: Likewise.
48582         * soft-fp/fixunsdfsi.c: Likewise.
48583         * soft-fp/fixunsdfti.c: Likewise.
48584         * soft-fp/fixunssfdi.c: Likewise.
48585         * soft-fp/fixunssfsi.c: Likewise.
48586         * soft-fp/fixunssfti.c: Likewise.
48587         * soft-fp/fixunstfdi.c: Likewise.
48588         * soft-fp/fixunstfsi.c: Likewise.
48589         * soft-fp/fixunstfti.c: Likewise.
48590         * soft-fp/floatdidf.c: Likewise.
48591         * soft-fp/floatdisf.c: Likewise.
48592         * soft-fp/floatditf.c: Likewise.
48593         * soft-fp/floatsidf.c: Likewise.
48594         * soft-fp/floatsisf.c: Likewise.
48595         * soft-fp/floatsitf.c: Likewise.
48596         * soft-fp/floattidf.c: Likewise.
48597         * soft-fp/floattisf.c: Likewise.
48598         * soft-fp/floattitf.c: Likewise.
48599         * soft-fp/floatundidf.c: Likewise.
48600         * soft-fp/floatundisf.c: Likewise.
48601         * soft-fp/floatunditf.c: Likewise.
48602         * soft-fp/floatunsidf.c: Likewise.
48603         * soft-fp/floatunsisf.c: Likewise.
48604         * soft-fp/floatunsitf.c: Likewise.
48605         * soft-fp/floatuntidf.c: Likewise.
48606         * soft-fp/floatuntisf.c: Likewise.
48607         * soft-fp/floatuntitf.c: Likewise.
48608         * soft-fp/fmadf4.c: Likewise.
48609         * soft-fp/fmasf4.c: Likewise.
48610         * soft-fp/fmatf4.c: Likewise.
48611         * soft-fp/gedf2.c: Likewise.
48612         * soft-fp/gesf2.c: Likewise.
48613         * soft-fp/getf2.c: Likewise.
48614         * soft-fp/ledf2.c: Likewise.
48615         * soft-fp/lesf2.c: Likewise.
48616         * soft-fp/letf2.c: Likewise.
48617         * soft-fp/muldf3.c: Likewise.
48618         * soft-fp/mulsf3.c: Likewise.
48619         * soft-fp/multf3.c: Likewise.
48620         * soft-fp/negdf2.c: Likewise.
48621         * soft-fp/negsf2.c: Likewise.
48622         * soft-fp/negtf2.c: Likewise.
48623         * soft-fp/op-1.h: Likewise.
48624         * soft-fp/op-2.h: Likewise.
48625         * soft-fp/op-4.h: Likewise.
48626         * soft-fp/op-8.h: Likewise.
48627         * soft-fp/op-common.h: Likewise.
48628         * soft-fp/quad.h: Likewise.
48629         * soft-fp/single.h: Likewise.
48630         * soft-fp/soft-fp.h: Likewise.
48631         * soft-fp/sqrtdf2.c: Likewise.
48632         * soft-fp/sqrtsf2.c: Likewise.
48633         * soft-fp/sqrttf2.c: Likewise.
48634         * soft-fp/subdf3.c: Likewise.
48635         * soft-fp/subsf3.c: Likewise.
48636         * soft-fp/subtf3.c: Likewise.
48637         * soft-fp/truncdfsf2.c: Likewise.
48638         * soft-fp/trunctfdf2.c: Likewise.
48639         * soft-fp/trunctfsf2.c: Likewise.
48640         * soft-fp/trunctfxf2.c: Likewise.
48641         * soft-fp/unorddf2.c: Likewise.
48642         * soft-fp/unordsf2.c: Likewise.
48643         * soft-fp/unordtf2.c: Likewise.
48645 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48647         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48648         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48650 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48652         * elf/dl-libc.c: Clear initfini list after freeing.
48654 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48656         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48657         * soft-fp/addsf3.c: Likewise.
48658         * soft-fp/addtf3.c: Likewise.
48659         * soft-fp/divdf3.c: Likewise.
48660         * soft-fp/divsf3.c: Likewise.
48661         * soft-fp/divtf3.c: Likewise.
48662         * soft-fp/double.h: Likewise.
48663         * soft-fp/eqdf2.c: Likewise.
48664         * soft-fp/eqsf2.c: Likewise.
48665         * soft-fp/eqtf2.c: Likewise.
48666         * soft-fp/extenddftf2.c: Likewise.
48667         * soft-fp/extended.h: Likewise.
48668         * soft-fp/extendsfdf2.c: Likewise.
48669         * soft-fp/extendsftf2.c: Likewise.
48670         * soft-fp/extendxftf2.c: Likewise.
48671         * soft-fp/fixdfdi.c: Likewise.
48672         * soft-fp/fixdfsi.c: Likewise.
48673         * soft-fp/fixdfti.c: Likewise.
48674         * soft-fp/fixsfdi.c: Likewise.
48675         * soft-fp/fixsfsi.c: Likewise.
48676         * soft-fp/fixsfti.c: Likewise.
48677         * soft-fp/fixtfdi.c: Likewise.
48678         * soft-fp/fixtfsi.c: Likewise.
48679         * soft-fp/fixtfti.c: Likewise.
48680         * soft-fp/fixunsdfdi.c: Likewise.
48681         * soft-fp/fixunsdfsi.c: Likewise.
48682         * soft-fp/fixunsdfti.c: Likewise.
48683         * soft-fp/fixunssfdi.c: Likewise.
48684         * soft-fp/fixunssfsi.c: Likewise.
48685         * soft-fp/fixunssfti.c: Likewise.
48686         * soft-fp/fixunstfdi.c: Likewise.
48687         * soft-fp/fixunstfsi.c: Likewise.
48688         * soft-fp/fixunstfti.c: Likewise.
48689         * soft-fp/floatdidf.c: Likewise.
48690         * soft-fp/floatdisf.c: Likewise.
48691         * soft-fp/floatditf.c: Likewise.
48692         * soft-fp/floatsidf.c: Likewise.
48693         * soft-fp/floatsisf.c: Likewise.
48694         * soft-fp/floatsitf.c: Likewise.
48695         * soft-fp/floattidf.c: Likewise.
48696         * soft-fp/floattisf.c: Likewise.
48697         * soft-fp/floattitf.c: Likewise.
48698         * soft-fp/floatundidf.c: Likewise.
48699         * soft-fp/floatundisf.c: Likewise.
48700         * soft-fp/floatunsidf.c: Likewise.
48701         * soft-fp/floatunsisf.c: Likewise.
48702         * soft-fp/floatuntidf.c: Likewise.
48703         * soft-fp/floatuntisf.c: Likewise.
48704         * soft-fp/floatuntitf.c: Likewise.
48705         * soft-fp/fmadf4.c: Likewise.
48706         * soft-fp/fmasf4.c: Likewise.
48707         * soft-fp/fmatf4.c: Likewise.
48708         * soft-fp/gedf2.c: Likewise.
48709         * soft-fp/gesf2.c: Likewise.
48710         * soft-fp/getf2.c: Likewise.
48711         * soft-fp/ledf2.c: Likewise.
48712         * soft-fp/lesf2.c: Likewise.
48713         * soft-fp/letf2.c: Likewise.
48714         * soft-fp/muldf3.c: Likewise.
48715         * soft-fp/mulsf3.c: Likewise.
48716         * soft-fp/multf3.c: Likewise.
48717         * soft-fp/negdf2.c: Likewise.
48718         * soft-fp/negsf2.c: Likewise.
48719         * soft-fp/negtf2.c: Likewise.
48720         * soft-fp/op-1.h: Likewise.
48721         * soft-fp/op-2.h: Likewise.
48722         * soft-fp/op-4.h: Likewise.
48723         * soft-fp/op-8.h: Likewise.
48724         * soft-fp/op-common.h: Likewise.
48725         * soft-fp/quad.h: Likewise.
48726         * soft-fp/single.h: Likewise.
48727         * soft-fp/soft-fp.h: Likewise.
48728         * soft-fp/sqrtdf2.c: Likewise.
48729         * soft-fp/sqrtsf2.c: Likewise.
48730         * soft-fp/sqrttf2.c: Likewise.
48731         * soft-fp/subdf3.c: Likewise.
48732         * soft-fp/subsf3.c: Likewise.
48733         * soft-fp/subtf3.c: Likewise.
48734         * soft-fp/truncdfsf2.c: Likewise.
48735         * soft-fp/trunctfdf2.c: Likewise.
48736         * soft-fp/trunctfsf2.c: Likewise.
48737         * soft-fp/trunctfxf2.c: Likewise.
48738         * soft-fp/unorddf2.c: Likewise.
48739         * soft-fp/unordsf2.c: Likewise.
48740         * soft-fp/unordtf2.c: Likewise.
48742 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48744         [BZ #15672]
48745         * misc/error.c (error_tail): Fix possible buffer overflow.
48747 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48749         [BZ #13028]
48750         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48751         address.
48753 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48755         [BZ #832]
48756         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48757         testing pipefail option.
48759 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48761         * soft-fp/double.h: Indent preprocessor directives inside #if.
48762         * soft-fp/extended.h: Likewise.
48763         * soft-fp/op-2.h: Likewise.
48764         * soft-fp/op-4.h: Likewise.
48765         * soft-fp/op-common.h: Likewise.
48766         * soft-fp/quad.h: Likewise.
48767         * soft-fp/single.h: Likewise.
48768         * soft-fp/soft-fp.h: Likewise.
48770 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48772         * iconv/iconv_prog.c: Fix typos.
48773         * stdio-common/psiginfo-data.h: Likewise.
48775 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48777         [BZ #15764]
48778         * locale/setlocale.c: Fix typo.
48780 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48782         [BZ #16036]
48783         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48784         signaling NaN arguments.
48785         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48786         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48788         [BZ #14910]
48789         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48790         unordered operands.
48791         * soft-fp/gesf2.c (__gesf2): Likewise.
48792         * soft-fp/getf2.c (__getf2): Likewise.
48793         * soft-fp/ledf2.c (__ledf2): Likewise.
48794         * soft-fp/lesf2.c (__lesf2): Likewise.
48795         * soft-fp/letf2.c (__letf2): Likewise.
48797         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48798         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48799         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48800         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48801         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48802         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48803         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48804         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48805         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48806         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48807         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48808         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48809         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48810         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48811         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48812         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48813         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48814         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48815         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48816         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48817         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48818         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48819         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48820         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48821         * soft-fp/floattidf.c (__floattidf): Likewise.
48822         * soft-fp/floattisf.c (__floattisf): Likewise.
48823         * soft-fp/floattitf.c (__floattitf): Likewise.
48824         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48825         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48826         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48827         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48828         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48829         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48830         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48831         * soft-fp/gesf2.c (__gesf2): Likewise.
48832         * soft-fp/getf2.c (__getf2): Likewise.
48833         * soft-fp/ledf2.c (__ledf2): Likewise.
48834         * soft-fp/lesf2.c (__lesf2): Likewise.
48835         * soft-fp/letf2.c (__letf2): Likewise.
48837         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48838         Undefine and redefine.
48839         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48840         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48841         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48842         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48843         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48844         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48845         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48846         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48847         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48848         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48849         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48850         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48851         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48852         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48853         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48855         [BZ #16032]
48856         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48857         without decrementing exponent if mantissa >= that for the
48858         denominator, not >.
48859         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48860         denominator, not >.  Decrement exponent in < case instead of
48861         incrementing in >= case.
48862         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48863         without decrementing exponent if mantissa >= that for the
48864         denominator, not >.
48866         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48867         computing saturated result for unsigned overflow.
48869 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48870             Jeff Law  <law@redhat.com>
48872         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48873         (atan2Mp): Add systemtap probe marker.
48874         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48875         (__ieee754_log): Add systemtap probe marker.
48876         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48877         (atanMp): Add systemtap probe marker.
48878         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48879         (tanMp): Add systemtap probe marker.
48880         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48881         (__slowexp): Add systemtap probe marker.
48882         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48883         (__slowpow): Add systemtap probe marker.
48884         * manual/probes.texi: Document probes.
48886 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48888         [BZ #15362]
48889         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48890         written.
48891         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48892         written.
48893         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48894         written to buffer but not flushed.
48895         * libio/iofwrite_u.c:  Likewise.
48896         * libio/iopadn.c:  Return bytes returned even if EOF was
48897         encountered.
48898         * libio/iowpadn.c:  Likewise.
48899         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48900         if _IO_padn does not write the whole buffer.
48901         [!COMPILE_WPRINTF] (PAD): Likewise.
48903 2013-10-10  David S. Miller  <davem@davemloft.net>
48905         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48906         directory block.
48908 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48910         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48911         instead of FSF address.
48912         * soft-fp/fixdfti.c: Likewise.
48913         * soft-fp/fixsfti.c: Likewise.
48914         * soft-fp/fixtfti.c: Likewise.
48915         * soft-fp/fixunsdfti.c: Likewise.
48916         * soft-fp/fixunssfti.c: Likewise.
48917         * soft-fp/fixunstfti.c: Likewise.
48918         * soft-fp/floattidf.c: Likewise.
48919         * soft-fp/floattisf.c: Likewise.
48920         * soft-fp/floattitf.c: Likewise.
48921         * soft-fp/floatuntidf.c: Likewise.
48922         * soft-fp/floatuntisf.c: Likewise.
48923         * soft-fp/floatuntitf.c: Likewise.
48924         * soft-fp/trunctfxf2.c: Likewise.
48926         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48927         * soft-fp/fixdfti.c: Likewise.
48928         * soft-fp/fixsfti.c: Likewise.
48929         * soft-fp/fixtfti.c: Likewise.
48930         * soft-fp/fixunsdfti.c: Likewise.
48931         * soft-fp/fixunssfti.c: Likewise.
48932         * soft-fp/fixunstfti.c: Likewise.
48933         * soft-fp/floattidf.c: Likewise.
48934         * soft-fp/floattisf.c: Likewise.
48935         * soft-fp/floattitf.c: Likewise.
48936         * soft-fp/floatuntidf.c: Likewise.
48937         * soft-fp/floatuntisf.c: Likewise.
48938         * soft-fp/floatuntitf.c: Likewise.
48939         * soft-fp/trunctfxf2.c: Likewise.
48941 2013-10-10  David S. Miller  <davem@davemloft.net>
48943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48945 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48947         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48948         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48949         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48950         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48951         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48952         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48953         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48955         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48956         for NaNs before doing comparisons on argument.
48957         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48958         Likewise.
48960 2013-10-10  Will Newton  <will.newton@linaro.org>
48962         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48963         passed to _int_memalign does not overflow.
48965 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48967         * scripts/bench.pl: Add include-sources directive.
48968         * benchtests/README: Update documentation.
48970 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48972         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48973         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48974         instead of FP_INIT_ROUNDMODE.
48975         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48976         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48978         [BZ #16034]
48979         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48980         copy class of input value.
48981         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48982         not handle exceptions.
48983         * soft-fp/negsf2.c (__negsf2): Likewise.
48984         * soft-fp/negtf2.c (__negtf2): Likewise.
48985         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48987 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48989         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48990         semicolon.  From Linux kernel.
48992 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48994         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48996 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48998         [BZ #156]
48999         * manual/socket.texi: Added statement about buffer
49000         for gethostbyname2_r.
49002 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49004         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49005         Use .p2align directive instead, throughout.
49006         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49007         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49008         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49011         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49012         * sysdeps/x86_64/strchr.S: Likewise.
49013         * sysdeps/x86_64/strrchr.S: Likewise.
49015 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49017         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49019         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49021         * sysdeps/generic/math_private.h (__mpsin1): Remove
49022         declaration.
49023         (__mpcos1): Likewise.
49024         (__mpsin): New argument __range_reduce.
49025         (__mpcos): Likewise.
49026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49027         (slow): Use __mpsin and __mpcos.
49028         (slow1): Likewise.
49029         (slow2): Likewise.
49030         (sloww): Likewise.
49031         (sloww1): Likewise.
49032         (sloww2): Likewise.
49033         (bsloww): Likewise.
49034         (bsloww1): Likewise.
49035         (bsloww2): Likewise.
49036         (cslow2): Likewise.
49037         (csloww): Likewise.
49038         (csloww1): Likewise.
49039         (csloww2): Likewise.
49040         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49041         range_reduce.  Merge in __mpsin1.
49042         (__mpcos): Likewise.
49043         (__mpsin1): Remove.
49044         (__mpcos1): Likewise.
49046 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49048         * locale/loadlocale.c (_nl_intern_locale_data): Use
49049         LOCFILE_ALIGNED_P.
49050         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49051         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49052         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49053         obstack data is appropriately aligned.
49054         (obstack_int32_grow_fast): Likewise.
49055         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49056         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49057         (add_locale_uint32_array): Likewise.
49059 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49061         * benchtests/Makefile: Remove ARGLIST and RET variables.
49062         ($(objpfx)bench-%.c): Pass only function name to the script.
49063         * benchtests/README: Update documentation.
49064         * benchtests/acos-inputs: Add new directives.
49065         * benchtests/acosh-inputs: Likewise.
49066         * benchtests/asin-inputs: Likewise.
49067         * benchtests/asinh-inputs: Likewise.
49068         * benchtests/atan-inputs: Likewise.
49069         * benchtests/atanh-inputs: Likewise.
49070         * benchtests/cos-inputs: Likewise.
49071         * benchtests/cosh-inputs: Likewise.
49072         * benchtests/exp-inputs: Likewise.
49073         * benchtests/log-inputs: Likewise.
49074         * benchtests/pow-inputs: Likewise.
49075         * benchtests/rint-inputs: Likewise.
49076         * benchtests/sin-inputs: Likewise.
49077         * benchtests/sinh-inputs: Likewise.
49078         * benchtests/tan-inputs: Likewise.
49079         * benchtests/tanh-inputs: Likewise.
49080         * scripts/bench.pl: Add support for new directives.
49082 2013-10-07  Alan Modra  <amodra@gmail.com>
49084         * README: Fix careless merge.
49086 2013-10-05  Alan Modra  <amodra@gmail.com>
49088         * NEWS: Mention powerpc64le support and bugs fixed.
49089         * README: Both big-endian and little-endian powerpc64 supported.
49091 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49093         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49094         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49095         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49096         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49098 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49100         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49101         match prototype.
49103 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49105         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49106         Move -mhard-float appending from
49107         ports/sysdeps/powerpc/powerpc32/Makefile.
49108         [$(with-fp) = yes] (ASFLAGS): Likewise.
49109         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49110         * sysdeps/powerpc/nofpu: Move directory from
49111         ports/sysdeps/powerpc/nofpu.
49112         * sysdeps/powerpc/soft-fp: Move directory from
49113         ports/sysdeps/powerpc/soft-fp.
49114         * sysdeps/powerpc/powerpc32/405: Move directory from
49115         ports/sysdeps/powerpc/powerpc32/405.
49116         * sysdeps/powerpc/powerpc32/440: Move directory from
49117         ports/sysdeps/powerpc/powerpc32/440.
49118         * sysdeps/powerpc/powerpc32/464: Move directory from
49119         ports/sysdeps/powerpc/powerpc32/464.
49120         * sysdeps/powerpc/powerpc32/476: Move directory from
49121         ports/sysdeps/powerpc/powerpc32/476.
49122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49123         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49125         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49127         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49129         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49131         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49132         * README: Update for powerpc-*-linux-gnu software floating point
49133         support in libc.
49135         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49136         case to powerpc/powerpc32*.
49137         * sysdeps/unix/sysv/linux/configure: Regenerated.
49139         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49140         (_FPU_MASK_OM): Define as 0x04.
49141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49143         0x00c10080.
49144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49145         0x0000003c.
49146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49149         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49150         getcontext_e500.
49151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49152         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49153         setcontext_e500.
49154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49155         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49156         and setcontext_e500.
49158 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49160         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49162 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49164         * manual/threads.texi (Default Thread Attributes): Fix typo.
49166 2013-10-04  Will Newton  <will.newton@linaro.org>
49168         * malloc/Makefile: Add tst-memalign.
49169         * malloc/tst-memalign.c: New file.
49171         * malloc/tst-posix_memalign.c: Add comments.
49172         (do_test): Add comments and call free on all potentially
49173         allocated pointers. Add space after cast.
49175         * malloc/tst-pvalloc.c: Add comments.
49176         (do_test): Add comments and call free on all potentially
49177         allocated pointers. Remove duplicate check for NULL pointer.
49178         Add space after cast.
49180         * malloc/tst-valloc.c: Add comments.
49181         (do_test): Add comments and call free on all potentially
49182         allocated pointers. Remove duplicate check for NULL pointer.
49183         Add space after cast.
49185 2013-10-04  Alan Modra  <amodra@gmail.com>
49187         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49188         Use stdint types in rather than __attribute__((mode())).
49189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49191 2013-10-04  Alan Modra  <amodra@gmail.com>
49193         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49194         Correct handling of unaligned relocs for little-endian.
49195         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49197 2013-10-04  Alan Modra  <amodra@gmail.com>
49199         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49200         * configure: Regenerate.
49201         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49202         * shlib-versions: Likewise.
49204 2013-10-04  Alan Modra  <amodra@gmail.com>
49206         * string/tester.c (test_memrchr): Increment reported test cycle.
49208 2013-10-04  Alan Modra  <amodra@gmail.com>
49210         * string/test-memcpy.c (do_one_test): When reporting errors, print
49211         string address and don't overrun end of string.
49213 2013-10-04  Alan Modra  <amodra@gmail.com>
49215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49216         insrdi.  Make better use of reg selection to speed exit slightly.
49217         Schedule entry path a little better.  Remove useless "are we done"
49218         checks on entry to main loop.  Handle wrapping around zero address.
49219         Correct main loop count.  Handle single left-over word from main
49220         loop inline rather than by using loop_small.  Remove extra word
49221         case in loop_small caused by wrong loop count.  Add little-endian
49222         support.
49223         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49224         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49225         cache hint.
49226         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49227         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49228         support.  Avoid rlwimi.
49229         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49231 2013-10-04  Alan Modra  <amodra@gmail.com>
49233         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49234         insrdi.  Formatting.
49235         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49236         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49237         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49238         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49239         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49240         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49242 2013-10-04  Alan Modra  <amodra@gmail.com>
49244         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49245         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49246         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49247         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49248         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49249         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49250         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49253         use of regs.  Use power7 mtocrf.  Tidy function tails.
49255 2013-10-04  Alan Modra  <amodra@gmail.com>
49257         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49258         Formatting.  Consistently use rXXX register defines or rN defines.
49259         Use early exit labels that avoid restoring unused non-volatile regs.
49260         Make cr field use more consistent with rWORDn compares.  Rename
49261         regs used as shift registers for unaligned loop, using rN defines
49262         for short lifetime/multiple use regs.
49263         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49264         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49265         addi 1,1,64 to pop stack frame.  Simplify return value code.
49266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49268 2013-10-04  Alan Modra  <amodra@gmail.com>
49270         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49271         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49272         rather than rlwimi.
49273         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49274         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49275         little-endian support.  Correct typos.
49276         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49277         rather than rlwimi.
49278         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49279         in loop and entry code to keep "and." results.
49280         (strchr): Add little-endian support.  Comment.  Move cntlzd
49281         earlier in tail.
49282         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49284 2013-10-04  Alan Modra  <amodra@gmail.com>
49286         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49287         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49288         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49289         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49291 2013-10-04  Alan Modra  <amodra@gmail.com>
49293         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49294         (rTMP): Define as r11.
49295         (strcmp): Add little-endian support.  Optimise tail.
49296         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49297         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49298         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49299         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49300         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49301         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49302         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49304 2013-10-04  Alan Modra  <amodra@gmail.com>
49306         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49307         little-endian support.  Remove unnecessary "are we done" tests.
49308         Handle "s" wrapping around zero and extremely large "size".
49309         Correct main loop count.  Handle single left-over word from main
49310         loop inline rather than by using small_loop.  Correct comments.
49311         Delete "zero" tail, use "end_max" instead.
49312         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49314 2013-10-04  Alan Modra  <amodra@gmail.com>
49316         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49317         support.  Don't branch over align.
49318         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49319         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49320         support.  Rearrange tmp reg use to suit.  Comment.
49321         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49323 2013-10-04  Alan Modra  <amodra@gmail.com>
49325         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49327 2013-10-04  Alan Modra  <amodra@gmail.com>
49329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49330         conditional form of branch and link when obtaining pc.
49331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49333 2013-10-04  Alan Modra  <amodra@gmail.com>
49335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49336         HIWORD/LOWORD.
49337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49340 2013-10-04  Alan Modra  <amodra@gmail.com>
49342         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49343         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49344         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49345         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49346         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49348         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49350         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49351         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49353 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49354             Alistair Popple <alistair@ozlabs.au.ibm.com>
49355             Alan Modra <amodra@gmail.com>
49357         [BZ #15723]
49358         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49359         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49360         _dl_hwcap access for little-endian.
49361         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49362         destroy vmx regs when saving unaligned.
49363         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49364         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49365         destroy vmx regs when saving unaligned.
49367 2013-10-04  Alan Modra  <amodra@gmail.com>
49369         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49370         Don't use a union to pack hi/low value.
49372 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49374         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49375         for little-endian.
49376         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49377         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49378         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49379         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49380         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49382 2013-10-04  Alan Modra  <amodra@gmail.com>
49384         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49385         constants to usual value for .cst8 section, and remove redundant
49386         high address load.
49387         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49388         constant for 0x1p52.  Load little-endian words of double from
49389         correct stack offsets.
49391 2013-10-04  Alan Modra  <amodra@gmail.com>
49393         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49394         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49395         words of double from correct stack offsets.
49396         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49397         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49398         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49399         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49400         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49401         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49402         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49403         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49404         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49405         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49406         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49407         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49408         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49409         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49410         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49411         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49412         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49414 2013-10-04  Alan Modra  <amodra@gmail.com>
49416         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49417         64-bit int/double union.
49418         (_FPU_SETCW): Likewise.
49419         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49420         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49422 2013-10-04  Alan Modra  <amodra@gmail.com>
49424         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49425         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49427 2013-10-04  Alan Modra  <amodra@gmail.com>
49429         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49430         use vector int constants.
49431         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49433 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49435         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49436         array with long long.
49437         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49438         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49439         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49440         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49441         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49442         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49443         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49444         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49445         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49446         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49447         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49448         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49449         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49451 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49453         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49454         (__signbit): Likewise.  Correct for little-endian.
49455         (__signbitl): Call __signbit.
49456         (lrint): Correct for little-endian.
49457         (lrintf): Call lrint.
49459 2013-10-04  Alan Modra  <amodra@gmail.com>
49461         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49462         union 32-bit int array member with 64-bit int array.
49463         (t515, tm256): Double rather than long double.
49464         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49466 2013-10-04  Alan Modra  <amodra@gmail.com>
49468         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49469         Delete.
49470         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49472         version of math_ldbl.h.
49474 2013-10-04  Alan Modra  <amodra@gmail.com>
49476         [BZ #15734], [BZ #15735]
49477         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49478         all uses of ieee875 long double macros and unions.  Simplify test
49479         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49480         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49481         normalize after ldbl_extract_mantissa, and don't add hidden bit
49482         already handled.  Don't treat low word of ieee854 mantissa like
49483         low word of IBM long double and mask off bit when testing for
49484         zero.
49485         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49486         all uses of ieee875 long double macros and unions.  Simplify tests
49487         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49488         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49489         two1022, instead use their values.  Recognise that tests for large
49490         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49491         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49492         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49493         test for 0.0L and nan.  Correct negation.
49494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49495         ieee875 long double macros and unions.  Correct output for large
49496         magnitude x.  Correct absolute value calculation.
49497         (__erfcl): Likewise.
49498         * math/libm-test.inc: Add tests for errors discovered in IBM long
49499         double versions of fmodl, remainderl, erfl and erfcl.
49501 2013-10-04  Alan Modra  <amodra@gmail.com>
49503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49504         all uses of ieee854 long double macros and unions.  Simplify tests
49505         for long doubles that are fully specified by the high double.
49506         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49507         Likewise.
49508         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49509         Remove dead code too.
49510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49511         (__ieee754_ynl): Likewise.
49512         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49513         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49515         Remove dead code too.
49516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49519         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49520         Simplify.
49521         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49522         Simplify.
49523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49524         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49526         Comment on variable precision.
49527         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49528         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49529         Likewise.
49530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49534         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49536 2013-10-04  Alan Modra  <amodra@gmail.com>
49538         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49540         all uses of ieee854 long double macros and unions.
49541         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49545         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49546         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49547         Likewise.
49548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49549         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49552         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49553         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49554         Simplify sign and nan test too.
49555         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49556         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49557         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49558         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49559         Likewise.
49560         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49561         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49562         Likewise.
49563         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49564         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49565         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49566         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49567         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49570 2013-10-04  Alan Modra  <amodra@gmail.com>
49572         * stdio-common/printf_size.c (__printf_size): Don't use
49573         union ieee854_long_double in fpnum union.
49574         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49575         signbit macro to retrieve sign from long double.
49576         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49577         retrieve sign from long double.
49578         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49579         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49580         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49581         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49582         * math/test-misc.c (main): Don't use union ieee854_long_double.
49584 2013-10-04  Alan Modra  <amodra@gmail.com>
49586         [BZ #15680]
49587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49588         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49589         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49590         calculation.  Remove unnecessary test for denormal exponent.
49591         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49592         Correct handling of denormals.  Avoid undefined shift behaviour.
49593         Correct normalisation of low mantissa when low double is denormal.
49594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49595         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49596         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49597         Correct normalisation of low mantissa.  Test for overflow of high
49598         mantissa and normalise.
49599         (ldbl_nearbyint): Use more readable constant for two52.
49600         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49601         (__mpn_construct_long_double): Fix test for overflow of high
49602         mantissa and correct normalisation.  Avoid undefined shift.
49604 2013-10-04  Alan Modra  <amodra@gmail.com>
49606         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49607         (union ibm_extended_long_double): Define as an array of ieee754_double.
49608         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49610         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49611         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49612         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49613         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49615         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49616         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49617         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49618         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49620 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49622         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49623         page size instead of calling getpagesize.
49625         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49626         (LOCFILE_ALIGN_MASK): Likewise.
49627         (LOCFILE_ALIGN_UP): Likewise.
49628         (LOCFILE_ALIGNED_P): Likewise.
49629         * locale/programs/ld-collate.c (collate_output): Use the new
49630         macros instead of __alignof__ (int32_t).
49631         * locale/weight.h (findidx): Likewise.
49633 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49635         [BZ #431]
49636         * manual/string.texi: Fix strncat and wcsncat.
49638 2013-10-03  Brooks Moses  <bmoses@google.com>
49640         [BZ #15915]
49641         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49642         * Makerules: ...here, and adjust associated comments.
49644 2013-10-02  Will Newton  <will.newton@linaro.org>
49646         * malloc/Makefile: Add tst-pvalloc.
49647         * malloc/tst-pvalloc.c: New file.
49649 2013-10-02  Will Newton  <will.newton@linaro.org>
49651         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49652         improve test coverage.
49654 2013-10-02  Will Newton  <will.newton@linaro.org>
49656         * malloc/Makefile: Add tst-posix_memalign.
49657         * malloc/tst-posix_memalign.c: New file.
49659 2013-10-01  Eric Blake  <eblake@redhat.com>
49661         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49662         Use __THROWNL rather than __THROW on static functions.
49664 2013-09-30  Petr Machata  <pmachata@redhat.com>
49666         * elf/elf.h (R_AARCH64_ABS16): New macro.
49667         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49668         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49669         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49670         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49671         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49672         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49673         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49674         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49675         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49676         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49677         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49678         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49679         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49680         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49681         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49682         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49683         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49684         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49685         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49686         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49687         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49688         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49689         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49690         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49691         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49692         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49693         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49694         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49695         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49696         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49697         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49698         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49699         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49700         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49701         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49702         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49703         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49704         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49705         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49706         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49707         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49708         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49709         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49710         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49711         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49712         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49713         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49714         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49715         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49716         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49717         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49718         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49719         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49720         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49721         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49722         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49723         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49724         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49725         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49726         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49727         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49728         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49729         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49730         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49731         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49732         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49733         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49734         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49735         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49736         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49737         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49738         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49739         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49740         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49741         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49742         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49743         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49744         (R_AARCH64_TLSDESC_LDR): Likewise.
49745         (R_AARCH64_TLSDESC_ADD): Likewise.
49746         (R_AARCH64_TLSDESC_CALL): Likewise.
49748 2013-09-30  Andreas Schwab  <schwab@suse.de>
49750         [BZ #15048]
49751         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49752         the nss database lookup.
49753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49754         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49756 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49758         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49760 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49763         ${Bash-specific parameter/pattern/string} parameter expansion.
49764         * sysdeps/unix/make-syscalls.sh: Likewise.
49766 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49768         * sysdeps/sh/stackguard-macros.h: New file.
49770 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49774         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49775         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49776         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49777         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49779 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49781         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49782         Fix thread ID register.
49784 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49786         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49787         [POSIX || UNIX98]: Require rather than permitting all symbols from
49788         <time.h>.
49789         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49790         element of struct sched_param.
49791         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49792         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49793         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49794         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49795         constant.
49797 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49799         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49800         argument calculation.
49802 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49804         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49805         Expect macro.
49806         [POSIX] (pthread_attr_t): Do not require type.
49807         [POSIX] (pthread_cond_t): Likewise.
49808         [POSIX] (pthread_condattr_t): Likewise.
49809         [POSIX] (pthread_key_t): Likewise.
49810         [POSIX] (pthread_mutex_t): Likewise.
49811         [POSIX] (pthread_mutexattr_t): Likewise.
49812         [POSIX] (pthread_once_t): Likewise.
49813         [POSIX] (pthread_t): Likewise.
49814         [POSIX-based standards] (pthread_atfork): Expect function.
49816 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49817             Richard Sandiford  <richard@codesourcery.com>
49819         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49820         (swap_endianness_p): New extern variable.
49821         (set_big_endian): New inline function.
49822         (maybe_swap_uint32): Likewise.
49823         (maybe_swap_uint32_array): Likewise.
49824         (maybe_swap_uint32_obstack): Likewise.
49825         * locale/programs/locfile.c: Include <stdbool.h>.
49826         (swap_endianness_p): New variable.
49827         (add_locale_uint32): Call maybe_swap_uint32.
49828         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49829         (write_locale_data): Call maybe_swap_uint32_array.
49830         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49831         maybe_swap_uint32.
49832         (obstack_int32_grow_fast): Likewise.
49833         (output_weightwc): Call maybe_swap_uint32_obstack.
49834         (collate_output): Likewise.
49835         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49836         (OPT_LITTLE_ENDIAN): Likewise.
49837         (options): Add --little-endian and --big-endian options.
49838         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49839         * locale/programs/locarchive.c: Include "locfile.h".
49840         (GET): New macro.
49841         (SET): Likewise.
49842         (INC): Likewise.
49843         (create_archive): Use the new macros to access fields of
49844         structures directly mapped from or written to locale archives.
49845         (oldlocrecentcmp): Likewise.
49846         (enlarge_archive): Likewise.
49847         (insert_name): Likewise.
49848         (add_alias): Likewise.
49849         (add_locale): Likewise.
49850         (delete_locales_from_archive): Likewise.
49851         (show_archive_content): Likewise.
49852         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49853         locale data.
49855 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49857         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49858         http://www.gnu.org/doc/freemanuals.texi.
49859         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49861 2013-09-24  Will Newton  <will.newton@linaro.org>
49863         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49864         macro.
49866 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49868         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49869         unsigned char.
49871 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49873         * manual/threads.texi (POSIX Threads): Fix a typo.
49875 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49877         [BZ #14547]
49878         * string/tst-strcoll-overflow.c: New test case.
49879         * string/Makefile (xtests): Add tst-strcoll-overflow.
49880         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49881         cache if string sizes may cause integer overflow.
49883         [BZ #14547]
49884         * string/strcoll_l.c (coll_seq): New members rule, idx,
49885         save_idx and back_us.
49886         (get_next_seq_nocache): New function.
49887         (do_compare_nocache): New function.
49888         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49889         when malloc fails.
49891 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49893         [BZ #15754]
49894         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49895         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49896         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49898         [BZ #15754]
49899         * elf/Makefile (tests): Add tst-ptrguard1.
49900         (tests-static): Add tst-ptrguard1-static.
49901         (tst-ptrguard1-ARGS): Define.
49902         (tst-ptrguard1-static-ARGS): Define.
49903         * elf/tst-ptrguard1.c: New file.
49904         * elf/tst-ptrguard1-static.c: New file.
49905         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49906         * sysdeps/i386/stackguard-macros.h: Likewise.
49907         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49908         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49909         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49910         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49911         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49912         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49914 2013-09-23  Hector Marco  <hecmargi@upv.es>
49915             Ismael Ripoll  <iripoll@disca.upv.es>
49916             Carlos O'Donell  <carlos@redhat.com>
49918         [BZ #15754]
49919         * sysdeps/generic/stackguard-macros.h: Define
49920         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49921         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49922         Define __pointer_chk_guard_local.
49923         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49924         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49926 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49928         [BZ #15859]
49929         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49931 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49933         * include/string.h (__ffs): Declare as hidden.
49934         * string/ffs.c (__ffs): Define as hidden.
49935         * sysdeps/i386/ffs.c (__ffs): Likewise.
49936         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49937         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49938         * sysdeps/s390/ffs.c (__ffs): Likewise.
49939         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49941 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49943         * NEWS: Mention malloc probes.
49945         * malloc/arena.c (new_heap): New memory_heap_new probe.
49946         (grow_heap): New memory_heap_more probe.
49947         (shrink_heap): New memory_heap_less probe.
49948         (heap_trim): New memory_heap_free probe.
49949         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49950         (systrim): New memory_sbrk_less probe.
49951         * manual/probes.texi: Document them.
49953         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49954         * manual/probes.texi: Document it.
49956         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49957         (__libc_realloc): Add memory_realloc_retry probe.
49958         (__libc_memalign): Add memory_memalign_retry probe.
49959         (__libc_valloc): Add memory_valloc_retry probe.
49960         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49961         (__libc_calloc): Add memory_calloc_retry probe.
49962         * manual/probes.texi: Document them.
49964         * malloc/arena.c (get_free_list): Add probe
49965         memory_arena_reuse_free_list.
49966         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49967         and memory_arena_reuse.
49968         (arena_get2) [!PER_THREAD]: Likewise.
49969         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49970         memory_arena_reuse_realloc.
49971         * manual/probes.texi: Document them.
49973         * malloc/malloc.c (__libc_free): Add
49974         memory_mallopt_free_dyn_thresholds probe.
49975         (__libc_mallopt): Add multiple memory_mallopt probes.
49976         * manual/probes.texi: Document them.
49978         * malloc/malloc.c: Include stap-probe.h.
49979         (__libc_mallopt): Add memory_mallopt probe.
49980         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49981         * manual/probes.texi: New.
49982         * manual/Makefile (chapters): Add probes.
49983         * manual/threads.texi: Set next node.
49985 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49987         [BZ #15963, #13985]
49988         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49989         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49990         Add `Chinese' to `nan' entry name.
49992 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49994         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49995         (POLYNOMIAL): Likewise.
49996         (TAYLOR_SINCOS): Likewise.
49997         (TAYLOR_SLOW): Likewise.
49998         (__sin): Use TAYLOR_SINCOS.
49999         (__cos): Likewise.
50000         (slow): Use TAYLOR_SLOW.
50001         (sloww): Likewise.
50002         (bsloww): Likewise.
50003         (csloww): Likewise.
50005 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50007         * stdlib/strtod_l.c: Fix buffer overrun.
50009 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50011         * benchtests/Makefile (bench): Add sincos.
50012         * benchtests/bench-sincos.c: New file.
50014         * math/libm-test.inc (cos_test_data): New test inputs.
50015         (sin_test_data): Likewise.
50017         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50018         macro.
50019         (__sin): Use it.
50020         (__cos): Likewise.
50021         (slow1): Likewise.
50022         (slow2): Likewise.
50023         (sloww1): Likewise.
50024         (sloww2): Likewise.
50025         (bsloww1): Likewise.
50026         (bsloww2): Likewise.
50027         (cslow2): Likewise.
50028         (csloww1): Likewise.
50029         (csloww2): Likewise.
50031         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50032         function.
50033         (__sin): Use it.
50034         (__cos): Likewise.
50036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50037         gotos.
50038         (__cos): Likewise.
50040 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50042         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50043         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50044         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50045         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50046         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50047         * elf/cache.c (print_entry): Handle the new cache flags.
50049 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50050             Aldy Hernandez  <aldyh@redhat.com>
50052         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50053         Change condition to [_SOFT_FLOAT].
50054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50066         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50069         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50070         declaration.
50072 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50074         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50075         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50076         (__longjmp): Use LOAD_GP to load saved GPRs.
50077         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50078         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50079         (__sigsetjmp): Use SAVE_GP to save GPRs.
50081         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50082         Do not append -msoft-float.
50083         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50085 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50087         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50089 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50091         [BZ #15966]
50092         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50093         (_FPU_GETCW): Use initial "__" on variable and field names but not
50094         on macro parameter name.
50095         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50096         parentheses around reference to macro parameter.
50098 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50100         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50101         prototype.
50102         (ctype_startup): Use uint32_t in cast and sizeof for
50103         ctype->charnames.
50105 2013-09-11  Jia Liu  <proljc@gmail.com>
50107         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50108         __daddr_t_defined.
50109         [__FreeBSD__]: Likewise.
50111 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50114         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50115         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50116         (strchr): Remove __strchr_sse42 ifunc selection.
50117         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50118         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50120 2013-09-11  Will Newton  <will.newton@linaro.org>
50122         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50123         parameter to RES. Remove hardcoded 1000 value.
50124         * benchtests/bench-skeleton.c (main): Pass RES parameter
50125         to TIMING_INIT and multiply result by 1000.
50127 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50131 2013-09-11  Andreas Schwab  <schwab@suse.de>
50133         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50134         if not defined.
50135         (O_TMPFILE) [__USE_GNU]: Define.
50136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50137         Define.
50139 2013-09-11  Will Newton  <will.newton@linaro.org>
50141         [BZ #15857]
50142         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50143         does not overflow.
50145 2013-09-11  Will Newton  <will.newton@linaro.org>
50147         [BZ #15856]
50148         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50149         does not overflow.
50151 2013-09-11  Will Newton  <will.newton@linaro.org>
50153         [BZ #15855]
50154         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50155         does not overflow.
50157 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50159         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50160         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50163         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50165 2013-09-10  Allan McRae  <allan@archlinux.org>
50167         [BZ #15748]
50168         * manual/arith.texi (Parsing of Floats): Clarify
50169         cross-reference.
50171         [BZ #15849]
50172         * manual/install.texi (Running make install): Mention
50173         --enable-pt-chown.
50174         * INSTALL: Regenerated.
50176 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50178         * csu/init-first.c (_init): Remove the !SHARED condition around
50179         FPU control word initialization.
50180         * elf/dl-support.c (_dl_fpu_control): New variable.
50181         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50182         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50183         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50184         * math/test-fpucw-static.c: New file.
50185         * math/test-fpucw-ieee.c: New file.
50186         * math/test-fpucw-ieee-static.c: New file.
50187         * math/Makefile (tests): Add `test-fpucw-ieee' and
50188         `$(tests-static)'.
50189         (tests-static): New variable.
50190         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50191         dependency to...
50192         [($(build-shared),yes)]
50193         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50194         ... this.
50195         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50196         New dependency.
50198 2013-09-09  Allan McRae  <allan@archlinux.org>
50200         [BZ #15939]
50201         * manual/string.texi (Collation Functions): Fix typo in
50202         strcoll example.
50203         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50205         [BZ #15893]
50206         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50208         [BZ #15892]
50209         * libio/memstream.c (open_memstream): Fix memory leak.
50210         * libio/wmemstream.c (open_wmemstream): Likewise.
50212         [BZ #15895]
50213         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50215 2013-09-09  Will Newton  <will.newton@linaro.org>
50217         * malloc/Makefile: Add tst-realloc to tests.
50218         * malloc/tst-realloc.c: New file.
50220 2013-09-09  Allan McRae  <allan@archlinux.org>
50222         [BZ #15844]
50223         * COPYING: Update from GNU website to fix FSF address.
50224         * COPYING.LIB: Likewise.
50226 2013-09-06  David S. Miller  <davem@davemloft.net>
50228         * po/zh_TW.po: Update Chinese (traditional) translation from
50229         translation project.
50231 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50232             Joseph Myers  <joseph@codesourcery.com>
50234         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50235         "localeinfo.h".
50236         (obstack_chunk_alloc): New macro.
50237         (obstack_chunk_free): Likewise.
50238         (record_offset): New function.
50239         (init_locale_data): Likewise.
50240         (align_locale_data): Likewise.
50241         (add_locale_empty): Likewise.
50242         (add_locale_raw_data): Likewise.
50243         (add_locale_raw_obstack): Likewise.
50244         (add_locale_string): Likewise.
50245         (add_locale_wstring): Likewise.
50246         (add_locale_uint32): Likewise.
50247         (add_locale_uint32_array): Likewise.
50248         (add_locale_char): Likewise.
50249         (start_locale_structure): Likewise.
50250         (end_locale_structure): Likewise.
50251         (start_locale_prelude): Likewise.
50252         (end_locale_prelude): Likewise.
50253         (write_locale_data): Take locale_file structure rather than an
50254         iovec.
50255         * locale/programs/locfile.h: Include "obstack.h".
50256         (struct locale_file): Change to store locale file contents instead
50257         of header.
50258         (init_locale_data): New prototype.
50259         (align_locale_data): Likewise.
50260         (add_locale_empty): Likewise.
50261         (add_locale_raw_data): Likewise.
50262         (add_locale_raw_obstack): Likewise.
50263         (add_locale_string): Likewise.
50264         (add_locale_wstring): Likewise.
50265         (add_locale_uint32): Likewise.
50266         (add_locale_uint32_array): Likewise.
50267         (add_locale_char): Likewise.
50268         (start_locale_structure): Likewise.
50269         (end_locale_structure): Likewise.
50270         (start_locale_prelude): Likewise.
50271         (end_locale_prelude): Likewise.
50272         (write_locale_data): Update prototype.
50273         * locale/programs/3level.h (struct TABLE): Remove result field.
50274         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50275         Use new locale_file interface.
50276         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50277         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50278         * locale/programs/ld-address.c (address_output): Use new
50279         locale_file interface.
50280         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50281         NO_ADD_LOCALE.
50282         (collate_finish): Don't call collseq_table_finalize.
50283         (collate_output): Use new locale_file interface.
50284         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50285         in file.
50286         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50287         (TABLE): Move defines earlier in file.
50288         (ELEMENT): Likewise.
50289         (DEFAULT): Likewise.
50290         (wctrans_table_add): Move macro and inline function earlier in
50291         file.
50292         (struct wctype_table): Move type earlier in file.
50293         (add_locale_wctype_table): New static prototype.
50294         (struct locale_ctype_t): Use logical types instead of struct iovec
50295         pointers for members.
50296         (ctype_output): Use new locale_file interface.
50297         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50298         new locale_file interface.
50299         (allocate_arrays): Update for use of new locale_file interface.
50300         * locale/programs/ld-identification.c (identification_output): Use
50301         new locale_file interface.
50302         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50303         * locale/programs/ld-messages.c (messages_output): Likewise.
50304         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50305         * locale/programs/ld-name.c (name_output): Likewise.
50306         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50307         * locale/programs/ld-paper.c (paper_output): Likewise.
50308         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50309         * locale/programs/ld-time.c (time_output): Likewise.
50311 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50313         * benchtests/Makefile: Add memrchr benchmark.
50314         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50315         benchmark as memrchr.
50316         * benchtests/bench-memrchr-ifunc.c: New file.
50317         * benchtests/bench-memrchr.c: New file.
50319 2013-09-06   Will Newton  <will.newton@linaro.org>
50321         * benchtests/Makefile (string-bench): Add memcpy.
50323 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50324             Cong Wang  <amwang@redhat.com>
50326         [BZ #15850]
50327         * sysdeps/unix/sysv/linux/bits/in.h
50328         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50329         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50330         before __USE_KERNEL_IPV6_DEFS uses.
50331         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50332         IPPROTO_BEETPH.
50333         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50334         sockaddr_in6, or ipv6_mreq.
50336 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50338         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50339         memory access for final bytes in some large inputs.
50340         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50342 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50344         * string/test-memrchr.c: New file.
50345         * string/test-memrchr-ifunc.c: New file.
50346         * string/Makefile: Add new memrchr testcase.
50348 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50350         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50351         fanotify_init returns EPERM.
50353 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50355         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50356         errors.
50357         (top level): Treat second token from macro or constant entries for
50358         allowed headers as allowed.
50359         * include/complex.h: Condition internal declarations on
50360         [!_ISOMAC].
50361         * include/fenv.h: Condition include of <stdbool.h> and internal
50362         declarations on [!_ISOMAC].
50364 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50366         [BZ #15923]
50367         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50369 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50371         * configure.in (--enable-versioning): Remove configure option.
50372         (libc_cv_asm_symver_directive): Remove configure test.
50373         (libc_cv_ld_version_script_option): Likewise.
50374         (VERSIONING): Remove variable and AC_SUBST.
50375         (DO_VERSIONING): Remove AC_DEFINE.
50376         * configure: Regenerated.
50377         * config.h.in (DO_VERSIONING): Remove macro.
50378         * Makerules [$(versioning) = yes]: Change conditionals to
50379         [$(build-shared) = yes].
50380         * config.make.in (versioning): Remove variable.
50381         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50382         [$(build-shared) = yes].
50383         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50384         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50385         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50386         [$(build-shared) = yes].
50387         * extra-lib.mk [$(versioning) = yes]: Likewise.
50388         * hurd/Makefile [$(versioning) = yes]: Likewise.
50389         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50390         [SHARED].
50391         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50392         [SHARED].
50393         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50394         [SHARED && !NO_HIDDEN].
50395         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50396         [SHARED].
50397         [SHARED && DO_VERSIONING]: Likewise..
50398         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50399         [$(build-shared) = yes].
50400         * manual/install.texi (--disable-versioning): Remove
50401         documentation.
50402         * INSTALL: Regenerated.
50403         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50404         to [SHARED].
50405         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50406         [$(build-shared) = yes].
50407         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50408         * sysdeps/i386/i686/multiarch/strstr-c.c
50409         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50410         [SHARED && !NO_HIDDEN].
50411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50412         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50413         * sysdeps/powerpc/powerpc32/dl-machine.c
50414         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50415         * sysdeps/powerpc/powerpc32/sysdep.h
50416         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50417         to [SHARED && PIC && !NO_HIDDEN].
50418         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50419         conditional to [SHARED].
50421 2013-09-04   Will Newton  <will.newton@linaro.org>
50423         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50424         * benchtests/bench-string.h: Include bench-timing.h instead
50425         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50426         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50427         call to HP_TIMING_DIFF_INIT.
50428         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50429         instead of hp-timing.h macros.
50430         * benchtests/bench-memchr.c: Likewise.
50431         * benchtests/bench-memcmp.c: Likewise.
50432         * benchtests/bench-memcpy.c: Likewise.
50433         * benchtests/bench-memmem.c: Likewise.
50434         * benchtests/bench-memmove.c: Likewise.
50435         * benchtests/bench-memset.c: Likewise.
50436         * benchtests/bench-rawmemchr.c: Likewise.
50437         * benchtests/bench-strcasecmp.c: Likewise.
50438         * benchtests/bench-strcasestr.c: Likewise.
50439         * benchtests/bench-strcat.c: Likewise.
50440         * benchtests/bench-strchr.c: Likewise.
50441         * benchtests/bench-strcmp.c: Likewise.
50442         * benchtests/bench-strcpy.c: Likewise.
50443         * benchtests/bench-strcpy_chk.c: Likewise.
50444         * benchtests/bench-strlen.c: Likewise.
50445         * benchtests/bench-strncasecmp.c: Likewise.
50446         * benchtests/bench-strncat.c: Likewise.
50447         * benchtests/bench-strncmp.c: Likewise.
50448         * benchtests/bench-strncpy.c: Likewise.
50449         * benchtests/bench-strnlen.c: Likewise.
50450         * benchtests/bench-strpbrk.c: Likewise.
50451         * benchtests/bench-strrchr.c: Likewise.
50452         * benchtests/bench-strspn.c: Likewise.
50453         * benchtests/bench-strstr.c: Likewise.
50455 2013-09-04  Will Newton  <will.newton@linaro.org>
50457         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50459 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50461         [BZ #15427]
50462         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50463         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50464         * math/libm-test.inc (lgamma_test_data): Add more tests.
50465         * sysdeps/i386/fpu/libm-test-ulps: Update.
50466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50468 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50470         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50472         Add ifunc.
50473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50474         Add strcmp-sse2-unaligned
50475         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50477 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50479         * Versions.def (libc): Add GLIBC_2.19.
50481 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50483         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50484         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50486 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50488         [BZ #14155]
50489         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50490         intermediate calculations in recurrence.
50491         (__ieee754_ynf): Likewise.
50492         * math/libm-test.inc (jn_test_data): Do not allow spurious
50493         underflow exception.  Add more tests.
50494         (yn_test_data): Add more tests.
50495         * sysdeps/i386/fpu/libm-test-ulps: Update.
50496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50498 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50502 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50504         * csu/init-first.c: Fix then/than typos.
50505         * locale/programs/ld-collate.c: Likewise.
50506         * locale/programs/linereader.h: Likewise.
50507         * manual/charset.texi: Likewise.
50508         * manual/filesys.texi: Likewise.
50509         * manual/stdio.texi: Likewise.
50510         * manual/string.texi: Likewise.
50511         * stdlib/fmtmsg.c: Likewise.
50512         * sysdeps/i386/stpncpy.S: Likewise.
50513         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50514         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50515         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50516         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50518 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50520         * elf/dl-open.c: Fix typos.
50521         * iconvdata/gbbig5.c: Likewise.
50522         * iconvdata/iso-2022-jp.c: Likewise.
50523         * iconv/gconv_int.h: Likewise.
50524         * iconv/loop.c: Likewise.
50525         * nis/rpcsvc/nis.h: Likewise.
50526         * resolv/ns_name.c: Likewise.
50527         * stdio-common/vfscanf.c: Likewise.
50528         * streams/stropts.h: Likewise.
50529         * sunrpc/rpc_thread.c: Likewise.
50530         * sysdeps/i386/strpbrk.S: Likewise.
50531         * sysdeps/ieee754/k_standard.c: Likewise.
50532         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50533         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50534         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50535         * sysdeps/mach/hurd/profil.c: Likewise.
50536         * sysdeps/s390/dl-procinfo.h: Likewise.
50537         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50538         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50539         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50540         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50541         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50543 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50545         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50548 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50550         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50551         aix specific files.
50552         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50553         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50554         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50555         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50556         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50557         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50558         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50559         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50561 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50562             Roland McGrath  <roland@hack.frob.com>
50564         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50565         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50567 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50569         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50570         __executable_start symbol instead of _start.
50572 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50574         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50575         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50576         Move macros to...
50577         * sysdeps/gnu/ldsodefs.h: ... this new file.
50579         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50580         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50581         instead of ELFOSABI_LINUX.
50583         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50584         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50585         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50586         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50587         Likewise.
50588         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50589         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50590         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50591         Likewise.
50592         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50593         (ibm_extended_long_double): Add ieee_nan member.
50594         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50595         (do_test): New function.
50597         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50598         TEST_TRUNC.
50599         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50600         functions, renamed from truncdfsf_test, trunctfsf_test,
50601         trunctfdf_test.
50602         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50603         functions.
50604         (do_test): Run all these.
50606 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50608         * argp/argp-help.c: Fix typos.
50609         * argp/argp-parse.c: Likewise.
50610         * debug/backtracesyms.c: Likewise.
50611         * elf/elf.h: Likewise.
50612         * malloc/malloc.c: Likewise.
50613         * nis/nis_print.c: Likewise.
50614         * resolv/res_comp.c: Likewise.
50615         * stdlib/stdlib.h: Likewise.
50616         * sunrpc/clnt_tcp.c: Likewise.
50617         * sunrpc/clnt_udp.c: Likewise.
50618         * sunrpc/clnt_unix.c: Likewise.
50619         * sysdeps/unix/bsd/ptsname.c: Likewise.
50620         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50621         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50623         Likewise.
50624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50625         Likewise.
50626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50627         Likewise.
50628         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50630 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50632         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50635 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50637         [BZ #15897]
50638         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50639         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50640         ($(objpfx)bug-dl-leaf): New rule.
50641         ($(objpfx)bug-dl-leaf.so): Likewise.
50642         ($(objpfx)bug-dl-leaf.out): Likewise.
50643         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50644         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50645         * dlfcn/bug-dl-leaf.c: New test.
50646         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50647         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50648         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50649         (dlclose): Likewise.
50650         (dlmopen): Likewise.
50652 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50654         * include/netdb.h [!_ISOMAC]:
50655         Don't include <tls.h>.
50656         (h_errno, __libc_h_errno): Move declaration and macros out of
50657         [_LIBC_REENTRANT].
50659         * include/resolv.h [_RESOLV_H_]:
50660         Don't include <tls.h>.
50661         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50662         * resolv/res_libc.c: Don't include <tls.h>.
50663         (_res): Use __attribute__ ((nocommon)) in place of
50664         __attribute__ ((section (".bss"))).
50666         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50667         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50669         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50671         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50672         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50674         * resolv/res_mkquery.c: Include <sys/time.h>.
50676         * inet/ifreq.c: Moved to ...
50677         * sysdeps/unix/ifreq.c: ... here.
50678         * inet/ifreq.c: New file, true stub version.
50680         * socket/sa_len.c: New file.
50681         * socket/Makefile (aux): Add it.
50682         * sysdeps/unix/sysv/linux/Makefile
50683         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50684         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50685         and #include <socket/sa_len.c>.
50686         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50687         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50689         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50690         * bits/socket.h: ... here.
50692         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50693         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50694         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50696 2013-08-27  Andreas Schwab  <schwab@suse.de>
50698         [BZ #15736]
50699         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50700         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50701         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50702         * string/test-strcasecmp.c (test_main): Run tests in several
50703         locales.
50704         * string/test-strncasecmp.c (test_main): Likewise.
50706         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50707         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50708         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50709         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50710         (__strncasecmp_ssse3) [PIC]: Likewise.
50712 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50714         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50716         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50717         instead of explicitly declaring xdecrypt.
50718         * nis/nss_nis/nis-publickey.c: Likewise.
50720 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50722         [BZ #15890]
50723         * nscd/aicache.c: Include res_hconf.h.
50724         (addhstaiX): Initialize res_hconf.
50726 2013-08-26  Andreas Schwab  <schwab@suse.de>
50728         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50729         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50731 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50733         * nscd/aicache.c (addhstaiX): Fix indentation.
50735 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50737         * configure.ac: Quote $build_pt_chown test.
50738         * configure: Regenerated.
50740 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50742         [BZ #15532]
50743         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50744         * math/s_cexpf.c (__cexpf): Likewise.
50745         * math/s_cexpl.c (__cexpl): Likewise.
50746         * math/libm-test.inc (cexp_test_data): Correct expected return
50747         value for NaN + i0.  Add another test.
50749 2013-08-22  David S. Miller  <davem@davemloft.net>
50751         * po/ca.po: Update Catalan translation from translation project.
50752         * po/uk.po: Add Ukrainian translations from translation project.
50754 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50756         [BZ #15797]
50757         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50758         is infinite, not alongside NaN test.
50759         * math/s_fdimf.c (__fdimf): Likewise.
50760         * math/s_fdiml.c (__fdiml): Likewise.
50761         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50762         errno is unchanged.
50764 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50766         * argp/argp-help.c: Fix typos.
50767         * crypt/speeds.c: Likewise.
50768         * csu/check_fds.c: Likewise.
50769         * elf/dl-load.c: Likewise.
50770         * elf/dl-open.c: Likewise.
50771         * elf/reldep3.c: Likewise.
50772         * elf/reldep.c: Likewise.
50773         * elf/sprof.c: Likewise.
50774         * iconv/iconv_charmap.c: Likewise.
50775         * iconv/skeleton.c: Likewise.
50776         * iconv/strtab.c: Likewise.
50777         * io/lockf64.c: Likewise.
50778         * libio/libioP.h: Likewise.
50779         * resolv/gai_notify.c: Likewise.
50780         * resolv/ns_name.c: Likewise.
50781         * resolv/ns_samedomain.c: Likewise.
50782         * resolv/res_send.c: Likewise.
50783         * stdlib/random.c: Likewise.
50784         * sunrpc/rpc/xdr.h: Likewise.
50785         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50786         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50787         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50788         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50789         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50790         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50793         * sysdeps/mach/hurd/check_fds.c: Likewise.
50794         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50795         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50797         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50798         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50799         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50800         * sysdeps/pthread/aio_notify.c: Likewise.
50801         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50802         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50803         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50805         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50807 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50809         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50810         version if bit_Slow_SSE4_2 is set.
50811         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50812         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50814 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50816         [BZ #15867]
50817         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50818         trampoline stack frame information.
50819         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50821         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50822         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50823         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50824         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50825         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50826         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50827         sa_flags value.
50828         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50829         interrupting a syscall and set with option SA_SIGINFO.
50831 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50833         [BZ #15531]
50834         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50835         argument is infinite.
50836         * math/s_cprojf.c (__cprojf): Likewise.
50837         * math/s_cprojl.c (__cprojl): Likewise.
50838         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50839         * math/libm-test.inc (cproj_test_data): Add more tests.
50841         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50843         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50844         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50845         size.  Use __ffs to determine corresponding shift.
50847 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50848             Roland McGrath  <roland@hack.frob.com>
50850         * Makefile (INSTALL): Remove trailing blank lines from output of
50851         makeinfo.
50853 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50855         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50856         Align 32 bit compat elf_greg to 8 bytes.
50858 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50860         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50862 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50864         * string/strcoll_l.c (coll_seq): New structure.
50865         (get_next_seq_cached): New function.
50866         (get_next_seq): New function.
50867         (do_compare): New function.
50868         (STRCOLL): Use GNU style definition.  Simplify implementation
50869         by using get_next_seq, get_next_seq_cached and do_compare.
50871 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50873         [BZ #14699]
50874         CVE-2013-4237
50875         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50876         member.
50877         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50878         member.
50879         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50880         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50881         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50882         conditional.
50883         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50884         GETDENTS_64BIT_ALIGNED.
50885         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50886         * manual/filesys.texi (Reading/Closing Directory): Document
50887         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50888         strongly.
50889         * manual/conf.texi (Limits for Files): Add portability note to
50890         NAME_MAX, PATH_MAX.
50891         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50893 2013-08-13  Andreas Schwab  <schwab@suse.de>
50895         [BZ #15749]
50896         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50897         of fabs.
50898         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50899         LDBL_MAX_EXP >= 16384]: Add tests for it.
50901 2013-08-12  David S. Miller  <davem@davemloft.net>
50903         * version.h (RELEASE): Set to "development".
50904         (VERSION): Set to "2.18.90".
50905         * NEWS: Add 2.19 section.
50907 2013-08-03  David S. Miller  <davem@davemloft.net>
50909         * po/ko.po: Update Korean translation from translation project.
50911 2013-08-01  David S. Miller  <davem@davemloft.net>
50913         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50914         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50915         Bilka.
50917 2013-07-30  David S. Miller  <davem@davemloft.net>
50919         * po/fr.po: Update French translation from translation project.
50921 2013-07-28  David S. Miller  <davem@davemloft.net>
50923         * po/cs.po: Update Czech translation from translation project.
50925         * po/sv.po: Update Swedish translation from translation project.
50927 2013-07-27  David S. Miller  <davem@davemloft.net>
50929         * po/eo.po: Update Esperanto translation from translation project.
50931         * po/vi.po: Update Vietnamese translation from translation project.
50933         * po/de.po: Update German translation from translation project.
50935 2013-07-26  David S. Miller  <davem@davemloft.net>
50937         * po/bg.po: Update Bulgarian translation from translation project.
50939         * po/nl.po: Update Dutch translation from translation project.
50940         * po/pl.po: Update Polish translation from translation project.
50941         * po/ru.po: Update Russian translation from translation project.
50943 2013-07-24  David S. Miller  <davem@davemloft.net>
50945         * po/libc.pot: Update.
50947 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50949         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50950         variable page size.
50951         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50952         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50953         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50955 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50957         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50959 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50960             Andreas Schwab  <schwab@suse.de>
50961             Roland McGrath  <roland@hack.frob.com>
50962             Joseph Myers  <joseph@codesourcery.com>
50963             Carlos O'Donell  <carlos@redhat.com>
50965         [BZ #15755]
50966         * config.h.in: Define HAVE_PT_CHOWN.
50967         * config.make.in (build-pt-chown): New variable.
50968         * configure.in (--enable-pt_chown): New configure option.
50969         * configure: Regenerate.
50970         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50971         build-pt-chown is enabled.
50972         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50973         pt_chown to fix pty ownership.
50974         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50975         CLOSE_ALL_FDS.
50976         * manual/install.texi (Configuring and compiling): Mention
50977         --enable-pt_chown. Add @findex for grantpt.
50978         * INSTALL: Regenerate.
50980 2013-07-20  David S. Miller  <davem@davemloft.net>
50982         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50983         difference between 32-bit and 64-bit.
50985 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50987         [BZ #15711]
50988         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50989         Avoid system header dependency with -ffreestanding.
50990         ($(objpfx)bits/syscall%d): Likewise.
50992 2013-07-13  David S. Miller  <davem@davemloft.net>
50994         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50995         underflows from atanl/atan2l due to bug 15319.
50996         (casinh_test_data): Likewise.
50998 2013-07-07  David S. Miller  <davem@davemloft.net>
51000         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51002 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51004         * sysdeps/i386/fpu/libm-test-ulps: Update.
51005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51007 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51009         * configure.in (--enable-lock-elision): Fix message text.
51010         * INSTALL: Regenerate.
51011         * configure: Regenerate.
51013 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51017 2013-07-03  Andreas Jaeger  <aj@suse.de>
51019         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51020         define.
51021         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51022         (ptrace_peeksiginfo_args): Add.
51023         (__ptrace_peeksiginfo_flags): Add.
51024         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51025         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51026         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51028 2013-07-03  Allan McRae  <allan@archlinux.org>
51030         * sysdeps/i386/fpu/libm-test-ulps: Update.
51032 2013-07-02  David S. Miller  <davem@davemloft.net>
51034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51036 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51040 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51042         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51045 2013-07-02  Andi Kleen <ak@linux.intel.com>
51047         * config.h.in (ENABLE_LOCK_ELISION): Add.
51048         * configure.in (--enable-lock-elision): Add option.
51049         * manual/install.texi: Document --enable lock elision.
51050         * configure: Regenerate
51051         * INSTALL: Regenerate.
51053 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51055         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51056         SSE4.2 strcasecmp for libc.a.
51057         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51059 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51061         [BZ #13304]
51062         * soft-fp/op-common.h (_FP_FMA): New macro.
51063         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51064         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51065         (_FP_MUL_MEAT_1_imm): ... here.
51066         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51067         (_FP_MUL_MEAT_1_wide): ... here.
51068         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51069         (_FP_MUL_MEAT_1_hard): ... here.
51070         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51071         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51072         (_FP_MUL_MEAT_2_wide): ... here.
51073         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51074         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51075         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51076         (_FP_MUL_MEAT_2_gmp): ... here.
51077         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51078         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51079         (_FP_MUL_MEAT_4_wide): ... here.
51080         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51081         (_FP_MUL_MEAT_4_gmp): ... here.
51082         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51083         (_FP_WFRACBITS_DW_S): Likewise.
51084         (_FP_WFRACXBITS_DW_S): Likewise.
51085         (_FP_HIGHBIT_DW_S): Likewise.
51086         (FP_FMA_S): Likewise.
51087         (_FP_FRAC_HIGH_DW_S): Likewise.
51088         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51089         (_FP_WFRACBITS_DW_D): Likewise.
51090         (_FP_WFRACXBITS_DW_D): Likewise.
51091         (_FP_HIGHBIT_DW_D): Likewise.
51092         (FP_FMA_D): Likewise.
51093         (_FP_FRAC_HIGH_DW_D): Likewise.
51094         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51095         (_FP_WFRACBITS_DW_E): Likewise.
51096         (_FP_WFRACXBITS_DW_E): Likewise.
51097         (_FP_HIGHBIT_DW_E): Likewise.
51098         (FP_FMA_E): Likewise.
51099         (_FP_FRAC_HIGH_DW_E): Likewise.
51100         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51101         (_FP_WFRACBITS_DW_Q): Likewise.
51102         (_FP_WFRACXBITS_DW_Q): Likewise.
51103         (_FP_HIGHBIT_DW_Q): Likewise.
51104         (FP_FMA_Q): Likewise.
51105         (_FP_FRAC_HIGH_DW_Q): Likewise.
51106         * soft-fp/fmasf4.c: New file.
51107         * soft-fp/fmadf4.c: Likewise.
51108         * soft-fp/fmatf4.c: Likewise.
51110 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51113         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51114         Silvermont.
51115         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51116         macro.
51117         (index_Slow_SSE4_2): Likewise.
51118         (index_Prefer_PMINUB_for_stringop): Likewise.
51119         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51120         bit_Slow_SSE4_2 is set.
51121         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51122         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51124 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51126         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51127         rtld_global._dl_hwcap2.
51128         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51129         POWER8.
51130         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51131         POWER8 feature descriptions defined in _dl_hwcap2.
51132         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51133         string handling for POWER8 feature bits.
51134         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51135         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51136         _dl_powerpc_cap_flags.
51137         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51138         * sysdeps/powerpc/rtld-global-offsets.sym
51139         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51140         _dl_hwcap2 in the rtld_global_ro structure.
51142 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51144         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51145         hardware capabilities in support of AT_HWCAP2.
51146         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51147         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51148         GLRO(dl_hwcap2).
51149         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51150         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51151         explicitly the unknown a_type display mechanism is used.
51152         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51153         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51154         struct member.
51155         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51156         to macro prototype for AT_HWCAP2 support.
51157         * sysdeps/i386/dl-procinfo.h: Likewise.
51158         * sysdeps/s390/dl-procinfo.h: Likewise.
51159         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51160         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51161         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51162         return -1 for unknown a_type display fallback.
51163         * sysdeps/sparc/dl-procinfo.h: Likewise.
51164         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51165         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51167 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51169         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51170         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51172 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51174         [BZ #12492]
51175         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51176         mprotect making __stack_prot writable.
51178 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51179             Joseph Myers  <joseph@codesourcery.com>
51181         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51182         as being properly aligned.
51184 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51186         * dlfcn/modstatic5.c: New file.
51187         * dlfcn/tststatic5.c: New file.
51188         * dlfcn/Makefile (tests): Add tststatic5.
51189         (tests-static): Likewise.
51190         (modules-names): Add modstatic5.
51191         (tststatic5-ENV): New variable.
51192         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51194         [BZ #15022]
51195         * elf/dl-support.c (_dl_main_map): New variable.
51196         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51197         (_dl_nns, _dl_load_adds): Set to 1.
51198         (_dl_initial_searchlist): Refer to _dl_main_map.
51199         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51200         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51201         call to _dl_get_origin.
51202         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51203         around call_map.
51204         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51205         * dlfcn/modstatic3.c: New file.
51206         * dlfcn/tststatic3.c: New file.
51207         * dlfcn/tststatic4.c: New file.
51208         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51209         (tests-static): Likewise.
51210         (modules-names): Add modstatic3.
51211         (tststatic3-ENV, tststatic4-ENV): New variables.
51212         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51213         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51215 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51217         * configure.in (CC): Require GCC version 4.4 or later.
51218         * configure: Regenerated.
51219         * manual/install.texi (Tools for Compilation): Update GCC version
51220         requirement.
51221         * INSTALL: Regenerated.
51223 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51225         [BZ #15674]
51226         * string/test-memcmp.c (check2): New.
51227         (main): Call check2.
51229         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51231 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51233         [BZ #15022]
51234         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51235         over to...
51236         (dl_open_worker) [!SHARED]: ... here.
51238 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51240         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51242 2013-06-25  Richard Henderson  <rth@redhat.com>
51244         * locale/programs/locarchive.c: Include <libc-internal.h>
51246 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51248         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51249         trailing whitespace removed.
51251 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51253         [BZ #10283]
51254         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51255         * locale/programs/locarchive.c: Include libc-mmap.h.
51256         (prepare_address_space): Take two new outputs (the mmap base and len).
51257         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51258         values.
51259         (create_archive): Declare new mmap base and len values for
51260         prepare_address_space, and store the result in ah.
51261         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51262         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51263         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51264         Declare new mmap base and len values for
51265         prepare_address_space, and store the result in new_ah.
51266         (open_archive): Declare new mmap base and len values for
51267         prepare_address_space, and store the result in ah.
51268         (close_archive): If ah->mmap_base is not NULL, use that and
51269         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51270         * sysdeps/generic/libc-mmap.h: New file.
51272 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51274         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51275         (ALIGN_UP): Likewise.
51276         (PTR_ALIGN_DOWN): Likewise.
51277         (PTR_ALIGN_UP): Likewise.
51279 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51281         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51282         entry mapped to PPC_PLATFORM_POWER8.
51283         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51284         POWER8.
51285         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51286         (_dl_string_platform): Add case for exporting platform position for
51287         POWER8.
51288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51289         search path to sysdeps/powerpc/powerpc32/power8 directory.
51290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51291         search path to sysdeps/powerpc/powerpc64/power8 directory.
51292         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51293         power7 directories.
51294         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51295         power7 directories.
51297 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51299         * INSTALL: Regenerate.
51301         * nscd/connections.c (nscd_init): Fix comment.
51303 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51305         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51307         [BZ #15667]
51308         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51309         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51311 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51313         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51314         DL_DST_REQ_STATIC.
51315         (DL_DST_REQ_STATIC): Remove macro.
51317 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51319         [BZ #7006]
51320         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51321         with a shift of 0 bits.
51323 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51325         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51326         $(tststatic-ENV).
51328 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51330         [BZ #15655]
51331         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51333 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51335         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51336         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51337         accepts -fno-tree-loop-distribute-patterns.
51338         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51339         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51340         recursive call.
51341         * string/memset.c (memset): Likewise.
51342         * string/test-memmove.c (simple_memmove): Disable loop transformation
51343         to library calls.
51344         * string/test-memset.c (simple_memset): Likewise.
51345         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51346         * benchtests/bench-memset.c (simple_memset): Likewise.
51347         * configure: Regenerated.
51349 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51351         * math/test-misc.c (main): Ignore fesetround failure when failures
51352         of subsequent rounding tests would be ignored.
51354         [BZ #15654]
51355         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51356         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51357         * math/fegetenv.c (__fegetenv): Return 0.
51358         * math/fegetexcept.c (fegetexcept): Return 0.
51359         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51360         FE_TONEAREST.
51361         * math/feholdexcpt.c (feholdexcept): Return 0.
51362         * math/fesetenv.c (__fesetenv): Return 0.
51363         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51364         argument FE_TONEAREST.
51365         * math/feupdateenv.c (__feupdateenv): Return 0.
51366         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51368 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51370         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51371         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51372         ($(objpfx)rtld-%.os rules): Use them.
51374 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51376         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51377         fields.
51379 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51381         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51382         length of target pattern, then descending length of dependency pattern.
51383         * configure.in (AWK): Require gawk 3.1.2 or newer.
51384         * manual/install.texi (Tools for Compilation): Say that we do.
51385         * configure: Regenerated.
51387         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51388         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51389         * scripts/sysd-rules.awk: ... this new script.
51390         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51391         than a glob-style pattern.
51393 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51395         * math/test-misc.c (main): Do not treat incorrectly rounded
51396         conversions as failure unless ROUNDING_TESTS passes.
51398 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51400         [BZ #15631]
51401         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51402         restore exception state around main square root computation, then
51403         check for inexactness explicitly.
51405         * math/libm-test.inc (fma_test_data): Add another test.
51407 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51409         * manual/threads.texi (Non-POSIX Extensions): New document
51410         node.  Document pthread_getattr_default_np and
51411         pthread_setattr_default_np.
51413         * Versions.def (libpthread): Add GLIBC_2.18.
51414         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51416         Likewise.
51417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51418         Likewise.
51419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51420         Likewise.
51421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51422         Likewise.
51423         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51424         Likewise.
51425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51426         Likewise.
51427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51428         Likewise.
51429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51430         Likewise.
51431         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51432         Likewise.
51434 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51437         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51439 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51440             H.J. Lu  <hjl.tools@gmail.com>
51442         [BZ #15627]
51443         * sysdeps/x86_64/rtld-memset.c: Remove file.
51444         * sysdeps/x86_64/rtld-memset.S: New file.
51446 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51448         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51449         (test_in_one_mode): Take arguments for whether the rounding mode
51450         is supported for each floating-point type.
51451         (do_test): Pass new arguments to test_in_one_mode using
51452         ROUNDING_TESTS.
51454 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51456         * posix/tst-waitid.c (do_test): Distinguish different instances of
51457         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51458         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51459         before entering the kernel for waitpid.
51461 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51463         * NEWS: Fix note on clock function precision.  Text by Roland
51464         McGrath.
51466 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51468         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51469         it into place only when and if the sanity check passes.
51471 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51473         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51474         output for whether conversion result is exact.  Take argument
51475         indicating whether type is IBM long double.
51476         (round_for_all): Change need_exact field to ibm_ld.
51477         * stdlib/tst-strtod-round.c (struct exactness): New type.
51478         (struct test): Change bool ld_ok field to struct exactness exact.
51479         (TEST): Update all definitions for change to field.
51480         (tests): Regenerate array contents.
51481         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51482         field value.  Check for IBM long double here.
51483         (do_test): Update calls to test_in_one_mode.
51485 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51487         [BZ #12515]
51488         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51489         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51491 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51493         [BZ #15605]
51494         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51495         generated by the compiler on loop optimizations.
51496         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51497         general definitions.
51499 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51501         * math/bug-nextafter.c: Include <math-tests.h>.
51502         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51503         the relevant type.
51504         * math/bug-nexttoward.c: Include <math-tests.h>.
51505         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51506         the relevant type.
51507         * math/test-misc.c: Include <math-tests.h>.
51508         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51509         the relevant type.
51511 2013-06-12  Andreas Jaeger  <aj@suse.de>
51513         * po/ia.po: Update Interlingua translation from translation
51514         project.
51516 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51518         * include/fenv.h: Include stdbool.h.
51519         (struct rm_ctx): New structure.
51520         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51521         Define macro.
51522         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51523         (SET_RESTORE_ROUNDF): Likewise.
51524         (SET_RESTORE_ROUNDL): Likewise.
51525         (SET_RESTORE_ROUND_NOEX): Likewise.
51526         (SET_RESTORE_ROUND_NOEXF): Likewise.
51527         (SET_RESTORE_ROUND_NOEXL): Likewise.
51528         (SET_RESTORE_ROUND_53BIT): Likewise.
51529         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51530         (libc_feresetround_noexf_ctx): Likewise.
51531         (libc_feresetround_noexl_ctx): Likewise.
51532         (libc_feholdsetround_53bit_ctx): Likewise.
51533         (libc_feresetround_53bit_ctx): Likewise.
51534         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51535         (libc_feholdexcept_setround_sse_ctx): New function.
51536         (libc_fesetenv_sse_ctx): Likewise.
51537         (libc_feupdateenv_sse_ctx): Likewise.
51538         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51539         (libc_feholdexcept_setround_387_ctx): Likewise.
51540         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51541         (libc_feholdsetround_387_prec_ctx): Likewise.
51542         (libc_feholdsetround_387_ctx): Likewise.
51543         (libc_feholdsetround_387_53bit_ctx): Likewise.
51544         (libc_feholdsetround_sse_ctx): Likewise.
51545         (libc_feresetround_sse_ctx): Likewise.
51546         (libc_feresetround_387_ctx): Likewise.
51547         (libc_feupdateenv_387_ctx): Likewise.
51548         (libc_feholdexcept_setroundf_ctx): Define macro.
51549         (libc_fesetenvf_ctx): Likewise.
51550         (libc_feupdateenvf_ctx): Likewise.
51551         (libc_feholdsetroundf_ctx): Likewise.
51552         (libc_feresetroundf_ctx): Likewise.
51553         (libc_feholdexcept_setround_ctx): Likewise.
51554         (libc_fesetenv_ctx): Likewise.
51555         (libc_feupdateenv_ctx): Likewise.
51556         (libc_feholdsetround_ctx): Likewise.
51557         (libc_feresetround_ctx): Likewise.
51558         (libc_feholdexcept_setroundl_ctx): Likewise.
51559         (libc_feupdateenvl_ctx): Likewise.
51560         (libc_feholdsetroundl_ctx): Likewise.
51561         (libc_feresetroundl_ctx): Likewise.
51562         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51563         (libc_feresetround_53bit_ctx): Likewise.
51565 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51567         * locale/iso-639.def: Convert to UTF-8.
51569 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51571         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51572         (EXCEPTION_TESTS_double): Likewise.
51573         (EXCEPTION_TESTS_long_double): Likewise.
51574         (EXCEPTION_TESTS): Likewise.
51575         * math/libm-test.inc (test_exceptions): Only test exceptions if
51576         EXCEPTION_TESTS (FLOAT).
51578 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51580         * benchtests/Makefile (string-bench): Add strcpy_chk and
51581         stpcpy_chk.
51582         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51583         * benchtests/bench-stpcpy_chk.c: New file.
51584         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51585         * benchtests/bench-strcpy_chk.c: New file.
51586         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51587         code.
51588         (do_test): Likewise.
51590 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51592         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51593         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51594         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51595         with tabs where appropriate.
51596         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51597         dl-procinfo.h.
51598         [PPC_PLATFORM_PPC440]: Likewise.
51599         [PPC_PLATFORM_PPC464]: Likewise.
51600         [PPC_PLATFORM_PPC476]: Likewise.
51601         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51602         ppc464, and ppc476 platform strings merging from ports/
51603         dl-procinfo.h.
51605 2013-06-11  Andreas Schwab  <schwab@suse.de>
51607         [BZ #14991]
51608         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51609         (from_ucs4_idx): Regenerate.
51610         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51611         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51612         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51613         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51614         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51615         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51616         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51617         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51618         from FROM_LOOP and TO_LOOP specific macros.
51619         (BODY): Handle combining characters.
51620         * iconvdata/BIG5HKSCS.irreversible: Update.
51621         * iconvdata/BIG5HKSCS.precomposed: New file.
51622         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51623         characters.
51624         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51626 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51628         * include/sys/time.h: Fix indentation and add copyright header.
51630         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51631         (do_test): Likewise.
51632         * string/test-memchr.c (do_one_test): Likewise.
51633         (do_test): Likewise.
51634         * string/test-memcmp.c (do_one_test): Likewise.
51635         (do_test): Likewise.
51636         * string/test-memcpy.c (do_one_test): Likewise.
51637         (do_test): Likewise.
51638         * string/test-memmem.c (do_one_test): Likewise.
51639         (do_test): Likewise.
51640         (do_random_tests): Likewise.
51641         * string/test-memmove.c (do_one_test): Likewise.
51642         (do_test): Likewise.
51643         * string/test-memset.c (do_one_test): Likewise.
51644         (do_test): Likewise.
51645         * string/test-rawmemchr.c (do_one_test): Likewise.
51646         (do_test): Likewise.
51647         * string/test-strcasecmp.c (do_one_test): Likewise.
51648         (do_test): Likewise.
51649         * string/test-strcasestr.c (do_one_test): Likewise.
51650         (do_test): Likewise.
51651         * string/test-strcat.c (do_one_test): Likewise.
51652         (do_test): Likewise.
51653         * string/test-strchr.c (do_one_test): Likewise.
51654         (do_test): Likewise.
51655         * string/test-strcmp.c (do_one_test): Likewise.
51656         (do_test): Likewise.
51657         * string/test-strcpy.c (do_one_test): Likewise.
51658         (do_test): Likewise.
51659         * string/test-string.h: Likewise.
51660         (test_init): Likewise.
51661         * string/test-strlen.c (do_one_test): Likewise.
51662         (do_test): Likewise.
51663         * string/test-strncasecmp.c (do_one_test): Likewise.
51664         (do_test): Likewise.
51665         * string/test-strncat.c (do_one_test): Likewise.
51666         (do_test): Likewise.
51667         * string/test-strncmp.c (do_one_test): Likewise.
51668         (do_test_limit): Likewise.
51669         (do_test): Likewise.
51670         * string/test-strncpy.c (do_one_test): Likewise.
51671         (do_test): Likewise.
51672         * string/test-strnlen.c (do_one_test): Likewise.
51673         (do_test): Likewise.
51674         * string/test-strpbrk.c (do_one_test): Likewise.
51675         (do_test): Likewise.
51676         * string/test-strrchr.c (do_one_test): Likewise.
51677         (do_test): Likewise.
51678         * string/test-strspn.c (do_one_test): Likewise.
51679         (do_test): Likewise.
51680         * string/test-strstr.c (do_one_test): Likewise.
51681         (do_test): Likewise.
51683         * benchtests/Makefile (string-bench): Add string benchmarks.
51684         * benchtests/bench-bcopy-ifunc.c: New file.
51685         * benchtests/bench-bcopy.c: New file.
51686         * benchtests/bench-bzero-ifunc.c: New file.
51687         * benchtests/bench-bzero.c: New file.
51688         * benchtests/bench-memccpy-ifunc.c: New file.
51689         * benchtests/bench-memccpy.c: New file.
51690         * benchtests/bench-memchr-ifunc.c: New file.
51691         * benchtests/bench-memchr.c: New file.
51692         * benchtests/bench-memcmp-ifunc.c: New file.
51693         * benchtests/bench-memcmp.c: New file.
51694         * benchtests/bench-memmem-ifunc.c: New file.
51695         * benchtests/bench-memmem.c: New file.
51696         * benchtests/bench-memmove-ifunc.c: New file.
51697         * benchtests/bench-memmove.c: New file.
51698         * benchtests/bench-mempcpy-ifunc.c: New file.
51699         * benchtests/bench-mempcpy.c: New file.
51700         * benchtests/bench-memset-ifunc.c: New file.
51701         * benchtests/bench-memset.c: New file.
51702         * benchtests/bench-rawmemchr-ifunc.c: New file.
51703         * benchtests/bench-rawmemchr.c: New file.
51704         * benchtests/bench-stpcpy-ifunc.c: New file.
51705         * benchtests/bench-stpcpy.c: New file.
51706         * benchtests/bench-stpncpy-ifunc.c: New file.
51707         * benchtests/bench-stpncpy.c: New file.
51708         * benchtests/bench-strcasecmp-ifunc.c: New file.
51709         * benchtests/bench-strcasecmp.c: New file.
51710         * benchtests/bench-strcasestr-ifunc.c: New file.
51711         * benchtests/bench-strcasestr.c: New file.
51712         * benchtests/bench-strcat-ifunc.c: New file.
51713         * benchtests/bench-strcat.c: New file.
51714         * benchtests/bench-strchr-ifunc.c: New file.
51715         * benchtests/bench-strchr.c: New file.
51716         * benchtests/bench-strchrnul-ifunc.c: New file.
51717         * benchtests/bench-strchrnul.c: New file.
51718         * benchtests/bench-strcmp-ifunc.c: New file.
51719         * benchtests/bench-strcmp.c: New file.
51720         * benchtests/bench-strcpy-ifunc.c: New file.
51721         * benchtests/bench-strcpy.c: New file.
51722         * benchtests/bench-strcspn-ifunc.c: New file.
51723         * benchtests/bench-strcspn.c: New file.
51724         * benchtests/bench-strlen-ifunc.c: New file.
51725         * benchtests/bench-strlen.c: New file.
51726         * benchtests/bench-strncasecmp-ifunc.c: New file.
51727         * benchtests/bench-strncasecmp.c: New file.
51728         * benchtests/bench-strncat-ifunc.c: New file.
51729         * benchtests/bench-strncat.c: New file.
51730         * benchtests/bench-strncmp-ifunc.c: New file.
51731         * benchtests/bench-strncmp.c: New file.
51732         * benchtests/bench-strncpy-ifunc.c: New file.
51733         * benchtests/bench-strncpy.c: New file.
51734         * benchtests/bench-strnlen-ifunc.c: New file.
51735         * benchtests/bench-strnlen.c: New file.
51736         * benchtests/bench-strpbrk-ifunc.c: New file.
51737         * benchtests/bench-strpbrk.c: New file.
51738         * benchtests/bench-strrchr-ifunc.c: New file.
51739         * benchtests/bench-strrchr.c: New file.
51740         * benchtests/bench-strspn-ifunc.c: New file.
51741         * benchtests/bench-strspn.c: New file.
51742         * benchtests/bench-strstr-ifunc.c: New file.
51743         * benchtests/bench-strstr.c: New file.
51745         * benchtests/Makefile: Disable parallel execution of targets.
51746         (string-bench): Add memcpy.
51747         (benchset): New variable to store a list of benchmark sets.
51748         (bench-func): Renamed from bench.
51749         (bench-set): New target.
51750         (bench): Depend on bench-func and bench-set.
51751         * benchtests/README: Add section on benchmark sets.
51752         * benchtests/bench-memcpy-ifunc.c: New file.
51753         * benchtests/bench-memcpy.c: New file.
51754         * benchtests/bench-string.h: New file.
51756 2013-06-11  Andreas Schwab  <schwab@suse.de>
51758         [BZ #15577]
51759         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51760         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51761         values in the triple.
51762         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51763         terminator in the group key.
51765 2013-06-11  Andreas Jaeger  <aj@suse.de>
51767         * po/zh_TW.po: Update Chinese (traditional) translation from
51768         translation project.
51770 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51772         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51773         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51774         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51776         (clock_getcpuclockid): Likewise.
51777         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51778         Add weak_alias and libc_hidden_def.
51779         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51780         * rt/clock_gettime.c (clock_gettime): Rename to
51781         __clock_gettime.  Add weak_alias and libc_hidden_def.
51782         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51783         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51784         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51785         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51786         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51787         Likewise.
51788         * rt/clock_settime.c (clock_settime): Rename to
51789         __clock_settime.  Add weak_alias and libc_hidden_def.
51790         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51792 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51794         * mach/err_boot.sub: Remove trailing whitespace.
51795         * mach/err_ipc.sub: Likewise.
51796         * mach/err_mach.sub: Likewise.
51798         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51799         (ROUNDING_TESTS_double): Likewise.
51800         (ROUNDING_TESTS_long_double): Likewise.
51801         (ROUNDING_TESTS): Likewise.
51802         * math/libm-test.inc: Include <math-tests.h>.
51803         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51804         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51805         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51806         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51808 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51810         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51811         of assigning.
51813 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51815         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51816         otherwise empty TRANS lines.
51817         * sysdeps/gnu/errlist.c: Regenerated.
51819         * catgets/gencat.c (error_print): Use (void) in function
51820         definition.
51821         * crypt/crypt_util.c (__init_des): Likewise.
51822         * crypt/speeds.c (Stop): Likewise.
51823         (main): Likewise.
51824         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51825         * inet/ruserpass.c (token): Likewise.
51826         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51827         * intl/localealias.c (extend_alias_table): Likewise.
51828         * intl/plural-exp.c (init_germanic_plural): Likewise.
51829         * libio/fcloseall.c (__fcloseall): Likewise.
51830         * libio/genops.c (_IO_flush_all): Likewise.
51831         (_IO_flush_all_linebuffered): Likewise.
51832         (_IO_cleanup): Likewise.
51833         (_IO_iter_begin): Likewise.
51834         (_IO_iter_end): Likewise.
51835         (_IO_list_lock): Likewise.
51836         (_IO_list_unlock): Likewise.
51837         (_IO_list_resetlock): Likewise.
51838         * libio/getchar.c (getchar): Likewise.
51839         * libio/getchar_u.c (getchar_unlocked): Likewise.
51840         * libio/getwchar.c (getwchar): Likewise.
51841         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51842         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51843         * login/getpt.c (__getpt): Likewise.
51844         * login/tst-utmp.c (main): Likewise.
51845         * malloc/hooks.c (__malloc_check_init): Likewise.
51846         * malloc/malloc.c (__malloc_stats): Likewise.
51847         * malloc/mtrace.c (tr_break): Likewise.
51848         (mtrace): Likewise.
51849         (muntrace): Likewise.
51850         * misc/fstab.c (endfsent): Likewise.
51851         * misc/getclktck.c (__getclktck): Likewise.
51852         * misc/getdtsz.c (__getdtablesize): Likewise.
51853         * misc/gethostid.c (gethostid): Likewise.
51854         * misc/getpagesize.c (__getpagesize): Likewise.
51855         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51856         (__get_nprocs): Likewise.
51857         (__get_phys_pages): Likewise.
51858         (__get_avphys_pages): Likewise.
51859         * misc/getttyent.c (getttyent): Likewise.
51860         (setttyent): Likewise.
51861         (endttyent): Likewise.
51862         * misc/getusershell.c (getusershell): Likewise.
51863         (endusershell): Likewise.
51864         (setusershell): Likewise.
51865         (initshells): Likewise.
51866         * misc/hsearch.c (__hdestroy): Likewise.
51867         * misc/sync.c (sync): Likewise.
51868         * misc/syslog.c (closelog_internal): Likewise.
51869         (closelog): Likewise.
51870         * misc/ttyslot.c (ttyslot): Likewise.
51871         * misc/vhangup.c (vhangup): Likewise.
51872         * posix/fork.c (__fork): Likewise.
51873         * posix/getegid.c (__getegid): Likewise.
51874         * posix/geteuid.c (__geteuid): Likewise.
51875         * posix/getgid.c (__getgid): Likewise.
51876         * posix/getpid.c (__getpid): Likewise.
51877         * posix/getppid.c (__getppid): Likewise.
51878         * posix/getuid.c (__getuid): Likewise.
51879         * posix/pause.c (pause): Likewise.
51880         * posix/setpgrp.c (setpgrp): Likewise.
51881         * posix/setsid.c (__setsid): Likewise.
51882         * posix/test-vfork.c (noop): Likewise.
51883         * resolv/gethnamaddr.c (_endhtent): Likewise.
51884         (_gethtent): Likewise.
51885         (ht_endhostent): Likewise.
51886         (gethostent): Likewise.
51887         (dns_service): Likewise.
51888         * stdlib/drand48.c (drand48): Likewise.
51889         * stdlib/lrand48.c (lrand48): Likewise.
51890         * stdlib/mrand48.c (mrand48): Likewise.
51891         * stdlib/rand.c (rand): Likewise.
51892         * stdlib/random.c (__random): Likewise.
51893         * stdlib/setenv.c (clearenv): Likewise.
51894         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51895         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51896         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51897         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51898         (__get_nprocs): Likewise.
51899         (__get_phys_pages): Likewise.
51900         (__get_avphys_pages): Likewise.
51901         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51902         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51903         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51904         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51905         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51906         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51907         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51908         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51909         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51910         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51911         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51912         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51913         * sysdeps/posix/clock.c (clock): Likewise.
51914         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51915         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51916         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51917         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51918         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51920         (__get_nprocs_conf): Likewise.
51921         (__get_phys_pages): Likewise.
51922         (__get_avphys_pages): Likewise.
51923         * time/clock.c (clock): Likewise.
51924         * time/tzset.c (__tzname_max): Likewise.
51926 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51928         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51929         (__bswap_32): Do not use "register".
51930         * crypt/crypt.c (_ufc_doit_r): Likewise.
51931         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51932         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51933         * gmon/gmon.c (__monstartup): Likewise.
51934         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51935         * hurd/hurdmalloc.c (more_memory): Likewise.
51936         (malloc): Likewise.
51937         (free): Likewise.
51938         (realloc): Likewise.
51939         (malloc_fork_prepare): Likewise.
51940         (malloc_fork_parent): Likewise.
51941         (malloc_fork_child): Likewise.
51942         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51943         (_svcauth_des): Likewise.
51944         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51945         * inet/inet_net.c (inet_network): Likewise.
51946         * inet/inet_netof.c (inet_netof): Likewise.
51947         * inet/rcmd.c (__validuser2_sa): Likewise.
51948         * io/fts.c (fts_open): Likewise.
51949         (fts_load): Likewise.
51950         (fts_close): Likewise.
51951         (fts_read): Likewise.
51952         (fts_children): Likewise.
51953         (fts_build): Likewise.
51954         (fts_stat): Likewise.
51955         (fts_sort): Likewise.
51956         (fts_alloc): Likewise.
51957         (fts_lfree): Likewise.
51958         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51959         (_IO_file_xsgetn): Likewise.
51960         (_IO_file_xsgetn_mmap): Likewise.
51961         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51962         (_IO_cookie_write): Likewise.
51963         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51964         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51965         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51966         * malloc/obstack.c (_obstack_begin): Likewise.
51967         (_obstack_begin_1): Likewise.
51968         (_obstack_newchunk): Likewise.
51969         (_obstack_allocated_p): Likewise.
51970         (obstack_free): Likewise.
51971         (_obstack_memory_used): Likewise.
51972         * misc/getttyent.c (getttynam): Likewise.
51973         (getttyent): Likewise.
51974         (skip): Likewise.
51975         (value): Likewise.
51976         * misc/getusershell.c (initshells): Likewise.
51977         * misc/syslog.c (__vsyslog_chk): Likewise.
51978         * misc/ttyslot.c (ttyslot): Likewise.
51979         * nis/nis_hash.c (__nis_hash): Likewise.
51980         * posix/fnmatch_loop.c (FCT): Likewise.
51981         * posix/getconf.c (print_all): Likewise.
51982         (main): Likewise.
51983         * posix/getopt.c (exchange): Likewise.
51984         * posix/glob.c (globfree): Likewise.
51985         (prefix_array): Likewise.
51986         (__glob_pattern_type): Likewise.
51987         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51988         (NS_GET32): Likewise.
51989         (NS_PUT16): Likewise.
51990         (NS_PUT32): Likewise.
51991         * resolv/gethnamaddr.c (getanswer): Likewise.
51992         (gethostbyname2): Likewise.
51993         (gethostbyaddr): Likewise.
51994         (_gethtent): Likewise.
51995         (_gethtbyname2): Likewise.
51996         (_gethtbyaddr): Likewise.
51997         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51998         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51999         * resolv/res_init.c (__res_vinit): Likewise.
52000         (net_mask): Likewise.
52001         * resolv/res_mkquery.c (outchar): Likewise.
52002         (PRINT): Likewise.
52003         * stdio-common/printf_fp.c (outchar): Likewise.
52004         (PRINT): Likewise.
52005         * stdio-common/printf_fphex.c (outchar): Likewise.
52006         (PRINT): Likewise.
52007         * stdio-common/printf_size.c (outchar): Likewise.
52008         (PRINT): Likewise.
52009         * stdio-common/test_rdwr.c (main): Likewise.
52010         * stdio-common/tfformat.c (matches): Likewise.
52011         * stdio-common/vfprintf.c (outchar): Likewise.
52012         (printf_unknown): Likewise.
52013         (buffered_vfprintf): Likewise.
52014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52015         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52016         (ReadFile): Likewise.
52017         * stdlib/qsort.c (SWAP): Likewise.
52018         (_quicksort): Likewise.
52019         * stdlib/setenv.c (__add_to_environ): Likewise.
52020         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52021         * stdlib/strtol_l.c (__strtol_l): Likewise.
52022         * stdlib/tst-strtod.c (main): Likewise.
52023         * stdlib/tst-strtol.c (main): Likewise.
52024         * stdlib/tst-strtoll.c (main): Likewise.
52025         * string/bits/string2.h (__strcmp_cc): Likewise.
52026         (__strcmp_cg): Likewise.
52027         (__strcspn_c1): Likewise.
52028         (__strcspn_c2): Likewise.
52029         (__strcspn_c3): Likewise.
52030         (__strspn_c1): Likewise.
52031         (__strspn_c2): Likewise.
52032         (__strspn_c3): Likewise.
52033         (__strsep_1c): Likewise.
52034         (__strsep_2c): Likewise.
52035         (__strsep_3c): Likewise.
52036         * string/memccpy.c (__memccpy): Likewise.
52037         * string/stpcpy.c (__stpcpy): Likewise.
52038         * string/strcmp.c (strcmp): Likewise.
52039         * string/strrchr.c (strrchr): Likewise.
52040         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52041         Likewise.
52042         * sysdeps/mach/hurd/getcwd.c
52043         (_hurd_canonicalize_directory_name_internal): Likewise.
52044         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52045         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52046         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52047         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52048         Likewise, in both definitions.
52049         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52050         definitions.
52051         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52052         64] (__bswap_64): Likewise.
52053         * time/test_time.c (main): Likewise.
52054         * time/tzfile.c (__tzfile_read): Likewise.
52055         (__tzfile_compute): Likewise.
52056         * time/tzset.c (__tzset_parse_tz): Likewise.
52057         (tzset_internal): Likewise.
52058         (compute_change): Likewise.
52059         * wcsmbs/wcscat.c (__wcscat): Likewise.
52060         * wcsmbs/wcschr.c (wcschr): Likewise.
52061         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52062         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52063         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52064         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52065         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52066         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52067         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52068         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52069         * wcsmbs/wmemset.c (wmemset): Likewise.
52071 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52073         * scripts/config.guess: Update to version 2013-05-16.
52074         * scripts/config.sub: Update to version 2013-04-24.
52075         * scripts/install-sh: Update to version 2011-11-20.07.
52076         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52077         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52079 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52081         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52082         * elf/sln.c: Likewise.
52083         * hurd/hurd/ioctl.h: Likewise.
52084         * hurd/hurdmalloc.c: Likewise.
52085         * hurd/xattr.c: Likewise.
52086         * include/shlib-compat.h: Likewise.
52087         * inet/ruserpass.c: Likewise.
52088         * libio/iofgets_u.c: Likewise.
52089         * libio/iofgetws_u.c: Likewise.
52090         * locale/programs/ld-identification.c: Likewise.
52091         * locale/programs/ld-time.c: Likewise.
52092         * mach/msg-destroy.c: Likewise.
52093         * nss/nss_files/files-netgrp.c: Likewise.
52094         * resolv/res_data.c: Likewise.
52095         * soft-fp/op-1.h: Likewise.
52096         * soft-fp/op-2.h: Likewise.
52097         * soft-fp/op-4.h: Likewise.
52098         * soft-fp/op-common.h: Likewise.
52099         * stdio-common/printf_fphex.c: Likewise.
52100         * stdlib/strtod_l.c: Likewise.
52101         * sunrpc/rpc/clnt.h: Likewise.
52102         * sysdeps/generic/framestate.c: Likewise.
52103         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52104         * sysdeps/i386/bsd-setjmp.S: Likewise.
52105         * sysdeps/i386/__longjmp.S: Likewise.
52106         * sysdeps/i386/setjmp.S: Likewise.
52107         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52108         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52109         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52110         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52111         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52112         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52113         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52114         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52115         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52116         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52117         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52118         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52119         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52120         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52121         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52122         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52123         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52124         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52125         * sysdeps/ieee754/support.c: Likewise.
52126         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52127         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52128         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52129         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52130         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52131         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52132         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52133         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52134         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52135         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52136         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52137         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52138         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52139         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52140         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52141         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52142         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52145 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52147         * posix/transbug.c: Remove executable mode.
52149 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52151         * crypt/speeds.c: Remove trailing whitespace.
52152         * dlfcn/default.c: Likewise.
52153         * elf/ifuncdep2.c: Likewise.
52154         * elf/ifuncmain1.c: Likewise.
52155         * elf/ifuncmain1vis.c: Likewise.
52156         * elf/testobj.h: Likewise.
52157         * elf/tst-stackguard1.c: Likewise.
52158         * gmon/sys/gmon.h: Likewise.
52159         * hurd/hurdmsg.c: Likewise.
52160         * hurd/new-fd.c: Likewise.
52161         * hurd/ports-get.c: Likewise.
52162         * iconvdata/ibm1008_420.c: Likewise.
52163         * inet/tst-getni1.c: Likewise.
52164         * inet/tst-getni2.c: Likewise.
52165         * libio/ioungetc.c: Likewise.
52166         * libio/wfiledoalloc.c: Likewise.
52167         * manual/libm-err-tab.pl: Likewise.
52168         * math/w_dremf.c: Likewise.
52169         * misc/ftruncate.c: Likewise.
52170         * posix/bug-glob2.c: Likewise.
52171         * posix/tst-pcre.c: Likewise.
52172         * posix/wait4.c: Likewise.
52173         * resolv/README: Likewise.
52174         * resolv/res_debug.h: Likewise.
52175         * resolv/tst-inet_ntop.c: Likewise.
52176         * setjmp/bug269-setjmp.c: Likewise.
52177         * soft-fp/extended.h: Likewise.
52178         * soft-fp/op-1.h: Likewise.
52179         * soft-fp/op-2.h: Likewise.
52180         * soft-fp/op-4.h: Likewise.
52181         * soft-fp/op-8.h: Likewise.
52182         * soft-fp/testit.c: Likewise.
52183         * stdio-common/bug16.c: Likewise.
52184         * stdlib/random.c: Likewise.
52185         * sunrpc/rpcsvc/rquota.x: Likewise.
52186         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52187         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52189         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52190         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52191         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52192         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52193         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52194         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52195         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52196         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52199         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52200         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52201         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52202         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52203         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52204         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52205         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52215         * sysdeps/ieee754/s_lib_version.c: Likewise.
52216         * sysdeps/mach/hurd/check_fds.c: Likewise.
52217         * sysdeps/mach/hurd/getsockname.c: Likewise.
52218         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52219         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52220         * sysdeps/powerpc/bits/link.h: Likewise.
52221         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52222         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52223         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52224         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52225         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52226         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52227         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52228         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52229         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52230         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52231         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52232         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52233         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52234         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52235         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52236         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52237         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52238         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52239         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52240         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52241         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52242         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52243         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52244         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52245         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52246         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52247         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52248         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52249         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52250         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52251         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52252         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52254         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52255         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52256         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52257         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52258         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52259         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52260         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52261         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52262         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52263         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52264         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52265         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52266         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52267         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52268         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52269         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52270         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52273         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52274         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52275         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52276         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52277         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52278         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52279         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52280         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52281         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52282         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52283         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52284         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52285         * sysdeps/powerpc/sysdep.h: Likewise.
52286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52287         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52288         * sysdeps/sh/dl-trampoline.S: Likewise.
52289         * sysdeps/sh/memset.S: Likewise.
52290         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52291         * sysdeps/sh/strlen.S: Likewise.
52292         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52293         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52294         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52295         * sysdeps/sparc/sparc32/rem.S: Likewise.
52296         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52297         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52298         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52299         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52300         * sysdeps/sparc/sparc32/urem.S: Likewise.
52301         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52302         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52303         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52304         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52305         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52306         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52307         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52308         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52309         * sysdeps/unix/bsd/times.c: Likewise.
52310         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52311         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52315         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52316         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52317         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52319         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52321         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52322         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52323         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52324         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52325         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52326         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52327         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52328         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52329         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52330         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52331         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52332         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52333         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52334         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52335         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52336         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52337         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52338         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52339         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52340         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52341         * sysdeps/x86_64/strcspn.S: Likewise.
52343 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52345         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52346         generated file.  Regenerate properly from gen-translit.pl.
52347         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52348         locale/C-translit.h.
52350 2013-06-05  Andreas Schwab  <schwab@suse.de>
52352         [BZ #15100]
52353         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52354         week as 6 instead of -1.
52355         * time/tst-strptime.c (day_tests): Add test case.
52357 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52359         * sysdeps/generic/math_private.h
52360         (libc_feholdexcept_setround_53bit): Replace with
52361         libc_feholdsetround_53bit.
52362         (libc_feupdateenv_53bit): Replace with
52363         libc_feresetround_53bit.
52364         (SET_RESTORE_ROUND_53BIT): Adjust.
52366 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52368         * string/test-strchrnul.c: Add copyright header.
52370         * posix/tst-getaddrinfo4.c: Increase test timeout.
52372 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52374         [BZ #15536]
52375         * math/libm-test.inc (MAX_EXP): Remove
52376         (MIN_EXP): Define.
52377         (ulp): Use MIN_EXP - MANT_DIG.
52378         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52380 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52382         * po/be.po: Revert last change.
52383         * po/zh_CN.po: Likewise.
52384         * po/header.pot: Likewise.
52386 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52388         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52389         link-libc-deps to empty as target-specific variable.
52390         * Makerules (link-libc-args): New variable.
52391         (libc-for-link): Likewise.
52392         (link-libc-deps): Likewise.
52393         (lib%.so): Depend on $(link-libc-deps).  Link with
52394         $(link-libc-args).
52395         (build-module): Link with $(link-libc-args).
52396         (build-module-asneeded): Likewise.
52397         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52398         list of objects.
52399         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52400         target-specific variable.
52401         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52402         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52403         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52404         libc.
52405         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52406         libc and ld.so.
52407         ($(objpfx)libpcprofile.so): Likewise.
52408         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52409         libc_nonshared.a.
52410         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52411         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52412         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52413         $(link-libc-deps).
52414         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52415         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52416         * login/Makefile ($(objpfx)libutil.so): Likewise.
52417         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52418         * math/Makefile ($(objpfx)libm.so): Likewise.
52419         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52420         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52421         variable instead of depending directly on libc.
52422         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52423         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52424         $(link-libc-deps).
52425         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52426         libc.
52427         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52428         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52429         ($(objpfx)libanl.so): Likewise.
52430         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52431         ld.so.
52432         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52433         $(link-libc-deps).
52434         * sysdeps/i386/fpu/Makefile: Remove file.
52435         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52436         ($(objpfx)libm.so): Remove dependency on ld.so.
52438 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52440         [BZ # 15553]
52441         * nis/yp_xdr.c (XDRMAXNAME): Define.
52442         (XDRMAXRECORD): Define.
52443         (xdr_domainname): Use XDRMAXNAME.
52444         (xdr_mapname): Likewise.
52445         (xdr_peername): Likewise.
52446         (xdr_keydat): Use XDRMAXRECORD.
52447         (xdr_valdat): Likewise.
52449 2013-05-30  Jeff Law  <law@redhat.com>
52451         [BZ #14256]
52452         * manual/errno.texi (ESTALE): Update to account for more than
52453         just NFS file systems.
52454         * sysdeps/gnu/errlist.c: Regenerated.
52456 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52458         [BZ #15465]
52459         * elf/Makefile (tests): Add tst-null-argv.
52460         (modules-names):  Add tst-null-argv-lib.
52461         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52462         (tst-null-argv-ENV): Set environment for tst-null-argv.
52463         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52464         (RTLD_PROGNAME): New macro.
52465         * elf/tst-null-argv.c: New test case.
52466         * elf/tst-null-argv-lib.c: Library for test case.
52467         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52468         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52469         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52470         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52471         * elf/dl-init.c (call_init): Likewise.
52472         (_dl_init): Likewise.
52473         * elf/dl-load.c (print_search_path): Likewise.
52474         (_dl_map_object): Likewise.
52475         * elf/dl-lookup.c (do_lookup_x): Likewise.
52476         (add_dependency): Likewise.
52477         (_dl_lookup_symbol_x): Likewise.
52478         (_dl_debug_bindings): Likewise.
52479         * elf/dl-open.c (_dl_show_scope): Likewise.
52480         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52481         * elf/dl-version.c (match_symbol): Likewise.
52482         (_dl_check_map_versions): Likewise.
52483         * elf/rtld.c (dl_main): Likewise.
52484         (print_unresolved): Use RTLD_PROGNAME.
52485         (print_missing_version): Likewise.
52486         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52487         (elf_machine_rela): Likewise.
52488         * sysdeps/powerpc/powerpc32/dl-machine.c
52489         (__process_machine_rela): Likewise.
52490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52491         Likewise.
52492         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52493         Likewise.
52494         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52495         Likewise.
52496         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52497         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52498         Likewise.
52499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52500         Likewise.
52501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52503 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52505         * po/be.po: Add descriptive title.
52506         * po/zh_CN.po: Likewise.
52507         * po/header.pot: Likewise.
52509 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52511         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52512         error message.
52513         (enlarge_archive): Likewise.
52515 2013-05-28  Ben North  <ben@redfrontdoor.org>
52517         * manual/arith.texi (frexp): It is the magnitude of the return
52518         value which lies in [0.5, 1), not the return value itself.
52520 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52524 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52526         * stdio-common/bug26.c (main): Correct fscanf template.
52528         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52529         declare _dl_skip_args.
52531         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52532         Don't declare.
52534         * manual/platform.texi: Add missing @end deftypefun.
52536 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52538         [BZ #15529]
52539         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52540         bit of mantissa of 2^16382.
52541         * math/libm-test.inc (hypot_test_data): Add more tests.
52543         * math/libm-test.inc: Add drem and pow10 to list of tested
52544         functions.
52545         (pow10_test): New function.
52546         (drem_test): Likewise.
52547         (drem_test_tonearest): Likewise.
52548         (drem_test_towardzero): Likewise.
52549         (drem_test_downward): Likewise.
52550         (drem_test_upward): Likewise.
52551         (main): Call the new functions.
52553         * math/libm-test.inc (finite_test_data): Remove.
52554         (finite_test): Run tests from isfinite_test_data.
52555         (gamma_test_data): Remove.
52556         (gamma_test): Run tests from lgamma_test_data.
52557         * sysdeps/i386/fpu/libm-test-ulps: Update.
52558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52560 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * manual/platform.texi: Add PowerPC PPR function set documentation.
52563         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52564         implementation.
52566 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52568         * math/libm-test.inc (MAX_EXP): Define.
52569         (ULPDIFF): Define.
52570         (ulp): New function.
52571         (check_float_internal): Use ULPDIFF.
52572         (cpow_test): Disable failing test.
52573         (check_ulp): Test ulp() implemetnation.
52574         (main): Call check_ulp before starting tests.
52576 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52578         * math/gen-libm-test.pl (generate_testfile): Do not handle
52579         START_DATA and END_DATA.
52580         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52581         END_DATA.
52582         (acos_tonearest_test_data): Likewise.
52583         (acos_towardzero_test_data): Likewise.
52584         (acos_downward_test_data): Likewise.
52585         (acos_upward_test_data): Likewise.
52586         (acosh_test_data): Likewise.
52587         (asin_test_data): Likewise.
52588         (asin_tonearest_test_data): Likewise.
52589         (asin_towardzero_test_data): Likewise.
52590         (asin_downward_test_data): Likewise.
52591         (asin_upward_test_data): Likewise.
52592         (asinh_test_data): Likewise.
52593         (atan_test_data): Likewise.
52594         (atanh_test_data): Likewise.
52595         (atan2_test_data): Likewise.
52596         (cabs_test_data): Likewise.
52597         (cacos_test_data): Likewise.
52598         (cacosh_test_data): Likewise.
52599         (carg_test_data): Likewise.
52600         (casin_test_data): Likewise.
52601         (casinh_test_data): Likewise.
52602         (catan_test_data): Likewise.
52603         (catanh_test_data): Likewise.
52604         (cbrt_test_data): Likewise.
52605         (ccos_test_data): Likewise.
52606         (ccosh_test_data): Likewise.
52607         (ceil_test_data): Likewise.
52608         (cexp_test_data): Likewise.
52609         (cimag_test_data): Likewise.
52610         (clog_test_data): Likewise.
52611         (clog10_test_data): Likewise.
52612         (conj_test_data): Likewise.
52613         (copysign_test_data): Likewise.
52614         (cos_test_data): Likewise.
52615         (cos_tonearest_test_data): Likewise.
52616         (cos_towardzero_test_data): Likewise.
52617         (cos_downward_test_data): Likewise.
52618         (cos_upward_test_data): Likewise.
52619         (cosh_test_data): Likewise.
52620         (cosh_tonearest_test_data): Likewise.
52621         (cosh_towardzero_test_data): Likewise.
52622         (cosh_downward_test_data): Likewise.
52623         (cosh_upward_test_data): Likewise.
52624         (cpow_test_data): Likewise.
52625         (cproj_test_data): Likewise.
52626         (creal_test_data): Likewise.
52627         (csin_test_data): Likewise.
52628         (csinh_test_data): Likewise.
52629         (csqrt_test_data): Likewise.
52630         (ctan_test_data): Likewise.
52631         (ctan_tonearest_test_data): Likewise.
52632         (ctan_towardzero_test_data): Likewise.
52633         (ctan_downward_test_data): Likewise.
52634         (ctan_upward_test_data): Likewise.
52635         (ctanh_test_data): Likewise.
52636         (ctanh_tonearest_test_data): Likewise.
52637         (ctanh_towardzero_test_data): Likewise.
52638         (ctanh_downward_test_data): Likewise.
52639         (ctanh_upward_test_data): Likewise.
52640         (erf_test_data): Likewise.
52641         (erfc_test_data): Likewise.
52642         (exp_test_data): Likewise.
52643         (exp_tonearest_test_data): Likewise.
52644         (exp_towardzero_test_data): Likewise.
52645         (exp_downward_test_data): Likewise.
52646         (exp_upward_test_data): Likewise.
52647         (exp10_test_data): Likewise.
52648         (exp2_test_data): Likewise.
52649         (expm1_test_data): Likewise.
52650         (fabs_test_data): Likewise.
52651         (fdim_test_data): Likewise.
52652         (finite_test_data): Likewise.
52653         (floor_test_data): Likewise.
52654         (fma_test_data): Likewise.
52655         (fma_towardzero_test_data): Likewise.
52656         (fma_downward_test_data): Likewise.
52657         (fma_upward_test_data): Likewise.
52658         (fmax_test_data): Likewise.
52659         (fmin_test_data): Likewise.
52660         (fmod_test_data): Likewise.
52661         (fpclassify_test_data): Likewise.
52662         (frexp_test_data): Likewise.
52663         (gamma_test_data): Likewise.
52664         (hypot_test_data): Likewise.
52665         (ilogb_test_data): Likewise.
52666         (isfinite_test_data): Likewise.
52667         (isgreater_test_data): Likewise.
52668         (isgreaterequal_test_data): Likewise.
52669         (isinf_test_data): Likewise.
52670         (isless_test_data): Likewise.
52671         (islessequal_test_data): Likewise.
52672         (islessgreater_test_data): Likewise.
52673         (isnan_test_data): Likewise.
52674         (isnormal_test_data): Likewise.
52675         (issignaling_test_data): Likewise.
52676         (isunordered_test_data): Likewise.
52677         (j0_test_data): Likewise.
52678         (j1_test_data): Likewise.
52679         (jn_test_data): Likewise.
52680         (ldexp_test_data): Likewise.
52681         (lgamma_test_data): Likewise.
52682         (lrint_test_data): Likewise.
52683         (lrint_tonearest_test_data): Likewise.
52684         (lrint_towardzero_test_data): Likewise.
52685         (lrint_downward_test_data): Likewise.
52686         (lrint_upward_test_data): Likewise.
52687         (llrint_test_data): Likewise.
52688         (llrint_tonearest_test_data): Likewise.
52689         (llrint_towardzero_test_data): Likewise.
52690         (llrint_downward_test_data): Likewise.
52691         (llrint_upward_test_data): Likewise.
52692         (log_test_data): Likewise.
52693         (log10_test_data): Likewise.
52694         (log1p_test_data): Likewise.
52695         (log2_test_data): Likewise.
52696         (logb_test_data): Likewise.
52697         (logb_downward_test_data): Likewise.
52698         (lround_test_data): Likewise.
52699         (llround_test_data): Likewise.
52700         (modf_test_data): Likewise.
52701         (nearbyint_test_data): Likewise.
52702         (nextafter_test_data): Likewise.
52703         (nexttoward_test_data): Likewise.
52704         (pow_test_data): Likewise.
52705         (pow_tonearest_test_data): Likewise.
52706         (pow_towardzero_test_data): Likewise.
52707         (pow_downward_test_data): Likewise.
52708         (pow_upward_test_data): Likewise.
52709         (remainder_test_data): Likewise.
52710         (remainder_tonearest_test_data): Likewise.
52711         (remainder_towardzero_test_data): Likewise.
52712         (remainder_downward_test_data): Likewise.
52713         (remainder_upward_test_data): Likewise.
52714         (remquo_test_data): Likewise.
52715         (rint_test_data): Likewise.
52716         (rint_tonearest_test_data): Likewise.
52717         (rint_towardzero_test_data): Likewise.
52718         (rint_downward_test_data): Likewise.
52719         (rint_upward_test_data): Likewise.
52720         (round_test_data): Likewise.
52721         (scalb_test_data): Likewise.
52722         (scalbn_test_data): Likewise.
52723         (scalbln_test_data): Likewise.
52724         (signbit_test_data): Likewise.
52725         (sin_test_data): Likewise.
52726         (sin_tonearest_test_data): Likewise.
52727         (sin_towardzero_test_data): Likewise.
52728         (sin_downward_test_data): Likewise.
52729         (sin_upward_test_data): Likewise.
52730         (sincos_test_data): Likewise.
52731         (sinh_test_data): Likewise.
52732         (sinh_tonearest_test_data): Likewise.
52733         (sinh_towardzero_test_data): Likewise.
52734         (sinh_downward_test_data): Likewise.
52735         (sinh_upward_test_data): Likewise.
52736         (sqrt_test_data): Likewise.
52737         (tan_test_data): Likewise.
52738         (tan_tonearest_test_data): Likewise.
52739         (tan_towardzero_test_data): Likewise.
52740         (tan_downward_test_data): Likewise.
52741         (tan_upward_test_data): Likewise.
52742         (tanh_test_data): Likewise.
52743         (tgamma_test_data): Likewise.
52744         (trunc_test_data): Likewise.
52745         (y0_test_data): Likewise.
52746         (y1_test_data): Likewise.
52747         (yn_test_data): Likewise.
52748         (significand_test_data): Likewise.
52750         * math/gen-libm-test.pl (@functions): Remove variable.
52751         (generate_testfile): Don't handle START and END lines.
52752         * math/libm-test.inc (START): New macro.
52753         (END): Likewise.
52754         (END_COMPLEX): Likewise.
52755         (acos_test): Use END macro without arguments.
52756         (acos_test_tonearest): Likewise.
52757         (acos_test_towardzero): Likewise.
52758         (acos_test_downward): Likewise.
52759         (acos_test_upward): Likewise.
52760         (acosh_test): Likewise.
52761         (asin_test): Likewise.
52762         (asin_test_tonearest): Likewise.
52763         (asin_test_towardzero): Likewise.
52764         (asin_test_downward): Likewise.
52765         (asin_test_upward): Likewise.
52766         (asinh_test): Likewise.
52767         (atan_test): Likewise.
52768         (atanh_test): Likewise.
52769         (atan2_test): Likewise.
52770         (cabs_test): Likewise.
52771         (cacos_test): Use END_COMPLEX macro without arguments.
52772         (cacosh_test): Likewise.
52773         (carg_test): Use END macro without arguments.
52774         (casin_test): Use END_COMPLEX macro without arguments.
52775         (casinh_test): Likewise.
52776         (catan_test): Likewise.
52777         (catanh_test): Likewise.
52778         (cbrt_test): Use END macro without arguments.
52779         (ccos_test): Use END_COMPLEX macro without arguments.
52780         (ccosh_test): Likewise.
52781         (ceil_test): Use END macro without arguments.
52782         (cexp_test): Use END_COMPLEX macro without arguments.
52783         (cimag_test): Use END macro without arguments.
52784         (clog_test): Use END_COMPLEX macro without arguments.
52785         (clog10_test): Likewise.
52786         (conj_test): Likewise.
52787         (copysign_test): Use END macro without arguments.
52788         (cos_test): Likewise.
52789         (cos_test_tonearest): Likewise.
52790         (cos_test_towardzero): Likewise.
52791         (cos_test_downward): Likewise.
52792         (cos_test_upward): Likewise.
52793         (cosh_test): Likewise.
52794         (cosh_test_tonearest): Likewise.
52795         (cosh_test_towardzero): Likewise.
52796         (cosh_test_downward): Likewise.
52797         (cosh_test_upward): Likewise.
52798         (cpow_test): Use END_COMPLEX macro without arguments.
52799         (cproj_test): Likewise.
52800         (creal_test): Use END macro without arguments.
52801         (csin_test): Use END_COMPLEX macro without arguments.
52802         (csinh_test): Likewise.
52803         (csqrt_test): Likewise.
52804         (ctan_test): Likewise.
52805         (ctan_test_tonearest): Likewise.
52806         (ctan_test_towardzero): Likewise.
52807         (ctan_test_downward): Likewise.
52808         (ctan_test_upward): Likewise.
52809         (ctanh_test): Likewise.
52810         (ctanh_test_tonearest): Likewise.
52811         (ctanh_test_towardzero): Likewise.
52812         (ctanh_test_downward): Likewise.
52813         (ctanh_test_upward): Likewise.
52814         (erf_test): Use END macro without arguments.
52815         (erfc_test): Likewise.
52816         (exp_test): Likewise.
52817         (exp_test_tonearest): Likewise.
52818         (exp_test_towardzero): Likewise.
52819         (exp_test_downward): Likewise.
52820         (exp_test_upward): Likewise.
52821         (exp10_test): Likewise.
52822         (exp2_test): Likewise.
52823         (expm1_test): Likewise.
52824         (fabs_test): Likewise.
52825         (fdim_test): Likewise.
52826         (finite_test): Likewise.
52827         (floor_test): Likewise.
52828         (fma_test): Likewise.
52829         (fma_test_towardzero): Likewise.
52830         (fma_test_downward): Likewise.
52831         (fma_test_upward): Likewise.
52832         (fmax_test): Likewise.
52833         (fmin_test): Likewise.
52834         (fmod_test): Likewise.
52835         (fpclassify_test): Likewise.
52836         (frexp_test): Likewise.
52837         (gamma_test): Likewise.
52838         (hypot_test): Likewise.
52839         (ilogb_test): Likewise.
52840         (isfinite_test): Likewise.
52841         (isgreater_test): Likewise.
52842         (isgreaterequal_test): Likewise.
52843         (isinf_test): Likewise.
52844         (isless_test): Likewise.
52845         (islessequal_test): Likewise.
52846         (islessgreater_test): Likewise.
52847         (isnan_test): Likewise.
52848         (isnormal_test): Likewise.
52849         (issignaling_test): Likewise.
52850         (isunordered_test): Likewise.
52851         (j0_test): Likewise.
52852         (j1_test): Likewise.
52853         (jn_test): Likewise.
52854         (ldexp_test): Likewise.
52855         (lgamma_test): Likewise.
52856         (lrint_test): Likewise.
52857         (lrint_test_tonearest): Likewise.
52858         (lrint_test_towardzero): Likewise.
52859         (lrint_test_downward): Likewise.
52860         (lrint_test_upward): Likewise.
52861         (llrint_test): Likewise.
52862         (llrint_test_tonearest): Likewise.
52863         (llrint_test_towardzero): Likewise.
52864         (llrint_test_downward): Likewise.
52865         (llrint_test_upward): Likewise.
52866         (log_test): Likewise.
52867         (log10_test): Likewise.
52868         (log1p_test): Likewise.
52869         (log2_test): Likewise.
52870         (logb_test): Likewise.
52871         (logb_test_downward): Likewise.
52872         (lround_test): Likewise.
52873         (llround_test): Likewise.
52874         (modf_test): Likewise.
52875         (nearbyint_test): Likewise.
52876         (nextafter_test): Likewise.
52877         (nexttoward_test): Likewise.
52878         (pow_test): Likewise.
52879         (pow_test_tonearest): Likewise.
52880         (pow_test_towardzero): Likewise.
52881         (pow_test_downward): Likewise.
52882         (pow_test_upward): Likewise.
52883         (remainder_test): Likewise.
52884         (remainder_test_tonearest): Likewise.
52885         (remainder_test_towardzero): Likewise.
52886         (remainder_test_downward): Likewise.
52887         (remainder_test_upward): Likewise.
52888         (remquo_test): Likewise.
52889         (rint_test): Likewise.
52890         (rint_test_tonearest): Likewise.
52891         (rint_test_towardzero): Likewise.
52892         (rint_test_downward): Likewise.
52893         (rint_test_upward): Likewise.
52894         (round_test): Likewise.
52895         (scalb_test): Likewise.
52896         (scalbn_test): Likewise.
52897         (scalbln_test): Likewise.
52898         (signbit_test): Likewise.
52899         (sin_test): Likewise.
52900         (sin_test_tonearest): Likewise.
52901         (sin_test_towardzero): Likewise.
52902         (sin_test_downward): Likewise.
52903         (sin_test_upward): Likewise.
52904         (sincos_test): Likewise.
52905         (sinh_test): Likewise.
52906         (sinh_test_tonearest): Likewise.
52907         (sinh_test_towardzero): Likewise.
52908         (sinh_test_downward): Likewise.
52909         (sinh_test_upward): Likewise.
52910         (sqrt_test): Likewise.
52911         (tan_test): Likewise.
52912         (tan_test_tonearest): Likewise.
52913         (tan_test_towardzero): Likewise.
52914         (tan_test_downward): Likewise.
52915         (tan_test_upward): Likewise.
52916         (tanh_test): Likewise.
52917         (tgamma_test): Likewise.
52918         (trunc_test): Likewise.
52919         (y0_test): Likewise.
52920         (y1_test): Likewise.
52921         (yn_test): Likewise.
52922         (significand_test): Likewise.
52924 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52926         [BZ #15381]
52927         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52929 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52931         [BZ #14894]
52932         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52933         __ppc_mdoio and __ppc_mdoom.
52934         * manual/platform.texi: Document new functions __ppc_yield,
52935         __ppc_mdoio and __ppc_mdoom.
52937 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52939         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52940         (main): Mention "tls" pseudo-hwcap is legacy.
52941         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52943 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52945         * math/gen-libm-test.pl (parse_args): Output only string of
52946         arguments as text for test name, not full call or descriptions of
52947         tests for extra outputs.
52948         (generate_testfile): Do not pass function name to parse_args.
52949         Generate this_func variable from START.
52950         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52951         field to arg_str.
52952         (struct test_ff_f_data): Likewise.
52953         (test_ff_f_data_nexttoward): Likewise.
52954         (struct test_fi_f_data): Likewise.
52955         (struct test_fl_f_data): Likewise.
52956         (struct test_if_f_data): Likewise.
52957         (struct test_fff_f_data): Likewise.
52958         (struct test_c_f_data): Likewise.
52959         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52960         (struct test_fF_f1_data): Likewise.
52961         (struct test_ffI_f1_data): Likewise.
52962         (struct test_c_c_data): Rename test_name field to arg_str.
52963         (struct test_cc_c_data): Likewise.
52964         (struct test_f_i_data): Likewise.
52965         (struct test_ff_i_data): Likewise.
52966         (struct test_f_l_data): Likewise.
52967         (struct test_f_L_data): Likewise.
52968         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52969         and extra2_name.
52970         (COMMON_TEST_SETUP): New macro.
52971         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52972         (COMMON_TEST_CLEANUP): Likewise.
52973         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52974         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52975         macros.
52976         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52977         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52978         macros.
52979         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52980         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52981         cleanup macros.
52982         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52983         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52984         macros.
52985         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52986         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52987         macros.
52988         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52989         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52990         cleanup macros.
52991         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52992         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52993         cleanup macros.
52994         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52995         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52996         cleanup macros.
52997         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52998         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52999         macros.
53000         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53001         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53002         macros.
53003         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53004         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53005         macros.
53006         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53007         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53008         cleanup macros.
53009         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53010         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53011         cleanup macros.
53012         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53013         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53014         macros.
53015         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53016         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53017         cleanup macros.
53018         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53019         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53020         macros.
53021         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53022         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53023         macros.
53024         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53025         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53026         cleanup macros.
53027         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53029 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53031         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53032         to _sifields.sigfault.
53033         (si_addr_lsb): Define new macro.
53034         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53035         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53036         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53038 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53040         [BZ #15441]
53041         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53042         returns -1.
53043         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53044         null return -1.
53045         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53046         loading the domain.
53048 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53050         * math/gen-libm-test.pl (parse_args): Do not include expected
53051         result in test name.
53052         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53053         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53054         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53055         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53056         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53059 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53061         * benchtests/Makefile: Sort function entries.
53063         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53064         tanh, asinh, acosh, atanh.
53065         * benchtests/acos-inputs: New file.
53066         * benchtests/acosh-inputs: New file.
53067         * benchtests/asin-inputs: New file.
53068         * benchtests/asinh-inputs: New file.
53069         * benchtests/atanh-inputs: New file.
53070         * benchtests/cosh-inputs: New file.
53071         * benchtests/log-inputs: New file.
53072         * benchtests/sinh-inputs: New file.
53073         * benchtests/tanh-inputs: New file.
53075 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53077         [BZ #15339]
53078         * posix/tst-getaddrinfo4.c: New test.
53079         * posix/Makefile (tests): Add it.
53081 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53083         [BZ #15339]
53084         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53085         when no services were used.
53086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53087         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53089 2013-05-21  Andreas Schwab  <schwab@suse.de>
53091         [BZ #15014]
53092         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53093         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53094         successful.
53095         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53096         redundant variable declarations and reallocation of buffer when
53097         parsing as IPv6 address.  Always set NSS status when called from
53098         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53099         buffer too small.  Correct computation of needed size.
53100         * nss/Makefile (tests): Add test-digits-dots.
53101         * nss/test-digits-dots.c: New test.
53103 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53105         * benchtests/Makefile: Remove instructions for adding
53106         benchmark tests.
53107         * benchtests/README: New file to explain how to execute and
53108         enhance the benchmark tests.
53110 2013-05-21  Andreas Schwab  <schwab@suse.de>
53112         [BZ #15493]
53113         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53114         * setjmp/tst-sigsetjmp.c: New test.
53116 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53118         * sysdeps/x86_64/memset.S (memset): New implementation.
53119         (__bzero): Likewise.
53120         (__memset_tail): New function.
53122 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53124         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53125         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53126         __memcpy_sse2_unaligned ifunc selection.
53127         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53128         Add memcpy-sse2-unaligned.S.
53129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53130         Add: __memcpy_sse2_unaligned.
53132 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53134         [BZ #15490]
53135         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53136         math_force_eval before restoring floating-point envrionment.
53137         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53138         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53139         Likewise.
53140         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53141         <math_private.h>.
53142         (__nearbyintl): Use math_force_eval before restoring
53143         floating-point environment.
53144         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53146         * math/gen-libm-test.pl (special_functions): Remove.
53147         (parse_args): Don't handle TEST_extra.  Handle functions with no
53148         return value.
53149         * math/libm-test.inc (struct test_sincos_data): Replace with
53150         struct test_fFF_11_data.
53151         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53152         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53153         (sincos_test_data): Change element type to struct
53154         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53155         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53156         RUN_TEST_LOOP_sincos.
53157         * math/README.libm-test: Don't mention special handling of
53158         individual functions.
53159         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53160         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53161         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53162         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53163         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53166         * math/gen-libm-test.pl (get_variable): Remove function.
53167         (parse_args): Don't show pointer parameters to call in test
53168         names.  Use "extra output N" in test names for extra outputs
53169         rather than naming variables.
53171 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53173         [BZ #15488]
53174         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53175         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53176         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53177         double tests.
53178         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53179         disable.
53180         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53181         check_long_double.
53183         * math/gen-libm-test.pl (@tests): Remove variable.
53184         ($count): Likewise.
53185         (new_test): Remove function.
53186         (show_exceptions): New function.
53187         (special_functions): Use show_exceptions instead of new_test.
53188         (parse_args): Likewise.
53189         (generate_testfile): Pass only function name in generated call to
53190         print_max_error or print_complex_max_error.
53191         (get_ulps): Do not handle complex tests specially.
53192         (output_test): Rename to ...
53193         (get_all_ulps_for_test): ... this.  Return a string rather than
53194         printing to a file.  Require ulps to be present.
53195         (output_ulps): Generate arrays rather than #defines.
53196         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53197         (struct ulp_data): New type.
53198         (BUILD_COMPLEX_ULP): Remove macro.
53199         (compare_ulp_data): New function.
53200         (find_ulps): Likewise.
53201         (find_test_ulps): Likewise.
53202         (find_function_ulps): Likewise.
53203         (find_complex_function_ulps): Likewise.
53204         (print_max_error): Determine allowed ulps using
53205         find_function_ulps.
53206         (print_complex_max_error): Determine allowed ulps using
53207         find_complex_function_ulps.
53208         (check_float_internal): Determine max ulps using find_test_ulps.
53209         (check_float): Do not take max_ulp parameter.  Update call to
53210         check_float_internal.
53211         (check_complex): Likewise.
53212         (check_int): Do not take max_ulp parameter.
53213         (check_long): Likewise.
53214         (check_bool): Likewise.
53215         (check_longlong): Likewise.
53216         (struct test_f_f_data): Remove max_ulp field.
53217         (struct test_ff_f_data): Likewise.
53218         (struct test_ff_f_data_nexttoward): Likewise.
53219         (struct test_fi_f_data): Likewise.
53220         (struct test_fl_f_data): Likewise.
53221         (struct test_if_f_data): Likewise.
53222         (struct test_fff_f_data): Likewise.
53223         (struct test_c_f_data): Likewise.
53224         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53225         (struct test_fF_f1_data): Likewise.
53226         (struct test_ffI_f1_data): Likewise.
53227         (struct test_c_c_data): Remove max_ulp field.
53228         (struct test_cc_c_data): Likewise.
53229         (struct test_f_i_data): Likewise.
53230         (struct test_ff_i_data): Likewise.
53231         (struct test_f_l_data): Likewise.
53232         (struct test_f_L_data): Likewise.
53233         (struct test_sincos_data): Likewise.
53234         (RUN_TEST_f_f): Do not handle ulps.
53235         (RUN_TEST_LOOP_f_f): Likewise.
53236         (RUN_TEST_2_f): Likewise.
53237         (RUN_TEST_LOOP_2_f): Likewise.
53238         (RUN_TEST_fff_f): Likewise.
53239         (RUN_TEST_LOOP_fff_f): Likewise.
53240         (RUN_TEST_c_f): Likewise.
53241         (RUN_TEST_LOOP_c_f): Likewise.
53242         (RUN_TEST_f_f1): Likewise.
53243         (RUN_TEST_LOOP_f_f1): Likewise.
53244         (RUN_TEST_fF_f1): Likewise.
53245         (RUN_TEST_LOOP_fF_f1): Likewise.
53246         (RUN_TEST_fI_f1): Likewise.
53247         (RUN_TEST_LOOP_fI_f1): Likewise.
53248         (RUN_TEST_ffI_f1): Likewise.
53249         (RUN_TEST_LOOP_ffI_f1): Likewise.
53250         (RUN_TEST_c_c): Likewise.
53251         (RUN_TEST_LOOP_c_c): Likewise.
53252         (RUN_TEST_cc_c): Likewise.
53253         (RUN_TEST_LOOP_cc_c): Likewise.
53254         (RUN_TEST_f_i): Likewise.
53255         (RUN_TEST_LOOP_f_i): Likewise.
53256         (RUN_TEST_f_i_tg): Likewise.
53257         (RUN_TEST_LOOP_f_i_tg): Likewise.
53258         (RUN_TEST_ff_i_tg): Likewise.
53259         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53260         (RUN_TEST_f_b): Likewise.
53261         (RUN_TEST_LOOP_f_b): Likewise.
53262         (RUN_TEST_f_b_tg): Likewise.
53263         (RUN_TEST_LOOP_f_b_tg): Likewise.
53264         (RUN_TEST_f_l): Likewise.
53265         (RUN_TEST_LOOP_f_l): Likewise.
53266         (RUN_TEST_f_L): Likewise.
53267         (RUN_TEST_LOOP_f_L): Likewise.
53268         (RUN_TEST_sincos): Likewise.
53269         (RUN_TEST_LOOP_sincos): Likewise.
53271 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53273         [BZ #15480]
53274         [BZ #15485]
53275         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53276         main case of finite arguments, set rounding mode to FE_TONEAREST
53277         and discard exceptions.
53278         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53279         exceptions.
53280         (remainder_tonearest_test_data): New variable.
53281         (remainder_test_tonearest): New function.
53282         (remainder_towardzero_test_data): New variable.
53283         (remainder_test_towardzero): New function.
53284         (remainder_downward_test_data): New variable.
53285         (remainder_test_downward): New function.
53286         (remainder_upward_test_data): New variable.
53287         (remainder_test_upward): New function.
53288         (main): Call the new test functions.
53290         * math/libm-test.inc (struct test_f_f1_data): Remove field
53291         extra_init.
53292         (struct test_fF_f1_data): Likewise.
53293         (struct test_ffI_f1_data): Likewise.
53294         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53295         based on value of EXTRA_EXPECTED.
53296         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53297         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53298         EXTRA_VAR based on value of EXTRA_EXPECTED.
53299         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53300         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53301         EXTRA_VAR based on value of EXTRA_EXPECTED.
53302         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53303         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53304         EXTRA_VAR based on value of EXTRA_EXPECTED.
53305         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53306         * math/gen-libm-test.pl (parse_args): Don't output initializers
53307         for extra output values.
53309         * math/libm-test.inc (check_int): Expect result to be exactly
53310         equal to expected value and do not handle ulps.
53311         (check_long): Likewise.
53312         (check_longlong): Likewise.
53314         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53315         exceptions.
53316         (cimag_test_data): Likewise.
53317         (conj_test_data): Likewise.
53318         (copysign_test_data): Likewise.
53319         (cproj_test_data): Likewise.
53320         (creal_test_data): Likewise.
53321         (fabs_test_data): Likewise.
53322         (fdim_test_data): Likewise.
53323         (finite_test_data): Likewise.
53324         (floor_test_data): Likewise.
53325         (fmax_test_data): Likewise.
53326         (fmin_test_data): Likewise.
53327         (fmod_test_data): Likewise.
53328         (fpclassify_test_data): Likewise.
53329         (frexp_test_data): Likewise.
53330         (ilogb_test_data): Likewise.
53331         (isfinite_test_data): Likewise.
53332         (isgreater_test_data): Likewise.
53333         (isgreaterequal_test_data): Likewise.
53334         (isinf_test_data): Likewise.
53335         (isless_test_data): Likewise.
53336         (islessequal_test_data): Likewise.
53337         (islessgreater_test_data): Likewise.
53338         (isnan_test_data): Likewise.
53339         (isnormal_test_data): Likewise.
53340         (issignaling_test_data): Likewise.
53341         (isunordered_test_data): Likewise.
53342         (ldexp_test_data): Likewise.
53343         (lrint_test_data): Likewise.
53344         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53345         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53346         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53347         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53348         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53349         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53350         test input.
53351         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53352         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53353         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53354         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53355         that test input.
53356         (lrint_downward_test_data): Test for "inexact" exceptions.
53357         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53358         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53359         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53360         test input.
53361         (lrint_upward_test_data): Test for "inexact" exceptions.
53362         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53363         test input.
53364         (llrint_test_data): Test for "inexact" exceptions.
53365         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53366         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53367         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53368         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53369         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53370         (llrint_downward_test_data): Test for "inexact" exceptions.
53371         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53372         (llrint_upward_test_data): Test for "inexact" exceptions.
53373         (logb_test_data): Likewise.
53374         (logb_downward_test_data): Likewise.
53375         (nextafter_test_data): Likewise.
53376         (nexttoward_test_data): Likewise.
53377         (remainder_test_data): Likewise.
53378         (remquo_test_data): Likewise.
53379         (scalbn_test_data): Likewise.
53380         (scalbln_test_data): Likewise.
53381         (signbit_test_data): Likewise.
53382         (sqrt_test_data): Likewise.
53383         (significand_test_data): Likewise.
53385 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53387         [BZ #15424]
53388         * benchtests/bench-modf.c (struct args): Mark arg0 as
53389         volatile.
53390         * scripts/bench.pl: Mark members of struct args as volatile.
53392 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53394         [BZ # 15497]
53395         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53396         negative infinity on POWER6 or lower.
53397         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53399 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53401         [BZ #15442]
53402         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53403         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53404         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53405         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53406         (_FP_SETQNAN): New macro.
53407         (_FP_SETQNAN_SEMIRAW): Likewise.
53408         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53409         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53410         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53411         (FP_EXTEND): Use _FP_FRAC_SNANP.
53412         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53413         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53414         into account.
53415         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53416         New macro.
53417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53418         Likewise.
53420 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53422         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53423         with DIVIDE_BY_ZERO_EXCEPTION.
53424         (gamma_test_data): Likewise.
53425         (lgamma_test_data): Likewise.
53426         (log_test_data): Likewise.
53427         (log10_test_data): Likewise.
53428         (log2_test_data): Likewise.
53429         (tgamma_test_data): Likewise.
53431         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53432         (acos_test_tonearest): Likewise.
53433         (acos_test_towardzero): Likewise.
53434         (acos_test_downward): Likewise.
53435         (acos_test_upward): Likewise.
53436         (acosh_test): Likewise.
53437         (asin_test): Likewise.
53438         (asin_test_tonearest): Likewise.
53439         (asin_test_towardzero): Likewise.
53440         (asin_test_downward): Likewise.
53441         (asin_test_upward): Likewise.
53442         (asinh_test): Likewise.
53443         (atan_test): Likewise.
53444         (atanh_test): Likewise.
53445         (atan2_test): Likewise.
53446         (cabs_test): Likewise.
53447         (cacos_test): Likewise.
53448         (cacosh_test): Likewise.
53449         (casin_test): Likewise.
53450         (casinh_test): Likewise.
53451         (catan_test): Likewise.
53452         (catanh_test): Likewise.
53453         (cbrt_test): Likewise.
53454         (ccos_test): Likewise.
53455         (ccosh_test): Likewise.
53456         (cexp_test): Likewise.
53457         (clog_test): Likewise.
53458         (clog10_test): Likewise.
53459         (cos_test): Likewise.
53460         (cos_test_tonearest): Likewise.
53461         (cos_test_towardzero): Likewise.
53462         (cos_test_downward): Likewise.
53463         (cos_test_upward): Likewise.
53464         (cosh_test): Likewise.
53465         (cosh_test_tonearest): Likewise.
53466         (cosh_test_towardzero): Likewise.
53467         (cosh_test_downward): Likewise.
53468         (cosh_test_upward): Likewise.
53469         (cpow_test): Likewise.
53470         (csin_test): Likewise.
53471         (csinh_test): Likewise.
53472         (csqrt_test): Likewise.
53473         (ctan_test): Likewise.
53474         (ctan_test_tonearest): Likewise.
53475         (ctan_test_towardzero): Likewise.
53476         (ctan_test_downward): Likewise.
53477         (ctan_test_upward): Likewise.
53478         (ctanh_test): Likewise.
53479         (ctanh_test_tonearest): Likewise.
53480         (ctanh_test_towardzero): Likewise.
53481         (ctanh_test_downward): Likewise.
53482         (ctanh_test_upward): Likewise.
53483         (erf_test): Likewise.
53484         (erfc_test): Likewise.
53485         (exp_test): Likewise.
53486         (exp_test_tonearest): Likewise.
53487         (exp_test_towardzero): Likewise.
53488         (exp_test_downward): Likewise.
53489         (exp_test_upward): Likewise.
53490         (exp10_test): Likewise.
53491         (exp2_test): Likewise.
53492         (expm1_test): Likewise.
53493         (fmod_test): Likewise.
53494         (gamma_test): Likewise.
53495         (hypot_test): Likewise.
53496         (j0_test): Likewise.
53497         (j1_test): Likewise.
53498         (jn_test): Likewise.
53499         (lgamma_test): Likewise.
53500         (log_test): Likewise.
53501         (log10_test): Likewise.
53502         (log1p_test): Likewise.
53503         (log2_test): Likewise.
53504         (logb_test_downward): Likewise.
53505         (pow_test): Likewise.
53506         (pow_test_tonearest): Likewise.
53507         (pow_test_towardzero): Likewise.
53508         (pow_test_downward): Likewise.
53509         (pow_test_upward): Likewise.
53510         (remainder_test): Likewise.
53511         (remquo_test): Likewise.
53512         (sin_test): Likewise.
53513         (sin_test_tonearest): Likewise.
53514         (sin_test_towardzero): Likewise.
53515         (sin_test_downward): Likewise.
53516         (sin_test_upward): Likewise.
53517         (sincos_test): Likewise.
53518         (sinh_test): Likewise.
53519         (sinh_test_tonearest): Likewise.
53520         (sinh_test_towardzero): Likewise.
53521         (sinh_test_downward): Likewise.
53522         (sinh_test_upward): Likewise.
53523         (sqrt_test): Likewise.
53524         (tan_test): Likewise.
53525         (tan_test_tonearest): Likewise.
53526         (tan_test_towardzero): Likewise.
53527         (tan_test_downward): Likewise.
53528         (tan_test_upward): Likewise.
53529         (tanh_test): Likewise.
53530         (tgamma_test): Likewise.
53531         (y0_test): Likewise.
53532         (y1_test): Likewise.
53533         (yn_test): Likewise.
53535         * math/gen-libm-test.pl (adjust_arg): Remove function.
53536         (special_function): Remove argument $in_func.  Only handle
53537         generating output for tables of tests, not inside functions.
53538         (parse_args): Likewise.
53539         (generate_testfile): Remove variable $in_func.  Update call to
53540         parse_args.
53541         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53542         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53543         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53544         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53545         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53546         (MAX_VALUE_INIT): Rename macro to max_value.
53547         (MIN_VALUE_INIT): Rename macro to min_value.
53548         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53549         (plus_zero): Remove variable.
53550         (minus_zero): Likewise.
53551         (plus_infty): Likewise.
53552         (minus_infty): Likewise.
53553         (qnan_value): Likewise.
53554         (max_value): Likewise.
53555         (min_value): Likewise.
53556         (min_subnorm_value): Likewise.
53558 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53560         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53561         uint64_t or uint32_t usage.
53562         * crypt/sha256-block.c: Likewise.
53563         * crypt/sha256-crypt.c: Likewise.
53564         * crypt/sha256.c: Likewise.
53565         * crypt/sha512-block.c: Likewise.
53566         * crypt/sha512-crypt.c: Likewise.
53567         * crypt/sha512.c: Likewise.
53568         * debug/backtrace-tst.c: Likewise.
53569         * debug/pcprofiledump.c: Likewise.
53570         * elf/cache.c: Likewise.
53571         * elf/dl-cache.c: Likewise.
53572         * elf/dl-misc.c: Likewise.
53573         * elf/dl-profile.c: Likewise.
53574         * elf/dl-support.c: Likewise.
53575         * elf/ldconfig.c: Likewise.
53576         * elf/sprof.c: Likewise.
53577         * iconv/dummy-repertoire.c: Likewise.
53578         * iconv/iconv_charmap.c: Likewise.
53579         * iconv/skeleton.c: Likewise.
53580         * iconvdata/8bit-generic.c: Likewise.
53581         * iconvdata/cp737.h: Likewise.
53582         * iconvdata/cp775.h: Likewise.
53583         * iconvdata/ibm1008.h: Likewise.
53584         * iconvdata/ibm1025.h: Likewise.
53585         * iconvdata/ibm1046.h: Likewise.
53586         * iconvdata/ibm1097.h: Likewise.
53587         * iconvdata/ibm1112.h: Likewise.
53588         * iconvdata/ibm1122.h: Likewise.
53589         * iconvdata/ibm1123.h: Likewise.
53590         * iconvdata/ibm1124.h: Likewise.
53591         * iconvdata/ibm1129.h: Likewise.
53592         * iconvdata/ibm1130.h: Likewise.
53593         * iconvdata/ibm1132.h: Likewise.
53594         * iconvdata/ibm1133.h: Likewise.
53595         * iconvdata/ibm1137.h: Likewise.
53596         * iconvdata/ibm1140.h: Likewise.
53597         * iconvdata/ibm1141.h: Likewise.
53598         * iconvdata/ibm1142.h: Likewise.
53599         * iconvdata/ibm1143.h: Likewise.
53600         * iconvdata/ibm1144.h: Likewise.
53601         * iconvdata/ibm1145.h: Likewise.
53602         * iconvdata/ibm1146.h: Likewise.
53603         * iconvdata/ibm1147.h: Likewise.
53604         * iconvdata/ibm1148.h: Likewise.
53605         * iconvdata/ibm1149.h: Likewise.
53606         * iconvdata/ibm1153.h: Likewise.
53607         * iconvdata/ibm1154.h: Likewise.
53608         * iconvdata/ibm1155.h: Likewise.
53609         * iconvdata/ibm1156.h: Likewise.
53610         * iconvdata/ibm1157.h: Likewise.
53611         * iconvdata/ibm1158.h: Likewise.
53612         * iconvdata/ibm1160.h: Likewise.
53613         * iconvdata/ibm1161.h: Likewise.
53614         * iconvdata/ibm1162.h: Likewise.
53615         * iconvdata/ibm1163.h: Likewise.
53616         * iconvdata/ibm1164.h: Likewise.
53617         * iconvdata/ibm1166.h: Likewise.
53618         * iconvdata/ibm1167.h: Likewise.
53619         * iconvdata/ibm12712.h: Likewise.
53620         * iconvdata/ibm1390.h: Likewise.
53621         * iconvdata/ibm1399.h: Likewise.
53622         * iconvdata/ibm16804.h: Likewise.
53623         * iconvdata/ibm4517.h: Likewise.
53624         * iconvdata/ibm4899.h: Likewise.
53625         * iconvdata/ibm4909.h: Likewise.
53626         * iconvdata/ibm4971.h: Likewise.
53627         * iconvdata/ibm5347.h: Likewise.
53628         * iconvdata/ibm803.h: Likewise.
53629         * iconvdata/ibm856.h: Likewise.
53630         * iconvdata/ibm901.h: Likewise.
53631         * iconvdata/ibm902.h: Likewise.
53632         * iconvdata/ibm9030.h: Likewise.
53633         * iconvdata/ibm9066.h: Likewise.
53634         * iconvdata/ibm921.h: Likewise.
53635         * iconvdata/ibm922.h: Likewise.
53636         * iconvdata/ibm9448.h: Likewise.
53637         * iconvdata/isiri-3342.h: Likewise.
53638         * iconvdata/jis0201.h: Likewise.
53639         * include/link.h: Likewise.
53640         * include/netdb.h: Likewise.
53641         * inet/check_native.c: Likewise.
53642         * inet/check_pf.c: Likewise.
53643         * inet/getipv4sourcefilter.c: Likewise.
53644         * inet/getnameinfo.c: Likewise.
53645         * inet/getsourcefilter.c: Likewise.
53646         * inet/htonl.c: Likewise.
53647         * inet/setipv4sourcefilter.c: Likewise.
53648         * inet/setsourcefilter.c: Likewise.
53649         * inet/test-inet6_opt.c: Likewise.
53650         * inet/tst-network.c: Likewise.
53651         * locale/C-collate.c: Likewise.
53652         * locale/C-ctype.c: Likewise.
53653         * locale/C-time.c: Likewise.
53654         * locale/C-translit.h: Likewise.
53655         * locale/loadarchive.c: Likewise.
53656         * locale/programs/3level.h: Likewise.
53657         * locale/programs/charmap.c: Likewise.
53658         * locale/programs/charmap.h: Likewise.
53659         * locale/programs/ld-address.c: Likewise.
53660         * locale/programs/ld-collate.c: Likewise.
53661         * locale/programs/ld-ctype.c: Likewise.
53662         * locale/programs/ld-identification.c: Likewise.
53663         * locale/programs/ld-measurement.c: Likewise.
53664         * locale/programs/ld-messages.c: Likewise.
53665         * locale/programs/ld-monetary.c: Likewise.
53666         * locale/programs/ld-name.c: Likewise.
53667         * locale/programs/ld-numeric.c: Likewise.
53668         * locale/programs/ld-paper.c: Likewise.
53669         * locale/programs/ld-telephone.c: Likewise.
53670         * locale/programs/ld-time.c: Likewise.
53671         * locale/programs/linereader.c: Likewise.
53672         * locale/programs/locale.c: Likewise.
53673         * locale/programs/locarchive.c: Likewise.
53674         * locale/programs/locfile.h: Likewise.
53675         * locale/programs/repertoire.c: Likewise.
53676         * locale/programs/simple-hash.c: Likewise.
53677         * locale/programs/simple-hash.h: Likewise.
53678         * malloc/memusage.c: Likewise.
53679         * malloc/memusagestat.c: Likewise.
53680         * nis/nis_defaults.c: Likewise.
53681         * nis/nis_hash.c: Likewise.
53682         * nis/nis_print.c: Likewise.
53683         * nis/nis_xdr.c: Likewise.
53684         * nscd/connections.c: Likewise.
53685         * nscd/hstcache.c: Likewise.
53686         * nscd/nscd_gethst_r.c: Likewise.
53687         * nscd/nscd_getserv_r.c: Likewise.
53688         * nscd/nscd_helper.c: Likewise.
53689         * nscd/servicescache.c: Likewise.
53690         * nss/makedb.c: Likewise.
53691         * nss/nss_db/db-XXX.c: Likewise.
53692         * nss/nss_db/db-initgroups.c: Likewise.
53693         * nss/nss_db/db-netgrp.c: Likewise.
53694         * nss/nss_files/files-network.c: Likewise.
53695         * nss/nss_files/files-parse.c: Likewise.
53696         * posix/bug-regex5.c: Likewise.
53697         * posix/fnmatch_loop.c: Likewise.
53698         * posix/regcomp.c: Likewise.
53699         * posix/regexec.c: Likewise.
53700         * posix/tst-rfc3484-2.c: Likewise.
53701         * posix/tst-rfc3484-3.c: Likewise.
53702         * posix/tst-rfc3484.c: Likewise.
53703         * resolv/nss_dns/dns-canon.c: Likewise.
53704         * resolv/nss_dns/dns-network.c: Likewise.
53705         * resolv/res_init.c: Likewise.
53706         * resolv/res_mkquery.c: Likewise.
53707         * resolv/tst-aton.c: Likewise.
53708         * stdlib/cxa_atexit.c: Likewise.
53709         * stdlib/cxa_finalize.c: Likewise.
53710         * stdlib/gen-fpioconst.c: Likewise.
53711         * stdlib/strtol_l.c: Likewise.
53712         * string/tst-endian.c: Likewise.
53713         * sunrpc/auth_des.c: Likewise.
53714         * sunrpc/clnt_udp.c: Likewise.
53715         * sunrpc/rtime.c: Likewise.
53716         * sunrpc/svcauth_des.c: Likewise.
53717         * sunrpc/xdr.c: Likewise.
53718         * sunrpc/xdr_intXX_t.c: Likewise.
53719         * sunrpc/xdr_rec.c: Likewise.
53720         * sysdeps/generic/ldconfig.h: Likewise.
53721         * sysdeps/generic/ldsodefs.h: Likewise.
53722         * sysdeps/generic/memusage.h: Likewise.
53723         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53724         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53725         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53726         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53729         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53730         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53731         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53733         * sysdeps/posix/getaddrinfo.c: Likewise.
53734         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53735         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53736         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53737         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53738         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53739         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53740         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53741         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53742         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53743         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53744         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53745         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53746         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53747         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53748         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53749         * sysdeps/x86_64/dl-tls.h: Likewise.
53750         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53751         * time/alt_digit.c: Likewise.
53752         * time/era.c: Likewise.
53753         * wcsmbs/tst-c16c32-1.c: Likewise.
53755 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53757         * math/libm-test.inc (struct test_sincos_data): New type.
53758         (RUN_TEST_LOOP_sincos): New macro.
53759         (sincos_test_data): New variable.
53760         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53762 2013-05-16  Richard Henderson  <rth@redhat.com>
53764         * math/atest-exp2.c (LIMB64): New macro.
53765         (CONSTSZ): New macro.
53766         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53767         (hexdig): Move ...
53768         (print_mpn_fp): ... to function scope.
53769         (read_mpn_hex): Remove.
53770         (get_log2): Remove.
53771         (exp2_mpn): Use mp_log2.
53772         (main): Use mp_exp1.
53774 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53776         * math/libm-test.inc: Remove comment about not testing "inexact"
53777         exceptions.
53778         (INEXACT_EXCEPTION): New macro.
53779         (NO_INEXACT_EXCEPTION): Likewise.
53780         (INVALID_EXCEPTION_OK): Update value.
53781         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53782         (OVERFLOW_EXCEPTION_OK): Likewise.
53783         (UNDERFLOW_EXCEPTION_OK): Likewise.
53784         (IGNORE_ZERO_INF_SIGN): Likewise.
53785         (ERRNO_UNCHANGED): Likewise.
53786         (ERRNO_EDOM): Likewise.
53787         (ERRNO_ERANGE): Likewise.
53788         (test_exceptions): Handle testing "inexact" exceptions.
53789         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53790         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53791         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53792         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53793         INEXACT_EXCEPTION.
53794         (rint_towardzero_test_data): Likewise.
53795         (rint_downward_test_data): Likewise.
53796         (rint_upward_test_data): Likewise.
53798         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53799         with OVERFLOW_EXCEPTION.
53800         (exp10_test_data): Likewise.
53801         (exp2_test_data): Likewise.
53802         (expm1_test_data): Likewise.
53803         (lgamma_test_data): Likewise.
53804         (pow_test_data): Likewise.
53805         (tgamma_test_data): Likewise.
53806         (yn_test_data): Remove duplicate test of overflow.
53808         * math/libm-test.inc (struct test_cc_c_data): New type.
53809         (RUN_TEST_LOOP_cc_c): New macro.
53810         (cpow_test_data): New variable.
53811         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53813         * math/libm-test.inc (struct test_f_L_data): New type.
53814         (RUN_TEST_LOOP_f_L): New macro.
53815         (llrint_test_data): New variable.
53816         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53817         (llrint_tonearest_test_data): New variable.
53818         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53819         (llrint_towardzero_test_data): New variable.
53820         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53821         (llrint_downward_test_data): New variable.
53822         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53823         (llrint_upward_test_data): New variable.
53824         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53825         (llround_test_data): New variable.
53826         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53828 2013-05-13  Peter Collingbourne  <pcc@google.com>
53830         * math/atest-exp2.c (get_log2): Remove const attribute.
53832 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53834         * math/libm-test.inc (struct test_f_l_data): New type.
53835         (RUN_TEST_LOOP_f_l): New macro.
53836         (lrint_test_data): New variable.
53837         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53838         (lrint_tonearest_test_data): New variable.
53839         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53840         (lrint_towardzero_test_data): New variable.
53841         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53842         (lrint_downward_test_data): New variable.
53843         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53844         (lrint_upward_test_data): New variable.
53845         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53846         (lround_test_data): New variable.
53847         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53849 2013-05-15  Peter Collingbourne  <pcc@google.com>
53851         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53852         (EXTRACT_WORDS64) Use where appropriate.
53853         (INSERT_WORDS64) Likewise.
53855         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53856         constraints with x constraints.
53857         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53859         * malloc/obstack.c (_obstack_compat): Add initializer.
53861 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53863         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53864         si_trapno and add si_addr_lsb to _sifields.sigfault.
53865         (si_trapno): Remove macro.
53866         (si_addr_lsb): Define new macro.
53867         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53869 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53871         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53872         instead of TEST_f_l.
53873         (llrint_test_tonearest): Likewise.
53874         (llrint_test_towardzero): Likewise.
53875         (llrint_test_downward): Likewise.
53876         (llrint_test_upward): Likewise.
53877         (llround_test): Likewise.
53879         * math/libm-test.inc (struct test_f_i_data): Add comment.
53880         (RUN_TEST_LOOP_f_b): New macro.
53881         (RUN_TEST_LOOP_f_b_tg): Likewise.
53882         (finite_test_data): New variable.
53883         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53884         (isfinite_test_data): New variable.
53885         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53886         (isinf_test_data): New variable.
53887         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53888         (isnan_test_data): New variable.
53889         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53890         (isnormal_test_data): New variable.
53891         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53892         (issignaling_test_data): New variable.
53893         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53894         (signbit_test_data): New variable.
53895         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53897         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53898         with INVALID_EXCEPTION.
53899         (acosh_test_data): Likewise.
53900         (asin_test_data): Likewise.
53901         (atanh_test_data): Likewise.
53902         (fmod_test_data): Likewise.
53903         (log_test_data): Likewise.
53904         (log10_test_data): Likewise.
53905         (log2_test_data): Likewise.
53906         (pow_test_data): Likewise.
53907         (sqrt_test_data): Likewise.
53908         (y0_test_data): Likewise.
53909         (y1_test_data): Likewise.
53910         (yn_test_data): Likewise.
53912         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53913         function contents.
53915         * math/libm-test.inc (struct test_ff_i_data): New type.
53916         (RUN_TEST_LOOP_ff_i_tg): New macro.
53917         (isgreater_test_data): New variable.
53918         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53919         (isgreaterequal_test_data): New variable.
53920         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53921         (isless_test_data): New variable.
53922         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53923         (islessequal_test_data): New variable.
53924         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53925         (islessgreater_test_data): New variable.
53926         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53927         (isunordered_test_data): New variable.
53928         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53930 2013-05-14  David S. Miller  <davem@davemloft.net>
53932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53934 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53936         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53938         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53939         extra_test to int.
53940         (struct test_f_i_data): Change type of max_ulp to int.
53942         * math/libm-test.inc (test_ffI_f1_data): New type.
53943         (RUN_TEST_LOOP_ffI_f1): New macro.
53944         (remquo_test_data): New variable.
53945         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53947         * setjmp/tst-setjmp-fp.c: New file.
53948         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53949         (link-libm): New variable.
53950         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53952         * math/libm-test.inc (struct test_f_i_data): New type.
53953         (RUN_TEST_LOOP_f_i): New macro.
53954         (RUN_TEST_LOOP_f_i_tg): Likewise.
53955         (fpclassify_test_data): New variable.
53956         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53957         (ilogb_test_data): New variable.
53958         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53960         * math/libm-test.inc (scalbln_test): Correct function name in END
53961         call.
53963         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53964         (RUN_TEST_LOOP_fI_f1): New macro.
53965         (frexp_test_data): New variable.
53966         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53968         * math/libm-test.inc (struct test_fF_f1_data): New type.
53969         (RUN_TEST_LOOP_fF_f1): New macro.
53970         (modf_test_data): New variable.
53971         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53973         * math/libm-test.inc (struct test_f_f1_data): New type.
53974         (RUN_TEST_LOOP_f_f1): New macro.
53975         (gamma_test_data): New variable.
53976         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53977         (lgamma_test_data): New variable.
53978         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53980 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53982         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53983         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53984         (main): Comment "tls" pseudo-hwcap.
53986 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53988         * math/libm-test.inc (struct test_fl_f_data): New type.
53989         (RUN_TEST_LOOP_fl_f): New variable.
53990         (scalbln_test_data): New variable.
53991         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53993         * math/libm-test.inc (struct test_fi_f_data): New type.
53994         (RUN_TEST_LOOP_fi_f): New macro.
53995         (ldexp_test_data): New variable.
53996         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53997         (scalbn_test_data): New variable.
53998         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54000         * math/libm-test.inc (struct test_c_f_data): New type.
54001         (RUN_TEST_LOOP_c_f): New macro.
54002         (cabs_test_data): New variable.
54003         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54004         (carg_test_data): New variable.
54005         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54006         (cimag_test_data): New variable.
54007         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54008         (creal_test_data): New variable.
54009         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54011         * math/libm-test.inc (struct test_if_f_data): New type.
54012         (RUN_TEST_LOOP_if_f): New macro.
54013         (jn_test_data): New variable.
54014         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54015         (yn_test_data): New variable.
54016         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54018         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54020 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54022         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54023         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54025 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54027         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54028         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54029         (bench-deps): Add bench-timing.h.
54030         * benchtests-bench-skeleton.c: Include bench-timing.h.
54031         (main): Use TIMING_* macros instead of clock_gettime.
54032         * benchtests/bench-timing.h: New file.
54034         [BZ #14582]
54035         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54036         Renamed from _LIB_VERSION.
54037         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54039 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54041         * math/libm-test.inc (struct test_fff_f_data): New type.
54042         (RUN_TEST_LOOP_fff_f): New macro.
54043         (fma_test_data): New variable.
54044         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54045         (fma_towardzero_test_data): New variable.
54046         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54047         (fma_downward_test_data): New variable.
54048         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54049         (fma_upward_test_data): New variable.
54050         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54052         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54053         (struct test_c_c_data): New type.
54054         (RUN_TEST_LOOP_c_c): New macro.
54055         (cacos_test_data): New variable.
54056         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54057         (cacosh_test_data): New variable.
54058         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54059         (casin_test_data): New variable.
54060         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54061         (casinh_test_data): New variable.
54062         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54063         (catan_test_data): New variable.
54064         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54065         (catanh_test_data): New variable.
54066         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54067         (ccos_test_data): New variable.
54068         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54069         (ccosh_test_data): New variable.
54070         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54071         (cexp_test_data): New variable.
54072         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54073         (clog_test_data): New variable.
54074         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54075         (clog10_test_data): New variable.
54076         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54077         (conj_test_data): New variable.
54078         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54079         (cproj_test_data): New variable.
54080         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54081         (csin_test_data): New variable.
54082         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54083         (csinh_test_data): New variable.
54084         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54085         (csqrt_test_data): New variable.
54086         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54087         (ctan_test_data): New variable.
54088         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54089         (ctan_tonearest_test_data): New variable.
54090         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54091         (ctan_towardzero_test_data): New variable.
54092         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54093         (ctan_downward_test_data): New variable.
54094         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54095         (ctan_upward_test_data): New variable.
54096         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54097         (ctanh_test_data): New variable.
54098         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54099         (ctanh_tonearest_test_data): New variable.
54100         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54101         (ctanh_towardzero_test_data): New variable.
54102         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54103         (ctanh_downward_test_data): New variable.
54104         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54105         (ctanh_upward_test_data): New variable.
54106         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54107         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54108         of BUILD_COMPLEX.
54110         * math/libm-test.inc (struct test_ff_f_data): New type.
54111         (struct test_ff_f_data_nexttoward): Likewise.
54112         (RUN_TEST_LOOP_2_f): New macro.
54113         (RUN_TEST_LOOP_ff_f): Likewise.
54114         (atan2_test_data): New variable.
54115         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54116         (copysign_test_data): New variable.
54117         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54118         (fdim_test_data): New variable.
54119         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54120         (fmax_test_data): New variable.
54121         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54122         (fmin_test_data): New variable.
54123         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54124         (fmod_test_data): New variable.
54125         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54126         (hypot_test_data): New variable.
54127         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54128         (nextafter_test_data): New variable.
54129         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54130         (nexttoward_test_data): New variable.
54131         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54132         (pow_test_data): New variable.
54133         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54134         (pow_tonearest_test_data): New variable.
54135         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54136         (pow_towardzero_test_data): New variable.
54137         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54138         (pow_downward_test_data): New variable.
54139         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54140         (pow_upward_test_data): New variable.
54141         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54142         (remainder_test_data): New variable.
54143         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54144         (scalb_test_data): New variable.
54145         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54146         * sysdeps/i386/fpu/libm-test-ulps: Update.
54148 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54150         * math/libm-test.inc (fma_test): Use max_value instead of local
54151         variable fltmax.
54152         (nextafter_test): Likewise.
54154         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54155         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54156         (acos_downward_test_data): New variable.
54157         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54158         (acos_upward_test_data): New variable.
54159         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54160         (acosh_test_data): New variable.
54161         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54162         (asin_test_data): New variable.
54163         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54164         (asin_tonearest_test_data): New variable.
54165         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54166         (asin_towardzero_test_data): New variable.
54167         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54168         (asin_downward_test_data): New variable.
54169         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54170         (asin_upward_test_data): New variable.
54171         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54172         (asinh_test_data): New variable.
54173         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54174         (atan_test_data): New variable.
54175         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54176         (atanh_test_data): New variable.
54177         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54178         (cbrt_test_data): New variable.
54179         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54180         (ceil_test_data): New variable.
54181         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54182         (cos_test_data): New variable.
54183         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54184         (cos_tonearest_test_data): New variable.
54185         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54186         (cos_towardzero_test_data): New variable.
54187         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54188         (cos_downward_test_data): New variable.
54189         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54190         (cos_upward_test_data): New variable.
54191         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54192         (cosh_test_data): New variable.
54193         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54194         (cosh_tonearest_test_data): New variable.
54195         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54196         (cosh_towardzero_test_data): New variable.
54197         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54198         (cosh_downward_test_data): New variable.
54199         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54200         (cosh_upward_test_data): New variable.
54201         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54202         (erf_test_data): New variable.
54203         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54204         (erfc_test_data): New variable.
54205         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54206         (exp_test_data): New variable.
54207         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54208         (exp_tonearest_test_data): New variable.
54209         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54210         (exp_towardzero_test_data): New variable.
54211         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54212         (exp_downward_test_data): New variable.
54213         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54214         (exp_upward_test_data): New variable.
54215         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54216         (exp10_test_data): New variable.
54217         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54218         (exp2_test_data): New variable.
54219         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54220         (expm1_test_data): New variable.
54221         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54222         (fabs_test_data): New variable.
54223         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54224         (floor_test_data): New variable.
54225         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54226         (j0_test_data): New variable.
54227         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54228         (j1_test_data): New variable.
54229         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54230         (log_test_data): New variable.
54231         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54232         (log10_test_data): New variable.
54233         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54234         (log1p_test_data): New variable.
54235         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54236         (log2_test_data): New variable.
54237         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54238         (logb_test_data): New variable.
54239         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54240         (logb_downward_test_data): New variable.
54241         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54242         (nearbyint_test_data): New variable.
54243         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54244         (rint_test_data): New variable.
54245         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54246         (rint_tonearest_test_data): New variable.
54247         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54248         (rint_towardzero_test_data): New variable.
54249         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54250         (rint_downward_test_data): New variable.
54251         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54252         (rint_upward_test_data): New variable.
54253         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54254         (round_test_data): New variable.
54255         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54256         (sin_test_data): New variable.
54257         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54258         (sin_tonearest_test_data): New variable.
54259         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54260         (sin_towardzero_test_data): New variable.
54261         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54262         (sin_downward_test_data): New variable.
54263         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54264         (sin_upward_test_data): New variable.
54265         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54266         (sinh_test_data): New variable.
54267         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54268         (sinh_tonearest_test_data): New variable.
54269         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54270         (sinh_towardzero_test_data): New variable.
54271         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54272         (sinh_downward_test_data): New variable.
54273         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54274         (sinh_upward_test_data): New variable.
54275         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54276         (sqrt_test_data): New variable.
54277         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54278         (tan_test_data): New variable.
54279         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54280         (tan_tonearest_test_data): New variable.
54281         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54282         (tan_towardzero_test_data): New variable.
54283         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54284         (tan_downward_test_data): New variable.
54285         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54286         (tan_upward_test_data): New variable.
54287         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54288         (tanh_test_data): New variable.
54289         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54290         (tgamma_test_data): New variable.
54291         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54292         (trunc_test_data): New variable.
54293         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54294         (y0_test_data): New variable.
54295         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54296         (y1_test_data): New variable.
54297         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54298         (significand_test_data): New variable.
54299         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54301 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54303         [BZ #12387]
54304         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54306 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54308         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54310 2013-05-10  Andreas Jaeger  <aj@suse.de>
54312         [BZ #15448]
54313         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54314         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54316 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54318         * math/gen-libm-test.pl (adjust_arg): New function.
54319         (special_functions): Handle generating output in both functions
54320         and arrays.
54321         (parse_args): Likewise.
54322         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54323         $in_func argument to parse_args.
54324         * math/libm-test.inc (struct test_f_f_data): New type.
54325         (IF_ROUND_INIT_): New macro.
54326         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54327         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54328         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54329         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54330         (ROUND_RESTORE_): Likewise.
54331         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54332         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54333         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54334         (ROUND_RESTORE_FE_UPWARD): Likewise.
54335         (RUN_TEST_LOOP_f_f): New macro.
54336         (acos_test_data): New variable.
54337         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54338         (acos_tonearest_test_data): New variable.
54339         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54341 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54343         * benchtests/bench-skeleton.c (startup): Fix coding style.
54345 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54347         [BZ #6809]
54348         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54349         negative infinity argument.
54350         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54351         negative infinity argument.
54352         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54353         negative infinity argument.
54354         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54355         domain errors.
54357 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54359         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54360         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54361         * iconv/iconv_prog.c (main): Likewise.
54362         * locale/programs/charmap-dir.c (charmap_readdir)
54363         (fopen_uncompressed): Likewise.
54364         * locale/programs/locfile.c (siblings_uncached)
54365         (write_locale_data): Use lstat64 instead of lstat.
54366         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54367         stat.
54369 2013-05-10  Andreas Jaeger  <aj@suse.de>
54371         [BZ #15395]
54372         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54373         localization.
54374         Include <locale.h>.
54376 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54378         * elf/dl-close.c (_dl_close_worker): Add comments.
54380 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54382         [BZ #15359]
54383         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54384         high part of pi/2.
54385         (__ieee754_rem_pio2l): Update comments.
54387         [BZ #15429]
54388         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54389         high part of pi/2.
54390         (__ieee754_rem_pio2l): Update comments.
54392         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54393         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54395         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54396         M_PI_4l.
54398         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54399         (M_PI_34_LOG10El): Likewise.
54400         (M_PI2_LOG10El): Likewise.
54401         (M_PI4_LOG10El): Likewise.
54402         (M_PI_LOG10El): Likewise.
54404 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54408 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54410         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54411         (MINUS_ZERO_INIT): Likewise.
54412         (PLUS_INFTY_INIT): Likewise.
54413         (MINUS_INFTY_INIT): Likewise.
54414         (QNAN_VALUE_INIT): Likewise.
54415         (MAX_VALUE_INIT): Likewise.
54416         (MIN_VALUE_INIT): Likewise.
54417         (MIN_SUBNORM_VALUE_INIT): Likewise.
54418         (plus_zero): Initialize with PLUS_ZERO_INIT.
54419         (minus_zero): Initialize with MINUS_ZERO_INIT.
54420         (plus_infty): Initialize with PLUS_INFTY_INIT.
54421         (minus_infty): Initialize with MINUS_INFTY_INIT.
54422         (qnan_value): Initialize with QNAN_VALUE_INIT.
54423         (max_value): Initialize with MAX_VALUE_INIT.
54424         (min_value): Initialize with MIN_VALUE_INIT.
54425         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54427         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54428         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54429         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54430         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54432         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54433         (RUN_TEST_2_f): Likewise.
54434         (RUN_TEST_ff_f): Likewise.
54435         (RUN_TEST_fi_f): Likewise.
54436         (RUN_TEST_fl_f): Likewise.
54437         (RUN_TEST_fff_f): Likewise.
54438         (RUN_TEST_c_f): Likewise.
54439         (RUN_TEST_f_f1): Likewise.
54440         (RUN_TEST_fF_f1): Likewise.
54441         (RUN_TEST_fI_f1): Likewise.
54442         (RUN_TEST_ffI_f1): Likewise.
54443         (RUN_TEST_c_c): Likewise.
54444         (RUN_TEST_cc_c): Likewise.
54445         (RUN_TEST_f_i): Likewise.
54446         (RUN_TEST_f_i_tg): Likewise.
54447         (RUN_TEST_ff_i_tg): Likewise.
54448         (RUN_TEST_f_b): Likewise.
54449         (RUN_TEST_f_b_tg): Likewise.
54450         (RUN_TEST_f_l): Likewise.
54451         (RUN_TEST_f_L): Likewise.
54452         (RUN_TEST_sincos): Likewise.
54453         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54454         whether to show exceptions.  Do not include ");\n" in return
54455         value.
54456         (special_functions): Output call to RUN_TEST_sincos instead of
54457         check_float calls.  Update calls to new_test.
54458         (parse_args): Output call to single RUN_TEST_* macro instead of
54459         check_* calls and other assignments.  Update calls to new_test.
54461         [BZ #2546]
54462         [BZ #2560]
54463         [BZ #5159]
54464         [BZ #15426]
54465         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54466         input to result for tgamma overflow.
54467         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54468         (gamma_coeff): New variable.
54469         (NCOEFF): New macro.
54470         (gamma_positive): New function.
54471         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54472         underflow here.  Use gamma_positive instead of exp (lgamma) for
54473         other arguments.
54474         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54475         (gamma_coeff): New variable.
54476         (NCOEFF): New macro.
54477         (gammaf_positive): New function.
54478         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54479         underflow here.  Use gamma_positive instead of exp (lgamma) for
54480         other arguments.
54481         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54482         (gamma_coeff): New variable.
54483         (NCOEFF): New macro.
54484         (gammal_positive): New function.
54485         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54486         underflow here.  Use gamma_positive instead of exp (lgamma) for
54487         other arguments.
54488         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54489         (gamma_coeff): New variable.
54490         (NCOEFF): New macro.
54491         (gammal_positive): New function.
54492         (__ieee754_gammal_r): Handle positive infinity, overflow and
54493         underflow here.  Handle NaN the same as positive infinity.  Remove
54494         check x < 0xffffffff for negative integers.  Use gamma_positive
54495         instead of exp (lgamma) for other arguments.
54496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54497         (gamma_coeff): New variable.
54498         (NCOEFF): New macro.
54499         (gammal_positive): New function.
54500         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54501         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54502         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54503         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54504         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54505         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54506         * sysdeps/generic/math_private.h (__gamma_productf): New
54507         prototype.
54508         (__gamma_product): Likewise.
54509         (__gamma_productl): Likewise.
54510         * math/Makefile (libm-calls): Add gamma_product.
54511         * math/libm-test.inc (tgamma_test): Add more tests.
54512         * sysdeps/i386/fpu/libm-test-ulps: Update.
54513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54515 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54517         * benchtests/bench-skeleton.c (main): Preheat CPU.
54519 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54521         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54523 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54525         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54526         and _dl_skip_args_internal.
54528 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54530         * manual/message.texi (Message Translation): Talk about users.
54531         Message to key mapping impacts design.
54533 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54535         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54537         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54539         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54540         * sysdeps/wordsize-64/glob64.c: ... here.
54542         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54543         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54544         New macros.
54546         * debug/getlogin_r_chk.c: Moved to ...
54547         * login/getlogin_r_chk.c: ... here.
54548         * debug/Makefile (routines): Move getlogin_r_chk to ...
54549         * login/Makefile (routines): ... here.
54550         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54551         * login/Versions (libc: GLIBC_2.4): ... here.
54553         * io/poll.c (__poll): Renamed from poll.
54554         Add libc_hidden_def.
54555         (poll): Define as weak alias.
54557         * debug/ptsname_r_chk.c: Moved to ...
54558         * login/ptsname_r_chk.c: ... here.
54559         * debug/Makefile (routines): Move ptsname_r_chk to ...
54560         * login/Makefile (routines): ... here.
54561         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54562         * login/Versions (libc: GLIBC_2.4): ... here.
54564         * posix/getlogin.c: Moved to ...
54565         * login/getlogin.c: ... here.
54566         * posix/getlogin_r.c: Moved to ...
54567         * login/getlogin_r.c: ... here.
54568         * posix/getlogin_r.c: Moved to ...
54569         * login/getlogin_r.c: ... here.
54570         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54571         * login/Makefile (routines): ... here.
54572         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54573         * login/Versions (libc: GLIBC_2.0): ... here.
54575         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54576         (setrlimit): Define as weak alias.
54578         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54579         Call __ names for open, ftruncate, and close.
54580         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54581         (truncate): Define as weak alias.
54583 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54585         * math/gen-libm-test.pl (parse_args): Initialize x before each
54586         test of frexp, modf and remquo.
54588         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54589         test signgam value.
54591 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54593         [BZ #15418]
54594         [BZ #15419]
54595         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54596         internal tests.
54597         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54599 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54601         * elf/dl-writev.h: New file.
54602         * elf/dl-misc.c: Include it.
54603         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54604         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54606 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54608         * math/libm-test.inc (noXFails): Remove variable.
54609         (noXPasses): Likewise.
54610         (BUILD_COMPLEX_INT): Remove macro.
54611         (print_screen): Remove xfail argument.
54612         (print_screen_max_error): Likewise.
54613         (update_stats): Likewise.
54614         (print_max_error): Likewise.  Update calls to other affected
54615         functions.
54616         (print_complex_max_error): Likewise.
54617         (test_single_exception): Update calls to print_screen.
54618         (test_single_errno): Likewise.
54619         (check_float_internal): Remove xfail argument.  Update calls to
54620         other affected functions.
54621         (check_float): Likewise.
54622         (check_complex): Likewise.
54623         (check_int): Likewise.
54624         (check_long): Likewise.
54625         (check_bool): Likewise.
54626         (check_longlong): Likewise.
54627         (main): Don't print noXFails and noXPasses.
54628         * math/gen-libm-test.pl (top level): Don't mention expected
54629         failure handling in comment.
54630         (new_test): Don't handle expected failures.
54631         (parse_args): Don't mention expected failure handling in comment.
54632         (generate_testfile): Don't handle expected failures.
54633         (parse_ulps): Likewise.
54634         (print_ulps_file): Likewise.
54635         (get_failure): Remove function.
54636         (output_test): Don't handle expected failures.
54637         * make/README.libm-test: Don't mention expected failure handling.
54639         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54640         (minus_zero): Likewise.
54641         (plus_infty): Likewise.
54642         (minus_infty): Likewise.
54643         (qnan_value): Likewise.
54644         (max_value): Likewise.
54645         (min_value): Likewise.
54646         (min_subnorm_value): Likewise.
54647         (initialize): Do not initialize those variables dynamically.
54649 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54651         * io/open.c (__open_2): Moved to ...
54652         * io/open_2.c: ... this new file.
54653         * io/open64.c (__open64_2): Moved to ...
54654         * io/open64_2.c: ... this new file.
54655         * io/openat.c (__openat_2): Moved to ...
54656         * io/openat_2.c: ... this new file.
54657         * io/openat64.c (__openat64_2): Moved to ...
54658         * io/openat64_2.c: ... this new file.
54659         * io/Makefile (routines): Add them.
54660         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54661         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54662         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54663         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54664         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54665         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54666         (__openat64): Add hidden_ver.
54667         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54668         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54670         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54671         Separately conditionalize setting of GLRO(dl_sysinfo) so
54672         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54673         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54675 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54677         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54678         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54679         definition.
54680         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54681         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54682         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54683         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54684         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54686 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54688         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54689         test signgam value.
54691         * math/libm-test.inc (hypot_test): Do not use
54692         IGNORE_ZERO_INF_SIGN.
54694 2013-05-03  Andreas Jaeger  <aj@suse.de>
54696         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54697         Linux 3.9.
54698         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54699         (PF_MAX): Adjust for VSOCK change.
54701 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54705 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54707         [BZ #15264]
54708         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54709         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54710         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54712 2013-05-02  David S. Miller  <davem@davemloft.net>
54714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54716 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54718         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54720 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54722         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54724 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54726         [BZ #14952]
54727         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54728         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54729         Use __attribute__ ((__gnu_inline__)).
54730         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54731         Don't use __attribute__ ((__gnu_inline__)).
54733 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54735         [BZ #15423]
54736         * math/s_catan.c (__catan): Handle small real or imaginary part of
54737         input specially to avoid spurious underflow.
54738         * math/s_catanf.c (__catanf): Likewise.
54739         * math/s_catanh.c (__catanh): Likewise.
54740         * math/s_catanhf.c (__catanhf): Likewise.
54741         * math/s_catanhl.c (__catanhl): Likewise.
54742         * math/s_catanl.c (__catanl): Likewise.
54743         * math/libm-test.inc (catan_test): Add more tests.
54744         (catanh_test): Likewise.
54745         * sysdeps/i386/fpu/libm-test-ulps: Update.
54746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54748 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54752 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54754         [BZ #15416]
54755         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54756         accurately for denominator in atan2.
54757         * math/s_catanf.c (__catanf): Likewise.
54758         * math/s_catanh.c (__catanh): Likewise.
54759         * math/s_catanhf.c (__catanhf): Likewise.
54760         * math/s_catanhl.c (__catanhl): Likewise.
54761         * math/s_catanl.c (__catanl): Likewise.
54762         * math/libm-test.inc (catan_test): Add more tests.
54763         (catanh_test): Likewise.
54764         * sysdeps/i386/fpu/libm-test-ulps: Update.
54765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54767 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54769         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54771         * benchtests/Makefile (bench): Remove slow benchmarks.
54772         * benchtests/atan-inputs: Add slow benchmark inputs.
54773         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54774         (BENCH_FUNC): Accept variant offset.
54775         (VARIANT): Define.
54776         * benchtests/bench-skeleton.c (main): Run benchmark for each
54777         variant.
54778         * benchtests/cos-inputs: Add slow benchmark inputs.
54779         * benchtests/exp-inputs: Likewise.
54780         * benchtests/pow-inputs: Likewise.
54781         * benchtests/sin-inputs: Likewise.
54782         * benchtests/slowatan-inputs: Remove.
54783         * benchtests/slowatan.c: Remove.
54784         * benchtests/slowcos-inputs: Remove.
54785         * benchtests/slowcos.c: Remove.
54786         * benchtests/slowexp-inputs: Remove.
54787         * benchtests/slowexp.c: Remove.
54788         * benchtests/slowpow-inputs: Remove.
54789         * benchtests/slowpow.c: Remove.
54790         * benchtests/slowsin-inputs: Remove.
54791         * benchtests/slowsin.c: Remove.
54792         * benchtests/slowtan-inputs: Remove.
54793         * benchtests/slowtan.c: Remove.
54794         * benchtests/tan-inputs: Add slow benchmark inputs.
54795         * scripts/bench.pl: Parse comments and directives.
54797         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54798         in CPPFLAGS.
54799         ($(objpfx)bench-%.c): Remove *-ITER.
54800         * benchtests/bench-modf.c: Remove definition of ITER.
54801         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54802         (main): Loop for DURATION seconds instead of fixed number of
54803         iterations.
54804         * scripts/bench.pl: Don't expect iterations in parameters.
54806 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54808         * io/fchdir.c (__fchdir): Renamed from fchdir.
54809         (fchdir): Define as weak alias.
54811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54813         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54814         (ERRNO_EDOM): Likewise.
54815         (ERRNO_ERANGE): Likewise.
54816         (noErrnoTests): New variable.
54817         (init_max_error): Set errno to 0.
54818         (test_single_errno): New function.
54819         (test_errno): Likewise.
54820         (check_float_internal): Call test_errno.  Set errno to 0.
54821         (check_complex): Refer to errno tests in comment.
54822         (check_int): Call test_errno.  Set errno to 0.
54823         (check_long): Likewise.
54824         (check_bool): Likewise.
54825         (check_longlong): Likewise.
54826         (cos_test): Use ERRNO_* flags for errno tests instead of
54827         check_int.
54828         (expm1_test): Likewise.
54829         (fmod_test): Likewise.
54830         (ilogb_test): Likewise.
54831         (lgamma_test): Likewise.
54832         (pow_test): Likewise.
54833         (remainder_test): Likewise.
54834         (sin_test): Likewise.
54835         (tan_test): Likewise.
54836         (yn_test): Likewise.
54837         (initialize): Set errno to 0.
54838         (main): Print number of errno tests.
54839         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54841 2013-04-29  Andreas Jaeger  <aj@suse.de>
54843         [BZ #15084]
54844         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54845         and RES_USEVC.
54847         [BZ #15085]
54848         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54849         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54850         unimplemented.
54852         [BZ #15380]
54853         * stdlib/random.c (__initstate): Return NULL if
54854         __initstate fails.
54856         [BZ #15086]
54857         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54858         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54859         RES_SNGLKUPREOP.
54861 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54865 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54867         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54868         of individual tests.
54869         (casin_test): Likewise.
54870         (casinh_test): Likewise.
54872 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54874         [BZ #15409]
54875         * math/s_catan.c (__catan): Handle arguments with large real or
54876         imaginary part separately without squaring.
54877         * math/s_catanf.c (__catanf): Likewise.
54878         * math/s_catanh.c (__catanh): Likewise.
54879         * math/s_catanhf.c (__catanhf): Likewise.
54880         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54881         and redefine.
54882         (__catanhl): Handle arguments with large real or imaginary part
54883         separately without squaring.
54884         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54885         and redefine.
54886         (__catanl): Handle arguments with large real or imaginary part
54887         separately without squaring.
54888         * math/libm-test.inc (catan_test): Add more tests.
54889         (catanh_test): Likewise.
54890         * sysdeps/i386/fpu/libm-test-ulps: Update.
54891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54893 2013-04-27  Andreas Jaeger  <aj@suse.de>
54895         [BZ #15007]
54896         * stdlib/stdlib.h: Update guards for qecvt.
54897         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54898         <stdlib.h>.
54900 2013-04-27  Allan McRae  <allan@archlinux.org>
54902         * sysdeps/i386/fpu/libm-test-ulps: Update.
54904 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54906         [BZ #15406]
54907         * math/s_catan.c: Include <float.h>.
54908         (__catan): Ensure underflow exception occurs for underflowed
54909         result.
54910         * math/s_catanf.c: Include <float.h>.
54911         (__catanf): Ensure underflow exception occurs for underflowed
54912         result.
54913         * math/s_catanh.c: Include <float.h>.
54914         (__catanh): Ensure underflow exception occurs for underflowed
54915         result.
54916         * math/s_catanhf.c: Include <float.h>.
54917         (__catanhf): Ensure underflow exception occurs for underflowed
54918         result.
54919         * math/s_catanhl.c: Include <float.h>.
54920         (__catanhl): Ensure underflow exception occurs for underflowed
54921         result.
54922         * math/s_catanl.c: Include <float.h>.
54923         (__catanl): Ensure underflow exception occurs for underflowed
54924         result.
54925         * math/libm-test.inc (catan_test): Add more tests.
54926         (catanh_test): Likewise.
54928         [BZ #15405]
54929         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54930         underflowed result.
54931         * math/s_ccoshf.c (__ccoshf): Likewise.
54932         * math/s_ccoshl.c (__ccoshl): Likewise.
54933         * math/s_csin.c (__csin): Likewise.
54934         * math/s_csinf.c (__csinf): Likewise.
54935         * math/s_csinh.c (__csinh): Likewise.
54936         * math/s_csinhf.c (__csinhf): Likewise.
54937         * math/s_csinhl.c (__csinhl): Likewise.
54938         * math/s_csinl.c (__csinl): Likewise.
54939         * math/libm-test.inc (ccos_test): Add more tests.
54940         (ccosh_test): Likewise.
54941         (csin_test): Likewise.
54942         (csinh_test): Likewise.
54944 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54946         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54947         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54948         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54949         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54950         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54951         powerpc/power5+/fpu folders.
54952         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54955 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54959 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54961         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54962         additions to variable.
54963         [$(config-machine) = x86_64] (modules-names): Likewise.
54964         ($(objpfx)tst-audit3): Remove dependency.
54965         ($(objpfx)tst-audit3.out): Likewise.
54966         ($(objpfx)tst-audit4): Likewise.
54967         ($(objpfx)tst-audit4.out): Likewise.
54968         ($(objpfx)tst-audit5): Likewise.
54969         ($(objpfx)tst-audit5.out): Likewise.
54970         ($(objpfx)tst-audit6): Likewise.
54971         ($(objpfx)tst-audit6.out): Likewise.
54972         ($(objpfx)tst-audit7): Likewise.
54973         ($(objpfx)tst-audit7.out): Likewise.
54974         (tst-audit3-ENV): Remove variable.
54975         (tst-audit4-ENV): Likewise.
54976         (tst-audit5-ENV): Likewise.
54977         (tst-audit6-ENV): Likewise.
54978         (tst-audit7-ENV): Likewise.
54979         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54980         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54981         addition to variable.
54982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54984         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54985         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54986         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54987         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54988         tst-audit3, tst-audit4 and tst-audit5.
54989         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54990         tst-audit6 and tst-audit7.
54991         [$(subdir) = elf] (modules-names): Add audit modules for those
54992         tests.
54993         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54994         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54995         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54996         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54997         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54998         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54999         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55000         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55001         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55002         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55003         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55004         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55005         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55006         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55007         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55008         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55009         Likewise.
55010         [$(subdir) = elf && $(config-cflags-avx) = yes]
55011         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55012         [$(subdir) = elf && $(config-cflags-avx) = yes]
55013         (CFLAGS-tst-auditmod4a.c): Likewise.
55014         [$(subdir) = elf && $(config-cflags-avx) = yes]
55015         (CFLAGS-tst-auditmod4b.c): Likewise.
55016         [$(subdir) = elf && $(config-cflags-avx) = yes]
55017         (CFLAGS-tst-auditmod6b.c): Likewise.
55018         [$(subdir) = elf && $(config-cflags-avx) = yes]
55019         (CFLAGS-tst-auditmod6c.c): Likewise.
55020         [$(subdir) = elf && $(config-cflags-avx) = yes]
55021         (CFLAGS-tst-auditmod7b.c): Likewise.
55022         * elf/tst-audit3.c: Move to ...
55023         * sysdeps/x86_64/tst-audit3.c: ... here.
55024         * elf/tst-audit4.c: Move to ...
55025         * sysdeps/x86_64/tst-audit4.c: ... here.
55026         * elf/tst-audit5.c: Move to ...
55027         * sysdeps/x86_64/tst-audit5.c: ... here.
55028         * elf/tst-audit6.c: Move to ...
55029         * sysdeps/x86_64/tst-audit6.c: ... here.
55030         * elf/tst-audit7.c: Move to ...
55031         * sysdeps/x86_64/tst-audit7.c: ... here.
55032         * elf/tst-auditmod3a.c: Move to ...
55033         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55034         * elf/tst-auditmod3b.c: Move to ...
55035         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55036         * elf/tst-auditmod4a.c: Move to ...
55037         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55038         * elf/tst-auditmod4b.c: Move to ...
55039         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55040         * elf/tst-auditmod5a.c: Move to ...
55041         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55042         * elf/tst-auditmod5b.c: Move to ...
55043         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55044         * elf/tst-auditmod6a.c: Move to ...
55045         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55046         * elf/tst-auditmod6b.c: Move to ...
55047         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55048         * elf/tst-auditmod6c.c: Move to ...
55049         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55050         * elf/tst-auditmod7a.c: Move to ...
55051         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55052         * elf/tst-auditmod7b.c: Move to ...
55053         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55055 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55057         [BZ #15366]
55058         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55059         define unconditionally.
55060         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55061         define unconditionally.
55062         (INT8_C, INT16_C, etc.): Likewise.
55064 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55066         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55067         __ehdr_start with hidden visibility.
55069         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55071 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55073         * math/libm-test.inc (cos_test): Use accurate hex constants.
55074         (sincost_test): Likewise.
55076 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55078         * math/libm-test.inc (catan_test): Add more tests.
55079         (catanh_test): Likewise.
55081         * math/s_catanf.c (__catanf): Use suffixed floating-point
55082         constants.
55083         * math/s_catanhf.c (__catanhf): Likewise.
55084         * math/s_catanhl.c (__catanhl): Likewise.
55085         * math/s_catanl.c (__catanl): Likewise.
55087         [BZ #15394]
55088         * math/s_catan.c (__catan): Calculate imaginary part of result
55089         with log1p not log unless computing log of number close to 0.
55090         * math/s_catanf.c (__catanf): Likewise.
55091         * math/s_catanl.c (__catanl): Likewise.
55092         * math/s_catanh.c (__catanh): Calculate real part of result with
55093         log1p not log unless computing log of number close to 0.
55094         * math/s_catanhf.c (__catanhf): Likewise.
55095         * math/s_catanhl.c (__catanhl): Likewise.
55096         * math/libm-test.inc (catan_test): Add more tests.
55097         (catanh_test): Likewise.
55098         * sysdeps/i386/fpu/libm-test-ulps: Update.
55099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55101 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55103         * benchtests/Makefile: Mention files in which fast and slow
55104         paths of math functions are implemented.
55106 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55108         * sysdeps/posix/timespec_get.c: New file.
55110 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55112         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55113         POWER.
55114         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55115         for POWER.
55116         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55117         powerpc/power5/fpu folders.
55118         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55119         * benchtests/Makefile: Add modf testcase.
55120         * benchtests/bench-modf.c: New file: Benchmark test for mo
55122 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55124         [BZ #14888]
55125         * time/Makefile (tests): Add tst-strptime-whitespace.
55126         * time/strptime_l.c (get_number): Use ISSPACE.
55127         (__strptime_internal): Likewise.
55128         * time/tst-strptime-whitespace.c: New test case.
55130 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55132         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55133         member.
55134         (_nss_files_init): Set it here.
55136 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55138         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55139         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55140         unsigned.
55142 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55144         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55146 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55148         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55149         size just once.
55151 2013-04-21  David S. Miller  <davem@davemloft.net>
55153         * po/ru.po: Update Russion translation from translation project.
55155 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55157         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55158         and setfsgid.
55160 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55162         * configure.in: Remove i386 configure warning. Remove i386 case.
55163         * configure: Regenerate.
55164         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55165         Add example to error message.
55166         * sysdeps/i386/configure: Regenerate.
55168 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55170         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55171         slowtan.
55172         * benchtests/cos-inputs: New file.
55173         * benchtests/slowcos-inputs: New file.
55174         * benchtests/slowcos.c: New file.
55175         * benchtests/slowtan-inputs: New file.
55176         * benchtests/slowtan.c: New file.
55177         * benchtests/tan-inputs: New file.
55179 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55181         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55182         considered kosher.
55184 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55186         * benchtests/Makefile: Include cppflags-iterator.mk to add
55187         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55189         * Makefile.in (bench-clean): New target.
55190         * benchtests/Makefile (bench-clean): Likewise.
55192 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55194         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55196 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55198         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55200 2013-04-15  Andreas Schwab  <schwab@suse.de>
55202         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55204         * nscd/pwdcache.c (cache_addpw): Likewise.
55205         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55206         more than recsize.
55208 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55210         * benchtests/Makefile (bench): Write all output to
55211         bench-out.tmp together.
55213 2013-04-15  Andreas Schwab  <schwab@suse.de>
55215         * nscd/nscd.c (main): Don't fork again after closing files.
55217 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55219         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55221         * benchtests/Rules (bench-deps): Collect dependencies into a
55222         single variable.  Add Makefile to dependencies.
55223         ($(objpfx)bench-%.c): Depend on bench-deps.
55225 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55226             Xavier Roche  <roche+kml2@exalead.com>
55228         [BZ #15361]
55229         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55230         just that it's a file descriptor.
55231         * manual/llio.texi (Synchronizing AIO Operations): Update description
55232         for EBADF error from aio_fsync.
55234 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55236         * Rules (bench): Move target definition...
55237         * benchtests/Makefile: ... here.
55239 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55241         * math/libm-test.inc (cos_test): Fix PI/2 test.
55242         (sincos_test): Likewise.
55243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55244         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55246 2013-04-11  Andreas Schwab  <schwab@suse.de>
55248         [BZ #13988]
55249         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55250         accept exponent character only when digits were seen.
55251         * stdio-common/Makefile (tests): Add bug26.
55252         * stdio-common/bug26.c: New file.
55254         [BZ #14293]
55255         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55256         non-freeable.
55258 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55260         * Makeconfig (rtld-prefix): Define built linker prefix.
55261         * Rules (run-bench): Use it.
55262         * math/Makefile (run-regen-ulps): Likewise.
55264         * Rules (bench): Remove eval.
55266 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55267             Roland McGrath  <roland@hack.frob.com>
55268             Ondrej Bilka  <neleai@seznam.cz>
55270         [BZ #15346]
55271         * time/getdate.c: Include ctype.h and alloca.h.
55272         (__getdate_r): Trim leading and trailing spaces of input.
55273         * time/tst-getdate.c (tests): Add tests with leading and
55274         trailing spaces.
55276 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55278         [BZ #14280]
55279         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55280         when computing value.
55282 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55284         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55285         Use testrun.sh to run libm tests.
55287         [BZ #15309]
55288         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55290 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55292         [BZ #15264]
55293         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55295 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55297         * Makefile.in (regen-ulps): New target.
55298         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55299         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55300         [ifneq (no,$(PERL)] (regen-ulps): New target.
55301         [ifeq (no,$(PERL)] (regen-ulps): New target.
55302         * math/libm-test.inc (ulps_file_name): Define.
55303         (output_dir): New variable.
55304         (options): Add "output-dir" option.
55305         (parse_opt): Handle 'o' case.
55306         (main): If output_dir is non-NULL use it as a prefix
55307         otherwise use "".
55308         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55310 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55312         [BZ #10060, #10062]
55313         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55314         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55315         fail configure if __sync_val_compare_and_swap is not inlined.
55316         * sysdeps/i386/configure: Regenerate.
55317         * configure.in: Build for i686 when configured for i386.
55318         * configure: Regenerate.
55319         * README: Remove i386 reference.
55321 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55323         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55324         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55326 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55328         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55329         (lmsnanval): New variables.
55330         (F): Add conversion tests.
55331         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55332         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55334         * stdio-common/tstdiomisc.c (F): Properly collect individual
55335         tests' results.
55337         [BZ #14686, #15336]
55338         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55339         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55340         Instead, use input NaN values or generate a qNaN by arithmetic
55341         operation.  Also fix bugs to comply with the standard.
55342         * math/libm-test.inc (remainder_test): Add more tests.
55344         [BZ #15335, #15342]
55345         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55347         input NaN values or generate a qNaN by arithmetic operation.
55349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55350         unreachable code.
55352         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55353         definitions.
55355 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55357         [BZ #14478]
55358         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55359         underflowed result.
55360         * math/s_cexpf.c (__cexpf): Likewise.
55361         * math/s_cexpl.c (__cexpl): Likewise.
55362         * math/libm-test.inc (cexp_test): Add more tests.
55364 2013-04-03  Andreas Schwab  <schwab@suse.de>
55366         [BZ #15330]
55367         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55368         order arrays from heap if bigger than alloca cutoff.
55370 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55372         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55373         (SNAN_TESTS_double): Refer to GCC PR56831.
55374         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55375         GCC PR56828.
55377 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55379         * Rules (bench): Move bench.out after the run is complete.
55381         * Rules (bench): Echo currently running benchmark.
55383         * benchtests/Makefile (bench): Add atan and slowatan.
55384         * benchtests/atan-inputs: New file.
55385         * benchtests/slowatan-inputs: New file.
55386         * benchtests/slowatan.c: New file.
55388         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55389         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55390         its value.
55392         [BZ #15305]
55393         * sysdeps/unix/sysv/linux/kernel-features.h
55394         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55395         __ASSUME_XFS_RESTRICTED_CHOWN.
55396         * sysdeps/unix/sysv/linux/pathconf.c
55397         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55398         Save and restore errno.
55400 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55402         [BZ #15327]
55403         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55404         arguments using __kernel_casinh.
55405         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55406         arguments using __kernel_casinhf.
55407         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55408         arguments using __kernel_casinhl.
55409         * math/libm-test.inc (cacosh_test): Add more tests.
55410         * sysdeps/i386/fpu/libm-test-ulps: Update.
55411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55413 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55415         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55418         * bench/Makefile (bench): Add sin and slowsin.
55419         * benchtests/sin-inputs: New file.
55420         * benchtests/slowsin-inputs: New file.
55421         * benchtests/slowsin.c: New file.
55423         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55424         (bench): Add slowexp and slowpow.
55425         (exp-ITER): Increase iterations.
55426         (pow-ITER): Likewise.
55427         * benchtests/exp-inputs: Change input.
55428         * benchtests/pow-inputs: Likewise.
55429         * benchtests/slowexp-inputs: New file.
55430         * benchtests/slowexp.c: New file.
55431         * benchtests/slowpow-inputs: New file.
55432         * benchtests/slowpow.c: New file.
55434 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55436         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55437         instructions.
55438         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55439         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55440         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55441         * benchtests/Makefile: Add rint benchtest.
55442         * benchtests/rint-inputs: Input for rint benchtest.
55444 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55446         * Versions.def (libm): Add GLIBC_2.18.
55447         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55448         hidden libm prototypes.
55449         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55450         * math/Makefile (libm-calls): Add s_issignaling.
55451         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55452         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55453         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55454         declaration.
55455         * math/math.h [__USE_GNU] (issignaling): New macro.
55456         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55457         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55458         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55459         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55460         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55461         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55462         * manual/arith.texi (issignaling): New section.
55463         * manual/libm-err-tab.pl (@all_functions): Update comment.
55464         * math/gen-libm-test.pl (parse_args): Apply special handling for
55465         issignaling.
55466         * math/libm-test.inc (print_float, issignaling_test): New
55467         functions.
55468         (check_float_internal): Add issignaling checks.
55469         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55470         default definition.
55471         * sysdeps/powerpc/math-tests.h: New file.
55472         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55473         tests.
55474         * math/test-snan.c (TEST_FUNC): Likewise.
55476 2013-03-30  David S. Miller  <davem@davemloft.net>
55478         * po/de.po: Update from translation team.
55480 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55482         [BZ #10357]
55483         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55484         imaginary part less than 1.0 and real part less than 0.5
55485         specially.
55486         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55487         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55488         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55489         (cacos_test): Add more tests.
55490         (casin_test): Likewise.
55491         (casinh_test): Likewise.
55492         * sysdeps/i386/fpu/libm-test-ulps: Update.
55493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55495 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55497         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55498         ONE with its value.
55500         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55501         (__pow_mp): Replace ONE and MONE with their values.
55502         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55503         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55504         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55505         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55506         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55507         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55509         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55511         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55512         (__pow_mp): Replace ZERO and MZERO with their values.
55513         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55514         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55515         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55517         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55518         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55519         (__sqr): Likewise.
55521         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55523         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55525 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55527         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55528         Declare with __attribute__ ((weak)).
55529         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55530         Call __call_tls_dtors only if it's not NULL.
55532 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55534         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55535         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55536         magic __ehdr_start linker symbol if it's defined.
55537         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55538         them up here if it was already done.
55540         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55541         (_dl_aux_init): Use const in cast when setting it.
55542         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55543         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55544         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55546         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55547         Declare them here.
55548         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55549         * csu/libc-tls.c: Nor here.
55550         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55552         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55553         (__libc_message): Never call vsyslog.
55555 2013-03-28  Alan Modra  <amodra@gmail.com>
55557         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55558         Define as empty.
55559         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55560         Likewise.
55562 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55564         [BZ #15214]
55565         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55566         underflow.
55567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55569 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55571         [BZ #15304]
55572         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55573         Don't add gid passed as argument.
55575         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55577 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55579         [BZ #15307]
55580         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55581         imaginary part between 1.0 and 1.5 and real part less than 0.5
55582         specially.
55583         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55584         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55585         * math/libm-test.inc (cacos_test): Add more tests.
55586         (casin_test): Likewise.
55587         (casinh_test): Likewise.
55588         * sysdeps/i386/fpu/libm-test-ulps: Update.
55589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55591 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55593         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55594         constants.
55595         (norm): Likewise.
55596         (denorm): Likewise.
55597         (__dbl_mp): Likewise.
55598         (add_magnitudes): Likewise.
55599         (sub_magnitudes): Likewise.
55600         (__add): Likewise.
55601         (__sub): Likewise.
55602         (__mul): Likewise.
55603         (__sqr): Likewise.
55604         (__inv): Likewise.
55605         (__dvd): Likewise.
55607         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55608         commented code.
55609         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55610         (__dubcos): Likewise.
55611         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55612         (__ieee754_acos): Likewise.
55613         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55614         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55615         (__exp1): Likewise.
55616         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55618         (log1): Likewise.
55619         (my_log2): Likewise.
55620         (checkint): Likewise.
55621         * sysdeps/ieee754/dbl-64/e_remainder.c
55622         (__ieee754_remainder): Likewise.
55623         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55625         (bsloww): Likewise.
55626         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55628         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55629         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55630         MANTISSA_STORE_T to store computations on mantissa.  Use
55631         macros for rounding and division.
55632         (denorm): Likewise.
55633         (__dbl_mp): Likewise.
55634         (add_magnitudes): Likewise.
55635         (sub_magnitudes): Likewise.
55636         (__mul): Likewise.
55637         (__sqr): Likewise.
55638         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55639         powers of two in terms of TWOPOW macro.
55640         (mp_no): Make type of mantissa as MANTISSA_T.
55641         [!RADIXI]: Define RADIXI.
55642         [!TWO52]: Define TWO52.
55643         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55645 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55647         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55648         llroundl symbol when building for PPC32.
55650 2013-03-24  Mark H Weaver  <mhw@netris.org>
55652         * manual/arith.texi (Normalization Functions): Fix prototypes for
55653         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55655 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55657         [BZ #13889]
55658         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55659         high value to check if expl overflow.
55660         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55661         to check for underflow and overflow.
55662         * math/libm-test.inc: Add exp test.
55664 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55666         [BZ #11120]
55667         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55668         with NOT_IN_libc.
55670 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55672         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55673         symbol.
55675 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55677         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55678         wrap blocks consisting of several statements.
55680         * sysdeps/generic/math-tests.h: New file.
55681         * sysdeps/i386/fpu/math-tests.h: Likewise.
55682         * math/test-snan.c: Include it.
55683         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55685 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55687         [BZ #15285]
55688         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55689         (__ieee754_j0l): Do not improve calculations using cos of twice
55690         input for inputs above LDBL_MAX / 2.0L.
55691         (__ieee754_y0l): Likewise.
55692         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55693         (__ieee754_j1l): Do not improve calculations using cos of twice
55694         input for inputs above LDBL_MAX / 2.0L.
55695         (__ieee754_y1l): Likewise.
55696         * math/libm-test.inc (j0_test): Add another test.
55697         (j1_test): Likewise.
55698         (y0_test): Likewise.
55699         (y1_test): Likewise.
55700         * sysdeps/i386/fpu/libm-test-ulps: Update.
55702 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55704         * Rules ($(objpfx)bench-%.c): Include code from a C source
55705         file.
55707 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55709         [BZ #15287]
55710         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55711         imaginary part 1.0 and real part less than 0.5 specially.
55712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55714         * math/libm-test.inc (cacos_test): Add more tests.
55715         (casin_test): Likewise.
55716         (casinh_test): Likewise.
55717         * sysdeps/i386/fpu/libm-test-ulps: Update.
55718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55720 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55722         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55723         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55725 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55727         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55728         * config.make.in (config-cflags-sse4): Remove variable.
55729         (config-cflags-avx): Likewise.
55730         (config-cflags-sse2avx): Likewise.
55731         (config-cflags-novzeroupper): Likewise.
55732         (config-asflags-i686): Likewise.
55733         (have-mfma4): Likewise.
55734         (have-as-vis3): Likewise.
55735         (MIG): Likewise.
55736         * configure.in (MIG): Do not AC_SUBST.
55737         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55738         (libc_cv_cc_sse4): Do not AC_SUBST.
55739         (libc_cv_cc_avx): Likewise.
55740         (libc_cv_cc_sse2avx): Likewise.
55741         (libc_cv_cc_novzeroupper): Likewise.
55742         (libc_cv_cc_fma4): Likewise.
55743         (libc_cv_as_i686): Likewise.
55744         (libc_cv_sparc_as_vis3): Likewise.
55745         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55746         LIBC_CONFIG_VAR.
55747         (config-asflags-i686): Likewise.
55748         (config-cflags-avx): Likewise.
55749         (config-cflags-sse2avx): Likewise.
55750         (have-mfma4): Likewise.
55751         (config-cflags-novzeroupper): Likewise.
55752         * sysdeps/mach/configure.in (MIG): Likewise.
55753         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55754         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55755         LIBC_CONFIG_VAR.
55756         (config-cflags-avx): Likewise.
55757         (config-cflags-sse2avx): Likewise.
55758         (have-mfma4): Likewise.
55759         (config-cflags-novzeroupper): Likewise.
55760         * configure: Regenerated.
55761         * sysdeps/i386/configure: Likewise.
55762         * sysdeps/mach/configure: Likewise.
55763         * sysdeps/sparc/configure: Likewise.
55764         * sysdeps/x86_64/configure: Likewise.
55766 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55768         [BZ #14812]
55769         * locale/programs/localedef.c (options): Put N_ translation marker
55770         on argument names, not just descriptions.
55772 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55774         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55776 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55778         [BZ #14176]
55779         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55781 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55783         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55784         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55785         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55786         [!BEFORE_ABORT] (before_abort): New function.
55787         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55788         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55789         (writev_for_fatal): New function.
55790         (WRITEV_FOR_FATAL): New macro; call that.
55791         (backtrace_and_maps): New function.
55792         (BEFORE_ABORT): New macro; call that.
55793         (struct str_list): Type removed.
55794         (__libc_message, __libc_fatal): Functions removed.
55795         Include <sysdeps/posix/libc_fatal.c> instead.
55797 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55799         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55800         constants.
55801         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55802         double constants.
55804 2013-03-19  Andreas Schwab  <schwab@suse.de>
55806         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55807         * sysdeps/gnu/configure: Regenerate.
55809         * configure.in: Substitute libc_cv_rtlddir.
55810         * configure: Regenerate.
55811         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55812         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55813         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55814         * elf/Makefile (install-others, CFLAGS-interp.c)
55815         (ldso_install, common-ldd-rewrite): Likewise.
55816         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55817         $(inst_slibdir)/$(rtld-installed-name).
55818         * scripts/rellns-sh: Add -p option.
55819         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55820         for source.
55822 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55824         * manual/nptl.texi: Renamed to ...
55825         * manual/threads.texi: ... this.
55826         * manual/Makefile (chapters): Update.
55828 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55830         [BZ #14812]
55831         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55832         on argument names, not just descriptions.
55833         * malloc/memusagestat.c (options): Likewise.
55834         * nss/getent.c (options): Likewise.
55836 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55838         [BZ #14812]
55839         * iconv/iconv_prog.c (options): Put N_ translation marker
55840         on argument names, not just descriptions.
55841         * iconv/iconvconfig.c (options): Likewise.
55843 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55845         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55846         implementation which is faster on all x86_64 architectures.
55847         Tested on AMD, Intel Nehalem, SNB, IVB.
55848         * sysdeps/x86_64/strnlen.S: Likewise.
55850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55851         Remove all multiarch strlen and strnlen versions.
55852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55853         Remove strlen and strnlen related parts.
55855         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55856         Inline strlen part.
55857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55859         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55860         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55861         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55862         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55863         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55864         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55866 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55868         * manual/memory.texi (Malloc Tunable Parameters):
55869         Sort parameters alphabetically. Add comments for missing entries.
55871 2013-03-17  David S. Miller  <davem@davemloft.net>
55873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55875 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55877         [BZ #15283]
55878         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55879         for arguments at most half maximum finite value.
55880         * math/libm-test.inc (j0_test): Add more tests.
55881         (j1_test): Likewise.
55882         (y0_test): Likewise.
55883         (y1_test): Likewise.
55884         * sysdeps/i386/fpu/libm-test-ulps: Update.
55885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55887         [BZ #14155]
55888         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55889         1 / x and functions P and Q for arguments above 0x1p256L.
55890         (__ieee754_y0l): Likewise.
55891         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55892         (__ieee754_y1l): Likewise.
55893         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55894         (j1_test): Likewise.
55895         (y0_test): Likewise.
55896         (y1_test): Likewise.
55898 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55900         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55901         variable.
55903 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55905         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55906         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55907         zero since it's initialized to EXEC_PAGESIZE.
55909         * sysdeps/unix/sysv/linux/ldsodefs.h
55910         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55911         * sysdeps/generic/ldsodefs.h: ... here.
55913 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55915         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55917         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55918         math/test-snan.c.
55919         * math/test-snan.c: Renamed from
55920         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55921         * math/Makefile (tests): Add test-snan.
55922         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55923         test-powerpc-snan.
55925         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55926         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55927         functions.
55928         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55929         __builtin_nan family of functions.
55930         * math/libm-test.inc (initialize): Initialize qnan_value with
55931         __builtin_nan family of functions.
55932         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55933         Remove variables.
55934         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55935         Remove functions.
55936         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55937         storage class.  Initialize qNaN_var and sNaN_var with
55938         __builtin_nan and __builtin_nans families of functions,
55939         respectively.
55941         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55942         (sqrt_test): Remove duplicate test with qNaN input.
55943         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55944         (round_test, signbit_test, significand_test): Note missing +/-Inf
55945         as well as qNaN tests.
55947         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55948         qNaN_var.  Fix a few strings, too.
55949         * math/libm-test.inc (nan_value): Rename to qnan_value.
55950         * math/gen-libm-test.pl (%beautify): Adjust to that.
55951         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55952         * math/test-misc.c (main): Likewise.
55953         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55954         to __qnan_bytes, and __qnan_union, respectively.
55955         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55956         Likewise.
55957         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55958         and lqnanval, respectively.
55959         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55960         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55961         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55962         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55964         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55965         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55966         doubles.
55968         * math/test-misc.c (main): Fix copy'n'pastos.
55969         * misc/tst-efgcvt.c (special): Likewise.
55971         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55972         Remove declarations.
55974 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55976         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55977         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55978         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55979         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55981 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55983         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55984         macro to return vdso values correctly in IFUNC implementations.
55985         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55986         Optimization by using IFUNC.
55988 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55989             Richard Henderson  <rth@redhat.com>
55990             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55992         * Makefile.in (bench): New target.
55993         * NEWS: Mention the benchmark framework.
55994         * Rules (bench): Likewise.
55995         (binaries-bench): Generate binaries for functions to
55996         benchmark.
55997         * benchtests/Makefile: New makefile for benchmark tests.
55998         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55999         programs.
56000         * benchtests/exp-inputs: New input file for EXP function.
56001         * benchtests/pow-inputs: New input file for POW function.
56002         * scripts/bench.pl: New script to generate source files for
56003         benchmark programs.
56005 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56007         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56008         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56009         computations on mantissa.  Use macros for rounding and
56010         division.
56011         (denorm): Likewise.
56012         (__dbl_mp): Likewise.
56013         (add_magnitudes): Likewise.
56014         (sub_magnitudes): Likewise.
56015         (__mul): Likewise.
56016         (__sqr): Likewise.
56017         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56018         powers of two in terms of TWOPOW macro.
56019         (mp_no): Make type of mantissa as MANTISSA_T.
56020         [!RADIXI]: Define RADIXI.
56021         [!TWO52]: Define TWO52.
56022         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56024         * manual/nptl.texi (cindex): Modify threads to pthreads.
56026 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56028         * sysdeps/x86_64/preconfigure: Regenerated.
56030 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56032         [BZ #14155]
56033         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56034         0x1p28 and above.
56035         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56036         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56037         0x1p28 and above.
56038         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56039         * math/libm-test.inc (j0_test): Do not allow one spurious
56040         underflow exception.
56041         (y1_test): Likewise.
56043 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56045         * manual/Makefile (chapters): Add nptl.
56046         * manual/debug.texi (Debugging Support): Add link to Threads
56047         chapter.
56048         * manual/nptl.texi: New file.
56050         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56052 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56054         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56055         for non-NULL pointer before the memory validity test. Pointed
56056         out by Holger Brunck <holger.brunck@keymile.com>.
56058 2013-03-13  Andreas Schwab  <schwab@suse.de>
56060         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56061         instead of .os.
56063 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56065         * timezone/zic.c: Update from tzcode 2013b.
56067 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56069         * manual/install.texi (Configuring and compiling):
56070         Mention i686 and i586.
56071         * INSTALL: Regenerate.
56073 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56075         * sysdeps/init_array/elf-init.c: New file.
56076         * csu/elf-init.c
56077         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56078         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56080         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56081         __gmon_start__ as global, but as static with a .preinit_array pointer.
56082         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56083         * sysdeps/init_array/crti.S: New file, empty except for comments.
56084         * sysdeps/init_array/crtn.S: Likewise.
56086 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56088         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56089         definining bcopy.
56090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56091         Remove Prefer_SSE_for_memop.
56092         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56093         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56094         HAS_PREFER_SSE_FOR_MEMOP.
56095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56096         memset-x86-64.
56097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56098         Remove bzero, memset ifunc support.
56099         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56100         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56101         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56102         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56104 2013-03-11  Andreas Schwab  <schwab@suse.de>
56106         [BZ #15234]
56107         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56108         by SHLIB_COMPAT.
56109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56110         (GLIBC_2.16): Remove pthread_atfork.
56112 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56114         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56115         (ptestcases.h): Likewise.
56117 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56119         * Makeconfig ($(common-objpfx)config.status): Depend on
56120         sysdeps/*/preconfigure{,.in} too.
56122 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56124         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56125         (__free_hook): Use void * instead of __malloc_ptr_t.
56126         (__malloc_hook): Likewise.
56127         (__realloc_hook): Likewise.
56128         (__memalign_hook): Likewise.
56129         (__after_morecore_hook): Likewise.
56130         * malloc/arena.c (save_malloc_hook): Likewise.
56131         (save_free_hook): Likewise.
56132         * malloc/hooks.c (malloc_hook_ini): Likewise.
56133         (realloc_hook_ini): Likewise.
56134         (memalign_hook_ini): Likewise.
56135         * malloc/malloc.c (malloc_hook_ini): Likewise.
56136         (realloc_hook_ini): Likewise.
56137         (memalign_hook_ini): Likewise.
56138         (__free_hook): Likewise.
56139         (__malloc_hook): Likewise.
56140         (__realloc_hook): Likewise.
56141         (__memalign_hook): Likewise.
56142         (__libc_malloc): Likewise.
56143         (__libc_free): Likewise.
56144         (__libc_realloc): Likewise.
56145         (__libc_memalign): Likewise.
56146         (__libc_valloc): Likewise.
56147         (__libc_pvalloc): Likewise.
56148         (__libc_calloc): Likewise.
56149         (__posix_memalign): Likewise.
56150         * malloc/morecore.c (__sbrk): Likewise.
56151         (__default_morecore): Likewise.
56153         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56155         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56156         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56157         __malloc_ptrdiff_t.
56159         * malloc/malloc.h (__malloc_size_t): Remove macro.
56160         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56161         __malloc_size_t.
56162         (old_memalign_hook): Likewise.
56163         (old_realloc_hook): Likewise.
56164         (struct hdr): Likewise.
56165         (flood): Likewise.
56166         (mallochook): Likewise.
56167         (memalignhook): Likewise.
56168         (reallochook): Likewise.
56169         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56170         (tr_old_realloc_hook): Likewise.
56171         (tr_old_memalign_hook): Likewise.
56172         (tr_mallochook): Likewise.
56173         (tr_reallochook): Likewise.
56174         (tr_memalignhook): Likewise.
56176 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56179         default_ldbl_pack and using as default implementation.
56180         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56181         implementation.
56182         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56183         redundant definition.
56184         (ldbl_insert_mantissa): Likewise.
56185         (ldbl_canonicalize): Likewise.
56186         (ldbl_nearbyint): Likewise.
56187         (ldbl_pack): Rename to ldbl_pack_ppc.
56188         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56189         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56190         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56192 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56195         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56196         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56197         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56199         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56200         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56201         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56203 2013-03-07  Andreas Jaeger  <aj@suse.de>
56205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56206         bits/mman-linux.h.
56208 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56210         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56211         Include mpa.h and declare __MPEXP.
56212         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56213         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56214         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56215         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56216         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56217         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56218         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56220         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56221         (__slowpow): Use long double EXPL and LOGL functions to
56222         compute POW.
56223         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56224         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56225         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56226         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56227         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56228         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56231         intermediate variable to calculate exponent.
56232         (__sqr): Likewise.
56233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56234         Likewise.
56235         (__sqr): Likewise.
56237         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56238         [!NO__SQR]: Define __sqr.
56239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56240         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56241         sysdeps/ieee754/dbl-64/mpa.c.
56242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56244         [BZ #12723]
56245         * posix/Makefile (tests): Add tst-pathconf.
56246         * posix/tst-pathconf.c: New test case.
56247         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56248         _PC_PIPE_BUF.
56249         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56251 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56253         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56255 2013-03-06  Andreas Jaeger  <aj@suse.de>
56257         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56258         definition via __MAP_ANONYMOUS.
56260         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56261         it's not part of Linux headers.
56263         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56264         (MAP_HUGE_MASK): Define.
56266         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56267         Define.
56268         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56270         Define.
56271         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56272         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56273         Define.
56274         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56275         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56276         Define.
56277         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56279         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56280         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56281         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56282         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56283         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56284         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56286         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56287         Handle f2fs.
56289         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56290         Handle f2fs and efivarfs.
56292         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56293         f2fs.
56295         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56296         (EFIVARFS_MAGIC): Add.
56297         (F2FS_LINK_MAX): Add.
56299 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56301         * stdio-common/vfprintf.c: Replace __builtin_expect with
56302         __glibc_unlikely.
56304 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56306         [BZ #13550]
56307         * sysdeps/generic/bp-sym.h: Remove file.
56308         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56310         <bp-sym.h> and <bp-asm.h>.
56311         (__longjmp): Don't use BP_SYM.
56312         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56313         and <bp-asm.h>.
56314         (memcpy): Don't use BP_SYM.
56315         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56316         <bp-sym.h> and <bp-asm.h>.
56317         (memcpy): Don't use BP_SYM.
56318         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56319         <bp-asm.h>.
56320         (memcpy): Don't use BP_SYM.
56321         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56322         <bp-asm.h>.
56323         (memset): Don't use BP_SYM.
56324         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56325         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56326         (__bzero): Don't use BP_SYM.
56327         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56328         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56329         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56330         <bp-sym.h> and <bp-asm.h>.
56331         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56332         pointers.
56333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56334         <bp-sym.h> and <bp-asm.h>.
56335         (memcpy): Don't use BP_SYM.
56336         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56337         <bp-sym.h> and <bp-asm.h>.
56338         (memset): Don't use BP_SYM.
56339         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56340         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56341         (__bzero): Don't use BP_SYM.
56342         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56343         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56345         <bp-sym.h> and <bp-asm.h>.
56346         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56347         pointers.
56348         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56349         <bp-sym.h> and <bp-asm.h>.
56350         (memcpy): Don't use BP_SYM.
56351         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56352         <bp-sym.h> and <bp-asm.h>.
56353         (memset): Don't use BP_SYM.
56354         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56355         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56356         (__bzero): Don't use BP_SYM.
56357         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56358         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56359         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56360         <bp-sym.h> and <bp-asm.h>.
56361         (__memchr): Don't use BP_SYM.
56362         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56363         <bp-sym.h> and <bp-asm.h>.
56364         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56365         pointers.
56366         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56367         <bp-sym.h> and <bp-asm.h>.
56368         (memcpy): Don't use BP_SYM.
56369         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56370         <bp-sym.h> and <bp-asm.h>.
56371         (__mempcpy): Don't use BP_SYM.
56372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56373         <bp-sym.h> and <bp-asm.h>.
56374         (__memrchr): Don't use BP_SYM.
56375         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56376         <bp-sym.h> and <bp-asm.h>.
56377         (memset): Don't use BP_SYM.
56378         (__bzero): Likewise.
56379         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56380         <bp-sym.h> and <bp-asm.h>.
56381         (__rawmemchr): Don't use BP_SYM.
56382         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56383         <bp-sym.h> and <bp-asm.h>.
56384         (__STRCMP): Don't use BP_SYM.
56385         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56386         <bp-sym.h> and <bp-asm.h>.
56387         (strchr): Don't use BP_SYM.
56388         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56389         <bp-sym.h> and <bp-asm.h>.
56390         (__strchrnul): Don't use BP_SYM.
56391         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56392         <bp-sym.h> and <bp-asm.h>.
56393         (strlen): Don't use BP_SYM.
56394         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56395         <bp-sym.h> and <bp-asm.h>.
56396         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56397         pointers.
56398         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56399         <bp-sym.h> and <bp-asm.h>.
56400         (__strnlen): Don't use BP_SYM.
56401         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56402         <bp-sym.h> and <bp-asm.h>.
56403         (__GI__setjmp): Don't use BP_SYM.
56404         (_setjmp): Likewise.
56405         (__sigsetjmp): Likewise.
56406         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56407         (L(start_addresses)): Don't use BP_SYM.
56408         (_start): Likewise.
56409         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56410         <bp-asm.h>.
56411         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56412         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56413         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56414         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56415         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56416         <bp-asm.h>.
56417         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56418         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56419         about bounded pointers.
56420         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56421         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56422         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56423         <bp-asm.h>.
56424         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56425         about bounded pointers.  Remove GKM FIXME comments.
56426         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56427         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56428         <bp-asm.h>.
56429         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56430         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56431         Remove GKM FIXME comments.
56432         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56433         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56434         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56435         <bp-asm.h>.
56436         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56437         about bounded pointers.  Remove GKM FIXME comment.
56438         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56439         and <bp-asm.h>.
56440         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56441         pointers.
56442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56443         <bp-sym.h> and <bp-asm.h>.
56444         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56446         <bp-sym.h> and <bp-asm.h>.
56447         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56448         comment.
56450 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56452         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56453         call free(NULL).
56455 2013-03-05  David S. Miller  <davem@davemloft.net>
56457         * po/es.po: Update from translation team.
56459 2013-03-05  Andreas Jaeger  <aj@suse.de>
56461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56462         <bits/mman-linux.h>.
56463         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56464         is fine.
56465         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56466         <bits/mman-linux.h> to end of file.
56467         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56468         is fine.
56469         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56470         <bits/mman-linux.h> to end of file.
56471         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56472         is fine.
56473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56474         <bits/mman-linux.h> to end of file.
56476         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56477         (MCL_CURRENT, MCL_FUTURE): Define here.
56479 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56481         [BZ #15232]
56482         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56483         attribute_hidden.
56484         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56486 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56488         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56489         fourth parameter needed for rt_sigprocmask syscall.
56490         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56491         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56492         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56493         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56494         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56495         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56497 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56499         [BZ #13550]
56500         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56501         comment about bounded pointers.
56502         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56503         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56505 2013-03-04  Andreas Jaeger  <aj@suse.de>
56507         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56508         common definitions.
56510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56511         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56512         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56513         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56514         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56515         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56517 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56519         [BZ #15055]
56520         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56521         __ieee754_sqrl instead of __sqrl.
56523 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56525         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56526         * sysdeps/powerpc/fpu_control.h: ... here.
56527         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56528         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56529         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56530         * sysdeps/powerpc/bits/mathinline.h: ... here.
56532 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56534         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56535         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56536         to just [NEED_DL_SYSINFO_DSO].
56537         * elf/dl-support.c: Likewise.
56538         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56539         * elf/rtld.c (dl_main): Likewise.
56540         * elf/setup-vdso.h (setup_vdso): Likewise.
56541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56542         * sysdeps/unix/sysv/linux/dl-sysdep.c
56543         (_dl_discover_osversion): Likewise.
56545 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56547         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56548         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56550 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56552         * NEWS: Mention libm performance improvements and non-x86 PI
56553         futex support.
56555         * csu/libc-start.c (__pthread_initialize_minimal): Change
56556         function arguments.
56557         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56559 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56561         [BZ #13550]
56562         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56563         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56564         <bp-sym.h> and <bp-asm.h>.
56565         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56566         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56567         and <bp-asm.h>.
56568         (memcpy): Don't use BP_SYM.
56569         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56570         <bp-asm.h>.
56571         (__mpn_add_n): Don't use BP_SYM.
56572         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56573         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56574         and <bp-asm.h>.
56575         (__mpn_addmul_1): Don't use BP_SYM.
56576         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56577         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56578         <bp-sym.h>.
56579         (_setjmp): Don't use BP_SYM.
56580         (__novmx_setjmp): Likewise.
56581         (__GI__setjmp): Likewise.
56582         (__vmx_setjmp): Likewise.
56583         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56584         <bp-sym.h>.
56585         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56586         (__bzero): Don't use BP_SYM.
56587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56589         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56590         <bp-sym.h> and <bp-asm.h>.
56591         (memcpy): Don't use BP_SYM.
56592         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56593         <bp-sym.h> and <bp-asm.h>.
56594         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56595         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56596         <bp-sym.h> and <bp-asm.h>.
56597         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56598         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56599         <bp-asm.h>.
56600         (__mpn_lshift): Don't use BP_SYM.
56601         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56602         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56603         <bp-asm.h>.
56604         (memset): Don't use BP_SYM.
56605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56607         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56608         <bp-asm.h>.
56609         (__mpn_mul_1): Don't use BP_SYM.
56610         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56611         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56612         <bp-sym.h> and <bp-asm.h>.
56613         (memcmp): Don't use BP_SYM.
56614         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56615         <bp-sym.h> and <bp-asm.h>.
56616         (memcpy): Don't use BP_SYM.
56617         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56618         <bp-sym.h> and <bp-asm.h>.
56619         (memset): Don't use BP_SYM.
56620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56621         <bp-sym.h> and <bp-asm.h>.
56622         (strncmp): Don't use BP_SYM.
56623         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56624         <bp-sym.h> and <bp-asm.h>.
56625         (memcpy): Don't use BP_SYM.
56626         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56627         <bp-sym.h> and <bp-asm.h>.
56628         (memset): Don't use BP_SYM.
56629         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56630         <bp-sym.h> and <bp-asm.h>.
56631         (__memchr): Don't use BP_SYM.
56632         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56633         <bp-sym.h> and <bp-asm.h>.
56634         (memcmp): Don't use BP_SYM.
56635         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56636         <bp-sym.h> and <bp-asm.h>.
56637         (memcpy): Don't use BP_SYM.
56638         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56639         <bp-sym.h> and <bp-asm.h>.
56640         (__mempcpy): Don't use BP_SYM.
56641         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56642         <bp-sym.h> and <bp-asm.h>.
56643         (__memrchr): Don't use BP_SYM.
56644         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56645         <bp-sym.h> and <bp-asm.h>.
56646         (memset): Don't use BP_SYM.
56647         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56648         <bp-sym.h> and <bp-asm.h>.
56649         (__rawmemchr): Don't use BP_SYM.
56650         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56651         <bp-sym.h> and <bp-asm.h>.
56652         (__STRCMP): Don't use BP_SYM.
56653         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56654         <bp-sym.h> and <bp-asm.h>.
56655         (strchr): Don't use BP_SYM.
56656         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56657         <bp-sym.h> and <bp-asm.h>.
56658         (__strchrnul): Don't use BP_SYM.
56659         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56660         <bp-sym.h> and <bp-asm.h>.
56661         (strlen): Don't use BP_SYM.
56662         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56663         <bp-sym.h> and <bp-asm.h>.
56664         (strncmp): Don't use BP_SYM.
56665         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56666         <bp-sym.h> and <bp-asm.h>.
56667         (__strnlen): Don't use BP_SYM.
56668         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56669         <bp-asm.h>.
56670         (__mpn_rshift): Don't use BP_SYM.
56671         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56672         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56673         <bp-sym.h> and <bp-asm.h>.
56674         (__sigsetjmp): Don't use BP_SYM.
56675         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56676         (L(start_addresses)): Don't use BP_SYM.
56677         (_start): Likewise.
56678         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56679         <bp-asm.h>.
56680         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56681         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56682         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56683         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56684         <bp-asm.h>.
56685         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56688         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56689         <bp-asm.h>.
56690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56691         comments.
56692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56693         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56694         <bp-asm.h>.
56695         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56696         FIXME comments.
56697         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56698         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56699         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56700         <bp-asm.h>.
56701         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56702         comment.
56703         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56704         and <bp-asm.h>.
56705         (strncmp): Don't use BP_SYM,
56706         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56707         <bp-asm.h>.
56708         (__mpn_sub_n): Don't use BP_SYM.
56709         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56710         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56711         and <bp-asm.h>.
56712         (__mpn_submul_1): Don't use BP_SYM.
56713         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56715         <bp-sym.h> and <bp-asm.h>.
56716         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56718         <bp-sym.h> and <bp-asm.h>.
56719         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56720         comment.
56722 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56725         Use ZK to minimize writes to Z.
56726         (sub_magnitudes): Simplify code a bit.
56727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56728         Use ZK to minimize writes to Z.
56729         (sub_magnitudes): Simplify code a bit.
56731 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56733         * csu/gmon-start.c: Add special exception to license text.
56735 2013-02-27  Richard Henderson  <rth@redhat.com>
56737         * scripts/config.guess: Update from config.git.
56738         * scripts/config.sub: Likewise.
56740 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56742         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56744         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56746         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56748         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56750         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56752 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56754         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56755         [$(build-shared = yes].
56757 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56759         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56760         (__mul): Reduce iterations for calculating mantissa.
56762         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56763         MPTWO.
56764         (__mpranred): Likewise.
56766         [BZ #15160]
56767         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56768         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56770 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56772         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56773         Define __attribute__.
56775 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56777         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56778         unused.
56779         * posix/regex_internal.h (__attribute): Remove.
56780         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56781         (re_string_context_at): Likewise.
56782         (bitset_not): Use __attribute__ and mark function as possibly
56783         unused.
56784         (bitset_merge): Likewise.
56785         (bitset_mask): Likewise.
56786         (re_string_char_size_at): Likewise.
56787         (re_string_wchar_at): Likewise.
56788         (re_string_elem_size_at): Likewise.
56790 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56792         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56793         code.
56794         (cc32): Likewise.
56796         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56797         (__acr): Likewise.
56798         (__cpy): Likewise.
56799         (norm): Likewise.
56800         (denorm): Likewise.
56801         (__dbl_mp): Likewise.
56802         (add_magnitudes): Likewise.
56803         (sub_magnitudes): Likewise.
56804         (__mul): Likewise.
56805         (__inv): Likewise.
56807         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56808         style.
56810         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56811         style.
56813         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56814         code.
56816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56817         up changes with default code.
56818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56819         Likewise.
56821 2013-02-24  Allan McRae  <allan@archlinux.org>
56823         * manual/socket.texi (The Internet Namespace): Order menu items
56824         to match that in the file.
56826         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56827         node listing of the info page menu.
56829 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56831         [BZ #13550]
56832         * sysdeps/i386/bp-asm.h: Remove file.
56833         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56834         (PARMS): Do not use macros from bp-asm.h.
56835         (S1): Likewise.
56836         (S2): Likewise.
56837         (SIZE): Likewise.
56838         (__mpn_add_n): Do not use BP_SYM
56839         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56840         "bp-asm.h".
56841         (PARMS): Do not use macros from bp-asm.h.
56842         (S1): Likewise.
56843         (SIZE): Likewise.
56844         (__mpn_addmul_1): Do not use BP_SYM
56845         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56846         "bp-asm.h".
56847         (PARMS): Do not use macros from bp-asm.h.
56848         (SIGMSK): Likewise.
56849         (_setjmp): Likewise.  Do not use BP_SYM.
56850         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56851         "bp-asm.h".
56852         (PARMS): Do not use macros from bp-asm.h.
56853         (SIGMSK): Likewise.
56854         (setjmp): Likewise.  Do not use BP_SYM.
56855         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56856         "bp-asm.h".
56857         (PARMS): Do not use macros from bp-asm.h.
56858         (__frexp): Do not use BP_SYM.
56859         (frexp): Likewise.
56860         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56861         "bp-asm.h".
56862         (PARMS): Do not use macros from bp-asm.h.
56863         (__frexpf): Do not use BP_SYM.
56864         (frexpf): Likewise.
56865         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56866         "bp-asm.h".
56867         (PARMS): Do not use macros from bp-asm.h.
56868         (__frexpl): Do not use BP_SYM.
56869         (frexpl): Likewise.
56870         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56871         "bp-asm.h".
56872         (PARMS): Do not use macros from bp-asm.h.
56873         (__remquo): Do not use BP_SYM.
56874         (remquo): Likewise.
56875         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56876         "bp-asm.h".
56877         (PARMS): Do not use macros from bp-asm.h.
56878         (__remquof): Do not use BP_SYM.
56879         (remquof): Likewise.
56880         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56881         "bp-asm.h".
56882         (PARMS): Do not use macros from bp-asm.h.
56883         (__remquol): Do not use BP_SYM.
56884         (remquol): Likewise.
56885         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56886         "bp-asm.h".
56887         (PARMS): Do not use macros from bp-asm.h.
56888         (DEST): Likewise.
56889         (SRC): Likewise.
56890         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56891         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56892         "bp-asm.h".
56893         (PARMS): Do not use macros from bp-asm.h.
56894         (strlen): Do not use BP_SYM.
56895         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56896         "bp-asm.h".
56897         (PARMS): Do not use macros from bp-asm.h.
56898         (S1): Likewise.
56899         (S2): Likewise.
56900         (SIZE): Likewise.
56901         (__mpn_add_n): Do not use BP_SYM.
56902         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56903         "bp-asm.h".
56904         (PARMS): Do not use macros from bp-asm.h.
56905         (S1): Likewise.
56906         (SIZE): Likewise.
56907         (__mpn_addmul_1): Do not use BP_SYM.
56908         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56909         weak_alias.
56910         (bzero): Likewise.
56911         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56912         "bp-asm.h".
56913         (PARMS): Do not use macros from bp-asm.h.
56914         (S): Likewise.
56915         (SIZE): Likewise.
56916         (__mpn_lshift): Do not use BP_SYM.
56917         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56918         "bp-asm.h".
56919         (PARMS): Do not use macros from bp-asm.h.
56920         (DEST): Likewise.
56921         (SRC): Likewise.
56922         (LEN): Likewise.
56923         (memcpy): Likewise.  Do not use BP_SYM.
56924         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56925         libc_hidden_def and weak_alias.
56926         (mempcpy): Do not use BP_SYM in weak_alias.
56927         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56928         "bp-asm.h".
56929         (PARMS): Do not use macros from bp-asm.h.
56930         (DEST): Likewise.
56931         (LEN): Likewise.
56932         [!BZERO_P] (CHR): Likewise.
56933         (memset): Likewise.  Do not use BP_SYM.
56934         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56935         "bp-asm.h".
56936         (PARMS): Do not use macros from bp-asm.h.
56937         (S1): Likewise.
56938         (SIZE): Likewise.
56939         (__mpn_mul_1): Do not use BP_SYM.
56940         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56941         "bp-asm.h".
56942         (PARMS): Do not use macros from bp-asm.h.
56943         (S): Likewise.
56944         (SIZE): Likewise.
56945         (__mpn_rshift): Do not use BP_SYM.
56946         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56947         "bp-asm.h".
56948         (PARMS): Do not use macros from bp-asm.h.
56949         (STR): Likewise.
56950         (CHR): Likewise.
56951         (strchr): Likewise.  Do not use BP_SYM.
56952         (index): Do not use BP_SYM in weak_alias.
56953         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56954         "bp-asm.h".
56955         (PARMS): Do not use macros from bp-asm.h.
56956         (DEST): Likewise.
56957         (SRC): Likewise.
56958         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56959         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56960         "bp-asm.h".
56961         (PARMS): Do not use macros from bp-asm.h.
56962         (strlen): Do not use BP_SYM.
56963         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56964         "bp-asm.h".
56965         (PARMS): Do not use macros from bp-asm.h.
56966         (S1): Likewise.
56967         (S2): Likewise.
56968         (SIZE): Likewise.
56969         (__mpn_sub_n): Do not use BP_SYM.
56970         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56971         "bp-asm.h".
56972         (PARMS): Do not use macros from bp-asm.h.
56973         (S1): Likewise.
56974         (SIZE): Likewise.
56975         (__mpn_submul_1): Do not use BP_SYM.
56976         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56977         "bp-asm.h".
56978         (PARMS): Do not use macros from bp-asm.h.
56979         (S1): Likewise.
56980         (S2): Likewise.
56981         (SIZE): Likewise.
56982         (__mpn_add_n): Do not use BP_SYM.
56983         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56984         weak_alias.
56985         (bzero): Likewise.
56986         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56987         "bp-asm.h".
56988         (PARMS): Do not use macros from bp-asm.h.
56989         (BLK2): Likewise.
56990         (LEN): Likewise.
56991         (memcmp): Do not use BP_SYM.
56992         (bcmp): Do not use BP_SYM in weak_alias.
56993         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56994         "bp-asm.h".
56995         (PARMS): Do not use macros from bp-asm.h.
56996         (DEST): Likewise.
56997         (SRC): Likewise.
56998         (LEN): Likewise.
56999         (memcpy): Likewise.  Do not use BP_SYM.
57000         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57001         "bp-asm.h".
57002         (PARMS): Do not use macros from bp-asm.h.
57003         (DEST): Likewise.
57004         (SRC): Likewise.
57005         (LEN): Likewise.
57006         (memmove): Likewise.  Do not use BP_SYM.
57007         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57008         "bp-asm.h".
57009         (PARMS): Do not use macros from bp-asm.h.
57010         (DEST): Likewise.
57011         (SRC): Likewise.
57012         (LEN): Likewise.
57013         (__mempcpy): Likewise.  Do not use BP_SYM.
57014         (mempcpy): Do not use BP_SYM in weak_alias.
57015         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57016         "bp-asm.h".
57017         (PARMS): Do not use macros from bp-asm.h.
57018         (DEST): Likewise.
57019         (LEN): Likewise.
57020         [!BZERO_P] (CHR): Likewise.
57021         (memset): Likewise.  Do not use BP_SYM.
57022         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57023         "bp-asm.h".
57024         (PARMS): Do not use macros from bp-asm.h.
57025         (STR2): Likewise.
57026         (strcmp): Do not use BP_SYM.
57027         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57028         "bp-asm.h".
57029         (PARMS): Do not use macros from bp-asm.h.
57030         (STR): Likewise.
57031         (DELIM): Likewise.
57032         [USE_AS_STRTOK_R] (SAVE): Likewise.
57033         (FUNCTION): Likewise.  Do not use BP_SYM.
57034         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57035         aliases.
57036         (strtok_r): Likewise.
57037         (__GI___strtok_r): Likewise.
57038         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57039         (PARMS): Do not use macros from bp-asm.h.
57040         (S): Likewise.
57041         (SIZE): Likewise.
57042         (__mpn_lshift): Do not use BP_SYM.
57043         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57044         (PARMS): Do not use macros from bp-asm.h.
57045         (STR): Likewise.
57046         (CHR): Likewise.
57047         (__memchr): Do not use BP_SYM.
57048         (memchr): Do not use BP_SYM in weak_alias.
57049         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57050         (PARMS): Do not use macros from bp-asm.h.
57051         (BLK2): Likewise.
57052         (LEN): Likewise.
57053         (memcmp): Do not use BP_SYM.
57054         (bcmp): Do not use BP_SYM in weak_alias.
57055         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57056         (PARMS): Do not use macros from bp-asm.h.
57057         (S1): Likewise.
57058         (SIZE): Likewise.
57059         (__mpn_mul_1): Do not use BP_SYM.
57060         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57061         "bp-asm.h".
57062         (PARMS): Do not use macros from bp-asm.h.
57063         (STR): Likewise.
57064         (CHR): Likewise.
57065         (__rawmemchr): Do not use BP_SYM.
57066         (rawmemchr): Do not use BP_SYM in weak_alias.
57067         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57068         (PARMS): Do not use macros from bp-asm.h.
57069         (S): Likewise.
57070         (SIZE): Likewise.
57071         (__mpn_rshift): Do not use BP_SYM.
57072         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57073         (PARMS): Do not use macros from bp-asm.h.
57074         (SIGMSK): Likewise.
57075         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57076         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57077         (_start): Do not use BP_SYM.
57078         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57079         (PARMS): Do not use macros from bp-asm.h.
57080         (DEST): Likewise.
57081         (SRC): Likewise.
57082         (__stpcpy): Likewise.  Do not use BP_SYM.
57083         (stpcpy): Do not use BP_SYM in weak_alias.
57084         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57085         "bp-asm.h".
57086         (PARMS): Do not use macros from bp-asm.h.
57087         (DEST): Likewise.
57088         (SRC): Likewise.
57089         (LEN): Likewise.
57090         (__stpncpy): Likewise.  Do not use BP_SYM.
57091         (stpncpy): Do not use BP_SYM in weak_alias.
57092         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57093         (PARMS): Do not use macros from bp-asm.h.
57094         (STR): Likewise.
57095         (CHR): Likewise.
57096         (strchr): Likewise.  Do not use BP_SYM.
57097         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57098         "bp-asm.h".
57099         (PARMS): Do not use macros from bp-asm.h.
57100         (STR): Likewise.
57101         (CHR): Likewise.
57102         (__strchrnul): Likewise.  Do not use BP_SYM.
57103         (strchrnul): Do not use BP_SYM in weak_alias.
57104         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57105         "bp-asm.h".
57106         (PARMS): Do not use macros from bp-asm.h.
57107         (STOP): Likewise.
57108         (strcspn): Do not use BP_SYM.
57109         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57110         "bp-asm.h".
57111         (PARMS): Do not use macros from bp-asm.h.
57112         (STR): Likewise.
57113         (STOP): Likewise.
57114         (strpbrk): Likewise.  Do not use BP_SYM.
57115         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57116         "bp-asm.h".
57117         (PARMS): Do not use macros from bp-asm.h.
57118         (STR): Likewise.
57119         (CHR): Likewise.
57120         (strrchr): Likewise.  Do not use BP_SYM.
57121         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57122         (PARMS): Do not use macros from bp-asm.h.
57123         (SKIP): Likewise.
57124         (strspn): Do not use BP_SYM.
57125         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57126         (PARMS): Do not use macros from bp-asm.h.
57127         (STR): Likewise.
57128         (DELIM): Likewise.
57129         (SAVE): Likewise.
57130         (FUNCTION): Likewise.  Do not use BP_SYM.
57131         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57132         aliases.
57133         (strtok_r): Likewise.
57134         (__GI___strtok_r): Likewise.
57135         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57136         (PARMS): Do not use macros from bp-asm.h.
57137         (S1): Likewise.
57138         (S2): Likewise.
57139         (SIZE): Likewise.
57140         (__mpn_sub_n): Do not use BP_SYM.
57141         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57142         "bp-asm.h".
57143         (PARMS): Do not use macros from bp-asm.h.
57144         (S1): Likewise.
57145         (SIZE): Likewise.
57146         (__mpn_submul_1): Do not use BP_SYM.
57147         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57148         <bp-sym.h>.
57149         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57150         and <bp-asm.h>.
57151         (PARMS): Do not use macros from bp-asm.h.
57152         (FLAGS): Likewise.
57153         (PTID): Likewise.
57154         (TLS): Likewise.
57155         (CTID): Likewise.
57156         (__clone): Do not use BP_SYM.
57157         (clone): Do not use BP_SYM in weak_alias.
57158         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57159         and <bp-asm.h>.
57160         (PARMS): Do not use macros from bp-asm.h.
57161         (LEN): Likewise.
57162         (__mmap64): Do not use BP_SYM.
57163         (mmap64): Do not use BP_SYM in weak_alias.
57164         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57165         <bp-sym.h> and <bp-asm.h>.
57166         (PARMS): Do not use macros from bp-asm.h.
57167         (__posix_fadvise64_l64): Do not use BP_SYM.
57168         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57169         (PARMS): Do not use macros from bp-asm.h.
57170         (NSOPS): Likewise.
57171         (semtimedop): Do not use BP_SYM.
57172         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57173         and <bp-asm.h>.
57175 2013-02-21  Allan McRae  <allan@archlinux.org>
57177         * manual/message.texi (Charset conversion in gettext):
57178         Move @end statement to beginning of line.
57180 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57183         static.
57184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57185         Likewise.
57187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57188         (denorm): Likewise.
57189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57192 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57194         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57195         tail-call to the resolved function if pltexit isn't needed.
57197 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57200         or Y being zero as being unlikely.
57201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57202         Likewise.
57204 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57206         * manual/nss.texi (System Databases and Name Service Switch):
57207         Remove frobnicate @pxref.
57209 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57211         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57212         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57214 2013-02-20  Petr Machata  <pmachata@redhat.com>
57216         * elf/elf.h (R_ARM_TARGET1): New macro.
57217         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57218         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57219         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57220         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57221         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57222         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57223         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57224         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57225         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57226         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57227         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57228         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57229         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57230         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57231         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57232         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57233         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57234         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57235         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57236         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57237         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57238         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57239         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57240         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57241         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57242         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57243         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57244         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57245         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57246         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57247         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57248         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57249         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57250         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57251         (R_ARM_THM_GOT_BREL12): Likewise.
57252         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57253         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57254         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57255         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57256         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57257         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57258         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57259         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57260         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57262 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57264         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57265         __attribute_used__ to __attribute__ ((unused)).
57267 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57269         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57270         powerpc mpa.c.
57271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57272         comment formatting.
57273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57275 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57277         [BZ #13550]
57278         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57279         Remove macro.
57280         (ENTER): Remove both macro definitions.
57281         (LEAVE): Likewise.
57282         (CHECK_BOUNDS_LOW): Likewise.
57283         (CHECK_BOUNDS_HIGH): Likewise.
57284         (CHECK_BOUNDS_BOTH): Likewise.
57285         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57286         (RETURN_BOUNDED_POINTER): Likewise.
57287         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57288         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57289         (POP_ERRNO_LOCATION_RETURN): Likewise.
57290         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57291         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57292         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57293         macros.
57294         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57295         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57296         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57297         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57298         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57299         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57300         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57301         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57302         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57303         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57304         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57305         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57306         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57307         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57308         removed macros.
57309         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57310         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57311         macros.
57312         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57313         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57314         * sysdeps/i386/i586/memset.S (memset): Likewise.
57315         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57316         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57317         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57318         macros.
57319         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57320         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57321         Change uses of L(2) to L(out).
57322         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57323         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57324         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57325         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57326         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57327         removed macros.
57328         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57329         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57330         macros.
57331         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57332         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57333         (RETURN): Do not use macro LEAVE.
57334         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57335         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57336         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57337         * sysdeps/i386/i686/memset.S (memset): Likewise.
57338         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57339         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57340         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57341         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57342         Likewise.
57343         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57344         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57345         L(1_2) and L(1_3) into L(1).
57346         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57347         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57348         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57349         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57350         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57351         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57352         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57353         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57354         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57355         macros.
57356         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57357         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57358         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57359         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57360         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57361         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57362         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57363         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57364         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57365         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57366         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57367         * sysdeps/i386/strspn.S (strspn): Likewise.
57368         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57369         conditional code.
57370         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57371         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57372         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57373         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57374         L(1_3) into L(1_1).
57375         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57376         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57377         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57378         macros.
57379         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57381 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57383         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57384         macro.
57386 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57388         * math/atest-exp.c (exp_mpn): Remove ROUND.
57389         * math/atest-exp2.c (exp_mpn): Likewise.
57390         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57392         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57393         * stdlib/tst-tls-atexit-lib.c: Likewise.
57394         * stdlib/tst-tls-atexit.c: Likewise.
57396 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57398         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57399         and __attribute_alloc_size__.
57401 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57403         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57404         __attribute_alloc_size__.
57405         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57406         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57408 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57410         * include/programs/xmalloc.h: New file.
57411         * catgets/gencat.c: Include it.
57412         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57413         * elf/pldd.c: Likewise.
57414         * iconv/iconv_charmap.c: Likewise.
57415         * iconv/iconvconfig.c: Likewise.
57416         * iconv/strtab.c: Likewise.
57417         * locale/programs/locale.c: Likewise.
57418         * locale/programs/localedef.h: Likewise.
57419         * locale/programs/simple-hash.c: Likewise.
57420         * nscd/nscd.h: Likewise.
57421         * nss/makedb.c: Likewise.
57422         * sysdeps/generic/ldconfig.h: Likewise.
57424 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57426         * Versions.def: Add GLIBC_2.18.
57427         * include/link.h (struct link_map): New member l_tls_dtor_count.
57428         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57429         (__call_tls_dtors): Likewise.
57430         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57431         __cxa_thread_atexit_impl.
57432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57433         Likewise.
57434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57435         Likewise.
57436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57437         Likewise.
57438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57439         Likewise.
57440         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57442         Likewise.
57443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57444         Likewise.
57445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57447         Likewise.
57448         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57449         (tests): Add test case tst-tls-atexit.
57450         (modules-names): Add shared library for tst-tls-atexit.
57451         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57452         (GLIBC_PRIVATE): Add __call_tls_dtors.
57453         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57454         for libstdc++.
57455         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57456         * stdlib/tst-tls-atexit.c: New test case.
57457         * stdlib/tst-tls-atexit-lib.c: New test case.
57459         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57461         * elf/Versions (ld): Add _dl_find_dso_for_object.
57462         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57463         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57464         (dl_open_worker): Use _dl_find_dso_for_object.
57465         * elf/dl-sym.c (do_sym): Likewise.
57466         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57468 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57470         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57471         Syntactic changes only.
57472         (_dl_runtime_profile): Do a tail-call to the resolved function.
57474 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57476         [BZ #13550]
57477         * sysdeps/x86_64/bp-asm.h: Remove file.
57478         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57479         <bp-sym.h> and <bp-asm.h>.
57480         (__clone): Do not use BP_SYM.
57481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57482         <bp-sym.h> and <bp-asm.h>.
57483         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57484         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57485         "bp-asm.h".
57486         (_setjmp): Do not use BP_SYM.
57487         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57488         "bp-asm.h".
57489         (setjmp): Do not use BP_SYM.
57490         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57491         libc_hidden_def.
57492         (mempcpy): Do not use BP_SYM in weak_alias.
57493         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57494         "bp-asm.h".
57495         (strchr): Do not use BP_SYM.
57496         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57497         "bp-asm.h".
57498         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57499         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57500         (_start): Do not use BP_SYM.
57501         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57502         "bp-asm.h".
57503         (strcat): Do not use BP_SYM.
57504         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57505         "bp-asm.h".
57506         (STRCMP): Do not use BP_SYM.
57507         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57508         "bp-asm.h".
57509         (STRCPY): Do not use BP_SYM.
57510         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57511         "bp-asm.h".
57512         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57513         "bp-asm.h".
57514         (FUNCTION): Do not use BP_SYM.
57515         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57516         weak_alias.
57517         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57519 2013-02-17  Andreas Jaeger  <aj@suse.de>
57521         * time/Versions: Sort entries.
57522         * string/Versions: Likewise.
57523         * resolv/Versions: Likewise.
57524         * posix/Versions: Likewise.
57525         * iconv/Versions: Likewise.
57526         * elf/Versions: Likewise.
57527         * wcsmbs/Versions: Likewise.
57529 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57531         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57532         loop termination condition.
57534         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57535         variable to calculate EZ.
57536         (__sqr): Likewise.
57538         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57539         the lower precision input.
57541 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57543         [BZ #13550]
57544         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57545         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57546         (run-via-rtld-prefix): Do not handle %-bp tests.
57547         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57548         (all-object-suffixes): Remove .ob.
57549         (bppfx): Remove variable.
57550         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57551         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57552         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57553         [$(build-bounded) = yes] (libtype.ob): Likewise.
57554         * Makerules (elide-routines.ob): Remove variable.
57555         (do-tests-clean): Do not handle *-bp.out.
57556         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57557         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57558         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57559         (tests): Do not include $(tests-bp.out).
57560         (xtests): Do not include $(xtests-bp.out).
57561         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57562         [$(build-bounded) = yes] ($(addprefix
57563         $(objpfx),$(binaries-bounded))): Remove rule.
57564         ($(objpfx)%-bp.out): Remove rule.
57565         * config.make.in (build-bounded): Remove variable.
57566         * crypt/Makefile [$(build-bounded) = yes]
57567         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57568         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57569         append to variable.
57570         [$(build-bounded) = yes] (install-lib): Likewise.
57571         [$(build-bounded) = yes] (generated): Likewise.
57572         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57573         Remove rule.
57574         * intl/Makefile [$(build-bounded) = yes]
57575         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57576         * math/Makefile [$(build-bounded) = yes]
57577         ($(tests:%=$(objpfx)%-bp): Likewise.
57578         * misc/Makefile [$(build-bounded) = yes]
57579         ($(objpfx)tst-tsearch-bp): Likewise.
57580         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57581         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57582         Remove dependency.
57583         * string/Makefile (o-objects.ob): Remove variable.
57584         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57585         (CFLAGS-.ob): Remove variable.
57586         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57587         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57588         both definitions of variable.
57589         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57590         (ASFLAGS-.ob): Remove variable.
57592 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57594         [BZ #13550]
57595         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57596         Remove __BOUNDED_POINTERS__ from condition.
57597         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57598         * string/bits/string2.h [!__NO_STRING_INLINES &&
57599         !__BOUNDED_POINTERS__]: Likewise.
57600         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57601         Likewise.
57602         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57603         Remove conditional code.
57604         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57605         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57606         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57607         condition.
57609         [BZ #13550]
57610         * csu/libc-start.c: Do not include <bp-sym.h>.
57611         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57612         * elf/dl-open.c: Do not include <bp-sym.h>.
57613         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57614         * math/fegetenv.c: Do not include <bp-sym.h>.
57615         (fegetenv): Do not use BP_SYM in versioned symbols.
57616         * nptl/sysdeps/pthread/bits/libc-lockP.h
57617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57618         <bp-sym.h>.
57619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57620         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57622         (__pthread_mutex_destroy): Likewise.
57623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57624         (__pthread_mutex_lock): Likewise.
57625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57626         (__pthread_mutex_trylock): Likewise.
57627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57628         (__pthread_mutex_unlock): Likewise.
57629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57630         (__pthread_mutexattr_init): Likewise.
57631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57632         (__pthread_mutexattr_destroy): Likewise.
57633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57634         (__pthread_mutexattr_settype): Likewise.
57635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57636         (__pthread_rwlock_init): Likewise.
57637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57638         (__pthread_rwlock_destroy): Likewise.
57639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57640         (__pthread_rwlock_rdlock): Likewise.
57641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57642         (__pthread_rwlock_tryrdlock): Likewise.
57643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57644         (__pthread_rwlock_wrlock): Likewise.
57645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57646         (__pthread_rwlock_trywrlock): Likewise.
57647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57648         (__pthread_rwlock_unlock): Likewise.
57649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57650         (__pthread_key_create): Likewise.
57651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57652         (__pthread_setspecific): Likewise.
57653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57654         (__pthread_getspecific): Likewise.
57655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57656         Likewise.
57657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57658         (_pthread_cleanup_push_defer): Likewise.
57659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57660         (_pthread_cleanup_pop_restore): Likewise.
57661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57662         (pthread_setcancelstate): Likewise.
57663         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57664         <bp-sym.h>.
57665         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57666         (memchr): Do not use BP_SYM in weak_alias.
57667         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57668         (fegetenv): Do not use BP_SYM in versioned symbols.
57669         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57670         (fesetenv): Do not use BP_SYM in versioned symbols.
57671         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57672         (feupdateenv): Do not use BP_SYM in versioned symbols.
57673         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57674         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57675         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57676         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57677         (open64): Do not use BP_SYM in weak_alias.
57678         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57679         (fegetenv): Do not use BP_SYM in versioned symbols.
57680         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57681         (fesetenv): Do not use BP_SYM in versioned symbols.
57682         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57683         (feupdateenv): Do not use BP_SYM in versioned symbols.
57684         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57685         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57686         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57687         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57688         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57689         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57690         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57691         <bp-sym.h>.
57692         (__libc_start_main): Do not use BP_SYM.
57694 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57697         redundant return line.
57698         (norm): Likewise.
57699         (denorm): Likewise.
57700         (dbl_mp): Likewise.
57701         (sub_magnitudes): Likewise.
57702         (__add): Likewise.
57703         (__sub): Likewise.
57704         (__mul): Likewise.
57705         (__inv): Likewise.
57706         (__dvd): Likewise.
57707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57708         (norm): Likewise.
57709         (denorm): Likewise.
57710         (dbl_mp): Likewise.
57711         (sub_magnitudes): Likewise.
57712         (__add): Likewise.
57713         (__sub): Likewise.
57714         (__mul): Likewise.
57715         (__inv): Likewise.
57716         (__dvd): Likewise.
57718         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57719         instead of __mul.
57720         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57721         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57722         (cc32): Likewise.
57724         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57725         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57727         of __mul for squares.
57728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57729         function
57730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57731         Likewise.
57732         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57733         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57735 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57737         [BZ #13550]
57738         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57739         code.
57740         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57741         prototype or function definition.  Rename ubp_* variables and
57742         parameters.  Remove argv definitions conditional on
57743         [__BOUNDED_POINTERS__].
57744         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57745         * elf/dl-runtime.c (_dl_fixup): Likewise.
57746         * include/set-hooks.h (RUN_HOOK): Likewise.
57747         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57748         definition.
57749         * string/strcpy.c (strcpy): Do not use __unbounded.
57750         * sysdeps/generic/frame.h (struct layout): Likewise.
57751         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57752         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57753         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57754         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57755         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57756         (__backtrace): Likewise.
57757         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57758         use __ptrvalue.
57759         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57760         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57761         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57762         Likewise.
57763         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57764         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57765         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57766         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57767         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57768         Do not use __unbounded.
57769         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57770         Rename __unboundedrlimits parameter to rlimits in prototype.
57771         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57772         Do not use __unbounded.
57773         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57774         not use __ptrvalue.
57775         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57776         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57777         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57778         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57779         __ptrvalue or __unbounded.
57780         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57781         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57782         use __unbounded.
57783         (__new_msgctl): Do not use __ptrvalue.
57784         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57785         __unbounded.
57786         (__libc_msgrcv): Do not use __ptrvalue.
57787         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57788         startup_info): Do not use __unbounded.
57789         (__libc_start_main): Likewise.  Rename ubp_* variables and
57790         parameters.  Remove argv definitions conditional on
57791         [__BOUNDED_POINTERS__].
57792         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57793         __ptrvalue.
57794         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57795         use __unbounded.
57796         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57797         or __ptrvalue.
57798         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57799         use __unbounded.
57800         (__new_shmctl): Do not use __ptrvalue.
57801         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57802         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57803         Likewise.
57804         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57805         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57806         (__libc_sigaction): Likewise.
57807         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57808         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57809         Likewise.
57810         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57812 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57814         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57816         * string/mempcpy.c: Implement by calling memcpy.
57818 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57823         evaluation.
57825         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57826         values in the mantissa.
57828         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57829         minimize writes to Z.
57830         (sub_magnitudes): Simplify code a bit.
57832 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57834         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57835         from the message.  The linker prefixes all warnings with that already.
57837 2013-02-12  Andreas Schwab  <schwab@suse.de>
57839         [BZ #15078]
57840         * posix/regexec.c (extend_buffers): Add parameter min_len.
57841         (check_matching): Pass minimum needed length.
57842         (clean_state_log_if_needed): Likewise.
57843         (get_subexp): Likewise.
57844         * posix/Makefile (tests): Add bug-regex34.
57845         (bug-regex34-ENV): Define.
57846         * posix/bug-regex34.c: New file.
57848         [BZ #11561]
57849         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57850         elements compare against the byte sequence of it, not its name.
57851         * posix/Makefile (tests): Add bug-regex35.
57852         (bug-regex35-ENV): Define.
57853         * posix/bug-regex35.c: New file.
57855 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57857         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57858         comment.
57859         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57860         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57861         (CHECK_EOL): Add undef.
57863 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57865         * bits/stdlib-bsearch.h: New file.
57866         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57867         * stdlib/stdlib.h: Likewise.
57869 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57871         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57872         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57873         declaration.
57874         * manual/search.texi (Array Search Function): Add missing const in
57875         lfind prototype.
57876         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57877         declaration to use rlim_t.
57878         (Basic Scheduling Functions): Remove erroneous const from
57879         sched_getparam prototype.  Remove erroneous * from
57880         sched_get_priority_max and sched_get_priority_min prototypes.
57881         (Resource Usage): Fix summary @comment on vtimes to refer to
57882         sys/vtimes.h rather than vtimes.h.
57883         Add missing *s in vtimes prototype.
57884         (Limits on Resources): Fix ulimit prototype to return long int.
57885         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57886         prototypes to use long int rather than double.
57887         (BSD Random): Fix initstate and setstate to use char *, not void *.
57888         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57889         prototype to make second argument 'struct aiocb64 *const[]'.
57890         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57891         (Status of AIO Operations): Remove erroneous const in aio_return and
57892         aio_return64 prototypes.
57893         (Synchronizing I/O): Fix sync prototype to return void.
57894         * manual/startup.texi (Suboptions): Remove an erroneous const in
57895         getsubopt prototype.
57896         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57897         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57898         use size_t rather than int.
57899         (Scanning All Users): Likewise for getpwent_r.
57900         (Setting Groups): Add missing const to setgroups prototype.
57901         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57902         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57903         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57904         'const void *' rather than 'const char *'.
57905         (Host Address Functions): Likewise for inet_ntop.
57906         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57907         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57908         ssize_t for return value.
57909         (Sending Data): Likewise for send, sendto, sendmsg.
57910         (Socket Option Functions): Add a missing const in setsockopt prototype.
57911         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57912         use wchar_t for the argument.
57913         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57914         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57915         take no arguments.
57916         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57917         double/float/long double for second argument.
57918         Fix return types of significand, significandf, significandl.
57919         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57920         argument in fchmod prototype.
57921         (File Owner): Use uid_t and gid_t in fchown prototype.
57922         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57923         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57924         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57925         use 'const struct dirent **' as argument types to CMP function pointer
57926         argument.
57927         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57928         (File Times): Fix summary magic @comment for struct utimbuf and utime
57929         to refer to utime.h, not time.h.
57930         * manual/string.texi (Argz Functions): Add missing const in
57931         argz_extract and argz_next prototypes.
57932         (Finding Tokens in a String): Likewise for basename.
57933         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57934         (Copying and Concatenation): Fix typo in wmemmove prototype.
57935         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57936         (Signal Stack): Remove erroneous const in sigstack prototype.
57937         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57938         prototype.
57939         (Simple Calendar Time): Likewise for stime.
57940         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57941         prototype.
57942         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57943         say sys/sysctl.h instead.
57944         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57945         and vsyslog prototypes.
57947 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57949         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57950         Remove.
57952 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57954         * misc/sys/mman.h: Fix typo in mremap comment.
57956 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57958         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57959         the '\0' terminator.
57961 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57963         [BZ #13550]
57964         * debug/segfault.c: Don't include <bp-checks.h>.
57965         * sysdeps/generic/bp-checks.h: Remove file.
57966         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57967         (__GETDENTS): Don't use CHECK_N.
57968         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57969         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57970         (__getgroups): Don't use CHECK_N.
57971         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57972         (setgroups): Don't use CHECK_N.
57973         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57974         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57975         (__libc_msgrcv): Don't use CHECK_N.
57976         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57977         (__libc_msgsnd): Don't use CHECK_N.
57978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57979         <bp-checks.h>.
57980         (__libc_pread): Don't use CHECK_N.
57981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57982         include <bp-checks.h>.
57983         (__libc_pread64): Don't use CHECK_N.
57984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57985         include <bp-checks.h>.
57986         (__libc_pwrite): Don't use CHECK_N.
57987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57988         include <bp-checks.h>.
57989         (__libc_pwrite64): Don't use CHECK_N.
57990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57991         <bp-checks.h>.
57992         (__libc_pread): Don't use CHECK_N.
57993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57994         include <bp-checks.h>.
57995         (__libc_pread64): Don't use CHECK_N.
57996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57997         include <bp-checks.h>.
57998         (__libc_pwrite): Don't use CHECK_N.
57999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58000         include <bp-checks.h>.
58001         (__libc_pwrite64): Don't use CHECK_N.
58002         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58003         (do_pread): Don't use CHECK_N.
58004         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58005         (do_pread64): Don't use CHECK_N.
58006         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58007         (do_pwrite): Don't use CHECK_N.
58008         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58009         (do_pwrite64): Don't use CHECK_N.
58010         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58011         (__libc_readv): Don't use CHECK_N.
58012         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58013         (semop): Don't use CHECK_N.
58014         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58015         <bp-checks.h>.
58016         (semtimedop): Don't use CHECK_N.
58017         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58018         (__libc_pread): Don't use CHECK_N.
58019         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58020         <bp-checks.h>.
58021         (__libc_pread64): Don't use CHECK_N.
58022         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58023         <bp-checks.h>.
58024         (__libc_pwrite): Don't use CHECK_N.
58025         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58026         <bp-checks.h>.
58027         (__libc_pwrite64): Don't use CHECK_N.
58028         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58029         <bp-checks.h>.
58030         (__libc_msgrcv): Don't use CHECK_N.
58031         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58032         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58033         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58034         (__libc_writev): Don't use CHECK_N.
58036 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58038         * string/strcpy.c: Removed unused variable.
58040         * Makeconfig (+sysdep-includes): Define with := rather than =.
58041         Use an existing include/ subdir of each sysdeps dir before it.
58043 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58045         * nscd/connection.c (register_traced_file): Comment function.
58046         [HAVE_INOTIFY] (union __inev): Define.
58047         [HAVE_INOTIFY] (inotify_check_files): New function.
58048         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58049         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58050         clear_db_cache.
58051         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58053 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58055         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58056         loaded if not already and that a failure is permanent.
58058 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58060         [BZ #15006]
58061         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58062         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58064 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58066         [BZ #13550]
58067         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58068         (CHECK_1_NULL_OK): Likewise.
58069         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58070         (__fxstat): Do not use CHECK_1.
58071         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58072         <bp-checks.h>.
58073         (___fxstat64): Do not use CHECK_1.
58074         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58075         <bp-checks.h>.
58076         (__fxstatat): Do not use CHECK_1.
58077         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58078         <bp-checks.h>.
58079         (__fxstatat64): Do not use CHECK_1.
58080         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58081         <bp-checks.h>.
58082         (__fxstat): Do not use CHECK_1.
58083         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58084         <bp-checks.h>.
58085         (__fxstatat): Do not use CHECK_1.
58086         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58087         <bp-checks.h>.
58088         (__getresgid): Do not use CHECK_1.
58089         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58090         <bp-checks.h>.
58091         (__getresuid): Do not use CHECK_1.
58092         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58093         <bp-checks.h>.
58094         (__lxstat): Do not use CHECK_1.
58095         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58096         <bp-checks.h>.
58097         (__old_msgctl): Do not use CHECK_1.
58098         (__new_msgctl): Likewise.
58099         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58100         <bp-checks.h>.
58101         (__new_setrlimit): Do not use CHECK_1.
58102         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58103         <bp-checks.h>.
58104         (__old_shmctl): Do not use CHECK_1.
58105         (__new_shmctl): Likewise.
58106         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58107         <bp-checks.h>.
58108         (__xstat): Do not use CHECK_1.
58109         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58110         (__lxstat): Do not use CHECK_1.
58111         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58112         <bp-checks.h>.
58113         (___lxstat64): Do not use CHECK_1.
58114         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58115         (__old_msgctl): Do not use CHECK_1.
58116         (__new_msgctl): Likewise.
58117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58118         <bp-checks.h>.
58119         (__gettimeofday): Do not use CHECK_1.
58120         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58121         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58122         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58123         <bp-checks.h>.
58124         (__gettimeofday): Do not use CHECK_1.
58125         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58126         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58127         (__new_shmctl): Do not use CHECK_1.
58128         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58129         <bp-checks.h>.
58130         (do_sigtimedwait): Do not use CHECK_1.
58131         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58132         <bp-checks.h>.
58133         (do_sigwaitinfo): Do not use CHECK_1.
58134         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58135         <bp-checks.h>.
58136         (msgctl): Do not use CHECK_1.
58137         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58138         <bp-checks.h>.
58139         (shmctl): Do not use CHECK_1.
58140         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58141         (ustat): Do not use CHECK_1.
58142         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58143         <bp-checks.h>.
58144         (__fxstat): Do not use CHECK_1.
58145         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58146         <bp-checks.h>.
58147         (__fxstatat): Do not use CHECK_1.
58148         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58149         <bp-checks.h>.
58150         (__lxstat): Do not use CHECK_1.
58151         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58152         <bp-checks.h>.
58153         (__xstat): Do not use CHECK_1.
58154         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58155         (__xstat): Do not use CHECK_1.
58156         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58157         (___xstat64): Do not use CHECK_1.
58159         [BZ #13550]
58160         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58161         definitions.
58162         (CHECK_BOUNDS_HIGH): Likewise.
58163         * string/strcpy.c: Do not include <bp-checks.h>.
58164         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58166 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58168         * nscd/nscd-client.h (__nscd_drop_map_ref):
58169         Add __attribute__ ((unused)).
58170         * nis/nss-nisplus.h (niserr2nss): Likewise.
58172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58173         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58175         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58176         Remove inline keyword.
58177         * include/rounding-mode.h (round_away): Likewise.
58178         * libio/wfileops.c (adjust_wide_data): Likewise.
58179         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58180         (__m128i_strloadu_tolower): Likewise.
58181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58182         (__m128i_strloadu_tolower): Likewise.
58183         * time/mktime.c (ydhms_diff): Likewise.
58184         * locale/elem-hash.h (elem_hash): Likewise.
58185         * locale/setlocale.c (setdata): Likewise.
58186         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58187         (re_string_wchar_at): Likewise.
58188         (bitset_not, bitset_merge, bitset_mask): Likewise.
58189         [!(__GNUC__ > 3)] (inline): Remove macro.
58190         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58191         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58192         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58193         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58194         * string/memcmp.c (memcmp_bytes): Likewise.
58195         * locale/programs/locarchive.c (compute_hashval): Likewise.
58196         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58197         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58198         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58199         * nss/getent.c (print_rpc, print_protocols): Likewise.
58200         (print_passwd, print_group, print_aliases): Likewise.
58201         * nis/nss-nisplus.h (niserr2nss): Likewise.
58202         * nscd/connections.c (restart_p): Likewise.
58203         Change return type to bool.
58205 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58207         * Makeconfig (all-Depend-files): Add existing
58208         $(sorted-subdirs:=/Depend) files.
58209         (all-subdirs): Remove nss.
58210         * sysdeps/unix/inet/Subdirs: Add it here instead.
58211         * hesiod/Depend: New file.
58213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58214         instead of calling alloca.
58216         * io/lseek.c (__lseek): Rename to __libc_lseek.
58217         Define __lseek as an alias.
58219         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58221 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58223         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58224         else clause and remove check for non-standard endianness.
58226 2013-02-04  David S. Miller  <davem@davemloft.net>
58228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58230 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58232         [BZ #13550]
58233         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58234         (__ubp_memchr): Remove prototype.
58235         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58236         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58237         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58238         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58239         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58240         Remove alias.
58241         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58242         (__ubp_memchr): Likewise.
58243         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58244         (__ubp_memchr): Likewise.
58245         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58246         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58247         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58248         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58249         CHECK_STRING.
58250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58251         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58252         (__getcwd): Do not use CHECK_STRING.
58253         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58254         <bp-checks.h>.
58255         (__real_chown): Do not use CHECK_STRING.
58256         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58257         <bp-checks.h>.
58258         (fchownat): Do not use CHECK_STRING.
58259         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58260         CHECK_STRING.
58261         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58262         <bp-checks.h>.
58263         (__lchown): Do not use CHECK_STRING.
58264         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58265         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58266         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58267         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58269         include <bp-checks.h>.
58270         (truncate64): Do not use CHECK_STRING.
58271         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58272         <bp-checks.h>.
58273         (__real_chown): Do not use CHECK_STRING.
58274         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58275         <bp-checks.h>.
58276         (__lchown): Do not use CHECK_STRING.
58277         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58278         <bp-checks.h>.
58279         (__chown): Do not use CHECK_STRING.
58280         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58281         <bp-checks.h>.
58282         (truncate64): Do not use CHECK_STRING.
58283         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58284         Likewise.
58285         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58286         (__xmknod): Do not use CHECK_STRING.
58287         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58288         <bp-checks.h>.
58289         (__xmknodat): Do not use CHECK_STRING.
58290         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58291         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58293 2013-02-04  Andreas Schwab  <schwab@suse.de>
58295         [BZ #14142]
58296         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58297         * include/netdb.h: Likewise for h_errno.
58298         * elf/tst-stackguard1.c: Include <tls.h>.
58300 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58302         * elf/link.h (struct link_map): Extend the l_addr comment.
58303         * include/link.h (struct link_map): Likewise.
58305 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58307         [BZ #13550]
58308         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58309         (BOUNDED_1): Remove macro.
58310         * debug/backtrace.c: Don't include <bp-checks.h>.
58311         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58312         (__backtrace): Likewise.
58313         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58314         <bp-checks.h>.
58315         (__backtrace): Don't use BOUNDED_1.
58316         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58317         <bp-checks.h>.
58318         (__backtrace): Don't use BOUNDED_1.
58319         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58320         (__backtrace): Don't use BOUNDED_1.
58321         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58322         (shmat): Don't use BOUNDED_N.
58324 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58326         [BZ #13550]
58327         * sysdeps/generic/bp-start.h: Remove file.
58328         * csu/libc-start.c: Don't include <bp-start.h>.
58329         (LIBC_START_MAIN): Set up __environ directly instead of using
58330         INIT_ARGV_and_ENVIRON.
58331         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58332         <bp-start.h>.
58334         [BZ #13550]
58335         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58336         definitions.
58337         (CHECK_FCNTL): Likewise.
58338         (CHECK_N_PAGES): Likewise.
58340         [BZ #13550]
58341         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58342         definitions.
58343         (CHECK_SIGSET_NULL_OK): Likewise.
58344         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58345         <bp-checks.h>.
58346         (sigpending): Don't use CHECK_SIGSET.
58347         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58348         <bp-checks.h>.
58349         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58350         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58351         <bp-checks.h>.
58352         (do_sigsuspend): Don't use CHECK_SIGSET.
58353         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58354         use CHECK_SIGSET.
58355         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58356         (do_sigwait): Don't use CHECK_SIGSET.
58357         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58358         use CHECK_SIGSET.
58359         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58360         include <bp-checks.h>.
58361         (sigpending): Don't use CHECK_SIGSET.
58362         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58363         include <bp-checks.h>.
58364         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58365         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58366         <bp-checks.h>.
58367         (sigpending): Don't use CHECK_SIGSET.
58368         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58369         <bp-checks.h>.
58370         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58372         [BZ #13550]
58373         * sysdeps/generic/bp-semctl.h: Remove file.
58374         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58375         <bp-checks.h> and <bp-semctl.h>.
58376         (__old_semctl): Don't use CHECK_SEMCTL.
58377         (__new_semctl): Likewise.
58378         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58379         and <bp-semctl.h>.
58380         (__old_semctl): Don't use CHECK_SEMCTL.
58381         (__new_semctl): Likewise.
58382         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58383         <bp-checks.h> and <bp-semctl.h>.
58384         (__old_semctl): Don't use CHECK_SEMCTL.
58385         (__new_semctl): Likewise.
58386         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58387         <bp-checks.h> and <bp-semctl.h>.
58388         (semctl): Don't use CHECK_SEMCTL.
58390         [BZ #13550]
58391         * Makerules (elide-bp-thunks): Remove variable.
58392         (elide-routines.oS): Don't use $(elide-bp-thunks).
58393         (elide-routines.os): Likewise.
58394         (elide-routines.o): Likewise.
58395         (elide-routines.op): Likewise.
58396         (elide-routines.og): Likewise.
58397         (objects): Don't use $(bp-thunks).
58398         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58399         include.
58400         (common-generated): Do not add s-proto-bp.d.
58401         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58402         (int): Likewise.
58403         (typ): Likewise.
58404         Do not generate makefile rules for bounded-pointer thunks.
58405         * sysdeps/generic/bp-thunks.h: Remove file.
58406         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58407         * sysdeps/unix/s-proto-bp.S: Likewise.
58409         [BZ #15062]
58410         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58411         parts of result separately when argument is not close to line from
58412         -i to i and one part of argument is small.
58413         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58414         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58415         * math/libm-test.inc (cacos_test): Add more tests.
58416         (casin_test): Likewise.
58417         (casinh_test): Likewise.
58418         * sysdeps/i386/fpu/libm-test-ulps: Update.
58419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58421 2013-01-31  David S. Miller  <davem@davemloft.net>
58423         * po/de.po: Update from translation team.
58425 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58427         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58429 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58431         * configure.in (_AC_PROG_CC_C89): New definition.
58432         * configure: Regenerate.
58434         * configure.in (AC_PROG_CPP): New definition.
58435         * configure: Regenerate.
58437 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58439         * debug/tst-backtrace.h: New file.
58440         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58441         (ret): Remove variable.
58442         (x): Likewise.
58443         (FAIL): Remove macro.
58444         (NO_INLINE): Likewise.
58445         (fn1): Use match function instead of strstr.
58446         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58447         (ret): Remove variable.
58448         (x): Likewise.
58449         (FAIL): Remove macro.
58450         (NO_INLINE): Likewise.
58451         (fn): Use match function instead of strstr.
58452         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58453         (ret): Remove variable.
58454         (x): Likewise.
58455         (FAIL): Remove macro.
58456         (NO_INLINE): Likewise.
58457         (handle_signal): Use match function instead of strstr.
58458         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58459         (ret): Remove variable.
58460         (x): Likewise.
58461         (FAIL): Remove macro.
58462         (NO_INLINE): Likewise.
58463         (handle_signal): Use match function instead of strstr.
58465 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58467         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58469 2013-01-23  David S. Miller  <davem@davemloft.net>
58471         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58472         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58473         argument of CAS if possible.
58474         * sysdeps/sparc/sparc64/bits/atomic.h
58475         (__arch_compare_and_exchange_val_32_acq): Likewise.
58476         (__arch_compare_and_exchange_val_64_acq): Likewise.
58478 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58480         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58481         * sysdeps/posix/ulimit.c: ... this.
58482         Include <limits.h>.
58483         * sysdeps/unix/bsd/ulimit.c: Remove file.
58485 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58487         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58488         (LDFLAGS-tst-array5): Likewise.
58490 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58492         [BZ #15036]
58493         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58494         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58495         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58496         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58498 2013-01-21  David S. Miller  <davem@davemloft.net>
58500         * sysdeps/sparc/backtrace.c: New file.
58501         * sysdeps/sparc/sparc32/backtrace.h: New file.
58502         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58503         * sysdeps/sparc/sparc64/backtrace.h: New file.
58504         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58505         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58506         -funwind-tables.
58508 2013-01-21  Andreas Schwab  <schwab@suse.de>
58510         [BZ #15020]
58511         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58512         closed its stdout.
58514 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58517         "mpa2.h".
58518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58520 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58521             Mark Mitchell  <mark@codesourcery.com>
58522             Tom de Vries  <tom@codesourcery.com>
58523             Paul Pluzhnikov  <ppluzhnikov@google.com>
58525         * debug/tst-backtrace2.c: New file.
58526         * debug/tst-backtrace3.c: Likewise.
58527         * debug/tst-backtrace4.c: Likewise.
58528         * debug/tst-backtrace5.c: Likewise.
58529         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58530         (CFLAGS-tst-backtrace3.c): Likewise.
58531         (CFLAGS-tst-backtrace4.c): Likewise.
58532         (CFLAGS-tst-backtrace5.c): Likewise.
58533         (LDFLAGS-tst-backtrace2): Likewise.
58534         (LDFLAGS-tst-backtrace3): Likewise.
58535         (LDFLAGS-tst-backtrace4): Likewise.
58536         (LDFLAGS-tst-backtrace5): Likewise.
58537         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58538         tst-backtrace4 and tst-backtrace5.
58540 2013-01-18  Anton Blanchard  <anton@samba.org>
58541             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58543         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58544         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58545         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58546         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58548         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58549         "+r" and remove output regs list as redundant.  Add explicit inline
58550         asm to specify register of return val to work around compiler codegen
58551         bug.  Remove (int) cast on return value.  Add return type parameter to
58552         use in macro so that this macro does not truncate return value for
58553         64-bit values.
58554         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58555         pass to INTERNAL_VSYSCALL_NCS.
58556         (INLINE_VSYSCALL): Add 'long int' as return type to
58557         INTERNAL_VSYSCALL_NCS macro invocation.
58558         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58559         INTERNAL_VSYSCALL_NCS macro invocation.
58560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58562 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58564         [BZ #14496]
58565         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58566         Fix application of SIMD FP exception mask.
58568         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58569         mp_no from a power of two.
58570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58571         __mpexp_twomm1.  Use __pow_mp.
58573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58574         multiplication.
58576 2013-01-17  David S. Miller  <davem@davemloft.net>
58578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58580 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58582         [BZ #15023]
58583         * include/complex.h: Condition contents on [!_COMPLEX_H].
58584         (__kernel_casinhf): New prototype.
58585         (__kernel_casinh): Likewise.
58586         (__kernel_casinhl): Likewise.
58587         * math/Makefile (libm_calls): Add k_casinh.
58588         * math/k_casinh.c: New file.
58589         * math/k_casinhf.c: Likewise.
58590         * math/k_casinhl.c: Likewise.
58591         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58592         finite nonzero arguments.
58593         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58594         finite nonzero arguments.
58595         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58596         finite nonzero arguments.
58597         * math/s_casinh.c: Do not include <float.h>.
58598         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58599         * math/s_casinhf.c: Do not include <float.h>.
58600         (__casinhf): Move code for finite nonzero arguments to
58601         k_casinhf.c.
58602         * math/s_casinhl.c: Do not include <float.h>.
58603         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58604         redefine.
58605         (__casinhl): Move code for finite nonzero arguments to
58606         k_casinhl.c.
58607         * math/libm-test.inc (cacos_test): Add more tests.
58608         * sysdeps/i386/fpu/libm-test-ulps: Update.
58609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58611 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58613         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58614         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58615         [!HAVE_MREMAP]: Remove [defined linux] case.
58616         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58618 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58620         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58622 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58624         * elf/elf.h (R_386_SIZE32): New relocation.
58625         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58626         R_386_SIZE32.
58627         (elf_machine_rela): Likewise.
58628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58629         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58631 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58633         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58634         (FP_FAST_FMA): Do not define.
58635         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58636         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58637         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58638         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58639         !_SOFT_FLOAT]: Likewise.
58640         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58641         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58642         value.
58643         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58644         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58645         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58646         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58647         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58648         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58649         file.
58651 2013-01-16  Andreas Schwab  <schwab@suse.de>
58653         [BZ #14327]
58654         * include/stdlib.h (__mktemp): Add declaration.
58655         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58656         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58658 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58660         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58661         definitions.
58662         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58663         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58664         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58665         definitions here.
58666         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58667         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58668         definitions.
58669         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58670         and ONE.
58671         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58672         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58673         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58674         definitions.
58675         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58676         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58677         definitions.
58678         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58680         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58682 2013-01-15  David S. Miller  <davem@davemloft.net>
58684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58685         trunc{,f} to libm-sysdep_routes.
58686         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58688         file.
58689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58691         file.
58692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58693         file.
58694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58696         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58697         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58698         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58699         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58700         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58701         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58704         nearbyint{,f} to libm-sysdep_routes.
58705         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58707         New file.
58708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58709         file.
58710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58711         New file.
58712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58713         file.
58714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58716         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58717         file.
58718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58719         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58720         file.
58721         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58722         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58723         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58725         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58726         libc_feholdexcept and libc_fesetenv.
58728 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58730         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58732 2013-01-14  David S. Miller  <davem@davemloft.net>
58734         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58735         (SPARC_ASM_VIS2_IFUNC): Likewise.
58736         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58738         use of 'siam' instruction.
58739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58740         Likewise.
58741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58742         Likewise.
58743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58744         Likewise.
58745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58748         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58750         file.
58751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58752         file.
58753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58754         file.
58755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58756         file.
58757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58762         new VIS2 routines.
58763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58766         Likewise.
58767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58772         routines to libm-sysdep_routines.
58773         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58776         fdim/fdimf to libm-sysdep_routines.
58777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58778         file.
58779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58781         file.
58782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58785         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58786         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58787         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58788         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58790 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58792         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58793         to optimize copies.
58795         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58800         local variable MPTWO.
58801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58802         Likewise.
58804 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58806         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58807         GLOB_NOESCAPE.
58809 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58811         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58813 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58815         * manual/pattern.texi (glob_t): Document gl_flags.
58816         (glob64_t): Likewise.
58818 2013-01-11  David S. Miller  <davem@davemloft.net>
58820         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58821         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58822         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58823         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58824         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58825         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58826         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58827         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58828         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58829         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58830         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58831         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58832         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58834         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58835         sparc V9 rather than using V8 code.
58836         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58837         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58839         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58840         Move to...
58841         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58842         Here.
58844 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58846         [BZ #14941]
58847         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58848         not in the main loop.
58849         * configure: Regenerated.
58851 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58853         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58854         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58855         to just #else.
58856         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58857         [!__GLIBC_HAVE_LONG_LONG] case.
58858         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58859         condition to just #else.
58860         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58861         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58862         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58863         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58864         unconditional.
58865         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58866         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58867         #elif condition to just #else.
58868         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58869         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58870         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58871         #elif condition to just #else.
58873 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58875         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58876         (EF_MIPS_ARCH_64): Fix value.
58877         (EF_MIPS_ARCH_32R2): New.
58878         (EF_MIPS_ARCH_64R2): New.
58880 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58882         * Makeconfig (+link-pie-before-libc): New.
58883         (+link-pie-after-libc): Likewise.
58884         (+link-pie-tests): Likewise.
58885         (+link-pie): Rewritten.
58886         (link-before-libc): Remove $(config-LDFLAGS).
58887         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58888         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58889         (config-LDFLAGS): Renamed to ...
58890         (rtld-LDFLAGS): This.
58891         (rtld-tests-LDFLAGS): New macro.
58892         (link-libc-rpath-link): Likewise.
58893         (link-libc-tests-rpath-link): Likewise.
58894         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58895         (link-libc): Prepand $(link-libc-rpath-link).
58896         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58897         (test-program-prefix): New macro.
58898         (test-via-rtld-prefix): Likewise.
58899         (test-program-cmd): Likewise.
58900         (host-test-program-cmd): Likewise.
58901         * Makefile ($(common-objpfx)testrun.sh): Replace
58902         $(run-program-prefix) with $(test-program-prefix).
58903         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58904         $(rtld-LDFLAGS).
58905         ($(common-objpfx)shlib.lds): Likewise.
58906         (build-module-helper): Likewise.
58907         ($(common-objpfx)format.lds): Likewise.
58908         * Rules (binaries-pie-tests): New.
58909         (binaries-pie-notests): Likewise.
58910         (binaries-pie): Rewritten.
58911         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58912         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58913         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58914         (make-test-out): Replace $(host-built-program-cmd) with
58915         $(host-test-program-cmd).
58916         * config.make.in (build-hardcoded-path-in-tests): New variable.
58917         * configure.in (--enable-hardcoded-path-in-tests): New configure
58918         option.
58919         (hardcoded_path_in_tests): New AC_SUBST.
58920         * configure: Regenerated.
58921         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58922         $(built-program-cmd) with $(test-program-cmd).
58923         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58924         (test_program_cmd): This.
58925         * elf/Makefile ($(objpfx)order.out): Run test with
58926         $(test-program-prefix).
58927         ($(objpfx)order2.out): Likewise.
58928         ($(objpfx)tst-initorder.out): Likewise.
58929         ($(objpfx)tst-initorder2.out): Likewise.
58930         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58931         $(test-program-cmd).
58932         ($(objpfx)tst-array1-static.out): Likewise.
58933         ($(objpfx)tst-array2.out): Likewise.
58934         ($(objpfx)tst-array3.out): Likewise.
58935         ($(objpfx)tst-array4.out): Likewise.
58936         ($(objpfx)tst-array5.out): Likewise.
58937         ($(objpfx)tst-array5-static.out): Likewise.
58938         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58939         $(test-program-cmd).
58940         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58941         $(run-program-prefix) with $(test-program-prefix).
58942         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58943         (test_program_prefix): This.
58944         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58945         $(run-program-prefix) with $(test-program-prefix).
58946         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58947         (test_program_prefix): This.
58948         * iconvdata/tst-tables.sh: Likewise.
58949         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58950         $(run-program-prefix) with $(test-program-prefix).
58951         ($(objpfx)tst-translit.out): Likewise.
58952         ($(objpfx)tst-gettext2.out): Likewise.
58953         ($(objpfx)tst-gettext4.out): Likewise.
58954         ($(objpfx)tst-gettext6.out): Likewise.
58955         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58956         (test_program_prefix): This.
58957         * intl/tst-gettext2.sh: Likewise.
58958         * intl/tst-gettext4.sh  Likewise.
58959         * intl/tst-gettext6.sh: Likewise.
58960         * intl/tst-translit.sh: Likewise.
58961         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58962         with $(test-program-cmd).
58963         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58964         $(run-program-prefix) with $(test-program-prefix).
58965         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58966         (test_program_prefix): This.
58967         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58968         $(run-program-prefix) with $(test-program-prefix).
58969         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58970         (test_program_prefix): This.
58971         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58972         * posix/Makefile ($(objpfx)globtest.out): Replace
58973         $(run-via-rtld-prefix) and $(test-wrapper) with
58974         $(test-program-prefix) and $(test-via-rtld-prefix).
58975         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58976         $(test-program-prefix).
58977         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58978         $(host-test-program-cmd).
58979         (tst-spawn-ARGS): Likewise.
58980         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58981         $(test-program-prefix).
58982         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58983         (test_via_rtld_prefix): This.
58984         (test_wrapper): Renamed to ...
58985         (test_program_prefix): This.
58986         (run_program_prefix): Replaced by test_program_prefix.
58987         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58988         (test_program_prefix): This.
58989         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58990         with $(host-test-program-cmd).
58991         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58992         $(run-program-prefix) with $(test-program-prefix).
58993         ($(objpfx)tst-printf.out): Likewise.
58994         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58995         $(test-program-cmd).
58996         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58997         (test_program_prefix): This.
58998         * stdio-common/tst-unbputc.sh: Likewise.
58999         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59000         $(run-program-prefix) with $(test-program-prefix).
59001         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59002         (test_program_prefix): This.
59003         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59004         $(built-program-cmd) with $(test-program-cmd).
59006 2013-01-11  Andreas Jaeger  <aj@suse.de>
59008         [BZ #15003]
59009         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59010         value. Sync with Linux 3.7.
59012 2013-01-10  David S. Miller  <davem@davemloft.net>
59014         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59015         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59016         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59018 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59020         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59021         never set.
59022         * configure: Regenerated.
59024 2013-01-10  David S. Miller  <davem@davemloft.net>
59026         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59027         sparc V9 rather than using V8 code.
59028         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59029         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59031 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59033         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59034         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59035         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59036         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59037         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59038         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59039         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59040         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59041         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59042         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59043         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59044         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59045         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59046         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59047         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59048         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59049         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59050         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59051         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59052         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59053         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59054         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59055         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59056         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59057         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59058         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59059         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59061 2013-01-10  David S. Miller  <davem@davemloft.net>
59063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59065 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59067         * posix/Makefile (tests-static): New variable.
59068         (tests): Add $(tests-static).
59069         (tst-exec-static-ARGS): New variable.
59070         (tst-spawn-static-ARGS): Likewise.
59071         * posix/tst-exec-static.c: New file.
59072         * posix/tst-spawn-static.c: Likewise.
59073         * posix/tst-exec.c: Support run directly.
59074         * posix/tst-spawn.c: Likewise.
59076 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59078         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59079         long.
59080         * math/bits/mathcalls.h (llrint): Likewise.
59081         (llround): Likewise.
59082         * stdlib/stdlib.h (struct drand48_data): Likewise.
59083         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59084         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59085         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59086         Likewise.
59087         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59088         Likewise.
59089         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59090         (elf_greg_t): Likewise.
59091         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59092         (__jmp_buf): Likewise.
59093         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59094         definitions.
59095         (llrint): Likewise, for all definitions.
59096         (llrintl): Likewise.
59098         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59099         Remove [__GNUC__] condition.
59100         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59101         condition to just [__USE_ISOC99].
59102         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59104 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59106         [BZ #14200]
59107         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59108         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59109         defined.
59110         (_POSIX_V6_ILP32_OFF32): Likewise.
59111         (_XBS5_ILP32_OFF32): Likewise.
59112         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59113         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59115 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59117         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59119         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59120         doubles __mpexp_twomm1.  Adjust usage.
59121         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59122         Remove.
59124 2013-01-10  Andreas Schwab  <schwab@suse.de>
59126         [BZ #14964]
59127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59128         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59130 2013-01-09  David S. Miller  <davem@davemloft.net>
59132         [BZ #15003]
59133         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59134         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59135         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59136         (TCP_FASTOPEN): Define.
59137         (tcp_repair_opt): New structure.
59138         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59139         enum values.
59140         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59141         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59142         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59143         (tcp_cookie_transactions): New structure.
59145 2013-01-09  Anton Blanchard  <anton@samba.org>
59147         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59148         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59149         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59150         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59152 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59154         * include/features.h (__USE_ANSI): Remove.
59156 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59158         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59160         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59162 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59164         * sysdeps/s390/fpu/libm-test-ulps: Update.
59166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59168         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59169         (__acr): Likewise.
59170         (__cpy): Likewise.
59171         (norm): Likewise.
59172         (denorm): Likewise.
59173         (__mp_dbl): Likewise.
59174         (__dbl_mp): Likewise.
59175         (add_magnitudes): Likewise.
59176         (sub_magnitudes): Likewise.
59177         (__add): Likewise.
59178         (__sub): Likewise.
59179         (__mul): Likewise.
59180         (__inv): Likewise.
59181         (__dvd): Likewise.
59182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59183         (__acr): Likewise.
59184         (__cpy): Likewise.
59185         (norm): Likewise.
59186         (denorm): Likewise.
59187         (__mp_dbl): Likewise.
59188         (__dbl_mp): Likewise.
59189         (add_magnitudes): Likewise.
59190         (sub_magnitudes): Likewise.
59191         (__add): Likewise.
59192         (__sub): Likewise.
59193         (__mul): Likewise.
59194         (__inv): Likewise.
59195         (__dvd): Likewise.
59196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59197         (__acr): Likewise.
59198         (__cpy): Likewise.
59199         (norm): Likewise.
59200         (denorm): Likewise.
59201         (__mp_dbl): Likewise.
59202         (__dbl_mp): Likewise.
59203         (add_magnitudes): Likewise.
59204         (sub_magnitudes): Likewise.
59205         (__add): Likewise.
59206         (__sub): Likewise.
59207         (__mul): Likewise.
59208         (__inv): Likewise.
59209         (__dvd): Likewise.
59211 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59213         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59214         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59215         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59216         2 && __USE_EXTERN_INLINES]: Likewise.
59218 2013-01-08  Andreas Jaeger  <aj@suse.de>
59220         [BZ# 14985]
59221         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59222         Remove.
59223         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59224         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59226 2013-01-07  Anton Blanchard  <anton@samba.org>
59228         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59229         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59230         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59231         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59232         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59233         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59234         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59235         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59237         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59239         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59240         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59241         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59242         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59243         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59244         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59245         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59246         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59247         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59248         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59249         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59250         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59251         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59252         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59253         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59254         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59255         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59257         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59258         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59260         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59261         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59262         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59263         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59264         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59265         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59266         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59267         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59268         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59269         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59270         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59272 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59274         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59275         (__MALLOC_PMT): Likewise.
59276         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59277         [__GNUC__], only on [_LIBC].
59278         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59279         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59280         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59281         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59282         forward declaration.
59283         (realloc_hook_ini): Likewise.
59284         (memalign_hook_ini): Likewise.
59285         (__libc_memalign): Do not use __MALLOC_PMT in variable
59286         declaration.
59287         (__libc_valloc): Likewise.
59288         (__libc_pvalloc): Likewise.
59289         (__libc_calloc): Likewise.
59290         (__posix_memalign): Likewise.
59292         [BZ #14996]
59293         * math/s_casinh.c: Include <float.h>.
59294         (__casinh): Do not do computation with squaring and square root
59295         for large arguments.
59296         * math/s_casinhf.c: Include <float.h>.
59297         (__casinhf): Do not do computation with squaring and square root
59298         for large arguments.
59299         * math/s_casinhl.c: Include <float.h>.
59300         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59301         (__casinhl): Do not do computation with squaring and square root
59302         for large arguments.
59303         * math/libm-test.inc (casin_test): Add more tests.
59304         (casinh_test): Likewise.
59305         * sysdeps/i386/fpu/libm-test-ulps: Update.
59306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59308 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59310         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59311         (__x86_64_raw_data_cache_size): Likewise.
59312         (__x86_64_data_cache_size_half): Likewise.
59313         (__x86_64_raw_data_cache_size_half): Likewise.
59314         (__x86_64_shared_cache_size): Likewise.
59315         (__x86_64_raw_shared_cache_size): Likewise.
59316         (__x86_64_shared_cache_size_half): Likewise.
59317         (__x86_64_raw_shared_cache_size_half): Likewise.
59318         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59319         to ...
59320         (__x86_data_cache_size): This.
59321         (__x86_64_raw_data_cache_size): Renamed to ...
59322         (__x86_raw_data_cache_size): This.
59323         (__x86_64_data_cache_size_half): Renamed to ...
59324         (__x86_data_cache_size_half): This.
59325         (__x86_64_raw_data_cache_size_half): Renamed to ...
59326         (__x86_raw_data_cache_size_half): This.
59327         (__x86_64_shared_cache_size): Renamed to ...
59328         (__x86_shared_cache_size): This.
59329         (__x86_64_raw_shared_cache_size): Renamed to ...
59330         (__x86_raw_shared_cache_size): This.
59331         (__x86_64_shared_cache_size_half): Renamed to ...
59332         (__x86_shared_cache_size_half): This.
59333         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59334         (__x86_raw_shared_cache_size_half): This.
59335         * sysdeps/x86_64/memcpy.S: Updated.
59336         * sysdeps/x86_64/memset.S: Likewise.
59337         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59339         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59341 2013-01-04  David S. Miller  <davem@davemloft.net>
59343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59345 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59347         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59348         1 to avoid redefinition warning.
59349         (__USE_GNU): Don't define.
59350         (init_signaling_nan): Protoize.
59352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59354 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59356         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59358         (__cpymn): Likewise.
59359         (norm): Remove commented code.
59360         (denorm): Likewise.
59361         (__mp_dbl): Likewise.
59362         (__inv): Likewise.
59363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59364         (__cpymn): Likewise.
59365         (norm): Remove commented code.
59366         (denorm): Likewise.
59367         (__mp_dbl): Likewise.
59368         (__inv): Likewise.
59370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59371         mp_no value for 1.0 and 2.0.
59372         (norm): Use RADIXI instead of radixi.d.
59373         (denorm): Likewise.
59374         (__mul): Use 0.0 instead of zero.d.
59375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59376         mp_no value for 1.0 and 2.0.
59377         (norm): Use RADIXI instead of radixi.d.
59378         (denorm): Likewise.
59379         (__mul): Use 0.0 instead of zero.d.
59381 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59383         [BZ #14994]
59384         * math/s_casinh.c (__casinh): Reduce finite argument to first
59385         quadrant then set signs of results at the end.
59386         * math/s_casinhf.c (__casinhf): Likewise.
59387         * math/s_casinhl.c (__casinhl): Likewise.
59388         * math/libm-test.inc (casin_test): Add more tests.
59389         (casinh_test): Likewise.
59390         * sysdeps/i386/fpu/libm-test-ulps: Update.
59391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59393 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59395         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59397         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59399         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59400         declarations.
59401         (denorm): Likewise.
59402         (__mp_dbl): Likewise.
59403         (__inv): Likewise.
59405         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59406         and adjust the header comment.
59408         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59409         variable name from declaration.
59411 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59414         Initialize COMMON_CPUID_INDEX_7 element.
59415         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59416         (CPUID_RTM): Likewise.
59417         (HAS_RTM): Likewise.
59418         (COMMON_CPUID_INDEX_7): New enum.
59420 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59422         [BZ #14981]
59423         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59424         size is zero, record memory as freed.
59426 2013-01-03  Andreas Jaeger  <aj@suse.de>
59428         * po/ia.po: Add new Interlingua translation.
59430 2012-01-03  Allan McRae  <allan@archlinux.org>
59432         * locale/programs/localedef.c: Fix description of '--posix' flag.
59434 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59436         * NEWS: Update dates in second copyright notice.
59437         * README: Update copyright dates in example.
59438         * manual/libc.texinfo: Update copyright dates.
59439         * scripts/test-installation.pl: Update copyright date in --version
59440         output.
59442         * hurd/ctty-input.c: Fix copyright notice formatting.
59443         * hurd/ctty-output.c: Likewise.
59444         * hurd/dtable.c: Likewise.
59445         * hurd/hurd-raise.c: Likewise.
59446         * hurd/hurdprio.c: Likewise.
59447         * hurd/msgportdemux.c: Likewise.
59448         * misc/sys/file.h: Likewise.
59449         * misc/sys/ioctl.h: Likewise.
59450         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59451         * sysdeps/mach/hurd/chdir.c: Likewise.
59452         * sysdeps/mach/hurd/fchdir.c: Likewise.
59453         * sysdeps/mach/hurd/rename.c: Likewise.
59454         * sysdeps/mach/hurd/rmdir.c: Likewise.
59455         * sysdeps/mach/hurd/seekdir.c: Likewise.
59456         * sysdeps/mach/hurd/setsid.c: Likewise.
59457         * sysdeps/posix/wait3.c: Likewise.
59459         * All files with FSF copyright notices: Update copyright dates
59460         using scripts/update-copyrights.
59461         * intl/plural.c: Regenerated.
59462         * locale/programs/charmap-kw.h: Likewise.
59463         * locale/programs/locfile-kw.h: Likewise.
59465 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59467         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59468         four values.
59470         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59471         calculation loop and add branch prediction.
59473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59474         check access beyond bounds of m1np.
59476         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59477         MPTWO.
59478         (__inv): Remove local variable MPTWO to use the global
59479         constant.
59480         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59481         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59482         variable MPTWO.
59483         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59484         MP3HALFS static const.
59486 2013-01-01  David S. Miller  <davem@davemloft.net>
59488         * po/ca.po: Update from translation team.
59490 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59492         * scripts/update-copyrights: New file.
59493         * Makeconfig: Reformat copyright notice.
59494         * ctype/ctype.h: Likewise.
59495         * debug/swprintf_chk.c: Likewise.
59496         * elf/dl-cache.c: Likewise.
59497         * elf/dl-debug.c: Likewise.
59498         * elf/dl-object.c: Likewise.
59499         * grp/initgroups.c: Likewise.
59500         * hurd/Makefile: Likewise.
59501         * hurd/hurd/signal.h: Likewise.
59502         * hurd/hurdfault.c: Likewise.
59503         * hurd/hurdioctl.c: Likewise.
59504         * hurd/hurdlookup.c: Likewise.
59505         * hurd/intr-msg.c: Likewise.
59506         * iconv/gconv_open.c: Likewise.
59507         * libio/swprintf.c: Likewise.
59508         * locale/lc-ctype.c: Likewise.
59509         * locale/nl_langinfo.c: Likewise.
59510         * mach/Machrules: Likewise.
59511         * mach/Makefile: Likewise.
59512         * malloc/obstack.h: Likewise.
59513         * manual/Makefile: Likewise.
59514         * manual/tsort.awk: Likewise.
59515         * misc/bits/stab.def: Likewise.
59516         * nis/nis_print_group_entry.c: Likewise.
59517         * nis/nis_table.c: Likewise.
59518         * nis/nss_compat/compat-pwd.c: Likewise.
59519         * nis/nss_compat/compat-spwd.c: Likewise.
59520         * po/Makefile: Likewise.
59521         * posix/fnmatch.c: Likewise.
59522         * posix/regex.h: Likewise.
59523         * resolv/Makefile: Likewise.
59524         * resolv/nss_dns/dns-network.c: Likewise.
59525         * resolv/res_hconf.c: Likewise.
59526         * scripts/gen-sorted.awk: Likewise.
59527         * soft-fp/soft-fp.h: Likewise.
59528         * stdio-common/printf.h: Likewise.
59529         * stdlib/monetary.h: Likewise.
59530         * stdlib/random.c: Likewise.
59531         * stdlib/random_r.c: Likewise.
59532         * sysdeps/generic/Makefile: Likewise.
59533         * sysdeps/gnu/Makefile: Likewise.
59534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59536         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59537         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59538         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59539         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59541         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59542         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59543         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59547         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59548         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59549         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59550         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59551         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59553         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59554         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59555         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59556         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59557         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59558         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59559         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59560         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59561         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59562         * sysdeps/mach/hurd/errnos.awk: Likewise.
59563         * sysdeps/mach/hurd/fork.c: Likewise.
59564         * sysdeps/mach/hurd/getcwd.c: Likewise.
59565         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59566         * sysdeps/mach/hurd/mmap.c: Likewise.
59567         * sysdeps/mach/hurd/utimes.c: Likewise.
59568         * sysdeps/mach/hurd/xmknod.c: Likewise.
59569         * sysdeps/posix/profil.c: Likewise.
59570         * sysdeps/posix/readdir_r.c: Likewise.
59571         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59572         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59573         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59574         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59576         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59577         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59578         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59580         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59581         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59582         * sysdeps/pthread/lio_listio.c: Likewise.
59583         * sysdeps/sparc/dl-procinfo.h: Likewise.
59584         * sysdeps/unix/i386/sysdep.S: Likewise.
59585         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59586         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59587         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59588         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59590         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59591         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59592         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59593         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59594         * sysdeps/wordsize-32/divdi3.c: Likewise.
59595         * time/sys/time.h: Likewise.
59596         * wcsmbs/Makefile: Likewise.
59598 2013-01-01  David S. Miller  <davem@davemloft.net>
59600         * po/fr.po: Update from translation team.
59602         * catgets/gencat.c: Update copyright year.
59603         * csu/version.c: Likewise.
59604         * debug/catchsegv.sh: Likewise.
59605         * debug/pcprofiledump.c: Likewise.
59606         * debug/xtrace.sh: Likewise.
59607         * elf/ldconfig.c: Likewise.
59608         * elf/ldd.bash.in: Likewise.
59609         * elf/pldd.c: Likewise.
59610         * elf/sotruss.ksh: Likewise.
59611         * elf/sprof.c: Likewise.
59612         * iconv/iconv_prog.c: Likewise.
59613         * iconv/iconvconfig.c: Likewise.
59614         * locale/programs/locale.c: Likewise.
59615         * locale/programs/localedef.c: Likewise.
59616         * login/programs/pt_chown.c: Likewise.
59617         * malloc/memusage.sh: Likewise.
59618         * malloc/memusagestat.c: Likewise.
59619         * malloc/mtrace.pl: Likewise.
59620         * nscd/nscd.c: Likewise.
59621         * nss/getent.c: Likewise.
59622         * nss/makedb.c: Likewise.
59623         * posix/getconf.c: Likewise.
59625 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59627         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59628         numbers.
59630 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59632         * math/bits/mathcalls.h (modf): Use __nonnull.
59634 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59636         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59637         (split): Use macro CN instead of the bare value.
59638         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59639         could be used.
59640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59641         instead of the bare value.
59642         (power1): Likewise.
59644 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59647         __ATAN_TWOM.
59648         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59650         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59651         their values.
59652         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59653         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59654         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59655         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59657 2012-12-28  Andreas Jaeger  <aj@suse.de>
59659         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59660         values are from Linux 3.7.
59662         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59663         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59665 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59667         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59668         TRUE case.
59670         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59671         (norm): Likewise.
59672         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59673         variables with preprocessor constants.
59674         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59675         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59676         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59678 2012-12-27  Bruno Haible  <bruno@clisp.org>
59680         [BZ #14317]
59681         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59682         only if needed.
59684 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59687         and use variable directly.
59688         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59690         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59691         MPONE.
59692         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59693         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59694         variable MPONE.
59695         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59697         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59698         include directive.  Remove local variable MPONE.
59699         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59700         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59703 2012-12-25  David S. Miller  <davem@davemloft.net>
59705         * version.h (RELEASE): Set to "development".
59706         (VERSION): Set to "2.17.90".
59707         * NEWS: Add 2.18 section.
59709 2012-12-21  David S. Miller  <davem@davemloft.net>
59711         * po/hr.po: Update from translation team.
59713 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59715         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59717 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59719         * NEWS:  Mention new memcpy for MIPS.
59721 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59723         * manual/contrib.texi (Contributors): Spelling correction.
59725 2012-12-15  David S. Miller  <davem@davemloft.net>
59727         * po/ru.po: Update from translation team.
59729 2012-12-13  David S. Miller  <davem@davemloft.net>
59731         * NEWS: Mention IFUNC testsuite enhancements.
59733         * po/pl.po: Update from translation team.
59734         * po/bg.po: Likewise.
59736         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59737         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59739 2012-12-11  David S. Miller  <davem@davemloft.net>
59741         * po/sv.po: Update from translation team.
59743         * po/vi.po: Update from translation team.
59745         * po/cs.po: Update from translation team.
59747         * po/de.po: Update from translation team.
59748         * po/eo.po: Likewise.
59749         * po/nl.po: Likewise.
59751 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59753         [BZ #14246]
59754         * manual/argp.texi (Argp Helper Functions): Move node to follow
59755         Argp Parsing State.
59757         [BZ #14872]
59758         * manual/conf.texi (Limits on File System Capacity): Mention if
59759         terminating null is included in the max size.
59761 2012-12-10  Andreas Jaeger  <aj@suse.de>
59763         * po/cs.po: Update from translation team.
59765 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59767         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59768         void pointer and cast to uintptr_t.
59769         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59770         path.
59771         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59772         * sysdeps/s390/s390-64/memset.S: Likewise.
59774 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59776         [BZ #14833]
59777         * menual/message.texi (Message Translation): Fix typos.
59778         (Helper programs for gettext): Likewise.
59780 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59782         [BZ #14898]
59783         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59784         Change to -1.
59786 2012-12-07  David S. Miller  <davem@davemloft.net>
59788         * po/libc.pot: Update.
59790 2012-12-07  Richard Henderson  <rth@redhat.com>
59792         [BZ #10114]
59793         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59794         normal/normal case to before the switch.
59795         (_FP_DIV): Likewise.
59797 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59798             Mike Frysinger  <vapier@gentoo.org>
59800         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59801         check for __NR_fadvise64_64.
59803 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59805         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59806         0, not just to plain "0" as a statement.
59807         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59808         with cw.
59810 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59812         * NEWS: Use sourceware.org in Bugzilla URL.
59814 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59817         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59819         * stdio-common/tst-put-error.c (do_test): Add newline to the
59820         padded test to ensure flush.
59822 2012-12-05  Jeff Law  <law@redhat.com>
59824         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59826 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59828         * README: Don't refer to ports add-on as distributed separately.
59829         Mention AArch64 in list of systems supported in the ports add-on.
59831         * LICENSES: Add more non-FSF copyright and license notices.
59833         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59834         ((unused)).
59836         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59838         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59839         10000 as width of padded output.
59841 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59843         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59845         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59846         variable LX with __attribute__ ((unused)).
59847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59848         Likewise.
59849         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59852         with __attribute__ ((unused)).
59854 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59856         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59858 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59860         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59861         (CFLAGS-nldbl-acos.c): New variable.
59862         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59863         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59864         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59865         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59866         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59867         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59868         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59869         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59870         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59871         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59872         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59873         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59874         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59875         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59876         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59877         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59878         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59879         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59880         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59881         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59882         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59883         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59884         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59885         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59886         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59887         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59888         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59889         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59890         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59891         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59892         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59893         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59894         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59895         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59896         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59897         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59898         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59899         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59900         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59901         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59902         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59903         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59904         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59905         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59906         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59907         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59908         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59909         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59910         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59911         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59912         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59913         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59914         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59915         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59916         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59917         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59918         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59919         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59920         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59921         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59922         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59923         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59924         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59925         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59926         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59927         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59928         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59929         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59930         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59931         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59932         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59933         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59934         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59935         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59936         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59937         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59938         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59939         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59940         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59941         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59942         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59943         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59944         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59945         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59946         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59947         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59948         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59949         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59950         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59951         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59952         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59953         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59954         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59955         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59956         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59957         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59958         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59961         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59963         [BZ #14914]
59964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59965         whole low double instead of just low 47 bits when splitting values
59966         into two parts.
59968 2012-12-03  Allan McRae  <allan@archlinux.org>
59970         * manual/stdio.texi (Predefined Printf Handlers): Remove
59971         @hsep and @vsep usage.
59973 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59975         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59976         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59978 2012-12-03  Jeff Law  <law@redhat.com>
59980         * time/sys/time.h (settimeofday): Do not mark TV argument
59981         as __nonnull.
59983 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59985         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59986         when currently writing and seek to current position when not.
59987         * libio/Makefile (tests): Remove bug-fclose1.
59988         * libio/bug-fclose1.c: Delete.
59990 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59992         * manual/arith.texi (feenableexcept): Fix typo.
59993         (fedisableexcept): Likewise.
59995 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59997         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59998         second, differently-typed declaration, rather than a cast.
60000 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60002         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60003         * include/rpc/svc.h: ... here.
60005 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60007         [BZ #13013]
60008         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60009         depending n and resplen2 to catch cases where answer
60010         equals answerp2.
60012 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60014         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60015         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60017 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60019         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60021 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60023         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60025 2012-11-28  Jeff Law  <law@redhat.com>
60027         [BZ #13761]
60028         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60029         dataset_temporary.  Track alloca usage into alloca_used.
60030         If dataset is large allocate and release it via malloc/free.
60032 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60034         [BZ #14197]
60035         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60037 2012-11-28  David S. Miller  <davem@davemloft.net>
60039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60041 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60043         [BZ #14803]
60044         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60045         of pi/2 rounded to nearest to 64 bits.
60046         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60047         nearest to 64 bits.
60048         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60049         bits.
60051 2012-11-28  Jeff Law <law@redhat.com>
60052             Martin Osvald <mosvald@redhat.com>
60054         [BZ #14889]
60055         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60056         * sunrpc/svc.c: Include time.h.
60057         (__svc_accept_failed): New function.
60058         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60059         any reason other than EINTR, call __svc_accept_failed.
60060         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60061         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60063 2012-11-28  Andreas Schwab  <schwab@suse.de>
60065         * scripts/abilist.awk: Also handle indirect functions in .opd
60066         section.
60068 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60070         [BZ #13881]
60071         * sysdeps/x86/fpu/powl_helper.c: New file.
60072         * sysdeps/x86/fpu/Makefile: Likewise.
60073         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60074         (p3): New object.
60075         (__ieee754_powl): Use __powl_helper for finite arguments except
60076         integer exponents below 8.
60077         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60078         (p3): New object.
60079         (__ieee754_powl): Use __powl_helper for finite arguments except
60080         integer exponents below 8.
60081         * math/libm-test.inc (pow_test): Add more tests and enable some
60082         previously disabled tests.
60083         * sysdeps/i386/fpu/libm-test-ulps: Update.
60084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60086 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60087             Carlos O'Donell  <carlos_odonell@mentor.com>
60089         * nss/makedb.c (is_prime): Assert that input is odd and greater
60090         than 4.  Note that fact in a comment too.
60091         (next_prime): Add 4 to input.
60093 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60095         [BZ #11741]
60096         * libio/Makefile (tests): Add test case tst-fwrite-error.
60097         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60098         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60099         * libio/tst-fwrite-error.c: New test case.
60101 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60103         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60104         before casting to void *.
60105         * include/libc-internal.h (__pointer_type): New macro.
60106         (__integer_if_pointer_type_sub): Likewise.
60107         (__integer_if_pointer_type): Likewise.
60108         (cast_to_integer): Likewise.
60109         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60110         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60111         before casting to atomic64_t.
60112         (atomic_exchange_acq): Likewise.
60113         (__arch_exchange_and_add_body): Likewise.
60114         (__arch_add_body): Likewise.
60115         (atomic_add_negative): Likewise.
60116         (atomic_add_zero): Likewise.
60118 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60120         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60121         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60122         (add_fdes): Likewise.
60123         (linear_search_fdes): Likewise.
60124         (binary_search_unencoded_fdes): Likewise.
60126 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60128         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60130 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60132         * configure.in: Autodetect C++ header directories.
60133         * configure: Regenerated.
60135 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60137         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60139 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60143 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60145         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60146         LDBL_MANT_DIG == 106]: Disable some tests.
60147         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60148         Likewise.
60149         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60150         Likewise.
60152         [BZ #14871]
60153         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60154         input for small inputs.  Return +/- pi/2 for large inputs.
60155         * math/libm-test.inc (atan_test): Add more tests.
60157         * sysdeps/generic/unwind-dw2-fde-glibc.c
60158         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60159         __attribute__ ((unused)).
60161         [BZ #14645]
60162         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60163         x * y if x and y are nonzero and z is zero.
60165         [BZ #14811]
60166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60167         nonzero exponents with absolute value below 0x1p-117 to +/-
60168         0x1p-117.
60170         [BZ #14869]
60171         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60172         up arguments below 2**-450, not just those below 2**-500.
60173         * math/libm-test.inc (hypot_test): Add another test.
60175         [BZ #14868]
60176         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60177         Return a+b for ratio over 2**120, not 2**60.
60178         * math/libm-test.inc (hypot_test): Add another test.
60180         * math/libm-test.inc (clog_test): Use
60181         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60182         (clog10_test): Likewise.
60184         [BZ #6778]
60185         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60187 2012-11-22  Andreas Schwab  <schwab@suse.de>
60189         * sysdeps/i386/fpu/libm-test-ulps: Update.
60191 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60193         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60194         printf output with newline.
60196 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60198         [BZ #14865]
60199         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60200         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60201         -z nodlopen, -z initfirst and -z execstack support.
60202         * configure: Regenerated.
60204         * elf/elf.h (DF_1_NODIRECT): New macro.
60205         (DF_1_IGNMULDEF): Likewise.
60206         (DF_1_NOKSYMS): Likewise.
60207         (DF_1_NOHDR): Likewise.
60208         (DF_1_EDITED): Likewise.
60209         (DF_1_NORELOC): Likewise.
60210         (DF_1_SYMINTPOSE): Likewise.
60211         (DF_1_GLOBAUDIT): Likewise.
60212         (DF_1_SINGLETON): Likewise.
60213         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60214         DT_1_SUPPORTED_MASK bits.
60215         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60217 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60219         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60221 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60223         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60224         macro.
60226         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60227         (sendmmsg): Move declarations...
60228         * socket/sys/socket.h: ... here.
60229         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60230         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60231         include it from...
60232         * socket/recvmmsg.c: ... this new file.
60233         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60234         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60235         definition of __sendmmsg hidden.
60236         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60237         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60238         Move ENOSYS stub into and include it from...
60239         * socket/sendmmsg.c: ... this new file.
60240         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60241         (sysdep_routines): Move recvmmsg and sendmmsg...
60242         * socket/Makefile (routines): ... here.
60243         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60244         (GLIBC_PRIVATE): Add __sendmmsg.
60245         * include/sys/socket.h (__sendmmsg): Add declarations.
60246         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60247         sendmmsg.
60249 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60251         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60252         variable I1 with __attribute__ ((unused)).
60253         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60255 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60257         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60258         DUMMY variables with __attribute__ ((unused)).
60260         * bits/byteswap.h: Include <bits/types.h>.
60261         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60263 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60265         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60266         string_t.  Do not manually set errno.
60267         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60268         length with __strnlen.  Make sure to both set errno and return it on
60269         failure.
60271 2012-11-19  David S. Miller  <davem@davemloft.net>
60273         With help from Joseph Myers.
60274         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60275         very large arguments properly.
60276         * math/libm-test.inc (atan_test): New tests.
60277         (atan2_test): New tests.
60278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60281 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60283         [BZ #14856]
60284         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60285         Define to 3.
60287         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60288         [POSIX] (EADDRNOTAVAIL): Likewise.
60289         [POSIX] (EAFNOSUPPORT): Likewise.
60290         [POSIX] (EALREADY): Likewise.
60291         [POSIX] (ECONNABORTED): Likewise.
60292         [POSIX] (ECONNREFUSED): Likewise.
60293         [POSIX] (ECONNRESET): Likewise.
60294         [POSIX] (EDESTADDRREQ): Likewise.
60295         [POSIX] (EDQUOT): Likewise.
60296         [POSIX] (EHOSTUNREACH): Likewise.
60297         [POSIX] (EIDRM): Likewise.
60298         [POSIX] (EISCONN): Likewise.
60299         [POSIX] (ELOOP): Likewise.
60300         [POSIX] (EMULTIHOP): Likewise.
60301         [POSIX] (ENETDOWN): Likewise.
60302         [POSIX] (ENETUNREACH): Likewise.
60303         [POSIX] (ENOBUFS): Likewise.
60304         [POSIX] (ENODATA): Likewise.
60305         [POSIX] (ENOLINK): Likewise.
60306         [POSIX] (ENOMSG): Likewise.
60307         [POSIX] (ENOPROTOOPT): Likewise.
60308         [POSIX] (ENOSR): Likewise.
60309         [POSIX] (ENOSTR): Likewise.
60310         [POSIX] (ENOTCONN): Likewise.
60311         [POSIX] (ENOTSOCK): Likewise.
60312         [POSIX] (EOPNOTSUPP): Likewise.
60313         [POSIX] (EOVERFLOW): Likewise.
60314         [POSIX] (EPROTO): Likewise.
60315         [POSIX] (EPROTONOSUPPORT): Likewise.
60316         [POSIX] (EPROTOTYPE): Likewise.
60317         [POSIX] (ESTALE): Likewise.
60318         [POSIX] (ETIME): Likewise.
60319         [POSIX] (ETXTBSY): Likewise.
60320         [POSIX] (EWOULDBLOCK): Likewise.
60321         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60322         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60323         [POSIX] (SEEK_CUR): Likewise.
60324         [POSIX] (SEEK_END): Likewise.
60325         [POSIX || UNIX98] (mode_t): Do not require.
60326         [POSIX] (off_t): Likewise.
60327         [POSIX] (pid_t): Likewise.
60328         [POSIX] (sys/stat.h): Do not allow header.
60329         [POSIX] (unistd.h): Likewise.
60330         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60331         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60332         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60333         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60334         require.
60335         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60336         sigevent): Specify elements.
60337         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60338         entry.
60339         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60340         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60342         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60343         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60344         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60345         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60346         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60347         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60348         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60349         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60350         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60351         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60352         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60353         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60354         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60355         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60356         Likewise.
60357         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60358         Likewise.
60359         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60360         Likewise.
60361         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60362         Likewise.
60363         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60364         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60365         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60366         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60367         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60368         Specify lower bound on value.
60369         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60370         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60371         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60372         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60373         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60374         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60375         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60376         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60377         value.
60378         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60379         as optional.
60380         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60381         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60382         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60383         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60384         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60385         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60386         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60387         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60388         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60389         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60390         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60391         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60392         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60393         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60394         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60395         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60396         entry.
60397         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60398         optional.
60399         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60400         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60401         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60402         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60403         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60404         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60405         Likewise.
60406         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60407         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60408         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60409         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60410         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60411         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60412         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60413         as optional.
60414         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60415         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60416         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60417         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60418         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60419         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60420         specify as optional.
60421         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60422         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60423         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60424         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60425         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60426         [XPG3] (NL_LANGMAX): Likewise.
60427         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60428         [POSIX || XPG3] (NL_NMAX): Likewise.
60429         [POSIX || XPG3] (NL_SETMAX): Likewise.
60430         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60431         [XPG3] (NZERO): Likewise.
60432         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60433         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60434         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60435         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60436         (REG_ERANGE): Expect.
60437         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60438         optional-constant.
60439         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60440         Use (void) in prototype.
60441         [POSIX] (*_t): Allow.
60442         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60443         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60444         (WRDE_BADVAL): Expect.
60446         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60447         expect.
60448         [XPG3 || XPG4] (O_RSYNC): Likewise.
60449         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60450         Likewise.
60451         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60452         [XPG3 || XPG4] (sigqueue): Likewise.
60453         [XPG3 || XPG4] (sigtimedwait): Likewise.
60454         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60455         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60456         [XPG3 || XPG4] (vsnprintf): Likewise.
60457         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60458         Likewise.
60459         [XPG3 || XPG4] (blksize_t): Likewise.
60460         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60461         Likewise.
60462         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60463         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60464         [XPG3 || XPG4] (struct itimerspec): Likewise.
60465         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60466         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60467         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60468         [XPG3 || XPG4] (clockid_t): Likewise.
60469         [XPG3 || XPG4] (timer_t): Likewise.
60470         [XPG3 || XPG4] (clock_getres): Likewise.
60471         [XPG3 || XPG4] (clock_gettime): Likewise.
60472         [XPG3 || XPG4] (clock_settime): Likewise.
60473         [XPG3 || XPG4] (nanosleep): Likewise.
60474         [XPG3 || XPG4] (timer_create): Likewise.
60475         [XPG3 || XPG4] (timer_delete): Likewise.
60476         [XPG3 || XPG4] (timer_gettime): Likewise.
60477         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60478         [XPG3 || XPG4] (timer_settime): Likewise.
60479         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60480         [XPG3 || XPG4] (getlogin_r): Likewise.
60481         [XPG3 || XPG4] (pread): Likewise.
60482         [XPG3 || XPG4] (pthread_atfork): Likewise.
60483         [XPG3 || XPG4] (pwrite): Likewise.
60485         [BZ #14835]
60486         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60487         <bits/siginfo.h>.
60489 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60491         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60492         finalizing MALLSTREAM.
60494         * sysdeps/mach/hurd/syncfs.c: New file.
60496 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60498         [BZ #14719]
60499         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60500         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60501         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60502         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60503         (_nss_dns_gethostbyname4_r): Likewise.
60504         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60505         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60507 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60509         [BZ #13763]
60510         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60512 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60514         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60515         * elf/cache.c (print_entry): Print ",AArch64" for
60516         FLAG_AARCH64_LIB64
60518         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60519         * elf/cache.c (print_entry): Print ",hard-float" for
60520         FLAG_ARM_LIBHF.
60522 2012-11-18  David S. Miller  <davem@davemloft.net>
60524         With help from Joseph Myers.
60525         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60526         cutoff to 2**-13.
60527         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60528         cutoff to 2**-25.
60529         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60530         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60531         small.
60532         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60533         * math/libm-test.inc (y0_test): New tests.
60534         (y1_test): New tests.
60535         * sysdeps/i386/fpu/libm-test-ulps: Update.
60536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60539 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60541         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60542         64-bit targets.
60543         * configure: Regenerated.
60545 2012-11-17  David S. Miller  <davem@davemloft.net>
60547         [BZ #14811]
60548         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60549         nonzero exponents with absolute value below 0x1p-128 to +/-
60550         0x1p-128.
60552 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60554         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60556         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60558         * posix/getconf-speclist.c: New file.
60559         * posix/posix-envs.def: Likewise.
60560         * posix/confstr.c (START_ENV_GROUP): New macro.
60561         (END_ENV_GROUP): Likewise.
60562         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60563         (KNOWN_PRESENT_ENV_STRING): Likewise.
60564         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60565         (UNKNOWN_ENVIRONMENT): Likewise.
60566         (confstr): Include posix-envs.def instead of handling
60567         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60568         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60569         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60570         (END_ENV_GROUP): Likewise.
60571         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60572         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60573         (UNKNOWN_ENVIRONMENT): Likewise.
60574         (__sysconf): Include posix-envs.def instead of handling associated
60575         cases directly here.
60576         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60577         preprocessing getconf-speclist.c rather than running getconf or
60578         generating empty file.
60580 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60582         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60584 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60586         [BZ #14672]
60587         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60589 2012-11-16  David S. Miller  <davem@davemloft.net>
60591         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60592         smaller than LDBL_EPSILON/2.0L, just return xm1.
60594 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60596         * elf/tst-array1.c (init): Set constructor priority to 1000.
60597         (fini): Set destructor priority to 1000.
60598         * elf/tst-array2dep.c: Likewise.
60600 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60602         [BZ #11741]
60603         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60604         (_IO_new_file_xsputn): Also return EOF if none of the input
60605         data was written when overflow failed.
60606         * libio/iopadn.c (_IO_padn): Likewise.
60607         * libio/iowpadn.c (_IO_wpadn): Likewise.
60608         * stdio-common/tst-put-error.c: Add copyright notice.
60609         (do_test): Add case for printing padded string.
60610         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60611         _IO_padn returned error.
60612         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60613         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60614         return EOF.
60616 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60618         * libio/libioP.h: Add comment note that the references to C++
60619         bits are now obsolete.
60621 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60623         * math/libm-test.inc (check_complex): Use asprintf.
60625 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60627         * debug/pcprofiledump.c (print_version): Update copyright year.
60628         * malloc/memusagestat.c (print_version): Likewise.
60630 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60632         [BZ #14831]
60633         * elf/Makefile (tests): Add tst-audit8.
60634         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60635         ($(objpfx)tst-audit8.out): New target.
60636         (tst-audit8-ENV): New variable.
60637         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60638         audit if l_reloc_result is NULL.
60639         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60640         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60641         * elf/tst-audit8.c: New file.
60643 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60645         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60646         * misc/Makefile (CFLAGS-select.c): Define.
60647         * posix/Makefile (CFLAGS-pause.c): Define.
60649 2012-11-13  David S. Miller  <davem@davemloft.net>
60651         * crypt/Makefile: Move test targets after toplevel Rules
60652         inclusion.  Grab any necessary sysdep routines when linking.
60653         * crypt/md5.c (md5_process_block): Remove define, we will always
60654         name it __md5_process_block.
60655         (md5_finish_ctx): Update md5_process_block call.
60656         (md5_stream): Likewise.
60657         (md5_process_bytes): Likewise.
60658         (md5_process_block): Rename to __md5_process_block and move to ...
60659         * crypt/md5-block.c: ... here.
60660         * crypt/sha256.c (sha256_process_block): Move to ...
60661         * crypt/sha256-block.c: ... here.
60662         * crypt/sha512.c (sha512_process_block): Move to ...
60663         * crypt/sha512-block.c: ... here.
60664         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60665         path.
60666         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60667         * sysdeps/sparc/sparc64/multiarch/Makefile
60668         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60669         crypt subdir.
60670         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60671         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60672         multiarch changes.
60673         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60674         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60675         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60676         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60677         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60678         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60679         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60680         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60681         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60682         file.
60683         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60684         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60685         file.
60686         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60688 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60690         * timezone/tzselect.ksh: Update from tzcode git revision
60691         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60692         * timezone/zdump.c: Likewise.
60693         * timezone/zic.c: Likewise.
60694         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60695         in TZVERSION setting, not $(PKGVERSION).
60696         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60697         REPORT_BUGS_TO settings.
60699         [BZ #14838]
60700         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60701         macro.
60703 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60705         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60706         detection to immediately after _FP_ROUND().
60707         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60708         bits are 0.
60710 2012-11-11  David S. Miller  <davem@davemloft.net>
60712         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60713         inttypes.h
60714         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60715         __close rather than their public counterparts.
60717 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60719         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60720         file.
60721         [UNIX98] (sem_timedwait): Do not expect.
60722         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60723         [XPG4 || UNIX98] (sockatmark): Do not expect.
60724         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60725         (clock_getcpuclockid): Do not expect.
60726         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60727         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60728         Do not expect.
60729         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60730         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60731         [UNIX98] (vwscanf): Likewise.
60732         [UNIX98] (vswscanf): Likewise.
60734 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60736         * timezone/version.h: Remove file.
60737         * timezone/README: Do not refer to version.h.
60738         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60739         $(objpfx)version.h.
60740         ($(objpfx)zdump.o): Likewise.
60741         ($(objpfx)version.h): New target.
60743         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60744         2012i.
60745         * timezone/README: Don't mention modification to tzselect.ksh.
60746         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60747         work on unmodified tzselect.ksh.  Substitute version numbers in
60748         tzselect.ksh.
60750         * Makefile (format-me): Remove.
60751         (INSTALL): Adjust indentation.  Use commands directly instead of
60752         using $(format-me).
60754         * aclocal.m4 (ACX_PKGVERSION): New macro.
60755         (ACX_BUGURL): Likewise.
60756         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60757         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60758         (REPORT_BUGS_TO): Likewise.
60759         * configure: Regenerated.
60760         * config.h.in (PKGVERSION): New macro.
60761         (REPORT_BUGS_TO): Likewise.
60762         * config.make.in (PKGVERSION): New variable.
60763         (PKGVERSION_TEXI): Likewise.
60764         (REPORT_BUGS_TO): Likewise.
60765         (REPORT_BUGS_TEXI): Likewise.
60766         * Makefile (format-me): Use -I$(common-objpfx)manual.
60767         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60768         ($(common-objpfx)manual/%): New target.
60769         (manual/%): Remove target.
60770         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60771         (print_version): Use PKGVERSION.
60772         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60773         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60774         and REPORT_BUGS_TO.
60775         ($(objpfx)xtrace): Likewise.
60776         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60777         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60778         (print_version): Use PKGVERSION.
60779         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60780         (do_version): Use PKGVERSION.
60781         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60782         REPORT_BUGS_TO.
60783         (common-ldd-rewrite): Likewise.
60784         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60785         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60786         (print_version): Use PKGVERSION.
60787         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60788         * elf/pldd.c (argp_program_bug_address): Remove variable.
60789         (more_help): New function.
60790         (argp): Use more_help.
60791         (print_version): Use PKGVERSION.
60792         * elf/sln.c (main): Use PKGVERSION.
60793         (usage): Use REPORT_BUGS_TO.
60794         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60795         (top level): Use PKGVERSION.
60796         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60797         (print_version): Use PKGVERSION.
60798         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60799         (print_version): Use PKGVERSION.
60800         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60801         (print_version): Use PKGVERSION.
60802         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60803         (print_version): Use PKGVERSION.
60804         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60805         (print_version): Use PKGVERSION.
60806         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60807         (print_version): Use PKGVERSION.
60808         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60809         and BUGURL.
60810         ($(objpfx)memusage): Likewise.
60811         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60812         (do_version): Use PKGVERSION.
60813         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60814         (print_version): Use PKGVERSION.
60815         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60816         ($PKGVERSION): New variable.
60817         ($REPORT_BUGS_TO): Likewise.
60818         (usage): Use $REPORT_BUGS_TO.
60819         (top level): Use $PKGVERSION.
60820         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60821         ($(objpfx)pkgvers.texi): New rule.
60822         ($(objpfx)stamp-pkgvers): Likewise.
60823         * manual/install.texi: Include pkgvers.texi.
60824         (--with-pkgversion): Document new configure option.
60825         (--with-bugurl): Likewise.
60826         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60827         than necessarily for this particular distribution.  Use
60828         REPORT_BUGS_TO for where to report bugs.
60829         * INSTALL: Regenerated.
60830         * manual/libc.texinfo: Include pkgvers.texi.
60831         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60832         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60833         (print_version): Use PKGVERSION.
60834         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60835         (print_version): Use PKGVERSION.
60836         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60837         (print_version): Use PKGVERSION.
60838         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60839         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60840         macro.
60841         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60842         (print_version): Use PKGVERSION.
60843         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60844         (print_version): Use PKGVERSION.
60845         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60846         and PKGVERSION.
60848         * timezone/checktab.awk: Update from tzcode 2012i.
60849         * timezone/ialloc.c: Likewise.
60850         * timezone/private.h: Likewise.
60851         * timezone/scheck.c: Likewise.
60852         * timezone/tzfile.h: Likewise.
60853         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60854         (TZVERSION): Hardcode tzcode version number.
60855         * timezone/zdump.c: Update from tzcode 2012i.
60856         * timezone/zic.c: Likewise.
60857         * timezone/version.h: New file.
60858         * timezone/README: Describe version.h.  Update upstream location.
60860         [BZ #14824]
60861         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60862         (mktemp): Enable declaration.
60863         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60864         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60866         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60867         Likewise.
60868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60869         Likewise.
60870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60871         Likewise.
60872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60873         Likewise.
60874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60875         Likewise.
60876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60877         Likewise.
60879         [BZ #14821]
60880         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60881         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60882         for copies of such integer values.
60883         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60884         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60886 2012-11-09  Andreas Jaeger  <aj@suse.de>
60888         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60889         definitions and declarations that are provided by
60890         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60892 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60894         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60895         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60896         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60897         definition.
60899 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60901         * elf/elf.h: Update comment before AArch64 relocations.
60903 2012-11-07  David S. Miller  <davem@davemloft.net>
60905         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60906         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60907         (__start_context): Declare.
60908         (__makecontext_ret): Delete.
60909         (__makecontext): Hook up __start_context instead of
60910         __makecontext_ret.
60911         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60912         (sysdep_routines): Add __start_context when in stdlib.
60914 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60916         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60917         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60918         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60919         hardcoded "nm".
60920         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60921         (READELF): New variable.  Use it instead of hardcoded "readelf".
60923 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60925         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60926         * sysdeps/x86/Makefile: Here.
60927         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60928         * sysdeps/x86/tst-xmmymm.sh: This.
60930 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60932         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60933         expectations.
60934         [UNIX98] (pthread_barrier_t): Do not expect.
60935         [UNIX98] (pthread_barrierattr_t): Likewise.
60936         [UNIX98] (pthread_spinlock_t): Likewise.
60937         [UNIX98] (pthread_barrier_destroy): Likewise.
60938         [UNIX98] (pthread_barrier_init): Likewise.
60939         [UNIX98] (pthread_barrier_wait): Likewise.
60940         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60941         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60942         [UNIX98] (pthread_barrierattr_init): Likewise.
60943         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60944         [UNIX98] (pthread_getcpuclockid): Likewise.
60945         [UNIX98] (pthread_mutex_timedlock): Likewise.
60946         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60947         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60948         [UNIX98] (pthread_sigmask): Likewise.
60949         [UNIX98] (pthread_spin_destroy): Likewise.
60950         [UNIX98] (pthread_spin_init): Likewise.
60951         [UNIX98] (pthread_spin_lock): Likewise.
60952         [UNIX98] (pthread_spin_trylock): Likewise.
60953         [UNIX98] (pthread_spin_unlock): Likewise.
60954         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60955         Do not expect.
60956         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60957         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60958         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60959         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60960         [XPG3 || XPG4] (pthread_key_t): Likewise.
60961         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60962         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60963         [XPG3 || XPG4] (pthread_once_t): Likewise.
60964         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60965         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60966         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60967         [XPG3 || XPG4] (pthread_t): Likewise.
60969         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60970         not expect.
60971         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60973         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60974         Change function return type to int.
60976         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60977         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60978         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60979         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60980         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60981         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60982         [!POSIX] (posix_madvise): Likewise.
60983         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60984         && !UNIX98].
60985         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60986         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60987         (mode_t): Likewise.
60988         (posix_mem_offset): Likewise.
60989         (posix_typed_mem_get_info): Likewise.
60990         (posix_typed_mem_open): Likewise.
60992         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60993         Change condition to [XOPEN2K8].
60995         * conform/conformtest.pl: Preprocess allow-header data with -x c
60996         instead of from stdin.
60997         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60998         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60999         [C99-based standards] (cerfc): Likewise.
61000         [C99-based standards] (cexp2): Likewise.
61001         [C99-based standards] (cexpm1): Likewise.
61002         [C99-based standards] (clog10): Likewise.
61003         [C99-based standards] (clog1p): Likewise.
61004         [C99-based standards] (clog2): Likewise.
61005         [C99-based standards] (clgamma): Likewise.
61006         [C99-based standards] (ctgamma): Likewise.
61007         [C99-based standards] (cerff): Likewise.
61008         [C99-based standards] (cerfcf): Likewise.
61009         [C99-based standards] (cexp2f): Likewise.
61010         [C99-based standards] (cexpm1f): Likewise.
61011         [C99-based standards] (clog10f): Likewise.
61012         [C99-based standards] (clog1pf): Likewise.
61013         [C99-based standards] (clog2f): Likewise.
61014         [C99-based standards] (clgammaf): Likewise.
61015         [C99-based standards] (ctgammaf): Likewise.
61016         [C99-based standards] (cerfl): Likewise.
61017         [C99-based standards] (cerfcl): Likewise.
61018         [C99-based standards] (cexp2l): Likewise.
61019         [C99-based standards] (cexpm1l): Likewise.
61020         [C99-based standards] (clog10l): Likewise.
61021         [C99-based standards] (clog1pl): Likewise.
61022         [C99-based standards] (clog2l): Likewise.
61023         [C99-based standards] (clgammal): Likewise.
61024         [C99-based standards] (ctgammal): Likewise.
61025         * conform/data/inttypes.h-data [C99-based standards]: Include
61026         stdint.h-data.  Remove all expectations for stdint.h contents.
61027         [C99-based standards] (PRI*): Do not allow.
61028         [C99-based standards] (SCN*): Likewise.
61029         [C99-based standards] (*_t): Likewise.
61030         [C99-based-standards] (PRId8): Expect macro.
61031         [C99-based-standards] (PRIi8): Likewise.
61032         [C99-based-standards] (PRIo8): Likewise.
61033         [C99-based-standards] (PRIu8): Likewise.
61034         [C99-based-standards] (PRIx8): Likewise.
61035         [C99-based-standards] (PRIX8): Likewise.
61036         [C99-based-standards] (SCNd8): Likewise.
61037         [C99-based-standards] (SCNi8): Likewise.
61038         [C99-based-standards] (SCNo8): Likewise.
61039         [C99-based-standards] (SCNu8): Likewise.
61040         [C99-based-standards] (SCNx8): Likewise.
61041         [C99-based-standards] (PRIdLEAST8): Likewise.
61042         [C99-based-standards] (PRIiLEAST8): Likewise.
61043         [C99-based-standards] (PRIoLEAST8): Likewise.
61044         [C99-based-standards] (PRIuLEAST8): Likewise.
61045         [C99-based-standards] (PRIxLEAST8): Likewise.
61046         [C99-based-standards] (PRIXLEAST8): Likewise.
61047         [C99-based-standards] (SCNdLEAST8): Likewise.
61048         [C99-based-standards] (SCNiLEAST8): Likewise.
61049         [C99-based-standards] (SCNoLEAST8): Likewise.
61050         [C99-based-standards] (SCNuLEAST8): Likewise.
61051         [C99-based-standards] (SCNxLEAST8): Likewise.
61052         [C99-based-standards] (PRIdFAST8): Likewise.
61053         [C99-based-standards] (PRIiFAST8): Likewise.
61054         [C99-based-standards] (PRIoFAST8): Likewise.
61055         [C99-based-standards] (PRIuFAST8): Likewise.
61056         [C99-based-standards] (PRIxFAST8): Likewise.
61057         [C99-based-standards] (PRIXFAST8): Likewise.
61058         [C99-based-standards] (SCNdFAST8): Likewise.
61059         [C99-based-standards] (SCNiFAST8): Likewise.
61060         [C99-based-standards] (SCNoFAST8): Likewise.
61061         [C99-based-standards] (SCNuFAST8): Likewise.
61062         [C99-based-standards] (SCNxFAST8): Likewise.
61063         [C99-based-standards] (PRId16): Likewise.
61064         [C99-based-standards] (PRIi16): Likewise.
61065         [C99-based-standards] (PRIo16): Likewise.
61066         [C99-based-standards] (PRIu16): Likewise.
61067         [C99-based-standards] (PRIx16): Likewise.
61068         [C99-based-standards] (PRIX16): Likewise.
61069         [C99-based-standards] (SCNd16): Likewise.
61070         [C99-based-standards] (SCNi16): Likewise.
61071         [C99-based-standards] (SCNo16): Likewise.
61072         [C99-based-standards] (SCNu16): Likewise.
61073         [C99-based-standards] (SCNx16): Likewise.
61074         [C99-based-standards] (PRIdLEAST16): Likewise.
61075         [C99-based-standards] (PRIiLEAST16): Likewise.
61076         [C99-based-standards] (PRIoLEAST16): Likewise.
61077         [C99-based-standards] (PRIuLEAST16): Likewise.
61078         [C99-based-standards] (PRIxLEAST16): Likewise.
61079         [C99-based-standards] (PRIXLEAST16): Likewise.
61080         [C99-based-standards] (SCNdLEAST16): Likewise.
61081         [C99-based-standards] (SCNiLEAST16): Likewise.
61082         [C99-based-standards] (SCNoLEAST16): Likewise.
61083         [C99-based-standards] (SCNuLEAST16): Likewise.
61084         [C99-based-standards] (SCNxLEAST16): Likewise.
61085         [C99-based-standards] (PRIdFAST16): Likewise.
61086         [C99-based-standards] (PRIiFAST16): Likewise.
61087         [C99-based-standards] (PRIoFAST16): Likewise.
61088         [C99-based-standards] (PRIuFAST16): Likewise.
61089         [C99-based-standards] (PRIxFAST16): Likewise.
61090         [C99-based-standards] (PRIXFAST16): Likewise.
61091         [C99-based-standards] (SCNdFAST16): Likewise.
61092         [C99-based-standards] (SCNiFAST16): Likewise.
61093         [C99-based-standards] (SCNoFAST16): Likewise.
61094         [C99-based-standards] (SCNuFAST16): Likewise.
61095         [C99-based-standards] (SCNxFAST16): Likewise.
61096         [C99-based-standards] (PRId32): Likewise.
61097         [C99-based-standards] (PRIi32): Likewise.
61098         [C99-based-standards] (PRIo32): Likewise.
61099         [C99-based-standards] (PRIu32): Likewise.
61100         [C99-based-standards] (PRIx32): Likewise.
61101         [C99-based-standards] (PRIX32): Likewise.
61102         [C99-based-standards] (SCNd32): Likewise.
61103         [C99-based-standards] (SCNi32): Likewise.
61104         [C99-based-standards] (SCNo32): Likewise.
61105         [C99-based-standards] (SCNu32): Likewise.
61106         [C99-based-standards] (SCNx32): Likewise.
61107         [C99-based-standards] (PRIdLEAST32): Likewise.
61108         [C99-based-standards] (PRIiLEAST32): Likewise.
61109         [C99-based-standards] (PRIoLEAST32): Likewise.
61110         [C99-based-standards] (PRIuLEAST32): Likewise.
61111         [C99-based-standards] (PRIxLEAST32): Likewise.
61112         [C99-based-standards] (PRIXLEAST32): Likewise.
61113         [C99-based-standards] (SCNdLEAST32): Likewise.
61114         [C99-based-standards] (SCNiLEAST32): Likewise.
61115         [C99-based-standards] (SCNoLEAST32): Likewise.
61116         [C99-based-standards] (SCNuLEAST32): Likewise.
61117         [C99-based-standards] (SCNxLEAST32): Likewise.
61118         [C99-based-standards] (PRIdFAST32): Likewise.
61119         [C99-based-standards] (PRIiFAST32): Likewise.
61120         [C99-based-standards] (PRIoFAST32): Likewise.
61121         [C99-based-standards] (PRIuFAST32): Likewise.
61122         [C99-based-standards] (PRIxFAST32): Likewise.
61123         [C99-based-standards] (PRIXFAST32): Likewise.
61124         [C99-based-standards] (SCNdFAST32): Likewise.
61125         [C99-based-standards] (SCNiFAST32): Likewise.
61126         [C99-based-standards] (SCNoFAST32): Likewise.
61127         [C99-based-standards] (SCNuFAST32): Likewise.
61128         [C99-based-standards] (SCNxFAST32): Likewise.
61129         [C99-based-standards] (PRId64): Likewise.
61130         [C99-based-standards] (PRIi64): Likewise.
61131         [C99-based-standards] (PRIo64): Likewise.
61132         [C99-based-standards] (PRIu64): Likewise.
61133         [C99-based-standards] (PRIx64): Likewise.
61134         [C99-based-standards] (PRIX64): Likewise.
61135         [C99-based-standards] (SCNd64): Likewise.
61136         [C99-based-standards] (SCNi64): Likewise.
61137         [C99-based-standards] (SCNo64): Likewise.
61138         [C99-based-standards] (SCNu64): Likewise.
61139         [C99-based-standards] (SCNx64): Likewise.
61140         [C99-based-standards] (PRIdLEAST64): Likewise.
61141         [C99-based-standards] (PRIiLEAST64): Likewise.
61142         [C99-based-standards] (PRIoLEAST64): Likewise.
61143         [C99-based-standards] (PRIuLEAST64): Likewise.
61144         [C99-based-standards] (PRIxLEAST64): Likewise.
61145         [C99-based-standards] (PRIXLEAST64): Likewise.
61146         [C99-based-standards] (SCNdLEAST64): Likewise.
61147         [C99-based-standards] (SCNiLEAST64): Likewise.
61148         [C99-based-standards] (SCNoLEAST64): Likewise.
61149         [C99-based-standards] (SCNuLEAST64): Likewise.
61150         [C99-based-standards] (SCNxLEAST64): Likewise.
61151         [C99-based-standards] (PRIdFAST64): Likewise.
61152         [C99-based-standards] (PRIiFAST64): Likewise.
61153         [C99-based-standards] (PRIoFAST64): Likewise.
61154         [C99-based-standards] (PRIuFAST64): Likewise.
61155         [C99-based-standards] (PRIxFAST64): Likewise.
61156         [C99-based-standards] (PRIXFAST64): Likewise.
61157         [C99-based-standards] (SCNdFAST64): Likewise.
61158         [C99-based-standards] (SCNiFAST64): Likewise.
61159         [C99-based-standards] (SCNoFAST64): Likewise.
61160         [C99-based-standards] (SCNuFAST64): Likewise.
61161         [C99-based-standards] (SCNxFAST64): Likewise.
61162         [C99-based-standards] (PRIdMAX): Likewise.
61163         [C99-based-standards] (PRIiMAX): Likewise.
61164         [C99-based-standards] (PRIoMAX): Likewise.
61165         [C99-based-standards] (PRIuMAX): Likewise.
61166         [C99-based-standards] (PRIxMAX): Likewise.
61167         [C99-based-standards] (PRIXMAX): Likewise.
61168         [C99-based-standards] (SCNdMAX): Likewise.
61169         [C99-based-standards] (SCNiMAX): Likewise.
61170         [C99-based-standards] (SCNoMAX): Likewise.
61171         [C99-based-standards] (SCNuMAX): Likewise.
61172         [C99-based-standards] (SCNxMAX): Likewise.
61173         [C99-based-standards] (PRIdPTR): Likewise.
61174         [C99-based-standards] (PRIiPTR): Likewise.
61175         [C99-based-standards] (PRIoPTR): Likewise.
61176         [C99-based-standards] (PRIuPTR): Likewise.
61177         [C99-based-standards] (PRIxPTR): Likewise.
61178         [C99-based-standards] (PRIXPTR): Likewise.
61179         [C99-based-standards] (SCNdPTR): Likewise.
61180         [C99-based-standards] (SCNiPTR): Likewise.
61181         [C99-based-standards] (SCNoPTR): Likewise.
61182         [C99-based-standards] (SCNuPTR): Likewise.
61183         [C99-based-standards] (SCNxPTR): Likewise.
61184         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61185         allow.
61186         * conform/data/stdint.h-data: Update comments to clarify
61187         requirements.
61188         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61189         type.
61190         [C99-based standards] (INT8_MAX): Likewise.
61191         [C99-based standards] (INT16_MIN): Likewise.
61192         [C99-based standards] (INT16_MAX): Likewise.
61193         [C99-based standards] (INT32_MIN): Likewise.
61194         [C99-based standards] (INT32_MAX): Likewise.
61195         [C99-based standards] (INT64_MIN): Likewise.
61196         [C99-based standards] (INT64_MAX): Likewise.
61197         [C99-based standards] (UINT8_MAX): Likewise.
61198         [C99-based standards] (UINT16_MAX): Likewise.
61199         [C99-based standards] (UINT32_MAX): Likewise.
61200         [C99-based standards] (UINT64_MAX): Likewise.
61201         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61202         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61203         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61204         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61205         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61206         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61207         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61208         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61209         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61210         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61211         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61212         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61213         [C99-based standards] (INT_FAST8_MIN): Likewise.
61214         [C99-based standards] (INT_FAST8_MAX): Likewise.
61215         [C99-based standards] (INT_FAST16_MIN): Likewise.
61216         [C99-based standards] (INT_FAST16_MAX): Likewise.
61217         [C99-based standards] (INT_FAST32_MIN): Likewise.
61218         [C99-based standards] (INT_FAST32_MAX): Likewise.
61219         [C99-based standards] (INT_FAST64_MIN): Likewise.
61220         [C99-based standards] (INT_FAST64_MAX): Likewise.
61221         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61222         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61223         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61224         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61225         [C99-based standards] (INTPTR_MIN): Likewise.
61226         [C99-based standards] (INTPTR_MAX): Likewise.
61227         [C99-based standards] (UINTPTR_MAX): Likewise.
61228         [C99-based standards] (INTMAX_MIN): Likewise.
61229         [C99-based standards] (INTMAX_MAX): Likewise.
61230         [C99-based standards] (UINTMAX_MAX): Likewise.
61231         [C99-based standards] (PTRDIFF_MIN): Likewise.
61232         [C99-based standards] (PTRDIFF_MAX): Likewise.
61233         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61234         [C99-based standards] (SIZE_MAX): Likewise.
61235         [C99-based standards] (WCHAR_MAX): Likewise.
61236         [C99-based standards] (WINT_MAX): Likewise.
61237         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61238         constraint on value.
61239         [C99-based standards] (WCHAR_MIN): Likewise.
61240         [C99-based standards] (WINT_MIN): Likewise.
61241         [C99-based standards] (*_t): Allow.
61242         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61243         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61244         Include math.h-data and complex.h-data.  Remove all expectations
61245         of math.h and complex.h contents.
61246         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61247         at end of line.
61248         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61249         (struct tm): Expect tag.
61250         [C99-based-standards] (wcstof): Expect function.
61251         [C99-based-standards] (wcstold): Likewise.
61252         [C99-based-standards] (wcstoll): Likewise.
61253         [C99-based-standards] (wcstoull): Likewise.
61254         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61255         macro-int-constant.  Specify type.
61256         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61257         constraint on value.
61258         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61259         Specify type.
61260         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61261         Specify value.
61262         [ISO C standards]: Do not allow headers.
61263         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61264         wcs[abcdefghijklmnopqrstuvwxyz]*.
61265         [ISO C standards] (*_t): Do not allow.
61266         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61267         Expect function.
61268         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61269         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61270         Specify type.
61271         [ISO C standards]: Do not allow headers.
61272         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61273         is[abcdefghijklmnopqrstuvwxyz]*.
61274         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61275         to[abcdefghijklmnopqrstuvwxyz]*.
61276         [ISO C standards] (*_t): Do not allow.
61277         * conform/data/stdalign.h-data: New file.
61278         * conform/data/stdbool.h-data: Likewise.
61279         * conform/data/stdnoreturn.h-data: Likewise.
61281 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61283         [BZ #14815]
61284         * manual/filesys.texi (Directory Entries): Typo fix.
61285         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61287 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61289         * elf/elf.h (EM_AARCH64): New macro.
61290         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61291         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61292         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61293         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61294         (R_AARCH64_TLSDESC): Likewise.
61295         (NT_ARM_TLS): Likewise.
61296         (NT_ARM_HW_BREAK): Likewise.
61297         (NT_ARM_HW_WATCH): Likewise.
61299 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61301         [BZ #14811]
61302         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61303         (__ieee754_powl): Saturate nonzero exponents with absolute value
61304         below 0x1p-79 to +/- 0x1p-79.
61305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61306         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61307         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61308         nonzero exponents with absolute value below 0x1p-32 to +/-
61309         0x1p-32.
61310         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61311         (__ieee754_powl): Saturate nonzero exponents with absolute value
61312         below 0x1p-79 to +/- 0x1p-79.
61313         * math/libm-test.inc (pow_test): Add more tests.
61315 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61317         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61318         _dl_s390_cap_flags with kernel. Increase string length.
61319         (_dl_s390_platforms): Add z196 and zEC12.
61321 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61323         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61324         Change XOPEN21K to XOPEN2K.
61326 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61328         * string/memmove.c: Use memcpy when possible.
61330 2012-11-06  Andreas Jaeger  <aj@suse.de>
61332         * po/eo.po: Update from translation team.
61334 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61336         [BZ #14793]
61337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61338         exponent and small x and y exponents, scale x or y up.  Increase
61339         by 2 the exponent used in scaling up.
61340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61342         * math/libm-test.inc (fma_test): Add more tests.
61343         (fma_test_towardzero): Likewise.
61344         (fma_test_downward): Likewise.
61345         (fma_test_upward): Likewise.
61347 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61349         [BZ #14805]
61350         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61351         fenv_t *.
61353         [BZ #14801]
61354         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61355         namespace for names of struct fields.
61356         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61357         fenv_t fields.
61358         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61359         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61361 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61363         [BZ #3665]
61364         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61366 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61368         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61369         PTR_DEMANGLE.
61371         [BZ #5246]
61372         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61373         PTR_DEMANGLE.
61375 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61377         [BZ #14797]
61378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61379         definitely overflow as x * y not x * y + z.
61380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61382         * math/libm-test.inc (fma_test): Add more tests.
61383         (fma_test_towardzero): Likewise.
61384         (fma_test_downward): Likewise.
61385         (fma_test_upward): Likewise.
61387 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61389         [BZ #157]
61391         * include/stub-tag.h: Remove file.
61392         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61393         '#include' of it.
61394         * manual/maint.texi (Porting): Don't reference it.
61395         * Makerules ($(objpfx)stubs): Likewise.
61396         * dirent/closedir.c: Don't include <stub-tag.h>.
61397         * dirent/dirfd.c: Likewise.
61398         * dirent/fdopendir.c: Likewise.
61399         * dirent/getdents.c: Likewise.
61400         * dirent/getdents64.c: Likewise.
61401         * dirent/opendir.c: Likewise.
61402         * dirent/readdir.c: Likewise.
61403         * dirent/readdir64.c: Likewise.
61404         * dirent/readdir64_r.c: Likewise.
61405         * dirent/readdir_r.c: Likewise.
61406         * dirent/rewinddir.c: Likewise.
61407         * dirent/seekdir.c: Likewise.
61408         * dirent/telldir.c: Likewise.
61409         * gmon/profil.c: Likewise.
61410         * grp/setgroups.c: Likewise.
61411         * inet/if_index.c: Likewise.
61412         * io/access.c: Likewise.
61413         * io/chdir.c: Likewise.
61414         * io/chmod.c: Likewise.
61415         * io/chown.c: Likewise.
61416         * io/close.c: Likewise.
61417         * io/dup.c: Likewise.
61418         * io/dup2.c: Likewise.
61419         * io/dup3.c: Likewise.
61420         * io/euidaccess.c: Likewise.
61421         * io/faccessat.c: Likewise.
61422         * io/fchdir.c: Likewise.
61423         * io/fchmod.c: Likewise.
61424         * io/fchmodat.c: Likewise.
61425         * io/fchown.c: Likewise.
61426         * io/fchownat.c: Likewise.
61427         * io/fcntl.c: Likewise.
61428         * io/flock.c: Likewise.
61429         * io/fstatfs.c: Likewise.
61430         * io/fstatfs64.c: Likewise.
61431         * io/fstatvfs.c: Likewise.
61432         * io/fstatvfs64.c: Likewise.
61433         * io/futimens.c: Likewise.
61434         * io/fxstat.c: Likewise.
61435         * io/fxstat64.c: Likewise.
61436         * io/fxstatat.c: Likewise.
61437         * io/fxstatat64.c: Likewise.
61438         * io/getcwd.c: Likewise.
61439         * io/isatty.c: Likewise.
61440         * io/lchmod.c: Likewise.
61441         * io/lchown.c: Likewise.
61442         * io/link.c: Likewise.
61443         * io/linkat.c: Likewise.
61444         * io/lseek.c: Likewise.
61445         * io/lseek64.c: Likewise.
61446         * io/lxstat64.c: Likewise.
61447         * io/mkdir.c: Likewise.
61448         * io/mkdirat.c: Likewise.
61449         * io/mkfifo.c: Likewise.
61450         * io/mkfifoat.c: Likewise.
61451         * io/open.c: Likewise.
61452         * io/open64.c: Likewise.
61453         * io/openat.c: Likewise.
61454         * io/openat64.c: Likewise.
61455         * io/pipe.c: Likewise.
61456         * io/pipe2.c: Likewise.
61457         * io/poll.c: Likewise.
61458         * io/posix_fadvise.c: Likewise.
61459         * io/posix_fadvise64.c: Likewise.
61460         * io/posix_fallocate.c: Likewise.
61461         * io/posix_fallocate64.c: Likewise.
61462         * io/read.c: Likewise.
61463         * io/readlink.c: Likewise.
61464         * io/readlinkat.c: Likewise.
61465         * io/rmdir.c: Likewise.
61466         * io/sendfile.c: Likewise.
61467         * io/sendfile64.c: Likewise.
61468         * io/statfs.c: Likewise.
61469         * io/statfs64.c: Likewise.
61470         * io/statvfs.c: Likewise.
61471         * io/statvfs64.c: Likewise.
61472         * io/symlink.c: Likewise.
61473         * io/symlinkat.c: Likewise.
61474         * io/ttyname.c: Likewise.
61475         * io/ttyname_r.c: Likewise.
61476         * io/umask.c: Likewise.
61477         * io/unlink.c: Likewise.
61478         * io/unlinkat.c: Likewise.
61479         * io/utime.c: Likewise.
61480         * io/utimensat.c: Likewise.
61481         * io/write.c: Likewise.
61482         * io/xmknod.c: Likewise.
61483         * io/xmknodat.c: Likewise.
61484         * io/xstat.c: Likewise.
61485         * io/xstat64.c: Likewise.
61486         * login/getpt.c: Likewise.
61487         * login/grantpt.c: Likewise.
61488         * login/unlockpt.c: Likewise.
61489         * math/e_acoshl.c: Likewise.
61490         * math/e_acosl.c: Likewise.
61491         * math/e_asinl.c: Likewise.
61492         * math/e_atan2l.c: Likewise.
61493         * math/e_atanhl.c: Likewise.
61494         * math/e_coshl.c: Likewise.
61495         * math/e_expl.c: Likewise.
61496         * math/e_fmodl.c: Likewise.
61497         * math/e_gammal_r.c: Likewise.
61498         * math/e_hypotl.c: Likewise.
61499         * math/e_j0l.c: Likewise.
61500         * math/e_j1l.c: Likewise.
61501         * math/e_jnl.c: Likewise.
61502         * math/e_lgammal_r.c: Likewise.
61503         * math/e_log10l.c: Likewise.
61504         * math/e_log2l.c: Likewise.
61505         * math/e_logl.c: Likewise.
61506         * math/e_powl.c: Likewise.
61507         * math/e_rem_pio2l.c: Likewise.
61508         * math/e_sinhl.c: Likewise.
61509         * math/e_sqrtl.c: Likewise.
61510         * math/fclrexcpt.c: Likewise.
61511         * math/fedisblxcpt.c: Likewise.
61512         * math/feenablxcpt.c: Likewise.
61513         * math/fegetenv.c: Likewise.
61514         * math/fegetexcept.c: Likewise.
61515         * math/fegetround.c: Likewise.
61516         * math/feholdexcpt.c: Likewise.
61517         * math/fesetenv.c: Likewise.
61518         * math/fesetround.c: Likewise.
61519         * math/feupdateenv.c: Likewise.
61520         * math/fgetexcptflg.c: Likewise.
61521         * math/fraiseexcpt.c: Likewise.
61522         * math/fsetexcptflg.c: Likewise.
61523         * math/ftestexcept.c: Likewise.
61524         * math/k_cosl.c: Likewise.
61525         * math/k_rem_pio2l.c: Likewise.
61526         * math/k_sinl.c: Likewise.
61527         * math/k_tanl.c: Likewise.
61528         * math/s_asinhl.c: Likewise.
61529         * math/s_atanl.c: Likewise.
61530         * math/s_cbrtl.c: Likewise.
61531         * math/s_erfl.c: Likewise.
61532         * math/s_expm1l.c: Likewise.
61533         * math/s_log1pl.c: Likewise.
61534         * math/s_tanhl.c: Likewise.
61535         * misc/acct.c: Likewise.
61536         * misc/brk.c: Likewise.
61537         * misc/chflags.c: Likewise.
61538         * misc/chroot.c: Likewise.
61539         * misc/fchflags.c: Likewise.
61540         * misc/fgetxattr.c: Likewise.
61541         * misc/flistxattr.c: Likewise.
61542         * misc/fremovexattr.c: Likewise.
61543         * misc/fsetxattr.c: Likewise.
61544         * misc/fsync.c: Likewise.
61545         * misc/ftruncate.c: Likewise.
61546         * misc/futimes.c: Likewise.
61547         * misc/futimesat.c: Likewise.
61548         * misc/getdomain.c: Likewise.
61549         * misc/getdtsz.c: Likewise.
61550         * misc/gethostid.c: Likewise.
61551         * misc/gethostname.c: Likewise.
61552         * misc/getloadavg.c: Likewise.
61553         * misc/getpagesize.c: Likewise.
61554         * misc/getsysstats.c: Likewise.
61555         * misc/getxattr.c: Likewise.
61556         * misc/gtty.c: Likewise.
61557         * misc/ioctl.c: Likewise.
61558         * misc/lgetxattr.c: Likewise.
61559         * misc/listxattr.c: Likewise.
61560         * misc/llistxattr.c: Likewise.
61561         * misc/lremovexattr.c: Likewise.
61562         * misc/lsetxattr.c: Likewise.
61563         * misc/lutimes.c: Likewise.
61564         * misc/madvise.c: Likewise.
61565         * misc/mincore.c: Likewise.
61566         * misc/mlock.c: Likewise.
61567         * misc/mlockall.c: Likewise.
61568         * misc/mmap.c: Likewise.
61569         * misc/mprotect.c: Likewise.
61570         * misc/msync.c: Likewise.
61571         * misc/munlock.c: Likewise.
61572         * misc/munlockall.c: Likewise.
61573         * misc/munmap.c: Likewise.
61574         * misc/preadv.c: Likewise.
61575         * misc/preadv64.c: Likewise.
61576         * misc/ptrace.c: Likewise.
61577         * misc/pwritev.c: Likewise.
61578         * misc/pwritev64.c: Likewise.
61579         * misc/readv.c: Likewise.
61580         * misc/reboot.c: Likewise.
61581         * misc/remap_file_pages.c: Likewise.
61582         * misc/removexattr.c: Likewise.
61583         * misc/revoke.c: Likewise.
61584         * misc/select.c: Likewise.
61585         * misc/setdomain.c: Likewise.
61586         * misc/setegid.c: Likewise.
61587         * misc/seteuid.c: Likewise.
61588         * misc/sethostid.c: Likewise.
61589         * misc/sethostname.c: Likewise.
61590         * misc/setregid.c: Likewise.
61591         * misc/setreuid.c: Likewise.
61592         * misc/setxattr.c: Likewise.
61593         * misc/sstk.c: Likewise.
61594         * misc/stty.c: Likewise.
61595         * misc/swapoff.c: Likewise.
61596         * misc/swapon.c: Likewise.
61597         * misc/sync.c: Likewise.
61598         * misc/syncfs.c: Likewise.
61599         * misc/syscall.c: Likewise.
61600         * misc/truncate.c: Likewise.
61601         * misc/ualarm.c: Likewise.
61602         * misc/usleep.c: Likewise.
61603         * misc/ustat.c: Likewise.
61604         * misc/utimes.c: Likewise.
61605         * misc/vhangup.c: Likewise.
61606         * misc/writev.c: Likewise.
61607         * posix/_exit.c: Likewise.
61608         * posix/alarm.c: Likewise.
61609         * posix/execve.c: Likewise.
61610         * posix/fexecve.c: Likewise.
61611         * posix/fork.c: Likewise.
61612         * posix/fpathconf.c: Likewise.
61613         * posix/getaddrinfo.c: Likewise.
61614         * posix/getegid.c: Likewise.
61615         * posix/geteuid.c: Likewise.
61616         * posix/getgid.c: Likewise.
61617         * posix/getgroups.c: Likewise.
61618         * posix/getlogin.c: Likewise.
61619         * posix/getlogin_r.c: Likewise.
61620         * posix/getpgid.c: Likewise.
61621         * posix/getpid.c: Likewise.
61622         * posix/getppid.c: Likewise.
61623         * posix/getresgid.c: Likewise.
61624         * posix/getresuid.c: Likewise.
61625         * posix/getsid.c: Likewise.
61626         * posix/getuid.c: Likewise.
61627         * posix/glob64.c: Likewise.
61628         * posix/nanosleep.c: Likewise.
61629         * posix/pathconf.c: Likewise.
61630         * posix/pause.c: Likewise.
61631         * posix/posix_madvise.c: Likewise.
61632         * posix/pread.c: Likewise.
61633         * posix/pread64.c: Likewise.
61634         * posix/pwrite.c: Likewise.
61635         * posix/pwrite64.c: Likewise.
61636         * posix/sched_getaffinity.c: Likewise.
61637         * posix/sched_getp.c: Likewise.
61638         * posix/sched_gets.c: Likewise.
61639         * posix/sched_primax.c: Likewise.
61640         * posix/sched_primin.c: Likewise.
61641         * posix/sched_rr_gi.c: Likewise.
61642         * posix/sched_setaffinity.c: Likewise.
61643         * posix/sched_setp.c: Likewise.
61644         * posix/sched_sets.c: Likewise.
61645         * posix/sched_yield.c: Likewise.
61646         * posix/setgid.c: Likewise.
61647         * posix/setlogin.c: Likewise.
61648         * posix/setpgid.c: Likewise.
61649         * posix/setresgid.c: Likewise.
61650         * posix/setresuid.c: Likewise.
61651         * posix/setsid.c: Likewise.
61652         * posix/setuid.c: Likewise.
61653         * posix/sleep.c: Likewise.
61654         * posix/spawni.c: Likewise.
61655         * posix/sysconf.c: Likewise.
61656         * posix/times.c: Likewise.
61657         * posix/wait.c: Likewise.
61658         * posix/wait3.c: Likewise.
61659         * posix/wait4.c: Likewise.
61660         * posix/waitpid.c: Likewise.
61661         * resolv/gai_sigqueue.c: Likewise.
61662         * resource/getpriority.c: Likewise.
61663         * resource/getrlimit.c: Likewise.
61664         * resource/getrusage.c: Likewise.
61665         * resource/nice.c: Likewise.
61666         * resource/setpriority.c: Likewise.
61667         * resource/setrlimit.c: Likewise.
61668         * resource/ulimit.c: Likewise.
61669         * rt/aio_cancel.c: Likewise.
61670         * rt/aio_fsync.c: Likewise.
61671         * rt/aio_read.c: Likewise.
61672         * rt/aio_sigqueue.c: Likewise.
61673         * rt/aio_suspend.c: Likewise.
61674         * rt/aio_write.c: Likewise.
61675         * rt/clock_getres.c: Likewise.
61676         * rt/clock_gettime.c: Likewise.
61677         * rt/clock_nanosleep.c: Likewise.
61678         * rt/clock_settime.c: Likewise.
61679         * rt/lio_listio.c: Likewise.
61680         * rt/mq_close.c: Likewise.
61681         * rt/mq_getattr.c: Likewise.
61682         * rt/mq_notify.c: Likewise.
61683         * rt/mq_open.c: Likewise.
61684         * rt/mq_receive.c: Likewise.
61685         * rt/mq_send.c: Likewise.
61686         * rt/mq_setattr.c: Likewise.
61687         * rt/mq_timedreceive.c: Likewise.
61688         * rt/mq_timedsend.c: Likewise.
61689         * rt/mq_unlink.c: Likewise.
61690         * rt/shm_open.c: Likewise.
61691         * rt/shm_unlink.c: Likewise.
61692         * rt/timer_create.c: Likewise.
61693         * rt/timer_delete.c: Likewise.
61694         * rt/timer_getoverr.c: Likewise.
61695         * rt/timer_gettime.c: Likewise.
61696         * rt/timer_settime.c: Likewise.
61697         * setjmp/__longjmp.c: Likewise.
61698         * setjmp/setjmp.c: Likewise.
61699         * signal/kill.c: Likewise.
61700         * signal/killpg.c: Likewise.
61701         * signal/raise.c: Likewise.
61702         * signal/sigaction.c: Likewise.
61703         * signal/sigaltstack.c: Likewise.
61704         * signal/sigblock.c: Likewise.
61705         * signal/sigignore.c: Likewise.
61706         * signal/sigintr.c: Likewise.
61707         * signal/signal.c: Likewise.
61708         * signal/sigpause.c: Likewise.
61709         * signal/sigpending.c: Likewise.
61710         * signal/sigqueue.c: Likewise.
61711         * signal/sigreturn.c: Likewise.
61712         * signal/sigset.c: Likewise.
61713         * signal/sigsetmask.c: Likewise.
61714         * signal/sigstack.c: Likewise.
61715         * signal/sigsuspend.c: Likewise.
61716         * signal/sigtimedwait.c: Likewise.
61717         * signal/sigvec.c: Likewise.
61718         * signal/sigwait.c: Likewise.
61719         * signal/sigwaitinfo.c: Likewise.
61720         * signal/sysv_signal.c: Likewise.
61721         * socket/accept.c: Likewise.
61722         * socket/accept4.c: Likewise.
61723         * socket/bind.c: Likewise.
61724         * socket/connect.c: Likewise.
61725         * socket/getpeername.c: Likewise.
61726         * socket/getsockname.c: Likewise.
61727         * socket/getsockopt.c: Likewise.
61728         * socket/isfdtype.c: Likewise.
61729         * socket/listen.c: Likewise.
61730         * socket/recv.c: Likewise.
61731         * socket/recvfrom.c: Likewise.
61732         * socket/recvmsg.c: Likewise.
61733         * socket/send.c: Likewise.
61734         * socket/sendmsg.c: Likewise.
61735         * socket/sendto.c: Likewise.
61736         * socket/setsockopt.c: Likewise.
61737         * socket/shutdown.c: Likewise.
61738         * socket/sockatmark.c: Likewise.
61739         * socket/socket.c: Likewise.
61740         * socket/socketpair.c: Likewise.
61741         * stdio-common/ctermid.c: Likewise.
61742         * stdio-common/cuserid.c: Likewise.
61743         * stdio-common/remove.c: Likewise.
61744         * stdio-common/rename.c: Likewise.
61745         * stdio-common/renameat.c: Likewise.
61746         * stdio-common/tempname.c: Likewise.
61747         * stdlib/getcontext.c: Likewise.
61748         * stdlib/makecontext.c: Likewise.
61749         * stdlib/setcontext.c: Likewise.
61750         * stdlib/swapcontext.c: Likewise.
61751         * stdlib/system.c: Likewise.
61752         * streams/fattach.c: Likewise.
61753         * streams/fdetach.c: Likewise.
61754         * streams/getmsg.c: Likewise.
61755         * streams/getpmsg.c: Likewise.
61756         * streams/putmsg.c: Likewise.
61757         * streams/putpmsg.c: Likewise.
61758         * sysdeps/unix/bsd/getpt.c: Likewise.
61759         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61760         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61761         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61763         Likewise.
61764         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61765         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61766         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61767         * sysvipc/msgctl.c: Likewise.
61768         * sysvipc/msgget.c: Likewise.
61769         * sysvipc/msgrcv.c: Likewise.
61770         * sysvipc/msgsnd.c: Likewise.
61771         * sysvipc/semctl.c: Likewise.
61772         * sysvipc/semget.c: Likewise.
61773         * sysvipc/semop.c: Likewise.
61774         * sysvipc/semtimedop.c: Likewise.
61775         * sysvipc/shmat.c: Likewise.
61776         * sysvipc/shmctl.c: Likewise.
61777         * sysvipc/shmdt.c: Likewise.
61778         * sysvipc/shmget.c: Likewise.
61779         * termios/tcdrain.c: Likewise.
61780         * termios/tcflow.c: Likewise.
61781         * termios/tcflush.c: Likewise.
61782         * termios/tcgetattr.c: Likewise.
61783         * termios/tcgetpgrp.c: Likewise.
61784         * termios/tcsendbrk.c: Likewise.
61785         * termios/tcsetattr.c: Likewise.
61786         * termios/tcsetpgrp.c: Likewise.
61787         * time/adjtime.c: Likewise.
61788         * time/clock.c: Likewise.
61789         * time/getitimer.c: Likewise.
61790         * time/gettimeofday.c: Likewise.
61791         * time/setitimer.c: Likewise.
61792         * time/settimeofday.c: Likewise.
61793         * time/stime.c: Likewise.
61794         * time/time.c: Likewise.
61796 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61798         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61799         /usr/old/bin.
61801         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61802         instead of spaces.
61803         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61805 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61807         [BZ #14796]
61808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61809         FE_TONEAREST before applying Dekker multiplication and Knuth
61810         addition.  Clear inexact exceptions and check for exact zero
61811         results afterwards.
61812         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61813         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61814         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61815         * math/libm-test.inc (fma_test): Add more tests.
61816         (fma_test_towardzero): Likewise.
61817         (fma_test_downward): Likewise.
61818         (fma_test_upward): Likewise.
61819         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61820         function.
61821         (libc_fesetround): New macro.
61822         (libc_fesetroundf): Likewise.
61823         (libc_fesetroundl): Likewise.
61824         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61825         function.
61826         (libc_fesetround_387): Likewise.
61827         (libc_fesetroundf): New macro.
61828         (libc_fesetround): Likewise.
61829         (libc_fesetroundl): Likewise.
61830         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61831         function.
61832         (libc_fesetroundf): New macro.
61833         (libc_fesetround): Likewise.
61834         (libc_fesetroundl): Likewise.
61835         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61836         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61837         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61838         libm_hidden_ver.
61839         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61840         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61841         libm_hidden_def.
61842         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61843         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61844         libm_hidden_ver.
61845         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61846         libm_hidden_def.
61848         [BZ #3439]
61849         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61850         integer constant usable in #if and use that to give value to enum
61851         constant.
61852         (FE_DIVBYZERO): Likewise.
61853         (FE_UNDERFLOW): Likewise.
61854         (FE_OVERFLOW): Likewise.
61855         (FE_INVALID): Likewise.
61856         (FE_INVALID_SNAN): Likewise.
61857         (FE_INVALID_ISI): Likewise.
61858         (FE_INVALID_IDI): Likewise.
61859         (FE_INVALID_ZDZ): Likewise.
61860         (FE_INVALID_IMZ): Likewise.
61861         (FE_INVALID_COMPARE): Likewise.
61862         (FE_INVALID_SOFTWARE): Likewise.
61863         (FE_INVALID_SQRT): Likewise.
61864         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61865         (FE_TONEAREST): Likewise.
61866         (FE_TOWARDZERO): Likewise.
61867         (FE_UPWARD): Likewise.
61868         (FE_DOWNWARD): Likewise.
61869         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61870         (FE_DIVBYZERO): Likewise.
61871         (FE_OVERFLOW): Likewise.
61872         (FE_UNDERFLOW): Likewise.
61873         (FE_INEXACT): Likewise.
61874         (FE_TONEAREST): Likewise.
61875         (FE_DOWNWARD): Likewise.
61876         (FE_UPWARD): Likewise.
61877         (FE_TOWARDZERO): Likewise.
61878         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61879         (FE_UNDERFLOW): Likewise.
61880         (FE_OVERFLOW): Likewise.
61881         (FE_DIVBYZERO): Likewise.
61882         (FE_INVALID): Likewise.
61883         (FE_TONEAREST): Likewise.
61884         (FE_TOWARDZERO): Likewise.
61885         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61886         (FE_OVERFLOW): Likewise.
61887         (FE_UNDERFLOW): Likewise.
61888         (FE_DIVBYZERO): Likewise.
61889         (FE_INEXACT): Likewise.
61890         (FE_TONEAREST): Likewise.
61891         (FE_TOWARDZERO): Likewise.
61892         (FE_UPWARD): Likewise.
61893         (FE_DOWNWARD): Likewise.
61894         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61895         (FE_DIVBYZERO): Likewise.
61896         (FE_OVERFLOW): Likewise.
61897         (FE_UNDERFLOW): Likewise.
61898         (FE_INEXACT): Likewise.
61899         (FE_TONEAREST): Likewise.
61900         (FE_DOWNWARD): Likewise.
61901         (FE_UPWARD): Likewise.
61902         (FE_TOWARDZERO): Likewise.
61904 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61906         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61908 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61910         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61911         commands.  Quote $PWD.
61912         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61913         -x" by "export".
61914         (remove_newlines): Remove.
61916 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61918         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61919         * stdlib/stdlib.h (atof): Moved to ...
61920         * include/bits/stdlib-float.h: Here.  New file.
61921         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61922         * stdlib/bits/stdlib-float.h: New file.
61923         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61924         -mno-sse -mno-mmx.
61925         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61926         <xmmintrin.h>.
61928 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61930         * conform/conformtest.pl (@headers): Add fenv.h.
61931         * conform/data/fenv.h-data: New file.
61932         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61933         include of <math/fenv.h>.
61935         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61936         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61937         && !UNIX98].  Enables tests for XOPEN2K8.
61938         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61939         POSIX2008]: Likewise.
61941         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61942         (struct rusage): Do not expect type or its members.
61944         [BZ #3439]
61945         * math/math.h (FP_NAN): Define macro to integer constant usable in
61946         #if and use that to give value to enum constant.
61947         (FP_INFINITE): Likewise.
61948         (FP_ZERO): Likewise.
61949         (FP_SUBNORMAL): Likewise.
61950         (FP_NORMAL): Likewise.
61952 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61954         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61955         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61956         arguments.
61958 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61960         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61961         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61962         autoconf-time if not.
61963         * configure.in: Remove AC_PREREQ.
61965 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61967         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61968         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61969         of the internal implementation.
61971 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61973         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61974         except include of <misc/sys/syslog.h>.
61976 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61979         function returns with a NULL context exit with zero.
61981 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61983         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61985 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61987         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61988         (run_program_cmd): This.
61989         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61990         (tst_langinfo): New variable.  Use it.
61992 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61994         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61995         floating point opcodes.
61997 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61999         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62000         variable.
62002         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62004         * sysdeps/mach/hurd/powerpc: Remove directory.
62005         * sysdeps/mach/powerpc: Likewise.
62007 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62009         * scripts/check-local-headers.sh: Ignore c++ headers.
62011 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62013         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62014         __libc_cleanup_region_start argument.
62016 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62018         [BZ #14784]
62019         [BZ #14785]
62020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62021         x * y using scaling, not as x * y + z.
62022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62024         * math/libm-test.inc (fma_test): Add more tests.
62025         (fma_test_towardzero): Likewise.
62026         (fma_test_downward): Likewise.
62027         (fma_test_upward): Likewise.
62029 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62031         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62033 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62035         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62036         New variable.
62038 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62040         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62042 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62045         Fix sort order.
62046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62047         Likewise.
62049 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62052         Fix the order of the list for glibc 2.17.
62053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62054         Likewise.
62056 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62058         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62060 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62062         [BZ #14610]
62063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62064         for low part of x being zero before using __atanl (y).
62065         * math/libm-test.inc (atan2_test): Add another test.
62067         * manual/install.texi (Configuring and compiling): Document
62068         general use of test-wrapper and test-wrapper-env.
62069         * INSTALL: Regenerated.
62071         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62072         (__fma): Do not extract and scale down low bits on after-rounding
62073         systems when result rounded to normal precision would have normal
62074         exponent.
62075         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62076         (__fmal): Do not extract and scale down low bits on after-rounding
62077         systems when result rounded to normal precision would have normal
62078         exponent.
62079         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62080         (__fmal): Do not extract and scale down low bits on after-rounding
62081         systems when result rounded to normal precision would have normal
62082         exponent.
62083         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62084         macro.
62085         (fma_test): Add more tests.
62086         (fma_test_towardzero): Likewise.
62087         (fma_test_downward): Likewise.
62088         (fma_test_upward): Likewise.
62090 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62092         * sysdeps/i386/tininess.h: Renamed to ...
62093         * sysdeps/x86/tininess.h: This.
62094         * sysdeps/x86_64/tininess.h: Removed.
62096 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62098         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62099         input.  Use $(build-program-cmd).
62100         ($(objpfx)tst-array1-static.out): Likewise.
62101         ($(objpfx)tst-array2.out): Likewise.
62102         ($(objpfx)tst-array3.out): Likewise.
62103         ($(objpfx)tst-array4.out): Likewise.
62104         ($(objpfx)tst-array5.out): Likewise.
62105         ($(objpfx)tst-array5-static.out): Likewise.
62107 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62109         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62110         if defined.
62112         * nss/nsswitch.h (nss_interface_function): Provide new
62113         macro for use with NSS functions.
62114         * grp/initgroups.c: Use new macro.
62115         * nss/getXXbyYY.c: Likewise.
62116         * nss/getXXbyYY_r.c: Likewise.
62117         * nss/getXXent.c: Likewise.
62118         * nss/getXXent_r.c: Likewise.
62119         * sysdeps/posix/getaddrinfo.c: Likewise.
62121 2012-10-30  Andreas Jaeger  <aj@suse.de>
62123         * po/ru.po: Update Russion translation from translation project.
62125 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62127         [BZ #14152]
62128         [BZ #14783]
62129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62130         result and shift together with sticky bit instead of replicating
62131         round-to-nearest rounding.
62132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62134         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62135         missing underflow exceptions.
62136         (fma_test_towardzero): Add more tests.
62137         (fma_test_downward): Likewise.
62138         (fma_test_upward): Likewise.
62140         [BZ #14047]
62141         * sysdeps/generic/tininess.h: New file.
62142         * sysdeps/i386/tininess.h: Likewise.
62143         * sysdeps/sh/tininess.h: Likewise.
62144         * sysdeps/x86_64/tininess.h: Likewise.
62145         * stdlib/tst-strtod-underflow.c: Likewise.
62146         * stdlib/tst-tininess.c: Likewise.
62147         * stdlib/strtod_l.c: Include <tininess.h>.
62148         (round_and_return): Do not set errno for exact underflow cases.
62149         Force an underflow exception when setting errno for underflow.
62150         Determine underflow based on rounding to normal precision if
62151         TININESS_AFTER_ROUNDING.
62152         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62153         ERANGE for exact underflow cases.
62154         * stdlib/Makefile (tests): Add tst-tininess and
62155         tst-strtod-underflow.
62156         ($(objpfx)tst-tininess): Use $(link-libm).
62157         ($(objpfx)tst-strtod-underflow): Likewise.
62159 2012-10-30  Andreas Jaeger  <aj@suse.de>
62161         [BZ#14767]
62162         * elf/Makefile (tests): Remove conditional for have-initfini-array
62163         since this is now always required and the variable does not exist
62164         anymore.
62165         (tests-static): Likewise.
62166         (modules-names): Likewise.
62168         * po/eo.po: Add Esperanto translation from translation project.
62170         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62171         merged with constructor/destructor.
62172         (init_array): Likewise.
62173         * elf/tst-array2dep.c (fini_array): Likewise.
62174         (init_array): Likewise.
62176 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62178         * manual/message.texi: Delete @cartouche tags.
62180 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62182         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62183         EOPNOTSUPP.
62184         * sysdeps/mach/hurd/fsync.c: Likewise.
62186         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62187         [_POSIX_REALTIME_SIGNALS]: Change condition to
62188         [_POSIX_REALTIME_SIGNALS > 0].
62190 2012-10-27  Andreas Jaeger  <aj@suse.de>
62192         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62193         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62194         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62195         [__WORDSIZE != 64]: Likewise.
62197 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62199         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62200         *  iconvdata/tst-tables.sh: Likewise.
62202 2012-10-25  David S. Miller  <davem@davemloft.net>
62204         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62205         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62206         of strtoull.
62208         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62209         ifunc-impl-list.c
62210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62211         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62212         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62213         file.
62215 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62217         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62218         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62219         __getdirentries.
62221 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62222             Jim Blandy  <jimb@codesourcery.com>
62224         * scripts/cross-test-ssh.sh: New file.
62225         * manual/install.texi (Configuring and compiling): Document use of
62226         cross-test-ssh.sh.
62227         * INSTALL: Regenerated.
62229 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62231         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62232         EOPNOTSUPP.
62234 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62236         * Makeconfig (run-program-prefix): Fix comment.
62238 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62239             Jim Blandy  <jimb@codesourcery.com>
62241         * Makeconfig (test-wrapper): New variable,
62242         (test-wrapper-env): Likewise.
62243         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62244         (run-built-tests): Define to yes.
62245         (run-program-prefix): Use $(test-wrapper).
62246         (built-program-cmd): Likewise.
62247         * Rules (make-test-out): Use $(test-wrapper-env) and
62248         $(host-built-program-cmd).
62249         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62250         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62251         tst-pathopt.sh.
62252         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62253         $(test-wrapper-env) to tst-rtld-load-self.sh.
62254         ($(objpfx)order2.out): Use $(test-wrapper).
62255         ($(objpfx)tst-initorder.out): Likewise.
62256         ($(objpfx)tst-initorder2.out): Likewise.
62257         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62258         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62259         (test_wrapper_env): New variable.  Use it to run ld.so.
62260         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62261         Use it to run ld.so.
62262         (test_wrapper_env): Likewise.
62263         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62264         $(test-wrapper) to run-iconv-test.sh.
62265         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62266         (ICONV): Use $test_wrapper.
62267         * posix/Makefile ($(objpfx)globtest.out): Pass
62268         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62269         globtest.sh, not $(run-program-prefix).
62270         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62271         (test_wrapper): Likewise.
62272         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62273         set together with run_via_rtld_prefix.
62274         (run_program_prefix): Define in terms of test_wrapper and
62275         run_via_rtld_prefix.
62277 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62279         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62280         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62281         Targets removed.
62283         [BZ #14743]
62284         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62285         Declare __clock_getres, __clock_gettime, __clock_settime,
62286         __clock_nanosleep, and __clock_getcpuclockid.
62287         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62288         Remove librt_hidden_def (clock_gettime).
62289         * sysdeps/unix/clock_gettime.c: Likewise.
62290         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62291         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62292         * rt/clock_getres.c: Define __clock_getres as an alias.
62293         * sysdeps/posix/clock_getres.c: Likewise.
62294         * rt/clock_settime.c: Define __clock_settime as an alias.
62295         * sysdeps/unix/clock_settime.c: Likewise.
62296         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62297         * sysdeps/unix/clock_nanosleep.c: Likewise.
62298         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62299         * rt/clock-compat.c: New file.
62300         * rt/Makefile (librt-routines): Add clock-compat and move
62301         $(clock-routines) to ...
62302         (routines): ... here, new variable.
62303         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62304         Don't add get_clockfreq here.
62305         * rt/Versions (libc: GLIBC_2.17): New version set.
62306         Add clock_* symbols here.
62307         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62308         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62309         (GLIBC_2.17): Add clock_* symbols.
62310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62312         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62314         Likewise.
62315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62316         Likewise.
62317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62321         * NEWS: Mention the move.
62323         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62324         Use __open, __read, __close rather than their public counterparts.
62325         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62326         (__get_clockfreq_via_cpuinfo): Likewise.
62327         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62328         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62330         * config.h.in (HAVE_IFUNC): New #undef.
62331         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62332         was successful.
62333         * configure: Regenerated.
62335 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62337         * configure.in: Move READELF check to start of file.
62338         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62339         libc_cv_asm_gnu_indirect_function in the process.
62340         * configure: Regenerated.
62342 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62344         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62345         send the output to /dev/null.
62346         (libc_cv_cc_with_libunwind): Likewise.
62347         (libc_cv_as_noexecstack): Likewise.
62348         * configure: Regenerate.
62350 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62352         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62354         * posix/globtest.sh (TMPDIR): Do not set.
62355         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62356         (testout): Likewise.
62358 2012-10-24  Andreas Jaeger  <aj@suse.de>
62360         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62361         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62362         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62363         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62364         posix_fadvise64, posix_fallocate64.
62366         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62367         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62368         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62369         Likewise.
62370         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62371         Likewise.
62372         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62375         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62376         <bits/fcntl-linux.h>.
62377         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62380         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62381         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62382         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62383         [__WORDSIZE != 64]: Likewise.
62385 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62387         * Makeconfig (run-built-tests): New variable.
62388         * Rules [$(cross-compiling) = yes]: Change condition to
62389         [$(run-built-tests) = no].
62390         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62391         to [$(run-built-tests) = yes].
62392         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62393         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62394         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62395         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62396         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62397         * io/Makefile [$(cross-compiling) = no]: Likewise.
62398         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62399         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62400         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62401         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62402         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62403         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62404         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62405         * string/Makefile [$(cross-compiling) = no]: Likewise.
62407         * posix/Makefile ($(objpfx)globtest.out): Pass
62408         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62409         $(rtld-installed-name).
62410         * posix/globtest.sh (elf_objpfx): Remove variable.
62411         (rtld_installed_name): Likewise.
62412         (library_path): Likewise.
62413         (run_program_prefix): New variable.  Use for running globtest
62414         binary.
62416 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62417             Joseph Myers  <joseph@codesourcery.com>
62419         * Makeconfig (host-built-program-cmd): New variable.
62420         * elf/Makefile (tst-stackguard1-ARGS): Use
62421         $(host-built-program-cmd).
62422         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62423         (tst-spawn-ARGS): Likewise.
62424         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62426 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62427             Jim Blandy  <jimb@codesourcery.com>
62429         * Makeconfig (run-via-rtld-prefix): New variable.
62430         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62431         (built-program-cmd): Likewise.
62433 2012-10-22  Andreas Jaeger  <aj@suse.de>
62435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62436         __O_RSYNC if it exists, otherwise to O_SYNC.
62438 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62439             Joseph Myers  <joseph@codesourcery.com>
62441         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62442         /dev/null.
62443         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62444         from /dev/null
62445         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62446         /dev/null.
62448 2012-10-22  Andreas Jaeger  <aj@suse.de>
62450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62451         Define always.
62452         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62455         bits/fcntl-linux.h.
62457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62458         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62461         to __O_LARGEFILE.
62462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62463         to __O_LARGEFILE.
62465 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62466             Joseph Myers  <joseph@codesourcery.com>
62468         * config.make.in (NM): New variable.
62470 2012-10-21  Andreas Jaeger  <aj@suse.de>
62472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62473         definitions and declarations that are provided by
62474         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62476 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62478         [BZ #14683]
62479         * elf/Makefile (tests-static): Add tst-leaks1-static.
62480         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62481         ($(objpfx)tst-leaks1-static): New rule.
62482         ($(objpfx)tst-leaks1-static-mem): Likewise.
62483         (tst-leaks1-static-ENV): New macro.
62484         * elf/dl-open.c (dl_open_worker): Check the main application
62485         only if SHARED is defined.
62486         * elf/tst-leaks1-static.c: New file.
62488 2012-10-20  Andreas Jaeger  <aj@suse.de>
62490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62491         generic values for Linux.
62492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62493         and declarations that are provided by <bits/fcntl-linux.h> and
62494         include <bits/fcntl-linux.h>.
62495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62498 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62500         * io/fcntl.h: Move include of <bits/types.h> to the top and
62501         include it unconditionally.
62503 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62505         * wcsmbs/Makefile (tests-ifunc): New variable.
62506         (tests): Add $(tests-ifunc).
62507         * wcsmbs/test-wcschr-ifunc.c: New file.
62508         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62509         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62510         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62511         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62512         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62514         * string/Makefile (tests-ifunc): New variable.
62515         (tests): Add $(tests-ifunc).
62516         * string/test-memccpy.c (TEST_NAME): New macro.
62517         * string/test-memchr.c (TEST_NAME): Likewise.
62518         * string/test-memcmp.c (TEST_NAME): Likewise.
62519         * string/test-memcpy.c (TEST_NAME): Likewise.
62520         * string/test-memmem.c (TEST_NAME): Likewise.
62521         * string/test-memmove.c (TEST_NAME): Likewise.
62522         * string/test-memset.c (TEST_NAME): Likewise.
62523         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62524         * string/test-stpcpy.c (TEST_NAME): Likewise.
62525         * string/test-stpncpy.c (TEST_NAME): Likewise.
62526         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62527         * string/test-strcasestr.c (TEST_NAME): Likewise.
62528         * string/test-strcat.c (TEST_NAME): Likewise.
62529         * string/test-strchr.c (TEST_NAME): Likewise.
62530         * string/test-strcmp.c(TEST_NAME): Likewise.
62531         * string/test-strcpy.c (TEST_NAME): Likewise.
62532         * string/test-strcspn.c (TEST_NAME): Likewise.
62533         * string/test-strlen.c (TEST_NAME): Likewise.
62534         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62535         * string/test-strncmp.c (TEST_NAME): Likewise.
62536         * string/test-strncpy.c (TEST_NAME): Likewise.
62537         * string/test-strnlen.c (TEST_NAME): Likewise.
62538         * string/test-strpbrk.c (TEST_NAME): Likewise.
62539         * string/test-strrchr.c (TEST_NAME): Likewise.
62540         * string/test-strspn.c (TEST_NAME): Likewise.
62541         * string/test-strstr.c (TEST_NAME): Likewise.
62542         * string/test-bcopy-ifunc.c: New file.
62543         * string/test-bzero-ifunc.c: Likewise.
62544         * string/test-memccpy-ifunc.c: Likewise.
62545         * string/test-memchr-ifunc.c: Likewise.
62546         * string/test-memcmp-ifunc.c: Likewise.
62547         * string/test-memcpy-ifunc.c: Likewise.
62548         * string/test-memmem-ifunc.c: Likewise.
62549         * string/test-memmove-ifunc.c: Likewise.
62550         * string/test-mempcpy-ifunc.c: Likewise.
62551         * string/test-memset-ifunc.c: Likewise.
62552         * string/test-rawmemchr-ifunc.c: Likewise.
62553         * string/test-stpcpy-ifunc.c: Likewise.
62554         * string/test-stpncpy-ifunc.c: Likewise.
62555         * string/test-strcasecmp-ifunc.c: Likewise.
62556         * string/test-strcasestr-ifunc.c: Likewise.
62557         * string/test-strcat-ifunc.c: Likewise.
62558         * string/test-strchr-ifunc.c: Likewise.
62559         * string/test-strchrnul-ifunc.c: Likewise.
62560         * string/test-strcmp-ifunc.c: Likewise.
62561         * string/test-strcpy-ifunc.c: Likewise.
62562         * string/test-strcspn-ifunc.c: Likewise.
62563         * string/test-strlen-ifunc.c: Likewise.
62564         * string/test-strncasecmp-ifunc.c: Likewise.
62565         * string/test-strncat-ifunc.c: Likewise.
62566         * string/test-strncmp-ifunc.c: Likewise.
62567         * string/test-strncpy-ifunc.c: Likewise.
62568         * string/test-strnlen-ifunc.c: Likewise.
62569         * string/test-strpbrk-ifunc.c: Likewise.
62570         * string/test-strrchr-ifunc.c: Likewise.
62571         * string/test-strspn-ifunc.c: Likewise.
62572         * string/test-strstr-ifunc.c: Likewise.
62574         * debug/Makefile (tests-ifunc): New variable.
62575         (tests): Add $(tests-ifunc).
62576         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62577         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62578         * debug/test-stpcpy_chk-ifunc.c: New file.
62579         * debug/test-strcpy_chk-ifunc.c: Likewise.
62581 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62583         [BZ #13601]
62584         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62585         header is not read in.
62587 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62589         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62590         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62591         directly.  Pass built executable to script as
62592         $(built-program-cmd).
62593         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62594         $testprogram without using LD_LIBRARY_PATH and $ldso.
62596         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62597         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62598         $(rtld-installed-name).
62599         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62600         (rtld_installed_name): Likewise.
62601         (library_path): Likewise.
62602         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62603         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62604         $(run-program-prefix) to tst-tables.sh.
62605         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62606         it to run tst-table-from and tst-table-to.
62607         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62608         Pass it to tst-table.sh.
62609         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62610         $(run-program-prefix) to tst-gettext.sh.
62611         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62612         tst-translit.sh.
62613         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62614         tst-gettext2.sh.
62615         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62616         to run tst-gettext.
62617         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62618         to run tst-gettext2.
62619         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62620         to run tst-translit.
62621         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62622         $(run-program-prefix) to tst-mtrace.sh.
62623         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62624         to run tst-mtrace.
62625         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62626         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62627         $(rtld-installed-name).
62628         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62629         (rtld_installed_name): Likewise.
62630         (run_program_prefix): New variable.  Use it to run wordexp-test.
62632         * Makeconfig (ARCH): Remove all definitions.
62633         (machine): Likewise.
62634         [ARCH]: Remove conditional code.
62635         [!objdir]: Give error.
62636         [!objdir] (objpfx): Remove.
62637         [!objdir] (common-objpfx): Likewise.
62638         [!objdir] (common-objdir): Likewise.
62639         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62640         AC_CONFIG_FILES call.
62641         * configure: Regenerated.
62643         [BZ #13888]
62644         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62645         or TMPDIR.
62646         (testout): Likewise.
62648         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62649         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62650         $(rtld-installed-name).
62651         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62652         (rtld_installed_name): Likwise.
62653         (runit): Remove function.
62654         (run_getconf): New variable,  Use it for running getconf binary.
62656 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62658         [BZ #14716]
62659         * string/test-memmem.c (check_result): New function.
62660         (do_one_test): Use it.
62661         (check1): New function.
62662         (test_main): Use it.
62664 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62666         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62668 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62670         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62671         (_G_LSEEK64): Likewise.
62672         (_G_MMAP64): Likewise.
62673         (_G_FSTAT64): Likewise.
62674         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62675         (_G_LSEEK64): Likewise.
62676         (_G_MMAP64): Likewise.
62677         (_G_FSTAT64): Likewise.
62678         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62679         unconditional.  Call __mmap64 directly.
62680         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62681         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62682         __lseek64 directly.
62683         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62684         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62685         __mmap64 directly.
62686         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62687         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62688         __lseek64 directly.
62689         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62690         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62691         __lseek64 directly.
62692         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62693         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62694         __lseek64 directly.
62695         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62696         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62697         __fxstat64 directly.
62698         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62699         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62700         unconditional.
62701         (freopen64) [!_G_OPEN64]: Remove conditional code.
62702         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62703         unconditional.
62704         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62705         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62706         unconditional.
62707         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62708         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62709         unconditional.
62710         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62711         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62712         unconditional.
62713         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62714         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62715         unconditional.
62716         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62717         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62718         unconditional.
62719         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62720         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62721         unconditional.
62722         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62724 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62726         [BZ #12140]
62727         * manual/memory.texi (Malloc Tunable Parameters): Add note
62728         about free list pointers overwriting some perturb bytes.
62729         Wording suggested by Roland McGrath.
62731 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62733         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62734         (lgamma_test): Likewise.
62735         (tgamma_test): Likewise.
62737 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62739         [BZ #14700]
62740         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62741         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62743 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62745         * NEWS: Mention BZ #14716.
62746         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62747         when removing AVAILABLE1_USES_J macro.
62749 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62751         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62752         (__bswap_64): __uint64_t for unsigned 64-bit int.
62754 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62756         * include/string.h (memmem): Declare libc hidden alias.
62757         * string/memmem.c (memmem): Define libc hidden alias.
62758         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62759         __read, __close instead of open, read, close.
62761 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62764         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62765         global and hidden.
62766         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62767         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62768         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62769         Likewise.
62770         (__rawmemchr_sse2): Likewise.
62771         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62772         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62773         (__strchr_sse2): Likewise.
62774         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62775         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62776         (__strcasecmp_sse2): Likewise.
62777         (__strncasecmp_sse2): Likewise.
62778         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62779         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62780         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62781         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62782         (__strrchr_sse2): Likewise.
62783         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62784         ifunc-impl-list.c.
62785         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62786         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62787         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62788         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62789         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62791         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62792         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62793         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62794         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62795         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62796         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62797         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62798         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62799         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62800         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62801         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62802         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62803         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62804         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62805         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62806         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62807         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62808         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62809         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62810         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62811         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62812         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62813         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62814         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62816         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62817         global and hidden.
62818         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62819         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62820         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62821         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62822         Likewise.
62823         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62824         Likewise.
62825         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62826         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62827         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62828         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62829         ifunc-impl-list.c.
62830         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62831         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62832         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62833         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62834         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62835         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62836         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62837         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62838         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62839         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62843         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62844         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62845         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62846         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62847         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62848         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62849         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62850         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62851         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62852         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62853         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62854         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62855         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62856         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62857         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62858         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62859         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62860         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62861         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62863         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62864         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62865         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62866         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62867         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62868         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62869         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62870         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62872         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62873         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62874         * include/ifunc-impl-list.h: New file.
62875         * misc/ifunc-impl-list.c: Likewise.
62876         * misc/Makefile (routines): Add ifunc-impl-list.
62877         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62878         * string/test-string.h: Include <ifunc-impl-list.h>.
62879         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62880         TEST_NAME]: New variables.
62881         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62882         are defined.
62883         (test_init): Call __libc_ifunc_impl_list to initialize
62884         func_list if TEST_IFUNC and TEST_NAME are defined.
62886         * string/Makefile (strop-tests): Add bcopy and bzero.
62887         * string/test-bcopy.c: New file.
62888         * string/test-bzero.c: Likewise.
62889         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62890         defined.
62891         * string/test-memset.c: Support bzero test if TEST_BZERO is
62892         defined.
62893         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62894         __libc_memmove.
62895         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62896         __libc_memset.
62897         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62898         of memset.
62900 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62902         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62903         * configure: Regenerated.
62905         * Makeconfig (+link-static-before-libc): Don't include
62906         $(link-static-libc).
62908         * libio/libio.h (_IO_pos_t): Remove.
62910 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62912         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62913         McGrath.
62915 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62917         * crypt/crypt-entry.c: Include fips-private.h.
62918         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62919         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62920         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62921         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62923 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62925         * crypt/crypt-private.h: Include stdbool.h.
62926         (_ufc_setup_salt_r): Return bool.
62927         * crypt/crypt-entry.c: Include errno.h.
62928         (__crypt_r): Return NULL with EINVAL for bad salt.
62929         * crypt/crypt_util.c (bad_for_salt): New.
62930         (_ufc_setup_salt_r): Check that salt is long enough and within
62931         the specified alphabet.
62932         * crypt/badsalttest.c: New file.
62933         * crypt/Makefile (tests): Add it.
62934         ($(objpfx)badsalttest): New.
62936 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62938         * NEWS: Add entry for BZ #14602.
62940 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62942         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62943         type-generic.
62944         * math/libm-test.inc: Update comment listing what functions and
62945         macros are tested.
62946         (isgreater_test): New function.
62947         (isgreaterequal_test): Likewise.
62948         (isless_test): Likewise.
62949         (islessequal_test): Likewise.
62950         (islessgreater_test): Likewise.
62951         (isunordered_test): Likewise.
62952         (main): Call the new functions.
62954 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62956         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62957         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62958         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62959         * sysdeps/i386/configure: Regenerated.
62960         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62961         * sysdeps/mach/configure: Regenerated.
62962         * sysdeps/mach/hurd/configure: Regenerated.
62963         * sysdeps/powerpc/configure: Regenerated.
62964         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62965         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62966         * sysdeps/s390/s390-32/configure: Regenerated.
62967         * sysdeps/s390/s390-64/configure: Regenerated.
62968         * sysdeps/sh/configure: Regenerated.
62969         * sysdeps/sparc/configure: Regenerated.
62970         * sysdeps/unix/sysv/linux/configure: Regenerated.
62971         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62972         * sysdeps/x86_64/configure: Regenerated.
62974         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62975         defined.  Don't check if MAP is NULL.
62977 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62979         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62980         (_G_stat64): Likewise.
62981         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62982         (_G_stat64): Likewise.
62983         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62984         instead of struct _G_stat64.
62985         * libio/fileops.c (mmap_remap_check): Likewise.
62986         (decide_maybe_mmap): Likewise.
62987         (_IO_new_file_seekoff): Likewise.
62988         (_IO_file_stat): Likewise.
62989         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62990         _G_off64_t.
62991         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62992         instead of struct _G_stat64.
62993         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62995 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62997         [BZ #14602]
62998         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62999         Replace with ...
63000         (CHECK_EOL): New macro.
63001         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63002         CHECK_EOL.
63003         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63004         Replace with CHECK_EOL.
63005         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63006         Replace with CHECK_EOL.
63008 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63010         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63011         type-generic.
63012         * math/libm-test.inc: Update comment listing what functions and
63013         macros are tested.
63014         (finite_test): New function.
63015         (isinf_test): Likewise.
63016         (isnan_test): Likewise.
63017         (fpclassify_test): Test subnormal input.
63018         (isfinite_test): Likewise.
63019         (isnormal_test): Likewise.
63020         (main): Call the new functions.
63022 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63024         [BZ #14660]
63025         * Makerules (%.dynsym): Force C locale when running
63026         $(OBJDUMP) --dynamic-syms.
63028 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63030         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63031         <stdint.h>.
63033 2012-10-06  David S. Miller  <davem@davemloft.net>
63035         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63036         upper 32-bits of the length value in %o2 since we use branch-on-register
63037         tests which consider the entire 64-bit register.
63039 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63041         * string/test-strstr.c (check2): Add a test for page boundary.
63043 2012-10-05  David S. Miller  <davem@davemloft.net>
63045         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63046         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63047         file.
63048         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63049         sysdep_routines.
63050         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63051         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63052         and bzero when HWCAP_SPARC_CRYPTO is present.
63054 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63056         [BZ #14602]
63057         * string/test-strstr.c (check2): New function.
63058         (test_main): Call check2.
63060         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63061         and bug-strchr1.
63062         * string/bug-strcasestr1.c (do_test): Moved to ...
63063         * string/test-strcasestr.c (check1): Here.  New function.
63064         (do_one_test): Break out result checking code into ...
63065         (check_result): This.  New function.
63066         (do_one_test): Call check_result.
63067         (test_main): Call check1.
63068         * string/bug-strchr1.c (do_test): Moved to ...
63069         * string/test-strchr.c (check1): Here.  New function.
63070         (do_one_test): Break out result checking code into ...
63071         (check_result): This.  New function.
63072         (do_one_test): Call check_result.
63073         (test_main): Call check1.
63074         * string/bug-strstr1.c (main): Moved to ...
63075         * string/test-strstr.c (check1): Here.  New function.
63076         (do_one_test): Break out result checking code into ...
63077         (check_result): This.  New function.
63078         (do_one_test): Call check_result.
63079         (test_main): Call check1.
63080         * string/bug-strcasestr1.c: Removed.
63081         * string/bug-strchr1.c: Likewise.
63082         * string/bug-strstr1.c: Likewise.
63084         * elf/Makefile (dl-routines): Add hwcaps.
63085         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63086         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63087         (_dl_important_hwcaps): Moved to ...
63088         * elf/dl-hwcaps.c: Here.  New file.
63089         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63091         [BZ #14557]
63092         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63093         if IS_IN_rtld isn't defined.
63095         * elf/dl-support.c (_dl_sysinfo_map): New.
63096         Include "get-dynamic-info.h" and "setup-vdso.h".
63097         (_dl_non_dynamic_init): Call setup_vdso.
63098         * elf/dynamic-link.h: Don't include <assert.h>.
63099         (elf_get_dynamic_info): Moved to ...
63100         * elf/get-dynamic-info.h: Here.  New file.
63101         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63102         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63103         * elf/setup-vdso.h: Here.  New file.
63104         * elf/rtld.c: Include "setup-vdso.h".
63105         (dl_main): Call setup_vdso.
63107 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63109         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63110         creal in comment listing functions tested.  List finite, isinf,
63111         isnan, isless, islessequal, isgreater, isgreaterequal,
63112         islessgreater, isunordered, lgamma_r and pow10 as functions and
63113         macros not tested.  Mention which functions not tested are aliases
63114         for other functions.  Fix typo.  Note that signs of NaNs are not
63115         tested.
63117         * scripts/config.guess: Update from config.git.
63118         * scripts/config.sub: Likewise.
63120 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63122         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63123         * misc/madvise.c (madvise): Renamed to __madvise.
63124         Make madvise a weak alias.
63125         * include/sys/mman.h: Declare __madvise.
63126         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63127         * sysdeps/unix/syscalls.list
63128         (madvise): Make __madvise the strong name, and madvise a weak alias.
63129         * sysdeps/unix/sysv/linux/syscalls.list
63130         (madvise, mmap): Remove redundant entries.
63131         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63132         * malloc/malloc.c (mtrim): Likewise.
63133         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63135 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63137         * sysdeps/mach/hurd/dl-cache.c: File removed.
63138         * config.h.in (USE_LDCONFIG): New #undef.
63139         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63140         * configure: Regenerated.
63141         * elf/Makefile (dl-routines): Add dl-cache only under
63142         [$(use-ldconfig) = yes].
63143         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63144         cache on [USE_LDCONFIG].
63145         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63146         [USE_LDCONFIG].
63147         * elf/rtld.c (dl_main): Likewise.
63149 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63151         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63152         _SC_LEVEL4_CACHE_LINESIZE.
63154 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63156         * sysdeps/unix/bsd/confstr.h: File removed.
63158 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63160         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63161         sys/sdt-config.h.
63163 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63165         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63166         Make 'mapoff' field ElfW(Off) rather than off_t.
63168 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63170         * nscd/Makefile: Remove nscd-cflags and all its users.
63171         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63172         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63174         [BZ #10631]
63175         * malloc.c (malloc_printerr): Clarify error message.
63177 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63179         [BZ #14648]
63180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63181         Set bit_FMA_Usable if FMA is supported.
63182         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63183         macro.
63184         (bit_FMA4_Usable): Updated.
63185         (index_FMA_Usable): New macro.
63186         (CPUID_FMA): Likewise.
63187         (HAS_FMA): Defined with bit_FMA_Usable.
63189 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63191         * bits/types.h (__swblk_t): Type removed.
63192         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63193         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63195         (__SWBLK_T_TYPE): Likewise.
63196         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63197         (__SWBLK_T_TYPE): Likewise.
63198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63199         (__SWBLK_T_TYPE): Likewise.
63200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63201         (__SWBLK_T_TYPE): Likewise.
63203 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63204             Honza Horak <hhorak@redhat.com>
63206         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63207         (xdr_mapname): Use YPMAXMAP as maxsize.
63208         (xdr_peername): Use YPMAXPEER as maxsize.
63209         (xdr_keydat): Use YPAXRECORD as maxsize.
63210         (xdr_valdat): Use YPMAXRECORD as maxsize.
63212 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63214         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63216         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63217         * csu/init-first.c: ... here.
63218         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63219         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63220         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63221         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63222         * sysdeps/i386/init-first.c: File removed.
63223         * sysdeps/sh/init-first.c: File removed.
63225 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63227         [BZ #14645]
63228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63229         if x * y might underflow to zero and z is zero.
63230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63232         * math/libm-test.inc (min_subnorm_value): New variable.
63233         (fma_test): Add more tests.
63234         (fma_test_towardzero): Likewise.
63235         (fma_test_downward): Likewise.
63236         (fma_test_upward): Likewise.
63237         (initialize): Set min_subnorm_value.
63239 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63241         [BZ #14638]
63242         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63243         0 + 0.
63244         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63245         mode for addition resulting in exact zero.
63246         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63248         exact 0 + 0.
63249         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63251         * math/libm-test.inc (fma_test): Add more tests.
63252         (fma_test_towardzero): New function.
63253         (fma_test_downward): Likewise.
63254         (fma_test_upward): Likewise.
63255         (main): Call the new functions.
63257 2012-09-28  David S. Miller  <davem@davemloft.net>
63259         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63261 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63263         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63264         instead of SIGALRM.
63266         * sysdeps/gnu/_G_config.h: Moved to ...
63267         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63268         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63269         * sysdeps/generic/_G_config.h: ... here.
63271         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63273         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63275         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63276         Conditionalize target on [libnss_test1.so-version].
63278         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63280         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63281         (elfobjdir): Move out of conditionals.
63283         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63284         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63285         (__nss_lookup_function): Conditionalize label remove_from_tree on
63286         [!DO_STATIC_NSS || SHARED], matching its only use.
63288 2012-09-28  David S. Miller  <davem@davemloft.net>
63290         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63291         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63292         file.
63293         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63294         sysdep_routines.
63295         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63297         when HWCAP_SPARC_CRYPTO is present.
63299 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63301         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63303 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63305         [BZ #6530]
63306         * stdio-common/vfprintf.c (process_string_arg): Revert
63307         2000-07-22 change.
63309 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63311         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63312         for testcase.
63313         * stdio-common/tst-sprintf.c: Include <locale.h>
63314         (main): Test sprintf's handling of incomplete multibyte
63315         characters.
63317 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63319         * elf/dl-runtime.c (VERSYMIDX): Removed.
63320         * elf/dl-version.c (VERSYMIDX): Likewise.
63321         * elf/do-rel.h (VERSYMIDX): Likewise.
63322         (VALIDX): Likewise.
63323         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63324         * elf/rtld.c (VALIDX): Likewise.
63325         (ADDRIDX): Likewise.
63326         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63327         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63328         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63329         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63330         (VALIDX): Likewise.
63331         (ADDRIDX): Likewise.
63333 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63335         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63337 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63339         [BZ #11438]
63340         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63341         to global scope.
63342         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63343         addresses are in the same scope as 192.0.2/24.
63344         * posix/gai.conf: Document new scope table defaults.
63346 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63348         [BZ #5298]
63349         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63350         for ftell.  Compute offsets from write pointers instead.
63351         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63353 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63355         [BZ #14543]
63356         * libio/Makefile (tests): New test case tst-fseek.
63357         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63358         combination works in wide mode.
63359         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63360         state when the external buffer state changes.
63362 2012-09-27  David S. Miller  <davem@davemloft.net>
63364         [BZ #14376]
63365         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63366         pass reloc->r_addend in as the 'high' argument to
63367         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63371 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63373         * rt/tst-aio2.c: Include <pthread.h>.
63374         * rt/tst-aio3.c: Likewise.
63376 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63378         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63380 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63382         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63383         contents on [SHARED].
63385 2012-09-26  Marek Polacek  <polacek@redhat.com>
63387         [BZ #14530]
63388         [BZ #13741]
63389         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63390         for C++ and GCC <4.3 as well as for non GCC compilers.
63392 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63396 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63398         * Makefile.in (all, install): Declare with .PHONY.
63399         Reported by Michael Hope <michael.hope@linaro.org>.
63401 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63403         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63404         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63405         system header.
63406         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63407         Likewise.
63408         (sydep_routines): Add the new and the internal functions.
63409         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63410         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63412         (GLIBC_2.17): Add the new function.
63413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63414         (GLIBC_2.17): Likewise.
63415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63416         (GLIBC_2.17): Likewise.
63417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63418         (GLIBC_2.17): Likewise.
63419         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63421 2012-09-25  Alan Modra  <amodra@gmail.com>
63423         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63424         Add release barrier before setting once_control to say
63425         initialisation is done.  Add hints on lwarx.  Use macro in
63426         place of isync.
63427         (clear_once_control): Add release barrier.
63429 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63431         [BZ #13629]
63432         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63433         specially.
63434         * math/s_clog10.c (__clog10): Likewise.
63435         * math/s_clog10f.c (__clog10f): Likewise.
63436         * math/s_clog10l.c (__clog10l): Likewise.
63437         * math/s_clogf.c (__clogf): Likewise.
63438         * math/s_clogl.c (__clogl): Likewise.
63439         * math/Makefile (libm-calls): Add x2y2m1.
63440         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63441         (__x2y2m1): Likewise.
63442         (__x2y2m1l): Likewise.
63443         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63444         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63445         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63446         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63447         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63448         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63449         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63450         * sysdeps/i386/fpu/libm-test-ulps: Update.
63451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63453         [BZ #14621]
63454         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63455         int as type of variable DEPTH.
63456         (glob): Use size_t instead of int as type of variables NEWCOUNT
63457         and OLD_PATHC.
63459 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63461         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63462         Add s_sincosf-sse2.
63463         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63464         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63465         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63466         macros for using routine as __sincosf_ia32.
63467         Use macro for function declaration and weak_alias.
63468         * sysdeps/i386/fpu/libm-test-ulps: Update.
63470         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63473         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63474         subnormal argument.
63475         * math/s_cexpf.c (__cexpf): Likewise.
63476         * math/s_csinf.c (__csinf): Likewise.
63477         * math/s_csinhf.c (__csinhf): Likewise.
63478         * math/s_ctanf.c (__ctanf): Likewise.
63479         * math/s_ctanhf.c (__ctanhf): Likewise.
63480         * math/s_ccosh.c (__ccoshf): Likewise.
63481         * math/s_cexp.c (__cexpl): Likewise.
63482         * math/s_csin.c (__csin): Likewise.
63483         * math/s_csinh.c (__csinh): Likewise.
63484         * math/s_ctan.c (__ctan): Likewise.
63485         * math/s_ctanh.c (ctanh): Likewise.
63486         * math/s_ccoshl.c (__ccoshl): Likewise.
63487         * math/s_cexpl.c (__cexpl): Likewise.
63488         * math/s_csinl.c (__csinl): Likewise.
63489         * math/s_csinhl.c (__csinhl): Likewise.
63490         * math/s_ctanl.c (__ctanl): Likewise.
63491         * math/s_ctanhl.c (__ctanhl): Likewise.
63493 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63495         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63496         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63497         (_IO_off_t): Define to __off_t, not _G_off_t.
63498         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63499         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63500         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63501         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63502         type of __dummy and __dummy2 fields.
63503         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63504         (_G_ssize_t): Likewise.
63505         (_G_off_t): Likewise.
63506         (_G_pid_t): Likewise.
63507         (_G_uid_t): Likewise.
63508         (_G_wchar_t): Likewise.
63509         (_G_wint_t): Likewise.
63510         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63511         (_G_ssize_t): Likewise.
63512         (_G_off_t): Likewise.
63513         (_G_pid_t): Likewise.
63514         (_G_uid_t): Likewise.
63515         (_G_wchar_t): Likewise.
63516         (_G_wint_t): Likewise.
63517         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63518         (_G_ssize_t): Likewise.
63519         (_G_off_t): Likewise.
63520         (_G_pid_t): Likewise.
63521         (_G_uid_t): Likewise.
63522         (_G_wchar_t): Likewise.
63523         (_G_wint_t): Likewise.
63525 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63527         * malloc/arena.c: Include malloc-sysdep.h.
63528         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63529         is sufficient to shrink the heap or an unmap is needed.
63530         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63531         new function check_may_shrink_heap.
63532         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63533         new function check_may_shrink_heap.
63535 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63537         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63538         comments.
63540 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63542         * catgets/test-gencat.sh: Add "set -e".
63543         * elf/tst-pathopt.sh: Likewise.
63544         * grp/tst_fgetgrent.sh: Likewise.
63545         * iconvdata/run-iconv-test.sh: Likewise.
63546         * intl/tst-gettext.sh: Likewise.
63547         * intl/tst-gettext2.sh: Likewise.
63548         * intl/tst-gettext4.sh: Likewise.
63549         * intl/tst-gettext6.sh: Likewise.
63550         * intl/tst-translit.sh: Likewise.
63551         * io/ftwtest-sh: Likewise.
63552         * libio/test-freopen.sh: Likewise.
63553         * malloc/tst-mtrace.sh: Likewise.
63554         * posix/globtest.sh: Likewise.
63555         * posix/tst-getconf.sh: Likewise.
63556         * posix/wordexp-tst.sh: Likewise.
63557         * stdio-common/tst-printf.sh: Likewise.
63558         * stdio-common/tst-unbputc.sh: Likewise.
63559         * stdlib/tst-fmtmsg.sh: Likewise.
63560         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63561         * catgets/Makefile: Do not specify -e option when running
63562         testsuite shell scripts.
63563         * elf/Makefile: Likewise.
63564         * grp/Makefile: Likewise.
63565         * iconvdata/Makefile: Likewise.
63566         * intl/Makefile: Likewise.
63567         * io/Makefile: Likewise.
63568         * libio/Makefile: Likewise.
63569         * malloc/Makefile: Likewise.
63570         * posix/Makefile: Likewise.
63571         * stdio-common/Makefile: Likewise.
63572         * stdlib/Makefile: Likewise.
63573         * sysdeps/x86_64/Makefile: Likewise.
63575         * io/ftwtest-sh: Add copyright header.
63576         * posix/globtest.sh: Likewise.
63577         * posix/tst-getconf.sh: Likewise.
63578         * posix/wordexp-tst.sh: Likewise.
63579         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63581 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63583         [BZ #13679]
63584         * Makeconfig (+link): Defined as $(+link-static) if
63585         $(build-shared) isn't yes.
63586         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63587         isn't yes.
63588         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63590         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63592         [BZ #14562]
63593         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63594         new chunk size with MALLOC_ALIGN_MASK.
63596 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63598         [BZ #5044]
63599         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63600         <rounding-mode.h>.
63601         (__printf_fphex): Determine rounding using get_rounding_mode and
63602         round_away.
63603         * stdio-common/tst-printf-round.c (struct hex_test): New
63604         structure.
63605         (hex_tests): New variable.
63606         (test_hex_in_one_mode): New function.
63607         (do_test): Also run tests for hex float output.
63609 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63611         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63612         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63613         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63614         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63615         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63616         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63617         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63618         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63620 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63622         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63623         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63624         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63625         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63627 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63629         [BZ #14579]
63630         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63631         mode only.
63632         * elf/tst-rtld-load-self.sh: New test.
63633         * elf/Makefile: Run it.
63635 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63637         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63638         (tst-writev-ENV): Remove.
63639         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63641 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63643         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63645 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63647         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63648         unconditional.
63649         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63650         Likewise.
63651         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63652         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63653         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63654         Likewise.
63656 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63658         [BZ #14587]
63659         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63660         * config.make.in (have-cpp-asm-debuginfo): Removed.
63661         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63662         * configure: Regenerated.
63664 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63666         [BZ #5044]
63667         * stdio-common/printf_fp.c: Include <stdbool.h> and
63668         <rounding-mode.h>.
63669         (___printf_fp): Determine rounding using get_rounding_mode and
63670         round_away.
63671         * stdio-common/tst-printf-round.c: New file.
63672         * stdio-common/Makefile (tests): Add tst-printf-round.
63673         (link-libm): New variable.
63674         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63676 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63678         [BZ #14576]
63679         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63680         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63681         Likewise.
63682         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63683         Likewise.
63685 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63687         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63688         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63689         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63690         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63692 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63694         [BZ #14518]
63695         * include/rounding-mode.h: New file.
63696         * sysdeps/generic/get-rounding-mode.h: Likewise.
63697         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63698         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63699         (MAX_VALUE): New macro.
63700         (MIN_VALUE): Likewise.
63701         (overflow_value): New function.
63702         (underflow_value): Likewise.
63703         (round_and_return): Use overflow_value and underflow_value to
63704         determine return values in overflow and underflow cases.  Use
63705         round_away to determine rounding depending on rounding mode.
63706         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63707         determine return values in overflow and underflow cases.
63708         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63709         (struct test_results): New structure.
63710         (struct test): Use struct test_results to store expected results
63711         for all rounding modes.
63712         (TEST): Include expected results for all rounding modes.
63713         (test_in_one_mode): New function.
63714         (do_test): Use test_in_one_mode to compute and check results.
63715         Check results for all rounding modes.
63716         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63717         $(link-libm).
63719 2012-12-09  Allan McRae  <allan@archlinux.org>
63721         * sysdeps/i386/fpu/libm-test-ulps: Update
63723 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63725         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63726         (_G_int32_t): Likewise.
63727         (_G_uint16_t): Likewise.
63728         (_G_uint32_t): Likewise.
63729         (_G_HAVE_BOOL): Likewise.
63730         (_G_HAVE_ATEXIT): Likewise.
63731         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63732         (_G_HAVE_IO_FILE_OPEN): Likewise.
63733         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63734         (_G_int32_t): Likewise.
63735         (_G_uint16_t): Likewise.
63736         (_G_uint32_t): Likewise.
63737         (_G_HAVE_BOOL): Likewise.
63738         (_G_HAVE_ATEXIT): Likewise.
63739         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63740         (_G_HAVE_IO_FILE_OPEN): Likewise.
63741         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63742         (_G_int32_t): Likewise.
63743         (_G_uint16_t): Likewise.
63744         (_G_uint32_t): Likewise.
63745         (_G_HAVE_BOOL): Likewise.
63746         (_G_HAVE_ATEXIT): Likewise.
63747         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63748         (_G_HAVE_IO_FILE_OPEN): Likewise.
63750 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63752         * csu/libc-tls.c: Update copyright years.
63754 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63756         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63757         [!_G_USING_THUNKS]: Remove conditional code.
63758         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63759         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63761         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63762         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63763         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63764         (_G_VTABLE_LABEL_PREFIX): Likewise.
63765         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63766         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63767         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63768         (_G_VTABLE_LABEL_PREFIX): Likewise.
63769         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63770         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63771         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63772         (_G_VTABLE_LABEL_PREFIX): Likewise.
63773         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63775 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63777         * libio/Makefile: Include ../Makeconfig before tests.
63778         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63779         only if $(build-shared) is yes.
63781         * iconv/gconv_db.c: Update copyright years.
63783 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63785         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63786         unwind info if defined PIC. Fix special cases description.
63787         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63789         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63790         DP_HI_MASK entry.
63791         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63793 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63795         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63797         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63798         is NULL.
63800         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63801         (LDLIBS-tst-chk4): This.
63802         (LDFLAGS-tst-chk5): Renamed to ...
63803         (LDLIBS-tst-chk5): This.
63804         (LDFLAGS-tst-chk6): Renamed to ...
63805         (LDLIBS-tst-chk6): This.
63806         (LDFLAGS-tst-lfschk4): Renamed to ...
63807         (LDLIBS-tst-lfschk4): This.
63808         (LDFLAGS-tst-lfschk5): Renamed to ...
63809         (LDLIBS-tst-lfschk5): This.
63810         (LDFLAGS-tst-lfschk6): Renamed to ...
63811         (LDLIBS-tst-lfschk6): This.
63813         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63814         on $(common-objpfx)soversions.mk.
63816 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63818         [BZ #10014]
63819         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63820         example host name.
63822 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63824         * malloc/arena.c (arena_get_retry): New function that gets
63825         another arena for the caller to try its request on.
63826         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63827         current arena cannot fulfill the request.
63828         (__libc_memalign): Likewise.
63829         (__libc_memalign): Likewise.
63830         (__libc_pvalloc): Likewise.
63831         (__libc_calloc): Likewise.
63833 2012-09-05  John Tobey  <john.tobey@gmail.com>
63835         [BZ #13542]
63836         * manual/arith.texi (Operations on Complex): Fix description
63837         of carg branch cut.
63839 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63841         [BZ #10014]
63842         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63843         host name.
63845         [BZ #10038]
63846         * manual/memory.texi (Memory): Make order of menu items match
63847         order of sections.
63849 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63851         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63852         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63853         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63855 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63857         * csu/libc-tls.c (static_dtv): Renamed to ...
63858         (_dl_static_dtv): This.  Make it global.
63859         (_dl_initial_dtv): Removed.
63860         (__libc_setup_tls): Updated.
63861         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63862         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63863         DL_INITIAL_DTV.
63865 2012-09-06  Petr Machata  <pmachata@redhat.com>
63867         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63868         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63869         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63870         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63872 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63874         [BZ #14545]
63875         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63876         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63877         freeing dtv[-1].
63879 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63881         [BZ #14544]
63882         * Makeconfig (link-static-before-libc): Replace $(+prector)
63883         with $(+prectorT).
63884         (link-static-after-libc): Replace $(+postctor) with
63885         $(+postctorT).
63886         (link-bounded): Replace $(+prector)/$(+postctor) with
63887         $(+prectorT)/$(+postctorT).
63888         (+prectorT): New macro.
63889         (+postctorT): Likewise.
63891 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63893         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63894         (round_str): Handle values above the maximum for IBM long double
63895         as inexact.
63896         * stdlib/tst-strtod-round.c (tests): Regenerated.
63898 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63900         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63901         assembler flag.
63902         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63903         zarch_nohighgprs around the zarch optimized routines.
63904         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63905         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63906         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63907         for zarch.
63909 2012-09-05  David S. Miller  <davem@davemloft.net>
63911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63913         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63914         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63915         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63916         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63917         entries.
63919 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63921         * malloc/arena.c: Fold copyright years.
63922         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63924 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63926         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63928 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63930         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63932 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63934         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63935         change internal state upon failure.
63937 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63939         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63940         * malloc/memusage.c (mmap): Likewise.
63941         (mmap64, mremap): Likewise.  Adjust name in comment.
63943 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63945         * libio/fileops.c: Fix typos in comments.
63946         * libio/oldfileops.c: Likewise.
63947         * libio/wfileops.c: Likewise.
63949 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63951         [BZ #1349]
63952         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63953         (tst-malloc-usable-ENV): Set environment for test case.
63954         * malloc/hooks.c (malloc_check_get_size): New function to get
63955         requested size.
63956         * malloc/malloc.c (musable): Use malloc_check_get_size.
63957         * malloc/tst-malloc-usable.c: New test case.
63959 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63961         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63963 2012-09-05  Allan McRae  <allan@archlinux.org>
63965         [BZ #13966]
63966         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63967         determine header location.
63968         * configure: Regenerated.
63970 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63972         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63973         float format.
63974         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63975         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63976         format.
63977         (test): Regenerate.
63979 2012-09-04  David S. Miller  <davem@davemloft.net>
63981         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63982         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63983         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63985 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63987         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63988         failures.
63990         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63992 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63994         [BZ #9914]
63995         * libio/iogetdelim.c: Include <limits.h>.
63996         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63997         + len + 1 would overflow.
63999 2012-09-03  Andreas Jaeger  <aj@suse.de>
64001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64002         * sysdeps/i386/fpu/libm-test-ulps: Update.
64004 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64006         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64007         Add s_sinf-sse2, s_conf-sse2.
64009         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64010         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64011         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64012         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64014         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64015         for using routine as __sinf_ia32.
64016         Use macro for function declaration and weak_alias.
64017         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64018         for using routine as __cosf_ia32.
64019         Use macro for function declaration and weak_alias.
64021         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64022         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64024         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64025         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64028         * math/libm-test.inc (cos_test): Add more test cases.
64029         (sin_test): Likewise.
64030         (sincos_test): Likewise.
64032 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64035         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64036         hidden.
64037         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64039 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64041         [BZ #14538]
64042         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64043         first element of the GOT.
64044         (elf_machine_load_address): Return the difference between
64045         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64047 2012-09-01  Allan McRae  <allan@archlinux.org>
64049         [BZ #13412]
64050         * configure.in (AWK): Require gawk version 3.0 or later.
64051         * configure: Regenerated.
64053 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64055         * sysdeps/unix/sysv/linux/kernel-features.h
64056         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64057         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64058         [__NR_clock_getres]: Make code unconditional.
64059         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64060         (clock_getcpuclockid): Remove code left unreachable by removal of
64061         conditionals.
64062         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64063         code unconditional.
64064         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64065         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64066         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64067         Make code unconditional.
64068         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64069         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64070         * sysdeps/unix/sysv/linux/clock_settime.c
64071         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64072         conditional code.
64073         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64074         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64076 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64078         [BZ #14476]
64079         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64080         scripts/test-installation.pl.
64082         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64083         and $ld_so_version if it is set.
64085 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64087         [BZ #14516]
64088         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64089         failure if reading from procfs failed.
64090         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64092 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64094         * sysdeps/unix/sysv/linux/kernel-features.h
64095         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64096         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64097         Remove conditional code.
64098         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64099         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64100         Remove conditional code.
64101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64102         * sysdeps/unix/sysv/linux/i386/fxstat.c
64103         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64104         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64105         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64106         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64107         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64108         * sysdeps/unix/sysv/linux/i386/lxstat.c
64109         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64111         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64112         Remove conditional code.
64113         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64114         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64115         Remove conditional code.
64116         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64117         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64118         <kernel-features.h>.
64119         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64120         Remove.
64121         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64122         Remove conditional code.
64123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64124         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64125         Remove conditional.
64127 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64129         [BZ #5400]
64130         * NEWS: Add fixed bug number.
64132 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64134         [BZ #14519]
64135         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64136         underflowing exponent in case of negative sign.
64137         * stdlib/tst-strtod-round-data: Add more tests.
64138         * stdlib/tst-strtod-round.c (tests): Regenerated.
64140         [BZ #3479]
64141         * stdlib/strtod_l.c (NDIG): Remove.
64142         (HEXNDIG): Likewise.
64143         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64144         smallest representable value.
64145         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64146         lie within an exact representation of 1/2 ulp of the result.
64147         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64148         unconditionally.
64149         (TENS_P9_IDX): Define unconditionally.
64150         (TENS_P9_SIZE): Likewise.
64151         (TENS_P10_IDX): Likewise.
64152         (TENS_P10_SIZE): Likewise.
64153         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64154         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64155         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64156         entries for 10^2^13 and 10^2^14.
64157         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64158         (TENS_P13_IDX): Define.
64159         (TENS_P13_SIZE): Likewise.
64160         (TENS_P14_IDX): Likewise.
64161         (TENS_P14_SIZE): Likewise.
64162         (_fpioconst_pow10): Change array size to
64163         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64164         unconditional.
64165         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64166         1024]: Add entries for 10^2^13 and 10^2^14.
64167         [LAST_POW10 > _LAST_POW10]: Remove #error.
64168         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64169         (_fpioconst_pow10): Change array size to
64170         FPIOCONST_POW10_ARRAY_SIZE.
64171         * stdlib/gen-fpioconst.c: New file.
64172         * stdlib/gen-tst-strtod-round.c: Likewise.
64173         * stdlib/tst-strtod-round-data: Likewise.
64174         * stdlib/tst-strtod-round.c: Likewise.
64175         * stdlib/Makefile (tests): Add tst-strtod-round.
64177         [BZ #14459]
64178         * stdlib/strtod_l.c: Include <stdint.h>.
64179         (NDEBUG): Do not define.
64180         (round_and_return): Change EXPONENT parameter to type intmax_t.
64181         Rearrange calculations to avoid internal overflow possibilities.
64182         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64183         Rearrange calculations to avoid internal overflow possibilities.
64184         Assert that number fits inside MPNSIZE limbs.
64185         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64186         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64187         calculations and add assertions to avoid internal overflow
64188         possibilities.  Add casts to avoid signed/unsigned operations.
64189         * stdlib/tst-strtod-overflow.c: New file.
64190         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64192 2012-08-25  Marek Polacek  <polacek@redhat.com>
64194         * time/time.h: Fix some typos in comments.
64196 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64198         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64199         * posix/tst-rfc3484-2.c: Likewise.
64200         * posix/tst-rfc3484-3.c: Likewise.
64202 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64204         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64205         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64207 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64209         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64210         #include of fxstatat64.c.
64212 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64214         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64215         * shadow/getspent_r.c: Likewise.
64216         * shadow/getspnam.c: Likewise.
64217         * shadow/getspnam_r.c: Likewise.
64218         * gshadow/getsgent.c: Likewise.
64219         * gshadow/getsgent_r.c: Likewise.
64220         * gshadow/getsgnam.c: Likewise.
64221         * gshadow/getsgnam_r.c: Likewise.
64222         * inet/getnetbyad.c: Likewise.
64223         * inet/getnetbyad_r.c: Likewise.
64224         * inet/getnetbynm.c: Likewise.
64225         * inet/getnetbynm_r.c: Likewise.
64226         * inet/getnetent.c: Likewise.
64227         * inet/getnetent_r.c: Likewise.
64228         * inet/getproto.c: Likewise.
64229         * inet/getproto_r.c: Likewise.
64230         * inet/getprtent.c: Likewise.
64231         * inet/getprtent_r.c: Likewise.
64232         * inet/getprtname.c: Likewise.
64233         * inet/getprtname_r.c: Likewise.
64234         * inet/getrpcbyname.c: Likewise.
64235         * inet/getrpcbyname_r.c: Likewise.
64236         * inet/getrpcbynumber.c: Likewise.
64237         * inet/getrpcbynumber_r.c: Likewise.
64238         * inet/getrpcent.c: Likewise.
64239         * inet/getrpcent_r.c: Likewise.
64240         * inet/getaliasent.c: Likewise.
64241         * inet/getaliasent_r.c: Likewise.
64242         * inet/getaliasname.c: Likewise.
64243         * inet/getaliasname_r.c: Likewise.
64244         * nscd/getgrgid_r.c: Likewise.
64245         * nscd/getgrnam_r.c: Likewise.
64246         * nscd/gethstbyad_r.c: Likewise.
64247         * nscd/gethstbynm3_r.c: Likewise.
64248         * nscd/getpwnam_r.c: Likewise.
64249         * nscd/getpwuid_r.c: Likewise.
64250         * nscd/getsrvbynm_r.c: Likewise.
64251         * nscd/getsrvbypt_r.c: Likewise.
64252         * nscd/gai.c: Likewise.
64254         * configure.in (build_nscd): New substituted variable, set
64255         by --disable-build-nscd and defaults to $use_nscd.
64256         * configure: Regenerated.
64257         * config.make.in (build-nscd): New substituted variable.
64258         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64259         Change conditional to require [$(build-nscd) = yes] as well.
64260         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64262         [BZ# 13696]
64263         * configure.in (use_nscd): New substituted variable, set by
64264         --disable-nscd.  If enabled, define USE_NSCD.
64265         * configure: Regenerated.
64266         * config.h.in: Add USE_NSCD.
64267         * config.make.in (use-nscd): New substituted variable.
64268         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64269         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64270         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64271         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64272         (CFLAGS-getgrnam_r.c): Likewise.
64273         (CFLAGS-initgroups.c): Likewise.
64274         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64275         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64276         Variables removed.
64277         * inet/getnetgrent_r.c
64278         (nscd_setnetgrent): New function, broken out of ...
64279         (setnetgrent): ... here.  Call it.
64280         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64281         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64282         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64283         * nscd/Makefile (routines, aux): Move definitions after include of
64284         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64285         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64286         Conditionalize on [USE_NSCD].
64287         (is_nscd, nscd_init_cb): Likewise.
64288         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64289         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64290         * nss/nss_db/db-init.c: Likewise.
64291         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64292         [USE_NSCD].
64293         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64294         (make_request): Use it.
64295         (cache_valid_p): New function.
64296         (__check_pf): Use it.
64297         * NEWS: Add item for --disable-nscd.
64299 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64301         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64302         to support sed >= 4.2.1-20-ga9bf076.
64303         * configure: Regenerated.
64305 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64307         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64308         Conditionalize whole body on [IREL].
64310 2012-08-22  Jeff Law <law@redhat.com>
64312         [BZ #14505]
64313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64314         if the family is PF_UNSPEC.
64316 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64318         * Makerules (lib-version): Rename from V.
64319         (install-lib-nosubdir): Change V to lib-version.
64321 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64323         [BZ #14252]
64324         * powerpc32/power6/wcschr.c: New file.
64325         * powerpc32/power6/wcscpy.c: New file.
64326         * powerpc32/power6/wcsrchr.c: New file.
64327         * powerpc64/power6/wcschr.c: New file.
64328         * powerpc64/power6/wcscpy.c: New file.
64329         * powerpc64/power6/wcsrchr.c: New file.
64331 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64333         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64334         (two_way_short_needle): Use it.
64335         * string/strstr.c (AVAILABLE1_USES_J): Define.
64336         * string/strcasestr.c: Likewise.
64338         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64339         array references.
64340         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64342         [BZ #11607]
64343         * NEWS: Add an entry.
64344         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64345         define their defaults.
64346         (two_way_short_needle): Detect end-of-string on-the-fly.
64347         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64348         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64349         * string/bug-strcasestr1.c: New test.
64350         * string/Makefile: Run it.
64352 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64354         [BZ #11607]
64355         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64356         the first character.
64358 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64360         * csu/elf-init.c (__libc_csu_irel): Function removed.
64361         * csu/libc-start.c (apply_irel): New function.
64362         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64364 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64366         * sysdeps/unix/sysv/linux/kernel-features.h
64367         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64368         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64369         <kernel-features.h>.
64370         [__NR_fadvise64_64]: Make code unconditional.
64371         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64372         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64373         !__NR_fadvise64_64)]: Likewise.
64374         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64375         !__NR_fadvise64_64))]: Likewise.
64376         [__NR_fadvise64]: Make code unconditional.
64377         [!__NR_fadvise64]: Remove conditional code.
64378         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64379         <kernel-features.h>.
64380         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64381         unconditional.
64382         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64383         conditional code.
64384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64385         not include <kernel-features.h>.
64386         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64387         unconditional.
64388         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64389         conditional code.
64390         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64391         include <kernel-features.h>.
64392         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64393         unconditional.
64394         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64395         conditional code.
64397 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64400         slight instruction rearrangements per scrollpipe analysis.
64401         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64403 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64405         * manual/syslog.texi (syslog; vsyslog, closelog):
64406         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64407         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64409         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64410         DSOCAPS to match condition on defining it.
64412 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64414         * sysdeps/unix/sysv/linux/kernel-features.h
64415         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64417         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64418         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64420         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64421         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64423         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64424         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64426         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64427         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64429         * sysdeps/unix/sysv/linux/kernel-features.h
64430         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64431         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64432         unconditional.
64433         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64434         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64435         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64436         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64437         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64438         Make code unconditional.
64439         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64440         (__mmap64) [!__NR_mmap2]: Likewise.
64441         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64442         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64443         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64444         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64445         [__NR_mmap2]: Make code unconditional.
64446         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64447         (__mmap64) [!__NR_mmap2]: Likewise.
64449 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64451         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64453 2012-08-18  Andreas Jaeger  <aj@suse.de>
64455         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64457 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64459         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64460         * include/unistd.h (__have_sock_cloexec): Likewise.
64461         (__have_pipe2): Likewise.
64462         (__have_dup3): Likewise.
64464 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64466         [BZ #9685]
64467         * include/unistd.h (__have_pipe2): Change define into an extern int.
64468         (__have_dup3): Likewise.
64469         * socket/have_sock_cloexec.c: Include fcntl.h.
64470         (__have_pipe2): New variable.
64471         (__have_dup3): Likewise.
64473 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64475         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64477 2012-08-17  Marek Polacek  <polacek@redhat.com>
64479         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64480         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64482 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64484         * configure.in: Add AC_SUBST for sysheaders.
64485         * configure: Regenerated.
64486         * config.make.in (sysheaders): New substituted variable.
64488         * sysdeps/unix/mkfifo.c: Moved ...
64489         * sysdeps/posix/mkfifo.c: ... here.
64490         * sysdeps/unix/mkfifoat.c: Moved ...
64491         * sysdeps/posix/mkfifoat.c: ... here.
64493         * sysdeps/unix/utime.c: Moved ...
64494         * sysdeps/posix/utime.c: ... here.
64496         * sysdeps/unix/time.c: Moved ...
64497         * sysdeps/posix/time.c: ... here.
64498         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64499         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64501         * sysdeps/unix/nice.c: Moved ...
64502         * sysdeps/posix/nice.c: ... here.
64504         * sysdeps/unix/alarm.c: Moved ...
64505         * sysdeps/posix/alarm.c: ... here.
64507         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64509 2012-08-17  Jeff Law <law@redhat.com>
64511         * intl/Makefile (codeset_mo): New variable.
64512         ($(codeset_mo)): New target.
64513         (tst-codeset.out): Depend on that.  Remove explicit rule.
64514         (tst-gettext3.out, tst-gettext5.out): Likewise.
64515         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64516         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64517         * intl/tst-codeset.sh: Remove.
64518         * intl/tst-gettext3.sh: Likewise.
64519         * intl/tst-gettext5.sh: Likewise.
64521 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64523         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64524         * sysdeps/unix/syscalls.list: ... here.
64526         * sysdeps/posix/getaddrinfo.c
64527         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64528         (gaiconf_init, gaiconf_reload): Use them.
64529         [!_STATBUF_ST_NSEC]
64530         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64531         Define using time_t rather than struct timespec.
64533         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64534         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64535         Macros removed.
64536         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64537         [!NO_THREADS].
64538         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64539         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64540         Likewise.
64542         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64543         __libc_cleanup_push argument.
64545         * bits/param.h: New file.
64546         * misc/sys/param.h: New file.
64547         * include/sys/param.h: New file.
64548         * misc/Makefile (headers): Add bits/param.h.
64549         * sysdeps/generic/sys/param.h: File removed.
64550         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64551         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64552         * sysdeps/mach/hurd/bits/param.h: New file.
64553         * sysdeps/mach/hurd/sys/param.h: File removed.
64555         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64556         last change.
64558         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64559         [_IO_MTSAFE_IO].
64560         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64561         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64562         New macros.
64564         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64565         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64566         rather than -D_IO_MTSAFE_IO conditionally.
64567         * stdio-common/Makefile (CPPFLAGS): Likewise.
64568         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64569         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64570         Use $(libio-mtsafe).
64571         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64572         of -D_IO_MTSAFE_IO.
64573         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64574         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64575         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64576         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64577         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64578         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64579         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64580         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64581         (CFLAGS-fread_u_chk.c): Likewise.
64582         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64583         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64584         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64585         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64586         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64587         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64588         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64589         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64590         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64592         * libio/Makefile: Test [$(libc-reentrant) = yes]
64593         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64595         * Makeconfig
64596         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64597         * sysdeps/pthread/configure: File removed.
64598         * sysdeps/pthread/Makeconfig: New file.
64599         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64600         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64602 2012-08-16  Gary Benson  <gbenson@redhat.com>
64604         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64605         unmapping the first object in a namespace.
64607 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64609         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64610         (__internal_setnetgrent): ... this.  Add internal_function to
64611         definition.  Add libc_hidden_def.
64612         (setnetgrent): Update caller.
64613         (internal_endnetgrent): Renamed to ...
64614         (__internal_endnetgrent): ... this.  Add internal_function to
64615         definition.  Add libc_hidden_def.
64616         (endnetgrent): Update caller.
64617         (internal_getnetgrent_r): Renamed to ...
64618         (__internal_getnetgrent_r): ... this.  Add internal_function to
64619         definition.  Add libc_hidden_def.
64620         (__getnetgrent_r): Update caller.
64621         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64623 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64625         * stdlib/longlong.h: Update from GCC.
64627 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64629         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64630         on _QL, which is set by umul_ppmm but never used.
64631         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64632         variables, which are set by GMP macros but never used.
64633         * stdio-common/_itowa.c (_itowa): Likewise.
64634         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64635         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64637 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64639         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64640         struct La_sh_regs is not constant.
64641         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64642         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64643         and struct La_sparc64_regs are not constant.
64645 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64647         * sysdeps/unix/sysv/linux/kernel-features.h
64648         (__ASSUME_POSIX_TIMERS): Remove.
64649         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64650         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64651         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64652         Make code unconditional.
64653         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64654         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64655         Make code unconditional.
64656         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64657         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64658         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64659         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64660         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64661         Make code unconditional.
64662         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64663         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64664         (__libc_missing_posix_timers): Remove.
64666 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64668         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64669         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64671         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64673         * elf/dl-sym.c: Include <stdlib.h>.
64675         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64676         constants, which avoids warnings in 32-bit builds.
64678         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64679         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64681         * misc/lseek.c: File moved to ...
64682         * io/lseek.c: ... here.
64684         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64686         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64687         shifting LEN more than 31 bits at once.
64689 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64691         [BZ #14195]
64692         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64693         segmentation fault for a case of two empty input strings.
64694         * string/test-strncasecmp.c (check1): Renamed to...
64695         (bz12205): ...this.
64696         (bz14195): Add new testcase for two empty input strings and N > 0.
64697         (test_main): Call new testcase, adapt for renamed function.
64699 2012-08-15  Andreas Jaeger  <aj@suse.de>
64701         [BZ #14090]
64702         * crypt/md5test2.c: New test, based on test supplied by Serge
64703         Belyshev <belyshev@depni.sinp.msu.ru>.
64704         * crypt/Makefile (xtests): Add md5test-giant..
64705         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64707 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64709         [BZ #14090]
64710         * crypt/md5.c (md5_process_block): Don't assume the buffer
64711         length is less than 2**32.
64712         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64713         length is less than 2**64.
64715 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64717         * string/str-two-way.h: Include <sys/param.h>.
64718         (MAX): Macro removed.
64720         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64721         Move #define and #undef of memmove to just before and after
64722         including <string.h>.
64724         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64725         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64726         and after including <string.h>.  Move declarations of
64727         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64728         to before #include "string/memmove.c".
64730         * include/dirent.h: Declare __getdirentries.
64732         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64733         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64735 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64737         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64738         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64739         * sysdeps/i386/configure: Regenerated.
64740         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64741         STABS_CURRENT_FILE, and STABS_FUN.
64742         (END): Remove call to STABS_FUN_END.
64743         (STABS_CURRENT_FILE1): Delete.
64744         (STABS_CURRENT_FILE): Likewise.
64745         (STABS_FUN): Likewise.
64746         (STABS_FUN_END): Likewise.
64747         (STABS_FUN2): Likewise.
64748         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64749         * sysdeps/x86_64/configure: Regenerated.
64751 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64753         * elf/dl-open.c: Include <atomic.h>.
64754         * elf/dl-lookup.c: Likewise.
64756 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64758         * sysdeps/unix/sysv/linux/kernel-features.h
64759         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64760         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64761         unconditionally.
64762         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64763         unconditionally.
64764         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64765         condition on __ASSUME_CLONE_THREAD_FLAGS.
64767 2012-08-14  Andreas Jaeger  <aj@suse.de>
64769         * sysdeps/i386/fpu/libm-test-ulps: Update.
64771 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64773         * include/atomic.h (atomic_exchange_and_add): Split into ...
64774         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64775         New atomic macros.
64777 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64781 2012-08-13  Jeff Law <law@redhat.com>
64783         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64784         null byte in the output string.
64786 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64788         * sysdeps/unix/sysv/linux/kernel-features.h
64789         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64790         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64791         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64792         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64793         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64794         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64795         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64797 2012-08-09  Jeff Law <law@redhat.com>
64799         [BZ #13939]
64800         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64801         When avoid_arena is set, don't retry in the that arena.  Pick the
64802         next one, whatever it might be.
64803         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64804         (arena_lock): Pass in new parameter to arena_get2.
64805         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64806         arena_get2.
64807         (__libc_malloc): Unify retrying after main arena failure with
64808         __libc_memalign version.
64809         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64811 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64813         [BZ #14166]
64814         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64815         to __redirect_strstr.
64816         (__strstr_sse42): Use typeof __redirect_strstr.
64817         (__strstr_ia32): Likewise.
64818         (__libc_strstr): New prototype.
64819         (strstr): Renamed to ...
64820         (__libc_strstr): This.
64821         (strstr): New strong alias of __libc_strstr.
64822         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64823         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64824         __redirect_time.
64825         Include <time.h>.
64826         (__libc_time): New prototype.
64827         (time_ifunc): Replace time with __libc_time.
64828         (time): New strong alias and hidden definition of __libc_time.
64829         (__GI_time): Remove strong alias.
64830         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64831         Include <stddef.h>.
64832         (memmove): Redefined to __redirect_memmove.
64833         (__memmove_sse2): Use typeof __redirect_memmove.
64834         (__memmove_ssse3): Likewise.
64835         (__memmove_ssse3_back): Likewise.
64836         (__libc_memmove): New prototype.
64837         (memmove): Renamed to ...
64838         (__libc_memmove): This.
64839         (memmove): New strong alias of __libc_memmove.
64841 2012-08-08  Mark Salter  <msalter@redhat.com>
64843         * elf/elf.h
64844         (R_MN10300_TLS_GD): Define.
64845         (R_MN10300_TLS_LD): Likewise.
64846         (R_MN10300_TLS_LDO): Likewise.
64847         (R_MN10300_TLS_GOTIE): Likewise.
64848         (R_MN10300_TLS_IE): Likewise.
64849         (R_MN10300_TLS_LE): Likewise.
64850         (R_MN10300_TLS_DTPMOD): Likewise.
64851         (R_MN10300_TLS_DTPOFF): Likewise.
64852         (R_MN10300_TLS_TPOFF): Likewise.
64853         (R_MN10300_SYM_DIFF): Likewise.
64854         (R_MN10300_ALIGN): Likewise.
64855         (R_MN10300_NUM): Update.
64857 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64859         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64860         Remove.
64862 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64864         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64866         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64867         sysdeps/unix -> sysdeps/posix move.
64868         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64870 2012-08-07      Allan McRae     <allan@archlinux.org>
64872         [BZ #14303]
64873         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64874         (SUNOS_CPP): Likewise.
64875         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64876         not found.
64877         (open_input): Call CPP using execvp.
64879 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64881         * sysdeps/unix/sysv/linux/kernel-features.h
64882         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64883         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64884         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64885         (__ASSUME_WAITID_SYSCALL): Likewise.
64886         * sysdeps/unix/sysv/linux/dl-execstack.c
64887         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64888         code unconditional.
64889         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64890         conditional code.
64891         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64892         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64893         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64894         code.
64895         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64896         unconditional.
64897         [__ASSUME_WAITID_SYSCALL]: Likewise.
64898         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64900 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64902         * sysdeps/unix/closedir.c: Renamed to ...
64903         * sysdeps/posix/closedir.c: ... here.
64904         * sysdeps/unix/dirfd.c: Renamed to ...
64905         * sysdeps/posix/dirfd.c: ... here.
64906         * sysdeps/unix/dirstream.h: Renamed to ...
64907         * sysdeps/posix/dirstream.h: ... here.
64908         * sysdeps/unix/fdopendir.c: Renamed to ...
64909         * sysdeps/posix/fdopendir.c: ... here.
64910         * sysdeps/unix/opendir.c: Renamed to ...
64911         * sysdeps/posix/opendir.c: ... here.
64912         * sysdeps/unix/readdir.c: Renamed to ...
64913         * sysdeps/posix/readdir.c: ... here.
64914         * sysdeps/unix/readdir_r.c: Renamed to ...
64915         * sysdeps/posix/readdir_r.c: ... here.
64916         * sysdeps/unix/rewinddir.c: Renamed to ...
64917         * sysdeps/posix/rewinddir.c: ... here.
64918         * sysdeps/unix/seekdir.c: Renamed to ...
64919         * sysdeps/posix/seekdir.c: ... here.
64920         * sysdeps/unix/telldir.c: Renamed to ...
64921         * sysdeps/posix/telldir.c: ... here.
64922         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64923         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64924         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64925         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64927         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64928         * bits/fcntl.h: ... here.
64930         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64931         not 0.
64932         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64933         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64934         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64935         (struct flock): Move l_start, l_len to the beginning.
64936         Use __pid_t for l_pid.
64937         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64938         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64939         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64940         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64941         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64942         [__USE_LARGEFILE64] (struct flock64): New type.
64943         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64945         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64946         * bits/dirent.h: ... here.
64948         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64949         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64951 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64953         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64954         Change from 2.6.0 to 2.6.16.
64955         * sysdeps/unix/sysv/linux/configure: Regenerated.
64956         * sysdeps/unix/sysv/linux/kernel-features.h
64957         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64958         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64959         version.
64960         (__ASSUME_UTIMES): Likewise.
64961         (__ASSUME_CLONE_STOPPED): Remove.
64962         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64963         architectures, not kernel version.
64964         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64965         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64966         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64967         (__ASSUME_WAITID_SYSCALL): Likewise.
64968         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64969         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64970         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64971         refer to older versions.
64973 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64975         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64976         Define alphasort64 as an alias.
64977         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64978         Define versionsort64 as an alias.
64979         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64980         Define scandir64 as an alias.
64981         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64982         Define scandirat64 as an alias.
64983         * dirent/alphasort64.c (alphasort64):
64984         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64985         * dirent/versionsort64.c: Likewise.
64986         * dirent/scandir64.c: Likewise.
64987         * dirent/scandirat64.c: Likewise.
64988         * sysdeps/wordsize-64/alphasort.c: File removed.
64989         * sysdeps/wordsize-64/alphasort64.c: File removed.
64990         * sysdeps/wordsize-64/scandir.c: File removed.
64991         * sysdeps/wordsize-64/scandir64.c: File removed.
64992         * sysdeps/wordsize-64/scandirat.c: File removed.
64993         * sysdeps/wordsize-64/scandirat64.c: File removed.
64994         * sysdeps/wordsize-64/versionsort.c: File removed.
64995         * sysdeps/wordsize-64/versionsort64.c: File removed.
64996         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64997         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64998         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64999         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65000         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65001         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65003         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65005         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65006         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65007         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65009         [defined __arch64__ || defined __sparcv9]
65010         (__INO_T_MATCHES_INO64_T): New macro.
65011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65012         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65013         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65014         * sysdeps/unix/sysv/linux/bits/dirent.h
65015         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65016         (_DIRENT_MATCHES_DIRENT64): New macro.
65018         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65019         Define lockf64 as an alias.
65020         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65021         Define fseeko64 as an alias.
65022         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65023         Define ftello64 as an alias.
65024         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65025         Define _IO_fgetpos64 and fgetpos64 as aliases.
65026         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65027         Define _IO_fsetpos64 and fsetpos64 as aliases.
65028         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65029         Conditionalize body on this.
65030         * libio/fseeko64.c: Likewise.
65031         * libio/ftello64.c: Likewise.
65032         * libio/iofgetpos64.c: Likewise.
65033         * libio/iofsetpos64.c: Likewise.
65034         * sysdeps/wordsize-64/lockf.c: File removed.
65035         * sysdeps/wordsize-64/lockf64.c: File removed.
65036         * sysdeps/wordsize-64/fseeko.c: File removed.
65037         * sysdeps/wordsize-64/fseeko64.c: File removed.
65038         * sysdeps/wordsize-64/ftello.c: File removed.
65039         * sysdeps/wordsize-64/ftello64.c: File removed.
65040         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65041         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65042         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65043         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65044         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65045         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65046         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65047         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65048         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65049         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65050         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65051         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65053         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65055         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65057         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65059         [defined __arch64__ || defined __sparcv9]
65060         (__OFF_T_MATCHES_OFF64_T): New macro.
65061         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65062         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65063         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65064         (__OFF_T_MATCHES_OFF64_T): New macro.
65066 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65068         * stdlib/secure-getenv.c (__secure_getenv): Replace
65069         GLIBC_2_16 with GLIBC_2_17.
65071 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65073         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65074         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65076 2012-08-03  David S. Miller  <davem@davemloft.net>
65078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65080 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65083         Remove.
65084         (__ASSUME_CORRECT_SI_PID): Likewise.
65085         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65086         (__ASSUME_TMPFS_NAME): Likewise.
65087         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65088         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65089         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65090         (HAVE_AUX_SECURE): Make definition unconditional.
65091         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65092         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65094 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65096         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65097         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65098         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65099         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65100         __eloop_threshold instead of SYMLOOP_MAX.
65102         * sysdeps/generic/eloop-threshold.h: New file.
65103         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65104         of MAXSYMLINKS.
65105         * elf/chroot_canon.c (chroot_canon): Likewise.
65107 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65109         [BZ #13717]
65110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65111         Change to 2.6.0 everywhere.
65112         * sysdeps/unix/sysv/linux/configure: Regenerated.
65113         * sysdeps/unix/sysv/linux/kernel-features.h
65114         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65115         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65116         kernel versions.
65117         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65118         (__ASSUME_FUTEX_REQUEUE): Remove.
65119         (__ASSUME_STATFS64): Define unconditionally.
65120         (__ASSUME_AT_SECURE): Likewise.
65121         (__ASSUME_CORRECT_SI_PID): Likewise.
65122         (__ASSUME_TGKILL): Define without depending on kernel version for
65123         i386.
65124         (__ASSUME_UTIMES): Likewise.
65125         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65126         kernel version.
65127         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65128         (__ASSUME_TMPFS_NAME): Likewise.
65129         * README: Update reference to Linux kernel versions.
65131 2012-08-02  Marek Polacek  <polacek@redhat.com>
65133         [BZ# 14150]
65134         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65135         libc_cv_asm_type_prefix with %.
65136         * configure: Regenerated.
65137         * include/libc-symbols.h: Remove comment about
65138         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65139         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65140         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65141         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65142         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65143         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65144         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65145         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65146         * elf/tst-unique2mod1.c: Likewise.
65147         * elf/tst-unique1mod2.c: Likewise.
65148         * elf/tst-unique1mod1.c: Likewise.
65149         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65150         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65151         Replace ASM_TYPE_DIRECTIVE with .type.
65152         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65153         * sysdeps/i386/sysdep.h: Likewise.
65154         * sysdeps/x86_64/sysdep.h: Likewise.
65155         * sysdeps/sh/sysdep.h: Likewise.
65156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65157         Do not define ASM_TYPE_DIRECTIVE.
65158         * sysdeps/powerpc/sysdep.h: Likewise.
65159         * sysdeps/powerpc/powerpc32/sysdep.h:
65160         Replace ASM_TYPE_DIRECTIVE with .type.
65161         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65162         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65163         * sysdeps/i386/fpu/e_powf.S: Likewise.
65164         * sysdeps/i386/fpu/e_expl.S: Likewise.
65165         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65166         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65167         * sysdeps/i386/fpu/e_pow.S: Likewise.
65168         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65169         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65170         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65171         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65172         * sysdeps/i386/fpu/e_log2.S: Likewise.
65173         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65174         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65175         * sysdeps/i386/fpu/e_powl.S: Likewise.
65176         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65177         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65178         * sysdeps/i386/fpu/e_logl.S: Likewise.
65179         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65180         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65181         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65182         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65183         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65184         * sysdeps/i386/fpu/e_log.S: Likewise.
65185         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65186         * sysdeps/i386/fpu/e_logf.S: Likewise.
65187         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65188         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65189         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65190         * sysdeps/i386/fpu/e_log10.S: Likewise.
65191         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65192         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65193         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65194         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65195         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65196         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65197         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65198         * sysdeps/i386/i686/strtok.S: Likewise.
65199         * sysdeps/i386/i386-mcount.S: Likewise.
65200         * sysdeps/i386/strtok.S: Likewise.
65201         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65202         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65203         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65204         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65205         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65206         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65207         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65208         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65209         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65210         * sysdeps/x86_64/_mcount.S: Likewise.
65211         * sysdeps/x86_64/strtok.S: Likewise.
65212         * sysdeps/sh/_mcount.S: Likewise.
65214 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65216         * libio/iofopen.c: Include <fcntl.h>.
65217         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65218         (_IO_fopen64, fopen64): Define as aliases.
65219         * libio/iofopen64.c: Include <fcntl.h>.
65220         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65221         Conditionalize body on this.
65222         * sysdeps/wordsize-64/iofopen.c: File removed.
65223         * sysdeps/wordsize-64/iofopen64.c: File removed.
65225 2012-08-01  Marek Polacek  <polacek@redhat.com>
65227         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65228         Use dlfcn directly instead of a variable.
65229         (binfmt-subdir): Do not define.
65230         (dlfcn): Likewise.
65232 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65234         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65235         Remove all definitions.
65236         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65237         <kernel-features.h>.
65238         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65239         (miss_F_GETOWN_EX): Remove all definitions.
65240         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65241         macro definition.
65242         [!__ASSUME_FCNTL64]: Remove conditional code.
65243         [__ASSUME_FCNTL64]: Make code unconditional.
65244         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65245         <kernel-features.h>.
65246         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65247         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65248         (lockf64) [__NR_fcntl64]: Make code unconditional.
65249         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65251         * sysdeps/unix/sysv/linux/kernel-features.h
65252         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65253         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65254         Make code unconditional.
65255         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65256         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65258         [__NR_vfork]: Make code unconditional.
65259         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65260         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65262         [__NR_vfork]: Make code unconditional.
65263         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65264         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65266 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65268         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65269         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65271         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65272         Define mkstemp64 as an alias.
65273         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65274         Define mkstemps64 as an alias.
65275         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65276         Define mkostemp64 as an alias.
65277         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65278         Define mkostemps64 as an alias.
65279         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65280         Conditionalize body on this.
65281         * misc/mkostemp64.c: Likewise.
65282         * misc/mkostemps64.c: Likewise.
65283         * misc/mkstemps64.c: Likewise.
65284         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65285         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65286         * sysdeps/wordsize-64/mkostemp.c: File removed.
65287         * sysdeps/wordsize-64/mkstemp.c: File removed.
65288         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65289         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65290         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65291         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65293         [BZ #14138]
65294         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65295         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65296         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65297         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65299         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65300         compat_symbol macros from <shlib-compat.h> rather than the underlying
65301         default_symbol_version and symbol_version macros, so that DEFAULT
65302         lines in shlib-versions are respected.
65303         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65305 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65307         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65308         Declare with warn_unused_result.
65309         (setgid, setregid, setegid, setresgid): Likewise.
65310         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65311         Likewise.
65312         * WUR-REPORT: Remove set*id functions.
65314 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65316         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65318 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65320         [BZ #10191]
65321         * include/sys/socket.h (__libc_accept, __libc_accept4):
65322         Add attribute_hidden.
65323         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65325         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65326         use of PTR_MANGLE.
65327         * inet/getnetgrent_r.c (setup): Likewise.
65329         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65331 2012-07-31  David S. Miller  <davem@davemloft.net>
65333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65335 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65337         [BZ #13629]
65338         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65339         value between 1.0 and 2.0 and smaller part has absolute value less
65340         than 1.0.
65341         * math/s_clog10.c (__clog10): Likewise.
65342         * math/s_clog10f.c (__clog10f): Likewise.
65343         * math/s_clog10l.c (__clog10l): Likewise.
65344         * math/s_clogf.c (__clogf): Likewise.
65345         * math/s_clogl.c (__clogl): Likewise.
65346         * math/libm-test.inc (clog_test): Add more tests.
65347         (clog10_test): Likewise.
65348         * sysdeps/i386/fpu/libm-test-ulps: Update.
65349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65351 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65353         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65354         Exit with zero in case no suitable GID is found, and write a
65355         message to standard error.
65357 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65359         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65360         rather than to 1.
65361         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65362         (MAXPATHLEN): Removed.
65363         (NOGROUP, NODEV): New macros.
65364         (setbit, clrbit, isset, isclr): New macros.
65365         (howmany, roundup, powerof2): New macros.
65366         (DEV_BSIZE): New macro.
65368         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65369         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65371         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65372         definition on [!__NO_LONG_DOUBLE_MATH].
65374         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65375         PTR_MANGLE and PTR_DEMANGLE.
65377         * socket/accept4.c (accept4): Rename to __libc_accept4.
65378         Define accept4 as a weak alias.
65380         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65381         on [_DIRENT_HAVE_D_TYPE].
65382         * io/ftw.c (ftw_dir): Likewise.
65384         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65386         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65388         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65389         Use the BSD numbers rather than the arbitrary ones we had.
65390         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65391         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65392         (SIGXCPU, SIGXFSZ): New macros.
65393         (_NSIG): Now 32.
65395         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65396         initializer on [_LIBC_REENTRANT].
65398         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65399         definitions inside [_POSIX_MAPPED_FILES].
65401         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65403         * dirent/opendir.c: Include <fcntl.h>.
65405         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65406         (__libc_getspecific): Likewise.
65407         (__libc_key_create): Likewise.
65409         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65410         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65411         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65412         (tmpfile64): Define as alias.
65413         * sysdeps/wordsize-64/tmpfile.c: File removed.
65414         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65415         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65416         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65418         * stdio-common/vfscanf.c: Include <stdbool.h>.
65419         * nss/makedb.c: Likewise.
65420         * stdio-common/_i18n_number.h: Likewise.
65421         * argp/argp-help.c: Likewise.
65422         * posix/wordexp.c: Likewise.
65423         * sysdeps/posix/spawni.c: Likewise.
65424         * nss/nss_files/files-initgroups.c: Likewise.
65425         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65426         * nss/nss_files/files-initgroups.c: Likewise.
65427         * nss/nss_db/db-netgrp.c: Likewise.
65428         * nss/nss_db/db-initgroups.c: Likewise.
65429         * io/fchmodat.c: Include <sys/stat.h>.
65431         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65432         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65434         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65435         [HAVE_MMAP].
65437         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65438         Add multiple inclusion protection.
65440 2012-07-27  David S. Miller  <davem@davemloft.net>
65442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65444 2012-07-27  Gary Benson  <gbenson@redhat.com>
65446         [BZ #14298]
65447         * elf/rtld.c: Include <stap-probe.h>.
65448         (dl_main): Added static probes "init_start" and "init_complete".
65449         * elf/dl-load.c: Include <stap-probe.h>.
65450         (lose): Take new parameter "nsid".
65451         Added static probe "map_failed".
65452         (_dl_map_object_from_fd): Pass namespace id to lose.
65453         Added static probe "map_start".
65454         (open_verify): Pass namespace id to lose.
65455         * elf/dl-open.c: Include <stap-probe.h>.
65456         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65457         and "reloc_complete".
65458         * elf/dl-close.c: Include <stap-probe.h>.
65459         (_dl_close_worker): Added static probes "unmap_start" and
65460         "unmap_complete".
65461         * elf/rtld-debugger-interface.txt: New file documenting the above.
65463 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65465         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65466         rather than a string variable.
65467         * sunrpc/rpc_main.c (h_output): Likewise.
65468         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65470 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65472         * inet/check_native.c: New file.
65474 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65476         [BZ #13629]
65477         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65478         if larger part has absolute value 1.0.
65479         * math/s_clog10.c (__clog10): Likewise.
65480         * math/s_clog10f.c (__clog10f): Likewise.
65481         * math/s_clog10l.c (__clog10l): Likewise.
65482         * math/s_clogf.c (__clogf): Likewise.
65483         * math/s_clogl.c (__clogl): Likewise.
65484         * math/libm-test.inc (clog_test): Add more tests.
65485         (clog10_test): Likewise.
65486         * sysdeps/i386/fpu/libm-test-ulps: Update.
65487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65489         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65490         (pltexit): Likewise.
65491         (La_regs): Likewise.
65492         (La_retval): Likewise.
65493         (int_retval): Likewise.
65494         Update #error for removed macros to refer only to definitions in
65495         tst-audit.h.
65496         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65497         macro.
65498         (pltexit): Likewise.
65499         (La_regs): Likewise.
65500         (La_retval): Likewise.
65501         (int_retval): Likewise.
65502         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65503         macro.
65504         (pltexit): Likewise.
65505         (La_regs): Likewise.
65506         (La_retval): Likewise.
65507         (int_retval): Likewise.
65508         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65509         macro.
65510         (pltexit): Likewise.
65511         (La_regs): Likewise.
65512         (La_retval): Likewise.
65513         (int_retval): Likewise.
65514         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65515         macro.
65516         (pltexit): Likewise.
65517         (La_regs): Likewise.
65518         (La_retval): Likewise.
65519         (int_retval): Likewise.
65520         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65521         macro.
65522         (pltexit): Likewise.
65523         (La_regs): Likewise.
65524         (La_retval): Likewise.
65525         (int_retval): Likewise.
65526         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65527         macro.
65528         (pltexit): Likewise.
65529         (La_regs): Likewise.
65530         (La_retval): Likewise.
65531         (int_retval): Likewise.
65532         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65533         macro definitions in tst-audit.h.
65534         * sysdeps/i386/tst-audit.h: New file.
65535         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65536         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65537         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65538         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65539         * sysdeps/sh/tst-audit.h: Likewise.
65540         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65541         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65542         * sysdeps/x86_64/tst-audit.h: Likewise.
65544 2012-07-26  Andreas Jaeger  <aj@suse.de>
65546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65547         ptrace.
65549         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65550         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65551         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65552         PTRACE_O_MASK.
65553         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65554         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65555         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65557         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65558         value.
65560         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65561         _sigsys.
65562         (si_call_addr, si_syscall, si_arch): Define new macro.
65563         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65564         _sigsys.
65565         (si_call_addr, si_syscall, si_arch): Define new marcro.
65566         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65567         _sigsys.
65568         (si_call_addr, si_syscall, si_arch): Define new macro.
65569         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65570         _sigsys.
65571         (si_call_addr, si_syscall, si_arch): Define new macro.
65573 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65575         [BZ #13717]
65576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65577         Change to 2.4.21 where previously 2.4.1.
65578         * sysdeps/unix/sysv/linux/configure: Regenerated.
65579         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65580         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65581         Linux kernel version.
65582         (__ASSUME_STD_AUXV): Remove.
65583         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65584         kernel version.
65585         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65586         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65587         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65588         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65589         (__ASSUME_NETLINK_SUPPORT): Likewise.
65590         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65591         (__no_netlink_support): Remove conditional definition.
65592         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65593         Remove.
65594         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65595         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65596         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65597         (if_nameindex_ioctl): Remove.
65598         (if_nameindex_netlink): Do not handle __no_netlink_support.
65599         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65600         code.
65601         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65602         Remove conditional code.
65603         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65604         code.
65605         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65606         unconditional.
65607         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65608         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65609         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65610         Remove.
65611         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65612         [!__ASSUME_STD_AUXV]: Remove conditional code.
65613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65614         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65615         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65617         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65618         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65619         code.
65620         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65622         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65623         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65624         conditional code.
65625         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65627         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65628         code.
65629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65630         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65631         conditional code.
65632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65633         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65634         code unconditional.
65635         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65636         conditional code.
65637         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65638         unconditional.
65639         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65640         conditional code.
65641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65642         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65643         unconditional.
65644         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65645         conditional code.
65646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65647         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65648         code unconditional.
65649         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65650         conditional code.
65651         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65652         unconditional.
65653         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65654         conditional code.
65655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65656         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65657         code unconditional.
65658         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65659         conditional code.
65660         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65661         unconditional.
65662         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65663         conditional code.
65665 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65667         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65668         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65669         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65670         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65671         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65672         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65673         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65674         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65675         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65676         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65677         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65678         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65679         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65680         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65681         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65682         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65683         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65684         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65685         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65687         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65688         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65689         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65691 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65693         * Versions.def: Add GLIBC_2.17.
65694         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65695         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65696         Introduce __libc_secure_getenv.
65697         * stdlib/Versions (2.17): Add secure_getenv
65698         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65699         * stdlib/secure-getenv.c: Rename __secure_getenv to
65700         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65701         symbol __secure_getenv for GLIBC_2.0.
65702         * stdlib/tst-secure-getenv.c: New.
65703         * stdlib/Makefile (tests): Add testcase.
65704         * manual/startup.texi (Environment Access): Document
65705         secure_getenv.
65706         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65707         __libc_secure_getenv.
65708         * inet/ruserpass.c (ruserpass): Likewise.
65709         * malloc/mtrace.c (mtrace): Likewise.
65710         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65711         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65712         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65713         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65714         HAVE_SECURE_GETENV.
65715         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65716         __secure_getenv to __libc_secure_getenv.
65717         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65719         Likewise.
65720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65721         Likewise.
65722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65730 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65732         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65733         (struct La_i86_retval): Likewise.
65734         (struct La_x86_64_regs): Likewise.
65735         (struct La_x86_64_retval): Likewise.
65736         (struct La_x32_regs): Likewise.
65737         (struct La_x32_retval): Likewise.
65738         (struct La_ppc32_regs): Likewise.
65739         (struct La_ppc32_retval): Likewise.
65740         (struct La_ppc64_regs): Likewise.
65741         (struct La_ppc64_retval): Likewise.
65742         (struct La_sh_regs): Likewise.
65743         (struct La_sh_retval): Likewise.
65744         (struct La_s390_32_regs): Likewise.
65745         (struct La_s390_32_retval): Likewise.
65746         (struct La_s390_64_regs): Likewise.
65747         (struct La_s390_64_retval): Likewise.
65748         (struct La_sparc32_regs): Likewise.
65749         (struct La_sparc32_retval): Likewise.
65750         (struct La_sparc64_regs): Likewise.
65751         (struct La_sparc64_retval): Likewise.
65752         (struct audit_ifaces): Remove architecture-specific pltenter and
65753         pltexit members.
65754         * sysdeps/i386/ldsodefs.h: New file.
65755         * sysdeps/powerpc/ldsodefs.h: Likewise.
65756         * sysdeps/s390/ldsodefs.h: Likewise.
65757         * sysdeps/sh/ldsodefs.h: Likewise.
65758         * sysdeps/sparc/ldsodefs.h: Likewise.
65759         * sysdeps/x86_64/ldsodefs.h: Likewise.
65761 2012-07-25  Marek Polacek  <polacek@redhat.com>
65763         [BZ #6808]
65764         * math/libm-test.inc (yn_test): Add another test.
65765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65766         to ERANGE when the result is +-Inf.
65767         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65768         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65769         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65770         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65772 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65774         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65775         equal to 0.
65776         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65777         clock_t.
65778         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65780 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65782         * configure.in <sysdeps resolving>: Correct printing
65783         Implies_before.
65784         * configure: Regenerate.
65786 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65788         * math/w_ilogb.c: Include <limits.h>.
65789         * math/w_ilogbl.c: Likewise.
65791 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65793         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65794         va_copy.  Document allowing for unavailable va_copy only as
65795         pre-C99 compatibility.
65796         * manual/string.texi (Copying and Concatenation): Use va_copy
65797         instead of __va_copy in concat example.
65799 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65801         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65802         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65803         it if not null.
65805         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65806         with O_NOLINK passed to __file_name_lookup.
65808         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65809         with O_NOLINK passed to __file_name_lookup.
65811         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65812         negative N or less than NGIDS.
65814         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65815         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65816         enough.  Use memcpy instead of strncpy.
65818 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65820         * elf/Makefile (check-data): Remove.
65821         (localplt.data): New vpath directive.
65822         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65823         instead of $(check-data).
65824         * scripts/data/localplt-generic.data: Move to ...
65825         * sysdeps/generic/localplt.data: ... here.
65826         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65827         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65828         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65830         ... here.
65831         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65833         ... here.
65834         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65836         ... here.
65837         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65839         ... here.
65840         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65842         ... here.
65843         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65845         ... here.
65847 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65849         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65850         PPC32 and PPC64 files.
65851         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65852         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65854 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65856         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65857         __makecontext_ret to ...
65858         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65859         ... here and call exit if uc_link is NULL.  New file.
65860         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65861         __makecontext_ret.S.
65862         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65863         __makecontext_ret to ...
65864         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65865         ... here and call exit if uc_link is NULL.  New file.
65866         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65867         __makecontext_ret.S.
65869 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65871         * elf/elf.h (R_390_IRELATIVE): New definition.
65872         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65873         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65874         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65875         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65876         (elf_machine_lazy_rel): Likewise.
65877         * sysdeps/s390/dl-irel.h: New file.
65878         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65879         * sysdeps/s390/s390-64/memset.S: New asm code.
65880         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65881         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65882         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65883         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65884         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65885         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65886         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65887         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65888         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65889         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65890         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65891         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65892         * sysdeps/s390/s390-32/memset.S: New asm code.
65893         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65895 2012-07-17  Marek Polacek  <polacek@redhat.com>
65897         [BZ #14349]
65898         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65899         * sysdeps/s390/s390-64/configure.in: Likewise.
65900         * sysdeps/sparc/configure.in: Likewise.
65901         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65902         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65903         * sysdeps/i386/configure.in: Likewise.
65904         * sysdeps/x86_64/configure.in: Likewise.
65905         * sysdeps/sh/configure.in: Likewise.
65906         * sysdeps/s390/s390-32/configure: Regenerated.
65907         * sysdeps/s390/s390-64/configure: Likewise.
65908         * sysdeps/x86_64/configure: Likewise.
65909         * sysdeps/sh/configure: Likewise.
65910         * sysdeps/powerpc/powerpc64/configure: Likewise.
65911         * sysdeps/powerpc/powerpc32/configure: Likewise.
65912         * sysdeps/sparc/configure: Likwise.
65913         * sysdeps/i386/configure: Likewise.
65915         * elf/dl-open.c: Comment fixes.
65917 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65919         * Makefile [CXX] (check-data): Remove.
65920         [CXX] (c++-types.data): New vpath directive.
65921         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65922         vpath.  Do not allow for C++ type data being missing.
65923         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65924         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65925         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65926         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65927         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65928         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65929         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65931         ... here.
65932         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65934         ... here.
65935         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65937         ... here.
65938         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65940         ... here.
65941         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65943         ... here.
65944         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65946         ... here.
65947         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65949         ... here.
65950         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65953         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65954         definitions to architecture-specific files.
65955         (TLS_IE): Likewise.
65956         (TLS_LD): Likewise.
65957         (TLS_GD): Likewise.
65958         * sysdeps/i386/tls-macros.h: New file.
65959         * sysdeps/powerpc/tls-macros.h: Likewise.
65960         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65961         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65962         * sysdeps/sh/tls-macros.h: Likewise.
65963         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65964         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65965         * sysdeps/x86_64/tls-macros.h: Likewise.
65967 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65969         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65970         zero value for regular exit case.
65972         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65973         (__start_context): Preserve zero value for regular exit case.
65975 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65976             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65978         * manual/setjmp.texi (setcontext): Clarify normal process
65979         termination when uc_link is the null pointer.
65980         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65981         exit call.
65983 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65985         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65986         preprocessor.  Test for each exception mask separately.
65988 2012-07-16  Andreas Jaeger  <aj@suse.de>
65990         * po/ru.po: Update from translation team.
65992 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65994         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65995         equal to 0.
65996         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65997         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65998         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65999         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66000         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66002 2012-07-13  Andreas Jaeger  <aj@suse.de>
66004         * po/fr.po: Update from translation team.
66006 2012-07-12  Marek Polacek  <polacek@redhat.com>
66008         [BZ #14173]
66009         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66011         loop condition.
66013 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66015         [BZ #13717]
66016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66017         Change to 2.4.1 where previously 2.4.0.
66018         * sysdeps/unix/sysv/linux/configure: Regenerated.
66019         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66020         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66021         version.
66022         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66023         (__ASSUME_AT_CLKTCK): Remove.
66024         (__ASSUME_AT_PAGESIZE): Likewise.
66025         (__ASSUME_AT_XID): Likewise.
66026         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66027         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66028         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66029         unconditionally.
66030         (HAVE_AUX_PAGESIZE): Likewise.
66031         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66032         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66033         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66035 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66037         [BZ #14307]
66038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66039         the temporary buffer used to invoke __gethostbyname2_r,
66040         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66041         host_data / struct gaih_addrtuple.
66042         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66043         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66044         header file nss/nsswitch.h.
66045         * nss/nsswitch.h (global scope): Add definition of implementation
66046         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66047         resolv/nss_dns/dns-host.c).
66049 2012-07-11  Andreas Jaeger  <aj@suse.de>
66051         * po/fr.po: Update from translation team.
66053         * po/sv.po: Update from translation team
66054         * po/fr.po: Another update from translation team.
66056 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66058         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66059         for subnormals or multiply small sinh result by itself.
66060         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66063 2012-07-11  David S. Miller  <davem@davemloft.net>
66065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66067 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66069         [BZ #14347]
66070         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66071         (INTERNAL_MARK): Shift it here.
66073 2012-07-10  Marek Polacek  <polacek@redhat.com>
66075         [BZ #14151]
66076         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66077         libc_cv_asm_global_directive with .globl.
66078         * configure: Regenerated.
66079         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66080         with .globl.
66081         * sysdeps/i386/configure: Regenerated.
66082         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66083         with .globl.
66084         * sysdeps/x86_64/configure: Regenerated.
66085         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66086         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66087         * elf/tst-unique2mod2.c: Likewise.
66088         * elf/tst-unique2mod1.c: Likewise.
66089         * elf/tst-unique1mod2.c: Likewise.
66090         * elf/tst-unique1mod1.c: Likewise.
66091         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66092         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66093         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66094         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66095         * sysdeps/mach/sysdep.h: Likewise.
66096         * sysdeps/i386/sysdep.h: Likewise.
66097         * sysdeps/i386/i386-mcount.S: Likewise.
66098         * sysdeps/x86_64/_mcount.S: Likewise.
66099         * sysdeps/x86_64/sysdep.h: Likewise.
66100         * sysdeps/sh/_mcount.S: Likewise.
66101         * sysdeps/sh/sysdep.h: Likewise.
66102         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66103         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66104         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66105         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66106         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66107         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66108         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66109         * locale/localeinfo.h: Likewise.
66110         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66111         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66113 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66115         [BZ #14336]
66116         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66117         system".
66118         * manual/message.texi (The Uniforum approach): Likewise.
66119         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66120         (glibc iconv Implementation): Likewise.
66122 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66124         [BZ #14337]
66125         * math/s_clog.c (__clog): Avoid scaling a value down where that
66126         could result in underflow.
66127         * math/s_clog10.c (__clog10): Likewise.
66128         * math/s_clog10f.c (__clog10f): Likewise.
66129         * math/s_clog10l.c (__clog10l): Likewise.
66130         * math/s_clogf.c (__clogf): Likewise.
66131         * math/s_clogl.c (__clogl): Likewise.
66132         * math/libm-test.inc (clog_test): Add more tests.
66133         (clog10_test): Likewise.
66134         * sysdeps/i386/fpu/libm-test-ulps: Update.
66135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66137 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66139         [BZ #14283]
66140         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66141         by 7 not 8 to examine high bit of fractional part.
66143         [BZ #14042]
66144         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66145         for call to __mcount_internal.
66146         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66147         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66148         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66150 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66152         [BZ #14154]
66153         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66154         approximation for values within 0x1p-13f of an odd multiple of
66155         pi/4.
66156         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66157         exception.  Add more tests.
66158         * sysdeps/i386/fpu/libm-test-ulps: Update.
66160         [BZ #6778]
66161         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66162         inputs and return -1 for them.  Do not check for +Inf in case not
66163         reachable for +Inf.
66164         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66165         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66166         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66167         and return -1 for them.  Do not check for +Inf in case not
66168         reachable for +Inf.
66169         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66170         define.
66171         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66172         and return -1 for them.  Do not check for +Inf in case not
66173         reachable for +Inf.
66174         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66175         spurious underflow.
66176         * sysdeps/i386/fpu/libm-test-ulps: Update.
66177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66179 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66181         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66183 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66185         [BZ #14157]
66186         [BZ #14331]
66187         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66188         could result in spurious underflow.  Scale down values above
66189         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66190         * math/s_csqrtf.c (__csqrtf): Likewise.
66191         * math/s_csqrtl.c (__csqrtl): Likewise.
66192         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66193         spurious underflow.
66194         * sysdeps/i386/fpu/libm-test-ulps: Update.
66195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66197 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66199         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66200         xopen-msg.sed.
66201         * catgets/xopen-msg.awk: New file.
66202         * catgets/xopen-msg.sed: Removed.
66204         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66205         po2text.sed.
66206         * intl/po2test.awk: New file.
66207         * intl/po2test.sed: Removed.
66209 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66211         [BZ #14328]
66212         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66213         or multiply small sinh result by itself.
66214         * math/s_ctanf.c (__ctanf): Likewise.
66215         * math/s_ctanh.c (__ctanh): Likewise.
66216         * math/s_ctanhf.c (__ctanhf): Likewise.
66217         * math/s_ctanhl.c (__ctanhl): Likewise.
66218         * math/s_ctanl.c (__ctanl): Likewise.
66219         * math/libm-test.inc (ctan_test_tonearest): New function.
66220         (ctan_test_towardzero): Likewise.
66221         (ctan_test_downward): Likewise.
66222         (ctan_test_upward): Likewise.
66223         (ctanh_test_tonearest): Likewise.
66224         (ctanh_test_towardzero): Likewise.
66225         (ctanh_test_downward): Likewise.
66226         (ctanh_test_upward): Likewise.
66227         (main): Call these new functions.
66228         * sysdeps/i386/fpu/libm-test-ulps: Update.
66229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66231 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66233         * .gitignore: Delete /ports entry.
66235 2012-07-03  Andreas Jaeger  <aj@suse.de>
66237         * po/bg.po: Update from translation team.
66238         * po/cs.po: Likewise.
66239         * po/de.po: Likewise.
66240         * po/hr.po: Likewise.
66241         * po/nl.pl: Likewise.
66242         * po/pl.po: Likewise.
66243         * po/vi.po: Likewise.
66245 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66247         * Makeconfig [!+link] (+link-before-libc): New variable.
66248         [!+link] (+link-after-libc): Likewise.
66249         [!+link] (+link-tests): Likewise.
66250         [!+link] (+link): Define in terms of $(+link-before-libc) and
66251         $(+link-after-libc).
66252         [!+link-static] (+link-static-before-libc): New variable.
66253         [!+link-static] (+link-static-after-libc): Likewise.
66254         [!+link-static] (+link-static-tests): Likewise.
66255         [!+link-static] (+link-static): Define in terms of
66256         $(+link-static-before-libc) and $(+link-static-after-libc).
66257         [build-shared] (link-libc-before-gnulib): New variable.
66258         [build-shared] (link-libc-tests): Likewise.
66259         [build-shared] (link-libc): Define in terms of
66260         $(link-libc-before-gnulib).
66261         [!build-shared] (link-libc-tests): New variable.
66262         (link-libc-static-tests): New variable.
66263         [!gnulib] (gnulib-arch): New variable.
66264         [!gnulib] (gnulib-tests): Likewise.
66265         [!gnulib] (static-gnulib-arch): Likewise.
66266         [!gnulib] (static-gnulib-tests): Likewise.
66267         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66268         Define with "=" instead of ":=".
66269         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66270         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66271         * Rules (binaries-all-notests): New variable.
66272         (binaries-all-tests): Likewise.
66273         (binaries-static-notests): Likewise.
66274         (binaries-static-tests): Likewise.
66275         (binaries-all): Define using $(binaries-all-notests) and
66276         $(binaries-all-tests).
66277         (binaries-static): Define using $(binaries-static-notests) and
66278         $(binaries-static-tests).
66279         (binaries-shared-tests): New variable.
66280         (binaries-shared-notests): Likewise.
66281         (binaries-shared): Remove variable.
66282         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66283         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66284         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66285         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66286         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66287         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66288         * elf/Makefile (sln-modules): New variable.
66289         (extra-objs): Add $(sln-modules:=.o).
66290         (ldconfig-modules): Add static-stubs.
66291         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66292         * elf/static-stubs.c: New file.
66294         [BZ #14283]
66295         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66296         by 7 not 8 to examine high bit of fractional part.  Use volatile
66297         variables when splitting into final array of floats if
66298         __FLT_EVAL_METHOD__ != 0.
66299         * math/libm-test.inc (cos_test): Add another test.
66300         (sin_test): Likewise.
66301         * sysdeps/i386/fpu/libm-test-ulps: Update.
66303         [BZ #14273]
66304         * math/libm-test.inc (cosh_test): Add more tests.
66306         * version.h (RELEASE): Set to "development".
66307         (VERSION): Set to "2.16.90".
66309 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66311         * NEWS: Update copyright. Remove last-updated date.
66312         Mention math library bug fixes and timezone data changes.
66313         * README: Mention GNU/Hurd, x32, and HPPA support status.
66315 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66317         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66319 2012-06-27  Andreas Jaeger  <aj@suse.de>
66321         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66323 2012-06-25  Andreas Jaeger  <aj@suse.de>
66325         * sysdeps/s390/fpu/libm-test-ulps: Update.
66327 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66328             Thomas Schwinge  <thomas@codesourcery.com>
66330         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66331         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66332         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66333         fanotify_mark.
66335 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66337         * sysdeps/mach/start.c: Remove file.
66338         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66339         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66340         * sysdeps/sh/init-first.c: Likewise.
66342         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66343         registers for frame unwinding purposes, add CFI directives.
66344         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66345         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66346         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66347         Likewise.
66349         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66350         __fortify_fail returning.
66351         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66353         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66354         sysdeps/sh/____longjmp_chk.S.
66355         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66356         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66357         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66358         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66360         * sysdeps/sh/abort-instr.h: New file.
66361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66362         process in case exit returns.
66364         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66365         initialize the GOT register before use.
66367         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66368         calculation of ARGC > 4.
66370         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66371         meaningful names to some local labels.
66373 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66374             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66376         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66377         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66378         (__arch_compare_and_exchange_val_16_acq): Likewise.
66379         (__arch_compare_and_exchange_val_32_acq): Likewise.
66380         (atomic_exchange_and_add): Fix gUSA sequence.
66381         (atomic_add): Likewise.
66382         (atomic_add_negative): Likewise.
66383         (atomic_add_zero): Likewise.
66384         (atomic_bit_test_set): Likewise.
66386 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66388         [BZ #13579]
66389         * include/link.h (struct link_map): Add l_free_initfini.
66390         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66391         l_initfini.
66392         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66393         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66394         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66395         set.
66397 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66399         * configure.in: Use AC_LANG_SOURCE.
66400         * configure: Regenerate.
66402 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66404         * configure.in (libc_cv_localstatedir): New substituted variable.
66405         * configure: Regenerated.
66406         * config.make.in (localstatedir): New variable, substituted from
66407         libc_cv_localstatedir.
66408         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66409         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66410         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66411         * sysdeps/gnu/configure: Regenerated.
66413 2012-06-21  Jeff Law  <law@redhat.com>
66415         [BZ #14277]
66416         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66417         free.  Simplify list management for _LIBC case.
66419 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66421         [BZ #14273]
66422         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66423         Clear sign bit of 64-bit integer value before comparing against
66424         overflow value.
66426         * sysdeps/mach/configure: Regenerated.
66428 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66430         [BZ #14278]
66431         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66433 2012-06-21  Jeff Law  <law@redhat.com>
66435         [BZ #13882]
66436         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66437         uint16_t for elements in the "seen" array to avoid char overflows.
66438         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66439         * elf/dl-open.c (dl_open_worker): Likewise.
66441 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66443         * scripts/list-sources.sh: Scan PORTS for translations.
66444         * po/libc.pot: Regenerated.
66446 2012-06-21  Andreas Jaeger  <aj@suse.de>
66448         [BZ #12194]
66449         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66450         warning.
66451         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66452         * bits/byteswap-16.h (__bswap_16): Likewise.
66453         * bits/byteswap.h (__bswap_constant_16): Likewise.
66455 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66457         [BZ #14117]
66458         * sysdeps/i386/fpu_control.h: Removed.
66459         * sysdeps/x86_64/fpu_control.h: Moved to ...
66460         * sysdeps/x86/fpu_control.h: Here.
66462         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66463         (_FPU_SETCW): Likewise.
66465 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66467         [BZ #14117]
66468         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66469         * sysdeps/x86/fpu/bits/mathinline.h: This.
66470         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66472         [BZ #14050]
66473         [BZ #14117]
66474         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66475         functions if __x86_64__ is defined.
66477 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66479         * string/endian.h: Add !__ASSEMBLER__ condition for including
66480         conversion interfaces.
66482 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66484         [BZ #14241]
66485         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66486         of ABS(x) in calculating zero to negative powers other than odd
66487         integers.
66488         * math/libm-test.inc (pow_test): Add more tests.
66490 2012-06-15  Andreas Jaeger  <aj@suse.de>
66492         * manual/contrib.texi (Contributors): Update entry of Liubov
66493         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66494         Machado Filho.
66496 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66498         * string/string.h: Add __wur to GNU version of strerror_r.
66500 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66502         [BZ #14229]
66503         * string/Makefile (tests): Add tst-strtok_r.
66504         * string/tst-strtok_r.c: New file.
66505         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66506         RAX_LP/RDX_LP on SAVE_PTR.
66508 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66510         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66512 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66514         * libm_test.inc (csqrt_test): Allow more spurious underflow
66515         exceptions.
66516         (j0_test): Likewise.
66517         (j1_test): Likewise.
66518         (y0_test): Likewise.
66519         (y1_test): Likewise.
66521 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66523         * po/Makefile (libc.pot): Use UTF-8 charset.
66525 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66527         [BZ #14210]
66528         Suppress sign-conversion warning from FD_SET.
66529         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66530         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66531         not unsigned long int.
66532         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66534 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66536         [BZ #14050]
66537         [BZ #14117]
66538         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66539         __extern_always_inline instead of __extern_inline.
66540         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66541         (__signbit): Likewise.
66542         (__signbitl): Support C++ namespace.
66543         (lrintf): New inline function.
66544         (lrint): Likewise.
66545         (llrintf): Likewise.
66546         (llrint): Likewise.
66547         (fmaxf): Likewise.
66548         (fmax): Likewise.
66549         (fminf): Likewise.
66550         (fmin): Likewise.
66551         (rint): Likewise.
66552         (rintf): Likewise.
66553         (ceil): Likewise.
66554         (ceilf): Likewise.
66555         (floor): Likewise.
66556         (floorf): Likewise.
66557         (nearbyint): Likewise.
66558         (nearbyintf): Likewise.
66560 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66562         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66563         non-default versions.
66565 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66567         [BZ #14218]
66568         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66570 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66572         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66573         (FE_UPWARD, FE_DOWNWARD): Don't define.
66574         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66575         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66577         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66578         reading it.
66579         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66580         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66582 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66584         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66585         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66586         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66587         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66589 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66591         [BZ #14117]
66592         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66593         * sysdeps/i386/fpu/Implies: New file.
66594         * sysdeps/x86_64/fpu/Implies: Likewise.
66595         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66596         * sysdeps/x86/fpu/bits/fenv.h: This.
66598         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66599         __SSE_MATH__.
66601 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66603         [BZ #14134]
66604         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66605         character 0xffff that matches the last element of the
66606         conversion table.
66608 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66610         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66611         fmodl commit.
66613 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66615         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66616         values higher than 25.6283.
66618 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66621         subnormal exponent extraction and add some __builtin_expect.
66622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66623         Fix for subnormal mantissa calculation.
66625 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66627         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66628         cpu2 is -1 and errno is not ENOSYS.
66630 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66632         [BZ #14117]
66633         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66634         * sysdeps/x86/bits/string.h: This.
66635         * sysdeps/x86_64/bits/string.h: Removed.
66637         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66638         if not compiling for x86-64, but compiling for >= i486.
66640         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66641         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66643         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66644         New macro from Linux kernel 3.4.0.
66645         (FP_XSTATE_MAGIC2): Likewise.
66646         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66647         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66648         (struct _fpx_sw_bytes): New struct.
66649         (struct _xsave_hdr): Likewise.
66650         (struct _ymmh_state): Likewise.
66651         (struct _xstate): Likewise.
66653         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66654         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66655         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66656         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66657         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66658         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66660         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66661         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66662         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66663         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66664         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66665         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66667 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66669         [BZ #13743]
66670         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66671         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66672         (sysdep_headers): Include sys/platform/ppc.h.
66673         * sysdeps/powerpc/test-gettimebase.c: Test for
66674         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66675         * manual/Makefile (appendices): Include platform.texi.
66676         * manual/contrib.texi (Contributors): Update @node pointers.
66677         * manual/maint.texi (Maintenance): Likewise.
66678         (Platform): New node.
66679         * manual/platform.texi: New file.  Document the new features.
66681 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66682             Jakub Jelinek  <jakub@redhat.com>
66684         [BZ #14188]
66685         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66686         where __builtin_expect is unavailable.
66688 2012-06-03  David S. Miller  <davem@davemloft.net>
66690         * stdlib/longlong.h: Updated from GCC.
66692 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66694         [BZ #14042]
66695         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66696         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66697         __mcount_internal.
66698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66699         (GLIBC_2.16): Likewise.
66701 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66703         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66705 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66708         (default-abi): New variable.
66709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66710         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66711         variable.
66712         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66713         Likewise.
66714         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66715         Likewise.
66716         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66717         Likewise.
66719         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66720         definition.  Document in comment.
66722 2012-06-01  David S. Miller  <davem@davemloft.net>
66724         * stdlib/longlong.h: Updated from GCC.
66726 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66728         [BZ #14117]
66729         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66730         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66731         sys/debugreg.h sys/io.h here.
66732         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66733         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66734         sys/io.h.
66735         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66736         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66737         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66738         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66739         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66740         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66742         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66743         Define only if __x86_64__ is defined.
66745 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66747         [BZ #14048]
66748         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66749         Use int64_t for variable i.
66750         * math/libm-test.inc (fmod_test): Add more tests.
66752         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66753         z computation is not scheduled after fetestexcept.
66754         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66755         Use math_force_eval instead of asm to ensure calculation scheduled
66756         before exception test.
66757         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66758         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66760 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66763         computation is not scheduled after fetestexcept.
66765 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66767         [BZ #14117]
66768         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66769         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66771 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66773         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66774         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66776 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66778         [BZ #14117]
66779         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66780         <bits/wordsize.h>.
66781         (__WCHAR_MIN): Support __WORDSIZE == 64.
66782         (__WCHAR_MAX): Likewise.
66784         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66785         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66787         [BZ #14183]
66788         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66789         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66791         [BZ #14117]
66792         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66793         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66795         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66796         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66798         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66799         Defined to 1 if __x86_64__ isn't defined.
66800         (_STAT_VER_LINUX_OLD): New.
66801         (st_atime): Remove duplicate.
66802         (st_mtime): Likewise.
66803         (st_ctime): Likewise.
66805 2012-05-31  David S. Miller  <davem@davemloft.net>
66807         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66808         entries.
66810 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66812         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66813         gen-libm-test.pl.
66815         [BZ #14132]
66816         * elf/dl-reloc.c: Include <_itoa.h>.
66817         (_dl_reloc_bad_type): Remove use of INTUSE.
66818         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66819         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66820         * stdio-common/psiginfo.c (psiginfo): Likewise.
66821         * stdio-common/psignal.c (psignal): Likewise.
66822         * string/strsignal.c (strsignal): Likewise.
66823         * include/signal.h (_sys_siglist): Declare hidden proto.
66824         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66825         INTVARDEF with libc_hidden_data_def.
66826         * stdio-common/itoa-udigits.c: Likewise.
66827         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66828         (_itoa_lower_digits_internal): Remove declaration.
66829         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66830         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66831         (_sys_sigabbrev_internal): Remove aliases.
66832         (_sys_siglist): Define hidden alias.
66834 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66837         bits/sysctl.h.
66839 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66841         [BZ #14117]
66842         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66843         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66845         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66846         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66847         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66848         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66849         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66850         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66852         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66853         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66854         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66856         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66857         with __addr.
66858         (insw): Likewise.
66859         (insl): Likewise.
66860         (outsb): Likewise.
66861         (outsw): Likewise.
66862         (outsl): Likewise.
66864         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66865         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66866         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66868         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66869         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66870         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66871         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66872         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66873         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66875         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66876         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66878         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66879         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66881         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66882         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66883         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66885         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66886         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66887         to ...
66888         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66890         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66891         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66892         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66894         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66895         for x86-64.
66896         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66898 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66900         * math/math.h (M_El): Use two more decimal places.
66901         (M_LOG2El): Likewise.
66902         (M_LOG10El): Likewise.
66903         (M_LN2l): Likewise.
66904         (M_LN10l): Likewise.
66905         (M_PIl): Likewise.
66906         (M_PI_2l): Likewise.
66907         (M_PI_4l): Likewise.
66908         (M_1_PIl): Likewise.
66909         (M_2_PIl): Likewise.
66910         (M_2_SQRTPIl): Likewise.
66911         (M_SQRT2l): Likewise.
66912         (M_SQRT1_2l): Likewise.
66914 2012-05-31  David S. Miller  <davem@davemloft.net>
66916         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66917         values between float registers.
66918         * sysdeps/sparc/sparc64/memset.S: Likewise.
66919         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66921 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66923         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66924         -D_FORTIFY_SOURCE=1.
66925         (CPPFLAGS-tst-longjmp_chk.c): Define.
66926         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66927         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66928         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66929         CFLAGS-tst-wchar-h.c.
66931 2012-05-31  Marek Polacek  <polacek@redhat.com>
66933         [BZ #14132]
66934         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66935         __endmntent_internal): Remove declaration.
66936         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66937         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66938         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66940 2012-05-30  David S. Miller  <davem@davemloft.net>
66942         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66943         (___Q_simulate_exceptions): Use real FP ops rather than writing
66944         into the %fsr.
66945         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66946         Likewise.
66948 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66950         [BZ #14117]
66951         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66952         * sysdeps/x86/bits/xtitypes.h: This.
66954         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66955         * sysdeps/x86/bits/wordsize.h: This.
66957         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66958         * sysdeps/x86/bits/huge_vall.h: This.
66960         * sysdeps/i386/bits/select.h: Removed.
66961         * sysdeps/x86_64/bits/select.h: Renamed to ...
66962         * sysdeps/x86/bits/select.h: This.
66964         * sysdeps/i386/bits/setjmp.h: Removed.
66965         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66966         * sysdeps/x86/bits/setjmp.h: This.
66968         * sysdeps/i386/bits/mathdef.h: Removed.
66969         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66970         * sysdeps/x86/bits/mathdef.h: This.
66972 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66974         [BZ #14132]
66975         * include/sys/socket.h (__connect_internal)
66976         (__libc_sa_len_internal): Remove declaration.
66977         (__connect, __libc_sa_len): Declare hidden_proto.
66978         (SA_LEN): Remove use of INTUSE.
66979         * socket/connect.c: Add libc_hidden_def.
66980         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66981         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66982         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66983         alias.
66984         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66985         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66986         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66987         of adding _internal alias.
66989 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66991         [BZ #14117]
66992         * sysdeps/i386/bits/link.h: Removed.
66993         * sysdeps/i386/bits/linkmap.h: Likewise.
66994         * sysdeps/x86_64/bits/link.h: Renamed to ...
66995         * sysdeps/x86/bits/link.h: This.
66996         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66997         * sysdeps/x86/bits/linkmap.h: This.
66999         * sysdeps/i386/bits/endian.h: Removed.
67000         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67001         * sysdeps/x86/bits/endian.h: This.
67003         * sysdeps/i386/bits/byteswap.h: Removed.
67004         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67005         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67006         * sysdeps/x86/bits/byteswap.h: This.
67007         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67008         * sysdeps/x86/bits/byteswap-16.h: This.
67009         * sysdeps/i386/Implies: Add x86.
67010         * sysdeps/x86_64/Implies: Likewise.
67012 2012-05-30  David S. Miller  <davem@davemloft.net>
67014         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67015         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67016         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67017         (FP_TRAPPING_EXCEPTIONS): Define.
67018         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67019         (FP_TRAPPING_EXCEPTIONS): Define.
67020         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67021         subnormals only when inexact has been signalled or underflow
67022         exceptions are enabled.
67023         (_FP_PACK_CANONICAL): Likewise.
67025 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67027         [BZ #14183]
67028         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67029         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67031 2012-05-30  Richard Henderson  <rth@twiddle.net>
67033         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67034         with #ifndef NOT_IN_libc.
67036         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67037         marked to avoid plt entry.
67039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67041         [BZ #14112]
67042         * Makeconfig (default-abi): New macro.
67043         (abi-includes): Likewise.
67044         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67045         $(abi-$(default-abi)-lib-soname) for soname if defined.
67046         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67047         abi-variants.
67048         * Makefile (installed-stubs): Likewise.
67049         * include/stubs-biarch.h: Removed.
67050         * scripts/lib-names.awk: Only handle one library at a time.
67051         * scripts/soversions.awk: Remove WORDSIZE support.
67052         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67053         entries.
67054         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67055         Removed.
67056         (syscall-list-default-condition): Likewise.
67057         (syscall-list-default-condition): Likewise.
67058         (syscall-list-includes): Likewise.
67059         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67060         syscall-list-* with abi-*.  Handle undefined abi-variants.
67061         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67062         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67063         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67064         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67065         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67066         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67067         Removed.
67068         (syscall-list-32-options): Likewise.
67069         (syscall-list-32-condition): Likewise.
67070         (syscall-list-64-options): Likewise.
67071         (syscall-list-64-condition): Likewise.
67072         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67073         macro.
67074         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67075         Renamed to ...
67076         (abi-*): This.
67077         (abi-64-ld-soname): New macro.
67078         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67079         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67080         Renamed to ...
67081         (abi-*): This.
67082         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67083         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67085 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67087         * sysdeps/unix/sysv/linux/kernel-features.h
67088         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67089         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67090         include <kernel-features.h>.
67091         [!__NR_ftruncate64]: Remove conditional code.
67092         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67093         [__NR_ftruncate64]: Make code unconditional.
67094         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67095         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67096         include <kernel-features.h>.
67097         [!__NR_ftruncate64]: Remove conditional code.
67098         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67099         [__NR_ftruncate64]: Make code unconditional.
67100         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67102         include <kernel-features.h>.
67103         [!__NR_ftruncate64]: Remove conditional code.
67104         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67105         [__NR_ftruncate64]: Make code unconditional.
67106         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67108         include <kernel-features.h>.
67109         [!__NR_ftruncate64]: Remove conditional code.
67110         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67111         [__NR_ftruncate64]: Make code unconditional.
67112         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67114         * configure.in (libc_cv_fpie): Weaken to a compile test using
67115         LIBC_TRY_CC_OPTION.
67116         * configure: Regenerated.
67118 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67124         Refreshed.
67125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67131         Refreshed.
67133 2012-05-27  David S. Miller  <davem@davemloft.net>
67135         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67136         (___Q_zero): New.
67137         (__Q_simulate_exceptions): Return void.  Change to simulate
67138         exceptions by writing into the %fsr.
67139         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67140         (__Qp_handle_exceptions): Likewise.
67141         (numbers): Delete.
67142         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67143         __Qp_handle_exceptions.
67144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67145         __Qp_handle_exceptions.
67146         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67147         as unused and give dummy FP_RND_NEAREST initializer.
67148         (FP_INHIBIT_RESULTS): Define.
67149         (___Q_simulate_exceptions): Update declaration.
67150         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67151         formatting.
67152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67153         as unused and give dummy FP_RND_NEAREST initializer.
67154         (__Qp_handle_exceptions): Update declaration.
67155         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67156         formatting.
67158 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67160         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67161         the temporary FPU control word.
67162         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67163         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67164         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67165         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67166         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67167         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67168         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67169         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67170         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67171         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67172         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67174 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67176         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67177         fields.
67179 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67181         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67182         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67183         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67184         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67185         Likewise.
67186         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67187         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67188         Likewise.
67190 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67192         * po/h.po: Update from translation team.
67194 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67196         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67198         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67199         handling of denormals.
67200         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67201         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67202         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67203         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67204         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67207         Likewise.
67209 2012-05-26  Marek Polacek  <polacek@redhat.com>
67211         [BZ #14152]
67212         * math/libm-test.inc (fma_test): Don't always expect underflow
67213         exception.
67215 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67217         [BZ #12416]
67218         * elf/tst-execstack.c: Include stackinfo.h.
67219         (do_test): Adjust test case to ensure that pthread_getattr_np
67220         behaviour remains the same after marking stack executable.
67222 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67224         * sysdeps/unix/sysv/linux/kernel-features.h
67225         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67226         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67227         kernel-features.h.
67228         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67229         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67230         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67231         kernel-features.h.
67232         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67233         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67235 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67237         * configure.in: Define the default includes to being none.
67238         * configure: Regenerated.
67240 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67242         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67243         * sysdeps/x86_64/setjmp.S: Likewise.
67244         * sysdeps/i386/bsd-setjmp.S: Likewise.
67245         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67246         * sysdeps/i386/setjmp.S: Likewise.
67247         * sysdeps/i386/__longjmp.S: Likewise.
67248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67249         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67251         * include/stap-probe.h: New file.
67252         * configure.in: Handle --enable-systemtap.
67253         * configure: Regenerated.
67254         * config.h.in (USE_STAP_PROBE): New #undef.
67255         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67256         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67257         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67259 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67261         [BZ #13717]
67262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67263         to 2.4.0 where earlier.
67264         * sysdeps/unix/sysv/linux/configure: Regenerated.
67265         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67266         <kernel-features.h>.
67267         [__ASSUME_32BITUIDS]: Make code unconditional.
67268         [!__ASSUME_32BITUIDS]: Remove conditional code.
67269         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67270         <kernel-features.h>.
67271         [__ASSUME_32BITUIDS]: Make code unconditional.
67272         [!__ASSUME_32BITUIDS]: Remove conditional code.
67273         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67274         [__ASSUME_32BITUIDS]: Make code unconditional.
67275         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67276         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67277         <kernel-features.h>.
67278         [__ASSUME_32BITUIDS]: Make code unconditional.
67279         [!__ASSUME_32BITUIDS]: Remove conditional code.
67280         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67281         <kernel-features.h>.
67282         [__ASSUME_32BITUIDS]: Make code unconditional.
67283         [!__ASSUME_32BITUIDS]: Remove conditional code.
67284         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67285         <kernel-features.h>.
67286         [__ASSUME_32BITUIDS]: Make code unconditional.
67287         [!__ASSUME_32BITUIDS]: Remove conditional code.
67288         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67289         <kernel-features.h>.
67290         [__ASSUME_32BITUIDS]: Make code unconditional.
67291         [!__ASSUME_32BITUIDS]: Remove conditional code.
67292         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67293         <kernel-features.h>.
67294         [__ASSUME_32BITUIDS]: Make code unconditional.
67295         [!__ASSUME_32BITUIDS]: Remove conditional code.
67296         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67297         <kernel-features.h>.
67298         [__ASSUME_32BITUIDS]: Make code unconditional.
67299         [!__ASSUME_32BITUIDS]: Remove conditional code.
67300         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67301         <kernel-features.h>.
67302         [__ASSUME_32BITUIDS]: Make code unconditional.
67303         [!__ASSUME_32BITUIDS]: Remove conditional code.
67304         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67305         <kernel-features.h>.
67306         [__ASSUME_32BITUIDS]: Make code unconditional.
67307         [!__ASSUME_32BITUIDS]: Remove conditional code.
67308         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67309         <kernel-features.h>.
67310         [__ASSUME_32BITUIDS]: Make code unconditional.
67311         [!__ASSUME_32BITUIDS]: Remove conditional code.
67312         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67313         <kernel-features.h>.
67314         [__ASSUME_32BITUIDS]: Make code unconditional.
67315         [!__ASSUME_32BITUIDS]: Remove conditional code.
67316         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67317         <kernel-features.h>.
67318         [__NR_setresgid] (__setresgid): Do not declare.
67319         [__ASSUME_32BITUIDS]: Make code unconditional.
67320         [!__ASSUME_32BITUIDS]: Remove conditional code.
67321         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67322         <kernel-features.h>.
67323         [__NR_setresuid] (__setresuid): Do not declare.
67324         [__ASSUME_32BITUIDS]: Make code unconditional.
67325         [!__ASSUME_32BITUIDS]: Remove conditional code.
67326         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67327         <kernel-features.h>.
67328         [__ASSUME_32BITUIDS]: Make code unconditional.
67329         [!__ASSUME_32BITUIDS]: Remove conditional code.
67330         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67331         <kernel-features.h>.
67332         [__ASSUME_32BITUIDS]: Make code unconditional.
67333         [!__ASSUME_32BITUIDS]: Remove conditional code.
67334         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67335         <kernel-features.h>.
67336         [__ASSUME_32BITUIDS]: Make code unconditional.
67337         [!__ASSUME_32BITUIDS]: Remove conditional code.
67338         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67339         <kernel-features.h>.
67340         [__ASSUME_32BITUIDS]: Make code unconditional.
67341         [!__ASSUME_32BITUIDS]: Remove conditional code.
67342         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67343         <kernel-features.h>.
67344         [__ASSUME_32BITUIDS]: Make code unconditional.
67345         [!__ASSUME_32BITUIDS]: Remove conditional code.
67346         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67347         <kernel-features.h>.
67348         [__ASSUME_32BITUIDS]: Make code unconditional.
67349         [!__ASSUME_32BITUIDS]: Remove conditional code.
67350         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67351         <kernel-features.h>.
67352         [__ASSUME_32BITUIDS]: Make code unconditional.
67353         [!__ASSUME_32BITUIDS]: Remove conditional code.
67354         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67355         <kernel-features.h>.
67356         [__ASSUME_32BITUIDS]: Make code unconditional.
67357         [!__ASSUME_32BITUIDS]: Remove conditional code.
67358         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67359         <kernel-features.h>.
67360         [__ASSUME_32BITUIDS]: Make code unconditional.
67361         [!__ASSUME_32BITUIDS]: Remove conditional code.
67362         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67363         <kernel-features.h>.
67364         [__ASSUME_32BITUIDS]: Make code unconditional.
67365         [!__ASSUME_32BITUIDS]: Remove conditional code.
67366         * sysdeps/unix/sysv/linux/kernel-features.h
67367         (__ASSUME_SETRESUID_SYSCALL): Remove.
67368         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67369         (__ASSUME_32BITUIDS): Likewise.
67370         (__ASSUME_LDT_WORKS): Likewise.
67371         (__ASSUME_O_DIRECTORY): Likewise.
67372         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67373         architecture but not kernel version.
67374         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67375         (__ASSUME_MMAP2_SYSCALL): Likewise.
67376         (__ASSUME_STAT64_SYSCALL): Likewise.
67377         (__ASSUME_IPC64): Likewise.
67378         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67379         <kernel-features.h>.
67380         [__ASSUME_32BITUIDS]: Make code unconditional.
67381         [!__ASSUME_32BITUIDS]: Remove conditional code.
67382         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67383         <kernel-features.h>.
67384         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67385         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67386         132096]: Remove conditional code.
67387         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67388         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
67393         <kernel-features.h>.
67394         [__ASSUME_32BITUIDS]: Make code unconditional.
67395         [!__ASSUME_32BITUIDS]: Remove conditional code.
67396         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67397         <kernel-features.h>.
67398         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67399         unconditional.
67400         (__setresgid): Do not declare.
67401         [__ASSUME_32BITUIDS]: Make code unconditional.
67402         [!__ASSUME_32BITUIDS]: Remove conditional code.
67403         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67404         <kernel-features.h>.
67405         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67406         unconditional.
67407         (__setresuid): Do not declare.
67408         [__ASSUME_32BITUIDS]: Make code unconditional.
67409         [!__ASSUME_32BITUIDS]: Remove conditional code.
67410         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67411         <kernel-features.h>.
67412         [__ASSUME_32BITUIDS]: Make code unconditional.
67413         [!__ASSUME_32BITUIDS]: Remove conditional code.
67414         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67415         <kernel-features.h>.
67416         [__ASSUME_32BITUIDS]: Make code unconditional.
67417         [!__ASSUME_32BITUIDS]: Remove conditional code.
67419 2012-05-25  Richard Henderson  <rth@twiddle.net>
67421         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67422         dl_hwcap to ifunc resolver.
67423         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67424         elf_ifunc_invoke.
67425         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67426         dl_hwcap to ifunc resolver.
67427         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67429 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67431         [BZ #14153]
67432         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67433         for |x| <= 2**-26, not 2**-57.
67434         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67435         exception.
67437 2012-05-24  Jeff Law  <law@redhat.com>
67439         * stdio-common/Makefile (tests): Add bug25.
67440         * stdio-common/bug25.c: New test.
67442 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67444         [BZ #13576]
67445         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67446         multiple of MALLOC_ALIGNMENT in size.
67447         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67449 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67451         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67452         Require >= 256.
67453         (FILENAME_MAX): Use macro-int-constant.
67454         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67455         (_IOFBF): Use macro-int-constant.
67456         (_IOLBF): Likewise.
67457         (_IONBF): Likewise.
67458         (SEEK_CUR): Likewise.
67459         (SEEK_END): Likewise.
67460         (SEEK_SET): Likewise.
67461         (TMP_MAX): Likewise.
67462         (EOF): Use macro-int-constant.  Require < 0.
67463         (NULL): Use macro-constant.  Require == 0.
67464         (stdin): Require type to be FILE *.
67465         (stdout): Likewise.
67466         (stderr): Likewise.
67467         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67468         macro-int-constant.
67469         (EXIT_SUCCESS): Likewise.
67470         (NULL): Use macro-constant.  Require == 0.
67471         (RAND_MAX): Use macro-int-constant.
67472         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67473         [C99-based standards] (strtof): Require function.
67474         [C99-based standards] (strtold): Likewise.
67475         [C99-based standards] (strtoll): Likewise.
67476         [C99-based standards] (strtoull): Likewise.
67477         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67478         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67479         [ISO || ISO99 || ISO11] (math.h): Likewise.
67480         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67481         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67482         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67484 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67486         [BZ #14132]
67487         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67488         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67489         * intl/dgettext.c (DCGETTEXT): Likewise.
67490         * intl/gettext.c (DCGETTEXT): Likewise.
67491         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67492         * posix/regex_internal.h (gettext): Likewise.
67493         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67494         Remove declaration.
67495         * include/argz.h (__argz_count_internal)
67496         (__argz_stringify_internal): Remove declaration.
67497         (__argz_count, __argz_stringify): Declare hidden proto.
67498         * intl/dcgettext.c: Remove use of INTDEF.
67499         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67500         * string/argz-stringify.c: Likewise.
67501         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67502         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67503         Declare hidden proto.
67504         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67505         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67506         Declare hidden proto.
67507         * include/stdio.h (__asprintf_internal): Don't declare.
67508         (__asprintf): Don't define as macro.  Declare hidden proto.
67509         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67510         (__fsetlocking): Declare hidden proto.
67511         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67512         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67513         hidden proto.
67514         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67515         (_IO_setlinebuf): Remove use of INTUSE.
67516         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67517         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67518         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67519         Remove declaration.
67520         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67521         (_IO_do_flush): Remove use of INTUSE.
67522         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67523         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67524         (_IO_adjust_column, _IO_least_wmarker)
67525         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67526         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67527         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67528         (_IO_default_doallocate, _IO_wdefault_doallocate)
67529         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67530         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67531         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67532         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67533         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67534         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67535         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67536         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67537         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67538         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67539         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67540         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67541         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67542         proto.
67543         (_IO_flush_all_internal, _IO_adjust_column_internal)
67544         (_IO_default_uflow_internal, _IO_default_finish_internal)
67545         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67546         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67547         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67548         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67549         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67550         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67551         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67552         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67553         (_IO_file_close_internal, _IO_file_close_it_internal)
67554         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67555         (_IO_file_init_internal, _IO_file_attach_internal)
67556         (_IO_file_fopen_internal, _IO_file_read_internal)
67557         (_IO_file_sync_internal, _IO_file_seek_internal)
67558         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67559         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67560         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67561         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67562         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67563         (_IO_list_all_internal, _IO_link_in_internal)
67564         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67565         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67566         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67567         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67568         (_IO_do_write_internal, _IO_padn_internal)
67569         (_IO_getline_info_internal, _IO_getline_internal)
67570         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67571         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67572         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67573         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67574         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67575         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67576         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67577         with libc_hidden_ver, remove use of INTUSE.
67578         * libio/genops.c: Likewise.
67579         * libio/freopen.c: Likewise.
67580         * libio/freopen64.c: Likewise.
67581         * libio/iofclose.c: Likewise.
67582         * libio/iofdopen.c: Likewise.
67583         * libio/iofflush.c: Likewise.
67584         * libio/iofflush_u.c: Likewise.
67585         * libio/iofgets.c: Likewise.
67586         * libio/iofgets_u.c: Likewise.
67587         * libio/iofopen.c: Likewise.
67588         * libio/iofopncook.c: Likewise.
67589         * libio/iofread.c: Likewise.
67590         * libio/iofread_u.c: Likewise.
67591         * libio/ioftell.c: Likewise.
67592         * libio/iofwrite.c: Likewise.
67593         * libio/iogetline.c: Likewise.
67594         * libio/iogets.c: Likewise.
67595         * libio/iogetwline.c: Likewise.
67596         * libio/iopadn.c: Likewise.
67597         * libio/iopopen.c: Likewise.
67598         * libio/ioseekoff.c: Likewise.
67599         * libio/ioseekpos.c: Likewise.
67600         * libio/iosetbuffer.c: Likewise.
67601         * libio/iosetvbuf.c: Likewise.
67602         * libio/ioungetc.c: Likewise.
67603         * libio/ioungetwc.c: Likewise.
67604         * libio/iovdprintf.c: Likewise.
67605         * libio/iovsprintf.c: Likewise.
67606         * libio/iovsscanf.c: Likewise.
67607         * libio/memstream.c: Likewise.
67608         * libio/obprintf.c: Likewise.
67609         * libio/oldfileops.c: Likewise.
67610         * libio/oldiofclose.c: Likewise.
67611         * libio/oldiofdopen.c: Likewise.
67612         * libio/oldiofopen.c: Likewise.
67613         * libio/oldiopopen.c: Likewise.
67614         * libio/oldstdfiles.c: Likewise.
67615         * libio/putc.c: Likewise.
67616         * libio/setbuf.c: Likewise.
67617         * libio/setlinebuf.c: Likewise.
67618         * libio/stdfiles.c: Likewise.
67619         * libio/strops.c: Likewise.
67620         * libio/vasprintf.c: Likewise.
67621         * libio/vscanf.c: Likewise.
67622         * libio/vsnprintf.c: Likewise.
67623         * libio/vswprintf.c: Likewise.
67624         * libio/wfiledoalloc.c: Likewise.
67625         * libio/wfileops.c: Likewise.
67626         * libio/wgenops.c: Likewise.
67627         * libio/wmemstream.c: Likewise.
67628         * libio/wstrops.c: Likewise.
67629         * libio/__fpurge.c: Likewise.
67630         * libio/__fsetlocking.c: Likewise.
67631         * assert/assert.c: Likewise.
67632         * debug/fgets_chk.c: Likewise.
67633         * debug/fgets_u_chk.c: Likewise.
67634         * debug/fread_chk.c: Likewise.
67635         * debug/fread_u_chk.c: Likewise.
67636         * debug/gets_chk.c: Likewise.
67637         * debug/obprintf_chk.c: Likewise.
67638         * debug/vasprintf_chk.c: Likewise.
67639         * debug/vdprintf_chk.c: Likewise.
67640         * debug/vsnprintf_chk.c: Likewise.
67641         * debug/vsprintf_chk.c: Likewise.
67642         * malloc/mtrace.c: Likewise.
67643         * misc/error.c: Likewise.
67644         * misc/syslog.c: Likewise.
67645         * stdio-common/asprintf.c: Likewise.
67646         * stdio-common/fxprintf.c: Likewise.
67647         * stdio-common/getw.c: Likewise.
67648         * stdio-common/isoc99_fscanf.c: Likewise.
67649         * stdio-common/isoc99_scanf.c: Likewise.
67650         * stdio-common/isoc99_vfscanf.c: Likewise.
67651         * stdio-common/isoc99_vscanf.c: Likewise.
67652         * stdio-common/isoc99_vsscanf.c: Likewise.
67653         * stdio-common/printf-prs.c: Likewise.
67654         * stdio-common/printf_fp.c: Likewise.
67655         * stdio-common/printf_fphex.c: Likewise.
67656         * stdio-common/printf_size.c: Likewise.
67657         * stdio-common/putw.c: Likewise.
67658         * stdio-common/scanf.c: Likewise.
67659         * stdio-common/sprintf.c: Likewise.
67660         * stdio-common/tmpfile.c: Likewise.
67661         * stdio-common/vfprintf.c: Likewise.
67662         * stdio-common/vfscanf.c: Likewise.
67663         * stdlib/strfmon_l.c: Likewise.
67664         * sunrpc/openchild.c: Likewise.
67665         * sunrpc/xdr_stdio.c: Likewise.
67666         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67667         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67669 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67671         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67673         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67674         in the third column, to generate for the shared library an IFUNC
67675         that uses _dl_vdso_vsym.
67676         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67677         * Makeconfig (object-suffixes-noshared): New variable.
67679         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67680         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67681         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67682         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67684         [BZ #14132]
67685         * include/sys/time.h (__gettimeofday): Remove macro.
67686         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67687         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67688         Remove INTDEF.
67689         (__gettimeofday): Add libc_hidden_def.
67690         (gettimeofday): Add libc_hidden_weak.
67691         * sysdeps/mach/gettimeofday.c: Likewise.
67692         * sysdeps/posix/gettimeofday.c: Likewise.
67693         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67694         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67695         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67696         (__gettimeofday_internal): Remove strong_alias.
67697         (__gettimeofday): Add libc_hidden_def.
67698         (gettimeofday): Add libc_hidden_weak.
67699         * sysdeps/unix/syscalls.list (gettimeofday):
67700         Remove __gettimeofday_internal alias.
67702 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67703             H.J. Lu  <hongjiu.lu@intel.com>
67705         [BZ #12495]
67706         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67707         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67708         (largebin_index_32_big): New.
67709         (largebin_index): Use it for 16-byte alignment.
67710         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67711         correction with front_misalign.
67713 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67717         Likewise.
67718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67719         Likewise.
67720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67721         Likewise.
67722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67723         Likewise.
67724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67725         Likewise.
67726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67727         Likewise.
67728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67729         Likewise.
67730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67731         Likewise.
67732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67733         Likewise.
67734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67735         Likewise.
67736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67737         Likewise.
67738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67739         Likewise.
67741         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67742         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67744 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67746         [BZ #10846]
67747         [BZ #14036]
67748         * math/libm-test.inc (exp_test): Add test from bug 14036.
67749         (pow_test): Add test from bug 10846.
67751         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67752         and other flags.
67753         (special_function): Do not include flags in test name.
67754         (parse_args): Likewise.
67755         * sysdeps/i386/fpu/libm-test-ulps: Update.
67756         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67757         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67758         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67761         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67762         exceptions.
67763         * math/libm-test.inc ("Philosophy"): Update comment about
67764         exception testing.
67765         (UNDERFLOW_EXCEPTION): New macro.
67766         (UNDERFLOW_EXCEPTION_OK): Likewise.
67767         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67768         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67769         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67770         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67771         (INVALID_EXCEPTION_OK): Update value.
67772         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67773         (OVERFLOW_EXCEPTION_OK): Likewise.
67774         (IGNORE_ZERO_INF_SIGN): Likewise.
67775         (test_exceptions): Handle underflow exceptions.
67776         (acos_test): Update for underflow exception expectations.
67777         (cexp_test): Likewise.
67778         (clog_test): Likewise.
67779         (clog10_test): Likewise.
67780         (csqrt_test): Likewise.
67781         (ctan_test): Likewise.
67782         (ctanh_test): Likewise.
67783         (exp_test): Likewise.
67784         (exp10_test): Likewise.
67785         (exp2_test): Likewise.
67786         (expm1_test): Likewise.
67787         (fma_test): Likewise.
67788         (j0_test): Likewise.
67789         (jn_test): Likewise.
67790         (nexttoward_test): Likewise.
67791         (pow_test): Likewise.
67792         (scalbn_test): Likewise.
67793         (scalbln_test): Likewise.
67794         (tan_test): Likewise.
67795         (y1_test): Likewise.
67796         * sysdeps/i386/fpu/libm-test-ulps: Update.
67797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67799 2012-05-23  David S. Miller  <davem@davemloft.net>
67801         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67802         (__libc_sigaction): Remove unused local variables.
67804 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67806         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67808 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67810         mktime: avoid signed integer overflow
67811         * time/mktime.c (__mktime_internal): Do not mishandle the case
67812         where diff == INT_MIN.
67814         mktime: simplify computation of average
67815         * time/mktime.c (ranged_convert): Use new time_t_avg function
67816         instead of rolling our own (probably-slower) code.
67818         mktime: do not assume signed right shift propagates sign bit
67819         * time/mktime.c (isdst_differ): New static function.
67820         (__mktime_internal): No need to normalize tm_isdst now.
67821         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67822         tm_isdst values.
67824         mktime: merge another wrapv change from gnulib
67825         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67826         from some compilers.
67828         mktime: remove incorrect attempt at unusual arithmetics
67829         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67830         The code didn't really work on such machines anyway.
67831         (TYPE_MINIMUM): Assume two's complement.
67832         (twos_complement_arithmetic): Verify that long_int and time_t
67833         are two's complement (or unsigned, in the latter case).
67835         mktime: check signed shifts on long_int and time_t, too
67836         * time/mktime.c (SHR): Check that shifts work as desired
67837         on the types long_int and time_t too, as SHR is used on
67838         such types.
67840         mktime: do not assume 'long' is wide enough
67841         * time/mktime.c (verify): Move decl up.
67842         (long_int): New type.
67843         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67844         to remove assumption in the code that 'long' is wide enough to
67845         store year values.  This assumption is not true on x32 and on
67846         some non-glibc platforms.
67848         mktime: merge wrapv change from gnulib
67849         * time/mktime.c (WRAPV): New macro.
67850         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67851         (guess_time_tm, __mktime_internal): Do not assume that signed
67852         integer overflow wraps around; modern compilers generate code
67853         where this assumption is no longer valid.
67855 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67857         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67858         Replace "jmp L(pseudo_end)" with "ret".
67859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67860         Likewise.
67862 2012-05-23  Andreas Jaeger  <aj@suse.de>
67864         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67865         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67867 2012-05-23  Andreas Jaeger  <aj@suse.de>
67868             Maximilian Attems  <max@stro.at>
67870         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67871         New macros.
67873 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67875         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67876         code so that pseudo_end is just ret and the stack pointer is
67877         correct also for static library in error case.
67879 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67881         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67882         move to syscalls.list.
67883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67888         * manual/install.texi (Running make install): Do not mention Linux
67889         kernel version for which pt_chown is not needed.
67890         (Linux): Do not mention problems with nscd with 2.0 kernels.
67891         * INSTALL: Regenerated.
67893 2012-05-23  Andreas Jaeger  <aj@suse.de>
67895         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67896         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67897         macro.
67898         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67899         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67900         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67901         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67902         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67903         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67904         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67905         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67906         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67907         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67908         * sysdeps/unix/sysv/linux/bits/in.h
67909         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67911 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67913         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67914         (PREPARE_VERSION): Just use assert instead, it will be elided
67915         under [NDEBUG] anyway.
67917 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67919         * sysdeps/unix/sysv/linux/Makefile: Include
67920         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67921         (sysdep_routines): Remove sysctl.
67922         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67923         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67924         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67925         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67926         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67928 2012-05-22  Andreas Jaeger  <aj@suse.de>
67930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67931         that pseudo_end is just ret and the stack pointer is correct also
67932         for static library in error case.
67934 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67936         [BZ #14122]
67937         * nss/nsswitch.c (defconfig_entries): New variable.
67938         (__nss_database_lookup): Don't leak defconfig entries.
67939         (nss_parse_service_list): Don't leak on error paths.
67940         (free_database_entries): New function.
67941         (free_defconfig): New function.
67942         (free_mem): Move common code to free_database_entries.
67944 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67946         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67947         Add arch_prctl.
67948         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67950         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67951         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67953         New macro.
67954         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67955         (INTERNAL_SYSCALL_TYPES): Likewise.
67956         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67957         (LOAD_REGS_TYPES_[1-6]): Likewise.
67958         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67959         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67961 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67963         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67964         copysignl for GLIBC_2_0.
67965         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67966         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67968         logbl for GLIBC_2_0.
67969         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67970         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67972 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67974         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67975         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67977         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67978         Use "neg %eax".
67980         * time/mktime.c: Update copyright years.
67982 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67984         mktime: merge comment-quoting-style change from gnulib
67985         * time/mktime.c: Quote 'like this' in comments.
67986         The GNU coding standards suggest that we no longer quote `like this',
67987         as "`" and "'" are typically rendered asymmetrically nowadays.
67988         The typical gnulib style is to quote 'like this' when quoting
67989         code, and "like this" when quoting English.
67991         * time/mktime.c (compile-command): Add "-I.".
67993         mktime: merge mktime-internal.h change from gnulib
67994         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67996         mktime: merge time_r change from gnulib
67997         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67999         mktime: merge DEBUG change from gnulib
68000         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68001         case system <time.h> has a #define.
68003         mktime: merge <sys/types.h> change from gnulib
68004         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68005         since <time.t> is now guaranteed to define time_t.
68007         mktime: merge HAVE_CONFIG_H change from gnulib
68008         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68010 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68013         Use "neg %eax".
68015         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68016         __rlim_t cast.
68017         (struct rusage): Use anonymous union to pad each field to
68018         __syscall_slong_t.
68020 2012-05-21  David S. Miller  <davem@davemloft.net>
68022         * Makefules (o-iterator): Remove .s cases.
68023         (compile-command.s): Delete.
68024         (COMPILE.s): Delete.
68025         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68027 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68029         * configure.in (libc_cv_predef_stack_protector): Only consider
68030         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68031         * configure: Regenerated.
68033 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68036         New macro.  Use R*LP on int and pointer.
68037         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68038         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68039         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68040         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68042         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68043         [__WORDSIZE_TIME64_COMPAT32] instead of
68044         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68045         (struct utmp): Likewise.
68046         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68047         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68048         Renamed to ...
68049         (__WORDSIZE_TIME64_COMPAT32): This.
68050         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68051         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68052         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68053         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68054         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68055         (__WORDSIZE_TIME64_COMPAT32): New macro.
68057 2012-05-21  Andreas Jaeger  <aj@suse.de>
68059         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68060         only if [SHARED]. Add prototype for __wcschr_ia32.
68062 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68064         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68065         of %rbp unmolested in the jmp_buf while mangling the low bits.
68066         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68067         unmolested high bits of %rbp while demangling the low bits.
68068         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68070 2012-05-21  Andreas Jaeger  <aj@suse.de>
68072         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68073         * sunrpc/svc_simple.c: Use it for registerrpc.
68074         * sunrpc/xcrypt.c: Use it for passwd2des.
68076         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68078 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68080         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68081         Don't define if [__SYSCALL_WORDSIZE != 32].
68082         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68083         New macro.
68085 2012-05-21  Bruno Haible  <bruno@clisp.org>
68086             Andreas Jaeger  <aj@suse.de>
68088         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68089         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68090         inptr and inend for must_buffer_ch.
68091         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68092         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68093         * stdio-common/Makefile (tests): Remove bug15.
68094         (bug15-ENV): Remove macro.
68095         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68096         anymore.
68098 2012-05-19  Andreas Jaeger  <aj@suse.de>
68099             Roland McGrath  <roland@hack.frob.com>
68101         * manual/contrib.texi: Completely rewritten. It contains now an
68102         alphabetical list of contributors and their contributions.
68104 2012-05-21  Richard Henderson  <rth@twiddle.net>
68106         * misc/getauxval.c (__getauxval): Use unsigned long int.
68107         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68108         (getauxval): Use unsigned long int.
68110 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68112         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68114 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68116         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68117         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68118         __alignof__ (long double).
68120 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68124 2012-05-20  Richard Henderson  <rth@twiddle.net>
68126         * misc/getauxval.c: New file.
68127         * misc/sys/auxv.h: New file.
68128         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68129         (routines): Add getauxval.
68130         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68131         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68132         * elf/dl-sysdep.c (_dl_auxv): Remove.
68133         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68134         * elf/dl-support.c (_dl_auxv): New variable.
68135         (_dl_aux_init): Initialize it.
68136         * manual/startup.texi (Auxiliary Vector): New node.
68137         * sysdeps/generic/bits/hwcap.h: New file.
68138         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68139         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68140         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68141         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68142         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68143         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68145         Update.
68146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68155 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68159 2012-05-19  David S. Miller  <davem@davemloft.net>
68161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68163 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68165         [BZ #14123]
68166         * math/s_ccosh.c: Include <float.h>
68167         (__ccosh): Avoid internal overflow calculating sinh and cosh
68168         values before multiplying by sin and cos values.
68169         * math/s_ccoshf.c: Likewise.
68170         * math/s_ccoshl.c: Likewise.
68171         * math/s_csin.c: Likewise.
68172         * math/s_csinf.c: Likewise.
68173         * math/s_csinl.c: Likewise.
68174         * math/s_csinh.c: Likewise.
68175         * math/s_csinhf.c: Likewise.
68176         * math/s_csinhl.c: Likewise.
68177         * math/libm-test.inc (ccos_test): Add more tests.
68178         (ccosh_test): Likewise.
68179         (csin_test): Likewise.
68180         (csinh_test): Likewise.
68181         * sysdeps/i386/fpu/libm-test-ulps: Update.
68182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68184 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68186         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68187         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68189         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68191 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68193         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68194         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68195         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68196         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68197         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68198         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68199         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68200         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68201         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68202         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68203         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68204         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68205         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68206         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68207         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68208         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68209         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68210         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68211         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68212         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68213         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68214         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68215         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68216         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68217         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68218         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68219         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68220         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68221         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68222         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68223         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68225 2012-05-18  Andreas Jaeger  <aj@suse.de>
68227         * csu/.gitignore: Delete.
68229 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68231         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68232         (timex): Use __syscall_slong_t.
68234 2012-05-18  Andreas Jaeger  <aj@suse.de>
68235             Carlos O'Donell  <carlos_odonell@mentor.com>
68237         * manual/install.texi (Configuring and compiling): Update
68238         description about files modified in the source directory.
68239         * INSTALL: Regenerated.
68241 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68243         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68244         value.  Use "or" to set return value to -1.
68245         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68246         negate return value.
68248 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68250         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68251         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68252         failure if the compiler has Graphite support disabled.
68253         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68254         Likewise.
68255         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68256         (CFLAGS-memmove.c): Likewise.
68257         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68258         Likewise.
68260 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68262         * sysdeps/x86_64/x32/_itoa.h: New file.
68264         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68265         getdents system call only if kernel and user dirents have the
68266         same d_ino and d_off.
68268         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68269         LLONG_MAX != LONG_MAX.
68270         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68271         (_fitoa_word): Likewise.
68273         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68274         years.
68275         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68276         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68277         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68279         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68280         include <bits/wordsize.h>.  Check __x86_64__ instead of
68281         __WORDSIZE.
68282         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68283         if __x86_64__ is defined.  Use anonymous union on fpstate.
68285         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68286         anonymous union.
68288 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68290         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68291         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68292         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68293         Refer to _rtld_local_ro instead of _rtld_global_ro.
68294         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68295         Likewise.
68296         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68297         Likewise.
68298         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68299         Likewise.
68300         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68301         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68302         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68304         [BZ #10882]
68305         * sysdeps/powerpc/powerpc32/dl-machine.c
68306         (__elf_machine_runtime_setup) [PROF]: Don't reference
68307         _dl_prof_resolve.
68309 2012-05-18  Andreas Jaeger  <aj@suse.de>
68311         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68312         function only available for GCCs before 3.4 since GCC 3.4
68313         introduced a builtin.
68314         (lrint): Likewise.
68315         (llrintf): Likewise.
68316         (llrint): Likewise.
68317         (fmaxf): Likewise.
68318         (fmax): Likewise.
68319         (fminf): Likewise.
68320         (fmin): Likewise.
68321         (rint): Likewise.
68322         (rintf): Likewise.
68323         (nearbyint): Likewise.
68324         (nearbyintf): Likewise.
68325         (ceil): Likewise.
68326         (ceilf): Likewise.
68327         (floor): Likewise.
68328         (floorf): Likewise.
68330 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68332         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68333         on both fields and cast pointer to __syscall_ulong_t.
68335         * bits/types.h (__fsword_t): New type.
68336         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68337         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68339         (__FSWORD_T_TYPE): Likewise.
68340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68341         (__FSWORD_T_TYPE): Likewise.
68342         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68343         (__FSWORD_T_TYPE): Likewise.
68344         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68345         (__FSWORD_T_TYPE): Likewise.
68346         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68347         __SWORD_TYPE with __fsword_t.
68348         (statfs64): Likewise.
68350 2012-05-17  David S. Miller  <davem@davemloft.net>
68352         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68354 2012-05-17  Andreas Jaeger  <aj@suse.de>
68356         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68357         warning.
68359 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68361         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68363 2012-05-17  Andreas Jaeger  <aj@suse.de>
68365         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68366         when it is used.
68368 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68370         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68372 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68374         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68375         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68377 2012-05-17  Andreas Jaeger  <aj@suse.de>
68378             Carlos O'Donell  <carlos_odonell@mentor.com>
68380         [BZ #14059]
68381         * sysdeps/x86_64/multiarch/init-arch.h
68382         (bit_YMM_Usable): Rename to...
68383         (bit_AVX_Usable): ... this.
68384         (bit_FMA4_Usable): New macro.
68385         (bit_XMM_state): New macro.
68386         (bit_YMM_state): New macro.
68387         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68388         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68389         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68390         (CPUID_OSXSAVE): New macro.
68391         (CPUID_AVX): New macro.
68392         (CPUID_FMA4): New macro.
68393         (index_YMM_Usable): Rename to...
68394         (index_AVX_Usable): ... this.
68395         (HAS_AVX): Use HAS_ARCH_FEATURE.
68396         (HAS_FMA4): Likewise.
68397         (HAS_YMM_USABLE): Remove.
68398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68399         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68400         are present.
68401         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68402         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68403         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68404         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68405         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68407 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68409         * math/libm-test.c: Support platforms without multiple rounding modes.
68410         * math/bug-nextafter.c: Support platforms without FP exceptions.
68411         * math/bug-nexttoward.c: Likewise.
68412         * math/test-fenv.c: Likewise.
68413         * math/test-misc.c: Likewise.
68414         * stdlib/bug-getcontext.c: Likewise.
68416 2012-05-17  Andreas Jaeger  <aj@suse.de>
68418         * manual/examples/search.c (critter_cmp): Change signature to
68419         avoid warnings.
68420         * manual/string.texi (Collation Functions): Likewise.
68422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68424         * bits/types.h: Fold copyright years.
68425         * bits/typesizes.h: Likewise.
68426         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68427         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68428         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68430         * time/time.h: Likewise.
68432 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68434         [BZ #208]
68435         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68436         in instead of returning them.  Return void.
68437         (__libc_mallinfo): Accumulate over all arenas.
68438         (__malloc_stats): Adjust for change in int_mallinfo interface.
68440 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68442         [BZ #10375]
68443         * configure.in (NM): Add AC_CHECK_TOOL for it.
68444         (libc_extra_cflags): New substituted variable.
68445         Check for -fstack-protector being used implicitly.
68446         * configure: Regenerated.
68447         * config.make.in (config-extra-cflags): New variable,
68448         gets @libc_extra_cflags@.
68449         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68451         [BZ #10375]
68452         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68453         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68454         * configure: Regenerated.
68455         * config.make.in (CPPUNDEFS): New substituted variable.
68456         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68457         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68458         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68462         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68463         (mq_attr): Use __syscall_slong_t.
68465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68467         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68468         Check __x86_64__ instead of __WORDSIZE.
68469         (_STAT_VER_LINUX): Likewise.
68470         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68471         __syscall_ulong_t and __syscall_slong_t.
68472         (stat64): Likewise.
68474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68476         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68478 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68480         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68482 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68484         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68485         __syscall_ulong_t.
68487         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68488         include <bits/wordsize.h>.  Check __x86_64__ instead of
68489         __WORDSIZE.
68490         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68491         defined.
68492         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68494         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68495         include <bits/wordsize.h>.  Check __x86_64__ instead of
68496         __WORDSIZE.
68497         (user_regs_struct): Use "__extension__ unsigned long long"
68498         instead of "unsigned long" if __x86_64__ is defined.
68499         (user): Likewise.  Pad after pointer field if __ILP32__ is
68500         defined.
68502 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68504         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68505         versions 5 to 9.
68506         * configure: Regenerated.
68507         * manual/install.texi (texinfo): Increase version requirement to
68508         4.5 or later.
68509         * INSTALL: Regenerated.
68511         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68515         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68517         * sysdeps/x86_64/x32/ffs.c: New file.
68519         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68520         __syscall_ulong_t.
68521         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68522         defined.  Use __syscall_ulong_t.
68523         (shminfo): Use __syscall_ulong_t.
68524         (shm_info): Likewise.
68526         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68527         __syscall_ulong_t.
68529         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68530         <bits/wordsize.h>.
68531         (msgqnum_t): Use __syscall_ulong_t.
68532         (msglen_t): Likewise.
68533         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68534         __syscall_ulong_t.
68536         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68537         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68539         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68541         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68542         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68544         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68545         __syscall_slong_t.
68547         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68548         include <bits/wordsize.h>.  Check __x86_64__ instead of
68549         __WORDSIZE.
68551         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68552         "unsigned long long int" if __x86_64__ is defined.
68553         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68555         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68556         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68557         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68559         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68560         <stdint.h>.
68561         (GET_PC): Cast to uintptr_t first.
68562         (GET_FRAME): Likewise.
68563         (GET_STACK): Likewise.
68565         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68566         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68567         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68568         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68569         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68570         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68571         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68572         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68573         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68574         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68575         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68576         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68577         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68578         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68579         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68580         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68581         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68582         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68583         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68584         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68585         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68586         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68587         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68588         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68589         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68590         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68591         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68592         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68593         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68595 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68597         * Makerules (+depfiles): Also collect depfiles from .oS in
68598         $(extra-objs).
68599         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68600         .oS, $(libnldbl-routines)).
68602         * Makerules (native-compile-mkdep-flags): Define.
68603         * sunrpc/Makefile (extra-objs): Add $(addprefix
68604         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68605         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68606         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68607         calling $(make-target-directory).
68609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68611         * bits/types.h (__snseconds_t): Removed.
68612         * time/time.h (struct timespec): Replace __snseconds_t with
68613         __syscall_slong_t.
68614         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68615         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68616         Likewise.
68617         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68618         (__SNSECONDS_T_TYPE): Likewise.
68619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68620         (__SNSECONDS_T_TYPE): Likewise.
68621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68622         (__SNSECONDS_T_TYPE): Likewise.
68624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68626         * sysdeps/mach/hurd/bits/typesizes.h
68627         (__SYSCALL_SLONG_TYPE): New macro.
68628         (__SYSCALL_ULONG_TYPE): Likewise.
68630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68632         * bits/types.h (__syscall_slong_t): New type.
68633         (__syscall_ulong_t): Likewise.
68635         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68636         (__SYSCALL_ULONG_TYPE): Likewise.
68637         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68638         (__SYSCALL_SLONG_TYPE): Likewise.
68639         (__SYSCALL_ULONG_TYPE): Likewise.
68640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68641         (__SYSCALL_SLONG_TYPE): Likewise.
68642         (__SYSCALL_ULONG_TYPE): Likewise.
68643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68644         (__SYSCALL_SLONG_TYPE): Likewise.
68645         (__SYSCALL_ULONG_TYPE): Likewise.
68647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68649         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68650         Add sigaltstack-offsets.sym.
68651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68652         <sigaltstack-offsets.h>.
68653         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68654         longjmp_msg pointer.
68655         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68656         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68657         signal stack.
68658         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68660 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68662         * elf/stackguard-macros.h: Remove file.
68663         * sysdeps/generic/stackguard-macros.h: New file.
68664         * sysdeps/i386/stackguard-macros.h: Likewise.
68665         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68666         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68667         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68668         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68669         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68670         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68671         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68672         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68673         <elf/stackguard-macros.h>.
68675         [BZ #14109]
68676         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68677         __aligned__ in attribute.
68678         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68679         (gregset_t): Likewise.
68681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68683         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68684         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68685         * sysdeps/x86_64/x32/Implies-after: New file.
68687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68689         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68690         and access return value for _dl_profile_fixup.  Use R10_LP to
68691         load frame size.
68693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68695         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68699         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68700         * sysdeps/x86_64/x32/sysdep.h: New file.
68702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68704         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68705         * sysdeps/x86_64/setjmp.S: Likewise.
68707 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68709         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68710         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68711         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68712         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68713         remove unused global constant.
68715 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68717         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68718         include of <not-cancel.h>.
68720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68722         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68724 2012-05-15  Jeff Law  <law@redhat.com>
68725             Andreas Jaeger  <aj@suse.de>
68727         [BZ #13594]
68728         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68729         out from...
68730         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68731         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68732         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68733         code changing __hst_map_handle.map.
68735 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68737         * configure.in (sysnames): Look for Implies-before and Implies-after
68738         files.
68739         * configure: Regenerated.
68741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68743         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68744         8-byte data alignment with LP_SIZE alignment.
68746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68748         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68749         into R10_LP.
68751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68753         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68757         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68758         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68759         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68760         Likewise.
68761         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68765         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68766         (stackinfo_sub_sp): Likewise.
68768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68770         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68771         RAX_LP.
68773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68775         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68776         into R*_LP.
68778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68780         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68781         sizes into R*_LP.
68783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68785         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68789         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68790         into R11_LP and load __x86_64_shared_cache_size_half into
68791         R8_LP.
68793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68795         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68796         R8_LP.
68798 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68800         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68801         logb for POWER7.
68802         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68803         logbf for POWER7.
68804         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68805         logbl for POWER7.
68806         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68807         powerpc32/power7/fpu/s_logb.c via #include.
68808         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68809         powerpc32/power7/fpu/s_logbf.c via #include.
68810         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68811         powerpc32/power7/fpu/s_logbl.c via #include.
68813 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68815         * README.libm: Remove file.
68817 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68819         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68820         count for x32.  Use R*_LP and omit operand-size suffix.
68822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68824         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68825         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68826         * sysdeps/x86_64/x32/shlib-versions: New file.
68828 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68830         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68831         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68832         Use _dl_fatal_printf instead.
68834 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68836         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68837         set if not set by the user.  Do not allow for being unset.
68838         * sysdeps/unix/sysv/linux/configure: Regenerated.
68840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68842         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68843         the `q' suffix from lea and replace .quad with ASM_ADDR.
68845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68847         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68848         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68849         instead of $17.
68850         (PTR_DEMANGLE): Likewise.
68852 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68854         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68855         (LP_OP): Likewise.
68856         (ASM_ADDR): Likewise.
68857         (RAX_LP): Likewise.
68858         (RBP_LP): Likewise.
68859         (RBX_LP): Likewise.
68860         (RCX_LP): Likewise.
68861         (RDI_LP): Likewise.
68862         (RSI_LP): Likewise.
68863         (RSP_LP): Likewise.
68864         (R8_LP): Likewise.
68865         (R9_LP): Likewise.
68866         (R10_LP): Likewise.
68867         (R10_LP): Likewise.
68868         (R11_LP): Likewise.
68869         (R12_LP): Likewise.
68870         (R13_LP): Likewise.
68871         (R14_LP): Likewise.
68872         (R15_LP): Likewise.
68874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68876         * sysdeps/x86_64/x32/dl-machine.h: New file.
68878 2012-05-14  Andreas Jaeger  <aj@suse.de>
68880         * manual/Makefile (subdir): Remove export of subdir.
68881         (all): Remove target.
68882         (.PHONY): Remove all from list.
68883         (mkinstalldirs): Remove.
68884         (.PHONY): Remove installdirs from list.
68885         ($(inst_infodir)/libc.info): Use make-target-directory.
68886         (installdirs): Remove.
68887         (subdir_%): Remove.
68888         (glibc-targets): Remove.
68889         (lib): Remove.
68890         (stubs): Remove.
68891         ($(objpfx)stubs ../po/manual.pot): Remove.
68892         ($(objpfx)stamp%): Remove.
68893         (make-target-directory): Remove.
68894         (subdir_install): Remove.
68895         (routines): Remove.
68896         (aux): Remove.
68897         (sources): Remove.
68898         (objects): Remove.
68899         (headers): Remove.
68901         [BZ #13750]
68902         * manual/.gitignore: Remove, it's not needed anymore.
68903         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68904         all files in it.
68905         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68906         directory.
68907         (texis): Renamed to $(objpfx)texis.
68908         (texis-path): New, contains path to generated files.
68909         (chapters.%): Use texis-path for complete path, add extra argument
68910         libc-texinfo.sh.
68911         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68912         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68913         (summary,texi, stamp-summary): Use complete path of
68914         files. Generate files in build dir.
68915         (dir-add.texi): Build in build dir.
68916         (libm-err.texi,stamp-libm-err): Likewise.
68917         (version.texi, stamp-version): Likewise.
68918         (.%c.texi): Likewise.
68919         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68920         (mostlyclean): Remove target.
68921         (realclean): Remove target.
68922         (generated): Add new variable with contents from mostlyclean and
68923         realclean, remove entries duplicated in common-mostlyclean, add
68924         stamp-libm-err and stamp-version.
68925         (generated-dirs): Add libc directory.
68926         ($(inst_infodir)/libc.info): Install files from build dir.
68928         * manual/install.texi (Configuring and compiling): Adjust since
68929         the info files are not part of the tar ball anymore.
68931 2012-05-14  Andreas Jaeger  <aj@suse.de>
68933         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68934         variable.
68936 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68938         [BZ #13717]
68939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68940         to 2.2.0 where earlier.
68941         * sysdeps/unix/sysv/linux/configure: Regenerated.
68942         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68943         Remove conditional code.
68944         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68945         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68946         Remove conditional code.
68947         [!__NR_lchown]: Likewise.
68948         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68949         [__NR_lchown]: Likewise.
68950         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68951         comment referencing __ASSUME_LCHOWN_SYSCALL.
68952         * sysdeps/unix/sysv/linux/i386/sigaction.c
68953         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68954         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68955         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68956         Remove conditional code.
68957         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68958         (__protocol_available): Remove #if 0 code.
68959         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68960         conditional code.
68961         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68962         * sysdeps/unix/sysv/linux/kernel-features.h
68963         (__ASSUME_GETCWD_SYSCALL): Don't define.
68964         (__ASSUME_REALTIME_SIGNALS): Likewise.
68965         (__ASSUME_PREAD_SYSCALL): Likewise.
68966         (__ASSUME_PWRITE_SYSCALL): Likewise.
68967         (__ASSUME_POLL_SYSCALL): Likewise.
68968         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68969         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68970         non-SPARC.
68971         (__ASSUME_SIOCGIFNAME): Don't define.
68972         (__ASSUME_MSG_NOSIGNAL): Likewise.
68973         (__ASSUME_SENDFILE): Define unconditionally.
68974         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68975         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68976         conditional code.
68977         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68978         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68979         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68980         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68981         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68982         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68983         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68988         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68989         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68994         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68995         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68997         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69000         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69001         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69006         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69007         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69008         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69009         Remove conditional code.
69010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69011         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69012         Remove conditional code.
69013         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69014         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69015         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69016         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69017         Remove conditional code.
69018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69019         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69020         Remove conditional code.
69021         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69022         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69023         Remove conditional code.
69024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69025         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69026         Remove conditional code.
69027         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69028         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69029         Remove conditional code.
69030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69031         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69032         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69033         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69034         * sysdeps/unix/sysv/linux/sigaction.c
69035         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69036         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69037         * sysdeps/unix/sysv/linux/sigpending.c
69038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69040         * sysdeps/unix/sysv/linux/sigprocmask.c
69041         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69042         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69043         * sysdeps/unix/sysv/linux/sigsuspend.c
69044         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69045         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69047         (__libc_missing_rt_sigs): Remove.
69048         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69049         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69050         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69051         Remove conditional code.
69052         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69053         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69054         return 1.
69055         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69056         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69057         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69058         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69060 2012-05-14  Andreas Jaeger  <aj@suse.de>
69062         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69063         it's not used in glibc.
69064         (__coshm1): Likewise.
69065         (__acosh1p): Likewise.
69066         (__sgn): Likewise.
69068         * manual/string.texi (Copying and Concatenation): Add missing
69069         variable in concat example.
69070         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69072 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69074         [BZ #14103]
69075         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69076         __builtin_clzl with __builtin_clzll.
69078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69080         [BZ #14104]
69081         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69082         libc_freeres_ptr.
69084 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69086         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69087         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69088         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69089         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69091 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69093         * NEWS: Update ia64 info.
69095 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69097         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69098         used as bcopy.
69100 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69102         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69103         * sysdeps/unix/syscalls.list (dup3): Likewise.
69104         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69105         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69107 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69109         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69110         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69112 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69114         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69115         thread pointer.
69116         (TLS_IE): Use mov/add instead of movq/addq to load thread
69117         pointer.
69118         (TLS_GD_PREFIX): New.
69119         (TLS_GD): Use it.
69121 2012-05-11  David S. Miller  <davem@davemloft.net>
69123         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69124         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69125         (_FPU_SETCW): Likewise.
69127 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69129         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69130         is 32-byte aligned.
69132 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69134         [BZ #11837]
69135         * iconvdata/gb18030.c: Update tables.
69136         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69137         characters specially.
69138         (BODY for TO_LOOP): Add encoding of missing ranges.
69140 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69142         [BZ #13673]
69143         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69144         * sysdeps/mach/hurd/dup3.c: Likewise.
69145         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69146         * sysdeps/powerpc/memmove.c:: Likewise.
69148 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69150         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69151         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69153 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69155         * elf/elf.h (R_X86_64_RELATIVE64): New.
69156         (R_X86_64_NUM): Updated.
69157         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69158         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69159         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69160         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69161         tst-quad1pie tst-quad2pie
69162         (modules-names): Add tst-quadmod1 tst-quadmod2.
69163         ($(objpfx)tst-quad1): New dependency.
69164         ($(objpfx)tst-quad2): Likewise.
69165         ($(objpfx)tst-quad1pie): Likewise.
69166         ($(objpfx)tst-quad2pie): Likewise.
69167         * sysdeps/x86_64/tst-quad1.c: New file.
69168         * sysdeps/x86_64/tst-quad1pie.c: New file.
69169         * sysdeps/x86_64/tst-quad2.c: Likewise.
69170         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69171         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69172         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69173         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69174         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69178         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69179         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69180         * streams/stropts.h (t_scalar_t): Define type.
69182         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69183         (_PATH_PRESERVE): Set to "/var/lib".
69184         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69186         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69187         instead of int.
69189         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69190         if __dir_mkfile succeeded.
69192         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69193         checking for _hurd_dtablesize.  Unlock it right after having
69194         finished _hurd_dtable allocation.
69196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69198         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69199         * sysdeps/mach/hurd/configure: Regenerated.
69200         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69201         special-casing to...
69202         * sysdeps/gnu/configure.in: ... this new file.
69203         * sysdeps/unix/sysv/linux/configure: Regenerated.
69204         * sysdeps/gnu/configure: New generated file.
69206         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69207         for Linux: use nsec instead of usec, as well as:
69208         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69209         members of type struct timespec.
69210         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69211         New macros.
69212         (struct stat64): Likewise.
69213         (_STATBUF_ST_NSEC): New macro.
69214         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69216         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69217         __strtoul_internal rather than strtoul.
69219 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69221         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69222         and reject them.
69224 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69226         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69227         which preserves existing values.
69228         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69230 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69232         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69233         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69234         greater than FD_SETSIZE.
69236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69238         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69239         allocated, call __vm_protect to finish enabling the existing space, and
69240         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69241         allocate the remainder.
69243 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69245         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69246         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69250         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69251         sysdeps/mach/hurd/readlink.c.
69253         * posix/tst-sysconf.c (posix_options): Only use
69254         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69255         _POSIX_SYNCHRONIZED_IO when they are defined
69256         * sysdeps/mach/hurd/bits/posix_opt.h:
69257         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69258         (_XOPEN_REALTIME): Undefine macro.
69259         (_XOPEN_REALTIME_THREADS): Undefine macro.
69260         (_XOPEN_SHM): Undefine macro.
69261         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69262         macro to -1.
69263         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69264         macro to -1.
69265         (_POSIX_ASYNC_IO): Undefine macro.
69266         (_POSIX_PRIORITIZED_IO): Undefine macro.
69267         (_POSIX_SPIN_LOCKS): Define macro to -1.
69269         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69270         SA_NODEFER, SA_RESETHAND.
69271         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69272         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69273         F_DUPFD_CLOEXEC.
69275 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69277         * elf/Makefile (pldd-modules): Define unconditionally.
69279 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69281         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69283 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69285         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69286         Return ENOENT when name is empty.
69287         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69291         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69293         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69297         Fix mlock in all cases except non-readable pages.
69298         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69299         instead of VM_PROT_ALL as parameter to __vm_wire function.
69301         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69302         (__mkdir): When path is `/', just fail with EEXIST.
69303         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69305 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69307         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69308         <sys/uio.h> (for writev).
69309         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69310         and <sys/param.h> (for MIN).
69312 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69314         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69315         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69316         if interrupted.
69318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69320         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69321         Depend on against $(link-rpcuserlibs).
69323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69325         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69326         (__libc_stack_end): Do not use attribute_relro.
69327         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69328         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69329         to libthread-provided value.
69330         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69331         attribute_relro.
69333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69335         [BZ #3748]
69336         * bits/libc-lock.h (__libc_once_get): New macro.
69337         * sysdeps/mach/bits/libc-lock.h: Likewise.
69338         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69339         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69340         instead of using implementation details.
69342         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69343         * libio/freopen.c: Likewise.
69344         * libio/freopen64.c: Likewise.
69345         * misc/syslog.c: Likewise.
69346         * nscd/connections.c: Likewise.
69347         * nscd/netgroupcache.c: Likewise.
69348         * sysdeps/posix/getcwd.c: Likewise.
69350 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69352         * math/w_ilogbf.c: Add #include <limits.h>.
69354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69356         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69357         path instead of returning without unlocking.
69359         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69360         immediate-write ioctls.
69361         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69365         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69366         __builtin_frame_address instead of making assumptions about the
69367         location of the return address relative to DATA.  Force early load of
69368         the return address.
69369         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69370         __builtin_frame_address.
69372         dup3 for GNU Hurd.
69373         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69374         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69375         implement dup3 and do some further code clean-ups.
69376         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69377         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69379 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69381         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69383         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69384         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69385         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69386         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69387         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69388         d->port.lock.
69390         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69391         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69392         when handler == SIG_ERR, not when handler != SIG_ERR.
69394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69396         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69397         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69398         definitions.
69400         accept4 for GNU Hurd.
69401         * include/sys/socket.h (__libc_accept4): New prototype.
69402         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69403         to implement __libc_accept4.
69404         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69405         __libc_accept4.
69406         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69408         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69409         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69410         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69411         signal-defines.sym.
69413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69415         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69417 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69419         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69420         assertion on O_CLOEXEC flag.
69421         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69422         * hurd/intern-fd.c: Likewise.
69423         * hurd/port2fd.c: Likewise.
69425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69427         [BZ #3906]
69428         * bits/in.h (IPV6_PKTINFO): Define new macro.
69429         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69431 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69433         [BZ #13954]
69434         [BZ #13955]
69435         [BZ #13956]
69436         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69437         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69438         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69439         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69440         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69441         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69442         * math/libm-test.inc (logb_test) : Additional logb tests.
69444 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69445             Andreas Jaeger  <aj@suse.de>
69447         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69448         * configure: Regenerated.
69449         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69450         * config.make.in (link-obsolete-rpc): New substituted variable.
69451         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69452         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69453         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69454         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69455         so that libc.a contains the symbols.
69456         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69457         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69458         * sunrpc/auth_none.c: Likewise.
69459         * sunrpc/auth_unix.c: Likewise.
69460         * sunrpc/authdes_prot.c: Likewise.
69461         * sunrpc/authuxprot.c: Likewise.
69462         * sunrpc/clnt_gen.c: Likewise.
69463         * sunrpc/clnt_perr.c: Likewise.
69464         * sunrpc/clnt_raw.c: Likewise.
69465         * sunrpc/clnt_simp.c: Likewise.
69466         * sunrpc/clnt_tcp.c: Likewise.
69467         * sunrpc/clnt_udp.c: Likewise.
69468         * sunrpc/clnt_unix.c: Likewise.
69469         * sunrpc/des_crypt.c: Likewise.
69470         * sunrpc/des_soft.c: Likewise.
69471         * sunrpc/get_myaddr.c: Likewise.
69472         * sunrpc/key_call.c: Likewise.
69473         * sunrpc/key_prot.c: Likewise.
69474         * sunrpc/netname.c: Likewise.
69475         * sunrpc/pm_getmaps.c: Likewise.
69476         * sunrpc/pm_getport.c: Likewise.
69477         * sunrpc/pmap_clnt.c: Likewise.
69478         * sunrpc/pmap_prot.c: Likewise.
69479         * sunrpc/pmap_prot2.c: Likewise.
69480         * sunrpc/pmap_rmt.c: Likewise.
69481         * sunrpc/publickey.c: Likewise.
69482         * sunrpc/rpc_cmsg.c: Likewise.
69483         * sunrpc/rpc_common.c: Likewise.
69484         * sunrpc/rpc_dtable.c: Likewise.
69485         * sunrpc/rpc_prot.c: Likewise.
69486         * sunrpc/rpc_thread.c: Likewise.
69487         * sunrpc/rtime.c: Likewise.
69488         * sunrpc/svc.c: Likewise.
69489         * sunrpc/svc_auth.c: Likewise.
69490         * sunrpc/svc_raw.c: Likewise.
69491         * sunrpc/svc_run.c: Likewise.
69492         * sunrpc/svc_tcp.c: Likewise.
69493         * sunrpc/svc_udp.c: Likewise.
69494         * sunrpc/svc_unix.c: Likewise.
69495         * sunrpc/svcauth_des.c: Likewise.
69496         * sunrpc/xcrypt.c: Likewise.
69497         * sunrpc/xdr.c: Likewise.
69498         * sunrpc/xdr_array.c: Likewise.
69499         * sunrpc/xdr_float.c: Likewise.
69500         * sunrpc/xdr_intXX_t.c: Likewise.
69501         * sunrpc/xdr_mem.c: Likewise.
69502         * sunrpc/xdr_rec.c: Likewise.
69503         * sunrpc/xdr_ref.c: Likewise.
69504         * sunrpc/xdr_sizeof.c: Likewise.
69505         * sunrpc/xdr_stdio.c: Likewise.
69507 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69509         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69510         change.  Update copyright years.
69512 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69514         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69516 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69517             Joseph Myers  <joseph@codesourcery.com>
69518             Paul Pluzhnikov  <ppluzhnikov@google.com>
69520         [BZ #14012]
69521         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69522         requiring rpcgen.
69523         [cross-compiling] (extra-libs): Likewise.
69524         [cross-compiling] (extra-libs-others): Likewise.
69525         [cross-compiling] (librpcsvc-routines): Likewise.
69526         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69527         [cross-compiling] (omit-deps): Likewise.
69528         (sunrpc-CPPFLAGS): New variable.
69529         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69530         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69531         (cross-rpcgen-objs): New variable.
69532         (extra-objs): Append $(cross-rpcgen-objs).
69533         ($(cross-rpcgen-objs)): New rule.
69534         ($(objpfx)cross-rpcgen): Likewise.
69535         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69536         comment.
69537         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69538         ($(objpfx)x%.stmp): Likewise.
69539         * sunrpc/proto.h [IS_IN_build] (_): Define.
69540         [IS_IN_build] (_libc_intl_domainname): Likewise.
69542 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69544         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69545         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69546         and R_X86_64_TPOFF64.
69548 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69550         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69551         sysdeps/unix/sysv/syscalls.list.
69552         (stime): Likewise.
69553         (utime): Likewise.
69554         * sysdeps/unix/sysv/syscalls.list: Remove file.
69556 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69558         [BZ #3440]
69559         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69560         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69561         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69562         (__LC_IDENTIFICATION): Make these macros useful in #if
69563         expressions, as required by C99.
69565 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69567         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69568         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69569         after this.
69571 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69573         * stdlib/longlong.h: Updated from GCC.
69575 2012-05-09  Andreas Jaeger  <aj@suse.de>
69577         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69578         default is first entry.
69579         (run_mode): Set type.
69580         (main): Remove informal message about syslog.
69581         (options): Fix typo.
69583         [BZ #14053]
69584         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69585         to asm.
69586         (lrint): Likewise.
69587         (llrintf): Likewise.
69588         (llrint): Likewise.
69589         (rint): Likewise.
69590         (rintf): Likewise.
69591         (nearbyint): Likewise.
69592         (nearbyintf): Likewise.
69594 2012-05-09  Andreas Jaeger  <aj@suse.de>
69595             Pedro Alves  <palves@redhat.com>
69597         * nscd/nscd.c (run_mode): Use enum.
69598         (main): Cleanup coding style issue.
69600 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69601             Andreas Jaeger  <aj@suse.de>
69603         * nscd/nscd.c (go_background): Replaced with...
69604         (run_mode): ... this.
69605         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69606         (options): Add -F --foreground.
69607         (main): Implement it.
69608         (parse_opt): Parse it.
69610 2012-05-09  Andreas Jaeger  <aj@suse.de>
69612         [BZ #14083]
69613         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69614         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69615         -Wconversion warning.
69616         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69617         Likewise.
69619 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69621         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69622         == 0.
69623         (LC_ALL): Use macro-int-constant.
69624         (LC_COLLATE): Likewise.
69625         (LC_CTYPE): Likewise.
69626         (LC_MESSAGES): Likewise.
69627         (LC_MONETARY): Likewise.
69628         (LC_NUMERIC): Likewise.
69629         (LC_TIME): Likewise.
69630         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69631         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69632         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69633         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69634         Specify type.
69635         [C99-based standards] (float_t): Expect type.
69636         [C99-based standards] (double_t): Expect type.
69637         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69638         type.
69639         [C99-based standards] (HUGE_VALL): Likewise.
69640         [C99-based standards] (INFINITY): Likewise.
69641         [C99-based standards] (NAN): Likewise.
69642         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69643         [C99-based standards] (FP_NAN): Likewise.
69644         [C99-based standards] (FP_NORMAL): Likewise.
69645         [C99-based standards] (FP_SUBNORMAL): Likewise.
69646         [C99-based standards] (FP_ZERO): Likewise.
69647         [C99-based standards] (FP_FAST_FMA): Use
69648         optional-macro-int-constant.  Specify type.  Require == 1.
69649         [C99-based standards] (FP_FAST_FMAF): Likewise.
69650         [C99-based standards] (FP_FAST_FMAL): Likewise.
69651         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69652         [C99-based standards] (FP_ILOGBNAN): Likewise.
69653         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69654         Specify type.
69655         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69656         [C99-based standards] (math_errhandling): Specify type.
69657         [ISO99 || ISO11] (signgam): Do not allow.
69658         [non-C99-based standards] (copysignf): Do not allow.
69659         [non-C99-based standards] (exp2f): Likewise.
69660         [non-C99-based standards] (log2f): Likewise.
69661         [non-C99-based standards] (modff): Allow.
69662         [non-C99-based standards] (erff): Do not allow.
69663         [non-C99-based standards] (erfcf): Likewise.
69664         [non-C99-based standards] (gammaf): Likewise.
69665         [non-C99-based standards] (hypotf): Likewise.
69666         [non-C99-based standards] (j0f): Likewise.
69667         [non-C99-based standards] (j1f): Likewise.
69668         [non-C99-based standards] (jnf): Likewise.
69669         [non-C99-based standards] (lgammaf): Likewise.
69670         [non-C99-based standards] (tgammaf): Likewise.
69671         [non-C99-based standards] (y0f): Likewise.
69672         [non-C99-based standards] (y1f): Likewise.
69673         [non-C99-based standards] (ynf): Likewise.
69674         [non-C99-based standards] (isnanf): Likewise.
69675         [non-C99-based standards] (acoshf): Likewise.
69676         [non-C99-based standards] (asinhf): Likewise.
69677         [non-C99-based standards] (atanhf): Likewise.
69678         [non-C99-based standards] (cbrtf): Likewise.
69679         [non-C99-based standards] (expm1f): Likewise.
69680         [non-C99-based standards] (ilogbf): Likewise.
69681         [non-C99-based standards] (log1pf): Likewise.
69682         [non-C99-based standards] (logbf): Likewise.
69683         [non-C99-based standards] (nextafterf): Likewise.
69684         [non-C99-based standards] (remainderf): Likewise.
69685         [non-C99-based standards] (rintf): Likewise.
69686         [non-C99-based standards] (scalbf): Likewise.
69687         [non-C99-based standards] (copysignl): Likewise.
69688         [non-C99-based standards] (exp2l): Likewise.
69689         [non-C99-based standards] (log2l): Likewise.
69690         [non-C99-based standards] (modfl): Allow.
69691         [non-C99-based standards] (erfl): Do not allow.
69692         [non-C99-based standards] (erfcl): Likewise.
69693         [non-C99-based standards] (gammal): Likewise.
69694         [non-C99-based standards] (hypotl): Likewise.
69695         [non-C99-based standards] (j0l): Likewise.
69696         [non-C99-based standards] (j1l): Likewise.
69697         [non-C99-based standards] (jnl): Likewise.
69698         [non-C99-based standards] (lgammal): Likewise.
69699         [non-C99-based standards] (tgammal): Likewise.
69700         [non-C99-based standards] (y0l): Likewise.
69701         [non-C99-based standards] (y1l): Likewise.
69702         [non-C99-based standards] (ynl): Likewise.
69703         [non-C99-based standards] (isnanl): Likewise.
69704         [non-C99-based standards] (acoshl): Likewise.
69705         [non-C99-based standards] (asinhl): Likewise.
69706         [non-C99-based standards] (atanhl): Likewise.
69707         [non-C99-based standards] (cbrtl): Likewise.
69708         [non-C99-based standards] (expm1l): Likewise.
69709         [non-C99-based standards] (ilogbl): Likewise.
69710         [non-C99-based standards] (log1pl): Likewise.
69711         [non-C99-based standards] (logbl): Likewise.
69712         [non-C99-based standards] (nextafterl): Likewise.
69713         [non-C99-based standards] (remainderl): Likewise.
69714         [non-C99-based standards] (rintl): Likewise.
69715         [non-C99-based standards] (scalbl): Likewise.
69716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69717         [non-C99-based standards] (FP_*): Do not allow.
69718         [C99-based standards] (FP_*): Change to
69719         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69720         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69721         allow.
69722         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69723         (SIG_ERR): Likewise.
69724         [X/Open-based standards] (SIG_HOLD): Likewise.
69725         (SIG_IGN): Likewise.
69726         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69727         positive value.
69728         (SIGFPE): Likewise.
69729         (SIGILL): Likewise.
69730         (SIGINT): Likewise.
69731         (SIGSEGV): Likewise.
69732         (SIGTER): Likewise.
69733         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69734         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69735         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69736         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69737         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69738         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69739         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69740         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69741         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69742         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69743         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69744         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69745         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69746         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69747         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69748         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69749         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69750         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69751         [X/Open-based standards] (SIGTRAP): Likewise.
69752         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69753         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69754         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69755         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69756         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69757         allow.
69759 2012-05-08  Ian Wienand  <ianw@vmware.com>
69761         [BZ #14080]
69762         * time/tzset.c (__tzset_parse_tz): Update default rules for
69763         daylight time changes in the Energy Policy Act of 2005.
69765 2012-05-09  Andreas Jaeger  <aj@suse.de>
69767         [BZ #13983]
69768         * elf/ldconfig.c (parse_conf): Change string to make clear that
69769         ldconfig only issued a warning if ld.so.conf does not exist.
69771 2012-05-08  David S. Miller  <davem@davemloft.net>
69773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69774         movxtod instead of popping the value on the stack.
69776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69778 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69780         * config.h.in: Add HAVE_ARM_PCS_VFP.
69782 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69784         [BZ #13979]
69785         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69786         checking but the checks are disabled for any reason.
69788 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69790         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69791         and ELF64_R_TYPE with ELFW(R_TYPE).
69793 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69795         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69796         (ulimit): Likewise.
69798         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69799         (settimeofday): Likewise.
69801 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69803         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69804         a struct th_u2 inside the union, and move tu_block/tu_code into
69805         a new th_u3 union of tu_block/tu_code inside of that.  Move
69806         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69807         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69808         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69809         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69810         (th_stuff): Change to th_u1.tu_stuff.
69811         (th_data): Define.
69812         (th_msg): Change to th_u1.th_u2.tu_data.
69814 2012-05-07  David S. Miller  <davem@davemloft.net>
69816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69818         [BZ #14074]
69819         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69820         (SETUP_PIC_REG): Use it.
69821         (SETUP_PIC_REG_LEAF): Use it.
69823 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69825         [BZ #13885]
69826         [BZ #13923]
69827         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69828         USE_AS_EXPM1L.
69829         (EXPL_FINITE): Likewise.
69830         (FLDLOG): Likewise.
69831         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69832         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69833         e_expl.S.
69834         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69835         USE_AS_EXPM1L.
69836         (EXPL_FINITE): Likewise.
69837         (FLDLOG): Likewise.
69838         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69839         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69840         e_expl.S.
69841         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69842         test of -max_value argument for long double.
69843         * sysdeps/i386/fpu/libm-test-ulps: Update.
69844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69846 2012-05-06  David S. Miller  <davem@davemloft.net>
69848         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69849         quad soft-float symbols whose references which are compiler
69850         generated.
69851         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69853 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69855         [BZ #13884]
69856         [BZ #13914]
69857         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69858         USE_AS_EXP10L.
69859         (EXPL_FINITE): Likewise.
69860         (FLDLOG): Likewise.
69861         (c0): Likewise.
69862         (c1): Likewise.
69863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69864         Adjust comments for base varying.
69865         (__expl_finite): Change alias to EXPL_FINITE.
69866         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69867         e_expl.S.
69868         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69869         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69871         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69872         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69873         USE_AS_EXP10L.
69874         (EXPL_FINITE): Likewise.
69875         (FLDLOG): Likewise.
69876         (c0): Likewise.
69877         (c1): Likewise.
69878         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69879         Adjust comments for base varying.
69880         (__expl_finite): Change alias to EXPL_FINITE.
69881         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69882         tests for bugs.
69883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69885         [BZ #14064]
69886         * math/libm-test.inc (check_float_internal): Correct ulp
69887         calculation for subnormal expected results.
69889 2012-05-06  Andreas Jaeger  <aj@suse.de>
69891         * Makeconfig (+math-flags): New, set to -frounding-math.
69892         (+cflags): Add +math-flags so that all of glibc gets compiled with
69893         it.
69895         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69897 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69899         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69900         Disable one test.
69902         [BZ #13787]
69903         [BZ #13922]
69904         [BZ #14036]
69905         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69906         (__ieee754_expl): Allow for and saturate large arguments.
69907         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69908         (u_threshold): Likewise.
69909         (__exp): Call __ieee754_exp before checking for overflow and
69910         underflow.
69911         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69912         (u_threshold): Likewise.
69913         (__expf): Call __ieee754_expf before checking for overflow and
69914         underflow.
69915         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69916         (u_threshold): Likewise.
69917         (__expl): Call __ieee754_expl before checking for overflow and
69918         underflow.
69919         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69920         (__ieee754_expl): Allow for and saturate large arguments.
69921         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69922         missing overflow exception on overflow.
69923         (expm1_test): Do not allow missing overflow exception on overflow.
69925         * sysdeps/i386/fpu/e_expl.c: Move to ...
69926         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69927         rather than using inline asm.
69928         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69929         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69930         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69932         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69933         (nice): Likewise.
69934         (poll): Likewise.
69935         (signal): Likewise.
69936         (time): Likewise.
69937         (times): Likewise.
69939 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69941         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69942         sysdeps/unix/common/syscalls.list.
69943         (fchmod): Likewise.
69944         (fchown): Likewise.
69945         (ftruncate): Likewise.
69946         (getrusage): Likewise.
69947         (gettimeofday): Likewise.
69948         (setpgid): Likewise.
69949         (setregid): Likewise.
69950         (setreuid): Likewise.
69951         (sigaction): Likewise.
69952         (truncate): Likewise.
69953         (vhangup): Likewise.
69954         * sysdeps/unix/common/syscalls.list: Remove file.
69955         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69956         * sysdeps/unix/sysv/linux/Implies: Likewise.
69958 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69960         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69962         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69963         Moved to ...
69964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69965         Here.
69966         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69967         to ...
69968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69969         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69970         to ...
69971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69972         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69973         to ...
69974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69975         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69976         to ...
69977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69978         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69979         to ...
69980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69981         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69982         to ...
69983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69984         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69985         to ...
69986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69987         Here.
69988         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69989         to ...
69990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69991         Here.
69992         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69993         to ...
69994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69995         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69996         Moved to ...
69997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69998         Here.
69999         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70000         to ...
70001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70003 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70005         * sysdeps/unix/common/bits/dirent.h: Remove file.
70006         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70008         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70009         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70010         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70011         * sysdeps/unix/bsd/isatty.c: Likewise.
70012         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70013         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70014         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70016 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70018         [BZ #13563]
70019         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70020         long double comparison inaccuracies.
70021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70024 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70026         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70027         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70029 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70031         [BZ #14049]
70032         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70033         nonzero digits before rounding a hex value.
70034         * stdlib/tst-strtod.c (tests): Add another test.
70036 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70038         * sysdeps/s390/fpu/libm-test-ulps: Update.
70040 2012-05-03  Andreas Jaeger  <aj@suse.de>
70042         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70043         does not get optimized out.
70044         (malloc_opt_barrier): New.
70046 2012-05-03  Andreas Jaeger  <aj@suse.de>
70047             Roland McGrath  <roland@hack.frob.com>
70049         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70050         intermediate file deletion.
70051         (generated): Add .symlist files.
70053 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70055         [BZ #13775]
70056         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70057         Redirect under this condition.
70058         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70059         [__USE_GNU] (__dprintf_chk): Not under this condition.
70060         [__USE_GNU] (__vdprintf_chk): Likewise.
70061         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70062         under this condition.
70063         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70064         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70065         [__USE_XOPEN2K8] (vdprintf): Likewise.
70066         [__USE_GNU] (__dprintf_chk): Not under this condition.
70067         [__USE_GNU] (__vdprintf_chk): Likewise.
70068         [__USE_GNU] (dprintf): Likewise.
70069         [__USE_GNU] (vdprintf): Likewise.
70071 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70073         * elf/Makefile (common-generated): Set this instead of generated for
70074         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70075         $(all-built-dso)-derived lists.
70077 2012-05-03  Andreas Jaeger  <aj@suse.de>
70079         * sysdeps/i386/fpu/libm-test-ulps: Update.
70081         * FAQ: Removed.
70082         * FAQ.in: Likewise.
70083         * scripts/gen-FAQ.pl: Likewise.
70084         * manual/install.texi (Installation): Point to online location of
70085         FAQ.
70086         * Makefile (files-for-dist): Remove FAQ.
70087         (FAQ): Remove.
70089 2012-05-02  Allan McRae  <allan@archlinux.org>
70091         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70092         (LDFLAGS-reldepmod5.so): Likewise.
70093         (LDFLAGS-reldep6mod1.so): Likewise.
70094         (LDFLAGS-reldep6mod4.so): Likewise.
70095         (LDFLAGS-reldep8mod3.so): Likewise.
70096         (LDFLAGS-unload4mod1.so): Likewise.
70097         (LDFLAGS-unload4mod2.so): Likewise.
70098         (LDFLAGS-tst-initorder): Likewise.
70099         (LDFLAGS-tst-initordera2.so): Likewise.
70100         (LDFLAGS-tst-initordera3.so): Likewise.
70101         (LDFLAGS-tst-initordera4.so): Likewise.
70102         (LDFLAGS-tst-initorderb2.so): Likewise.
70103         (LDFLAGS-noload): Likewise.
70104         (LDFLAGS-next): Likewise.
70105         (LDFLAGS-order2mod1.so): Likewise.
70106         (LDFLAGS-order2mod2.so): Likewise.
70107         (LDFLAGS-tst-initorder2): Likewise.
70108         (LDFLAGS-tst-initorder2a.so): Likewise.
70109         (LDFLAGS-tst-initorder2b.so): Likewise.
70110         (LDFLAGS-tst-initorder2c.so): Likewise.
70111         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70113 2012-05-02  David S. Miller  <davem@davemloft.net>
70115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70117 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70119         [BZ #14055]
70120         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70122 2012-05-02  Andreas Jaeger  <aj@suse.de>
70124         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70125         since we manipulate rounding mode.
70126         (CPPFLAGS-test-idouble.c): Likewise.
70127         (CPPFLAGS-test-ifloat.c): Likewise.
70128         (CFLAGS-test-ldouble.c): Likewise.
70129         (CFLAGS-test-double.c): Likewise.
70130         (CFLAGS-test-float.c): Likewise.
70131         (CFLAGS-test-misc.c): Likewise.
70132         (CFLAGS-test-test-fenv.c): Likewise.
70134 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70136         [BZ #2550]
70137         [BZ #2570]
70138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70139         comparisons to determine direction to adjust input.
70141 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70143         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70144         output to the target.
70146         * scripts/localplt.awk: New file.
70147         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70148         (check-localplt-CFLAGS): Variable removed.
70149         ($(all-built-dso:=.jmprel)): New static pattern rule.
70150         (generated): Add those targets.
70151         (localplt-built-dso): New variable.
70152         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70154         * elf/check-localplt.c: File removed.
70156         * scripts/check-execstack.awk: New file.
70157         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70158         (check-execstack-CFLAGS): Variable removed.
70159         ($(objpfx)check-execstack.h): Target removed.
70160         ($(objpfx)execstack-default): New target.
70161         (generated): Add that instead of check-execstack.h.
70162         ($(all-built-dso:=.phdr)): New static pattern rule.
70163         (generated): Add those targets.
70164         * elf/check-execstack.c: File removed.
70166         * scripts/check-textrel.awk: New file.
70167         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70168         (check-textrel-CFLAGS): Variable removed.
70169         (all-built-dso): Use := to define.o
70170         ($(all-built-dso:=.dyn)): New static pattern rule.
70171         (generated): Add those targets.
70172         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70173         * config.make.in (READELF): New substituted variable.
70174         * elf/check-textrel.c: File removed.
70176 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70178         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70179         allow.
70180         * conform/data/ctype.h-data [C99-based standards] (isblank):
70181         Expect function.
70182         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70183         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70185         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70186         Specify type.  Require positive value.
70187         (EILSEQ): Likewise.
70188         (ERANGE): Likewise.
70189         [ISO || POSIX] (EILSEQ): Do not expect.
70190         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70191         Specify type.  Require positive value.
70192         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70193         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70194         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70195         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70196         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70197         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70198         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70199         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70200         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70201         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70202         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70203         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70204         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70205         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70206         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70207         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70208         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70209         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70210         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70211         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70212         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70213         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70214         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70215         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70216         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70217         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70218         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70219         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70220         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70221         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70222         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70223         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70224         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70225         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70226         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70227         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70228         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70229         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70230         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70231         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70232         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70233         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70234         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70235         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70236         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70242         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70243         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70244         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70245         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70246         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70247         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70249         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70250         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70251         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70252         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70253         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70254         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70255         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70256         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70257         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70258         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70259         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70260         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70261         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70262         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70263         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70264         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70265         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70266         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70267         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70268         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70269         Require >= 2.
70270         (FLT_ROUNDS): Expect as macro, not constant.
70271         (FLT_MANT_DIG): Use macro-int-constant.
70272         (DBL_MANT_DIG): Likewise.
70273         (LDBL_MANT_DIG): Likewise.
70274         (FLT_DIG): Likewise.
70275         (DBL_DIG): Likewise.
70276         (LDBL_DIG): Likewise.
70277         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70278         (DBL_MIN_EXP): Likewise.
70279         (LDBL_MIN_EXP): Likewise.
70280         (FLT_MAX_EXP): Use macro-int-constant.
70281         (DBL_MAX_EXP): Likewise.
70282         (LDBL_MAX_EXP): Likewise.
70283         (FLT_MAX_10_EXP): Likewise.
70284         (DBL_MAX_10_EXP): Likewise.
70285         (LDBL_MAX_10_EXP): Likewise.
70286         (FLT_MAX): Use macro-constant.
70287         (DBL_MAX): Likewise.
70288         (LDBL_MAX): Likewise.
70289         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70290         (DBL_EPSILON): Likewise.
70291         (LDBL_EPSILON): Likewise.
70292         (FLT_MIN): Likewise.
70293         (DBL_MIN): Likewise.
70294         (LDBL_MIN): Likewise.
70295         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70296         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70297         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70298         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70299         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70300         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70301         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70302         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70303         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70304         [ISO11] (FLT_TRUE_MIN): Likewise.
70305         [ISO11] (LDBL_TRUE_MIN): Likewise.
70306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70307         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70308         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70309         (SCHAR_MAX): Likewise.
70310         (UCHAR_MAX): Likewise.
70311         (CHAR_MIN): Likewise.
70312         (CHAR_MAX): Likewise.
70313         (MB_LEN_MAX): Use macro-int-constant.
70314         (SHRT_MIN): Use macro-int-constant.  Specify type.
70315         (SHRT_MAX): Likewise.
70316         (USHRT_MAX): Likewise.
70317         (INT_MAX): Likewise.
70318         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70319         bound negative.
70320         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70321         bound with "U".
70322         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70323         bound with "L".
70324         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70325         bound negative.  Suffix upper bound with "L".
70326         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70327         bound with "UL".
70328         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70329         Specify type.
70330         [C99-based standards] (LLONG_MAX): Likewise.
70331         [C99-based standards] (ULLONG_MAX): Likewise.
70332         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70333         == 0.
70334         [ISO11] (max_align_t): Require type.
70335         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70337         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70338         from $CFLAGS, without defining away __attribute__ calls.
70339         (checknamespace): Use $CFLAGS_namespace.
70341         * conform/conformtest.pl (@keywords): Only include C99 keywords
70342         for standards based on C99 or C11.
70344         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70345         Disable tests.
70346         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70347         UNIX98]: Likewise.
70349         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70350         usability of symbols in #if.
70352         * conform/conformtest.pl: If macro or constant types start
70353         "promoted:", expect the symbol to be of the following type
70354         promoted by the integer promotions.
70356         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70357         in one place.  Also handle "macro-constant".
70359         * conform/conformtest.pl: Only accept expected macro values with
70360         "==".  Parse all "macro" lines in one place.
70361         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70363         * conform/conformtest.pl: Handle braced types on "constant" lines
70364         instead of handling "typed-constant".
70365         * conform/data/signal.h-data: Use "constant" instead of
70366         "typed-constant".
70368         * conform/conformtest.pl: Handle "optional-" at start of lines in
70369         one place rather than duplicating several cases.  Handle each
70370         format of "macro" line with initial "optional-".
70372         * conform/conformtest.pl: Only accept expected constant or
70373         optional-constant values with "==".  Parse all "constant" lines in
70374         one place.  Parse all "optional-constant" lines in one place.
70375         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70376         * conform/data/fmtmsg.h-data: Likewise.
70377         * conform/data/netinet/in.h-data: Likewise.
70378         * conform/data/tar.h-data: Likewise.
70379         * conform/data/limits.h-data: Use "==" form on "constant" and
70380         "optional-constant" lines.
70382         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70383         Use -std=c99 for XOPEN2K.
70384         (@knownproblems): Remove.
70385         (newtoken): Don't check %isknown.
70387         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70388         Do not expect macro.
70389         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70390         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70391         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70392         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70393         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70394         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70395         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70396         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70397         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70398         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70399         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70400         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70401         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70402         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70403         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70404         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70405         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70406         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70407         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70408         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70409         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70410         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70411         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70412         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70413         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70414         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70415         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70416         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70417         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70418         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70419         [XPG3] (acosh): Likewise.
70420         [XPG3] (asinh): Likewise.
70421         [XPG3] (atanh): Likewise.
70422         [XPG3] (cbrt): Likewise.
70423         [XPG3] (expm1): Likewise.
70424         [XPG3] (ilogb): Likewise.
70425         [XPG3] (log1p): Likewise.
70426         [XPG3] (logb): Likewise.
70427         [XPG3] (nextafter): Likewise.
70428         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70429         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70430         [XPG3] (remainder): Likewise.
70431         [XPG3] (rint): Likewise.
70432         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70433         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70434         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70435         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70436         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70437         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70438         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70439         [UNIX98 || XOPEN2K] (scalb): Expect.
70440         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70441         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70442         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70443         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70444         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70445         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70446         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70447         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70448         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70449         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70450         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70451         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70452         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70453         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70454         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70455         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70456         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70457         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70458         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70459         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70460         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70461         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70462         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70463         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70464         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70465         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70466         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70467         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70468         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70469         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70470         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70471         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70472         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70473         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70474         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70475         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70476         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70477         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70478         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70479         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70480         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70481         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70482         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70483         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70484         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70485         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70486         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70487         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70488         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70489         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70490         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70491         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70492         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70493         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70494         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70495         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70496         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70497         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70498         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70499         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70500         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70501         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70502         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70503         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70504         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70505         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70506         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70507         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70508         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70509         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70510         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70511         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70512         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70513         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70514         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70515         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70516         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70517         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70518         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70519         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70520         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70521         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70522         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70523         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70524         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70525         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70526         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70527         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70528         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70529         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70530         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70531         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70532         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70533         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70534         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70535         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70536         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70537         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70538         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70539         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70540         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70541         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70542         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70543         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70544         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70545         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70546         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70547         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70548         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70549         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70550         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70551         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70552         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70553         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70554         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70555         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70556         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70557         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70558         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70559         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70560         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70561         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70562         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70563         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70564         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70565         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70566         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70567         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70568         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70569         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70570         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70571         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70572         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70573         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70574         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70575         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70576         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70578         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70579         _XOPEN_SOURCE_EXTENDED for XPG4.
70581         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70583         * Makeconfig (localtime): Remove variable.
70584         (inst_localtime-file): Likewise.
70586 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70589         Update.
70590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70591         Update.
70592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70593         Update.
70594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70595         Update.
70596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70597         Update.
70598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70599         Update.
70600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70601         Update.
70602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70603         Update.
70604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70605         Update.
70607 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70609         [BZ #2550]
70610         [BZ #2570]
70611         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70612         comparisons to determine direction to adjust input.
70613         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70614         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70615         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70616         Likewise.
70617         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70618         Likewise.
70619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70620         Likewise.
70621         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70622         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70623         Likewise.
70624         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70625         Likewise.
70626         * math/libm-test.inc (nexttoward_test): Add more tests.
70628 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70630         [BZ #14040]
70631         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70632         in version GLIBC_2.1, not GLIBC_2.0.
70633         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70634         Likewise.
70636 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70638         [BZ #13942]
70639         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70640         (1 - x) * (1 + x).
70641         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70642         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70643         * math/libm-test.inc (acos_test): Add more tests.
70644         (asin_test): Likewise.
70645         * sysdeps/i386/fpu/libm-test-ulps: Update.
70646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70648         [BZ #14034]
70649         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70650         of square root.
70651         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70652         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70653         * math/libm-test.inc (acos_test_tonearest): New function.
70654         (acos_test_towardzero): Likewise.
70655         (acos_test_downward): Likewise.
70656         (acos_test_upward): Likewise.
70657         (asin_test_tonearest): Likewise.
70658         (asin_test_towardzero): Likewise.
70659         (asin_test_downward): Likewise.
70660         (asin_test_upward): Likewise.
70661         (main): Call the new functions.
70662         * sysdeps/i386/fpu/libm-test-ulps: Update.
70663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70665         [BZ #13884]
70666         [BZ #13924]
70667         * math/e_exp10.c: Include <float.h>.
70668         (__ieee754_exp10): Handle underflow here rather than multiplying
70669         large negative argument by M_LN10.
70670         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70671         of __ieee754_expf.
70672         * math/e_exp10l.c: Include <float.h>.
70673         (__ieee754_exp10l): Handle underflow here rather than multiplying
70674         large negative argument by M_LN10l.
70675         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70676         spurious overflow exception on underflow.
70678 2012-04-29  Marek Polacek  <polacek@redhat.com>
70680         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70681         (__fortify_function): New macro.
70682         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70683         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70684         __extern_always_inline.
70685         * libio/bits/stdio2.h: Likewise.
70686         * libio/bits/stdio.h: Likewise.
70687         * string/string.h: Likewise.
70688         * string/bits/string3.h: Likewise.
70689         * include/stdio.h: Likewise.
70690         * stdlib/bits/stdlib.h: Likewise.
70691         * stdlib/stdlib.h: Likewise.
70692         * rt/bits/mqueue2.h: Likewise.
70693         * rt/mqueue.h: Likewise.
70694         * posix/bits/unistd.h: Likewise.
70695         * posix/unistd.h: Likewise.
70696         * io/bits/poll2.h: Likewise.
70697         * io/bits/fcntl2.h: Likewise.
70698         * io/fcntl.h: Likewise.
70699         * io/sys/poll.h: Likewise.
70700         * misc/bits/syslog.h: Likewise.
70701         * misc/bits/syslog-ldbl.h: Likewise.
70702         * misc/sys/syslog.h: Likewise.
70703         * socket/bits/socket2.h: Likewise.
70704         * socket/sys/socket.h: Likewise.
70705         * debug/tst-chk1.c: Likewise.
70706         * wcsmbs/bits/wchar2.h: Likewise.
70707         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70708         * wcsmbs/wchar.h: Likewise.
70710 2012-04-29  Andreas Jaeger  <aj@suse.de>
70712         * Makerules (tests): Remove enable-check-abi protection.
70713         (check-abi-warn): Remove.
70714         (check-abi-%): Remove check-abi-warn usage.
70716         * configure.in: Remove check-abi configure option.
70717         * configure: Regenerated.
70718         * config.make.in (enable-check-abi): Remove.
70720 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70722         [BZ #14033]
70723         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70724         double functions to double *_finite functions.
70726         [BZ #13941]
70727         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70728         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70729         LDBL_MIN_EXP.
70730         * stdio-common/Makefile (tests): Add tst-sprintf3.
70731         * stdio-common/tst-sprintf3.c: New file.
70733         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70734         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70736 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70738         * conform/conformtest.pl: Remove duplicate typed-constant
70739         handling.
70741 2012-04-28  David S. Miller  <davem@davemloft.net>
70743         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70744         (check-abi-%): Remove AWK script prerequisite and explicit
70745         abilist directory.
70746         (check-abi): Rewrite to just diff the symlist with the abilist.
70747         (config-tls, config-abi-config): Delete, no longer used.
70748         (update-abi-%): Remove AWK script and explicit abilist directory.
70749         (update-abi): Rewrite to simply compare and conditionally copy the
70750         symlist and the sysdep abilist file.  Remove update-abi-config
70751         checks.
70752         * abilist/ld.abilist: Remove.
70753         * abilist/libBrokenLocale.abilist: Remove.
70754         * abilist/libanl.abilist: Remove.
70755         * abilist/libcrypt.abilist: Remove.
70756         * abilist/libdl.abilist: Remove.
70757         * abilist/librt.abilist: Remove.
70758         * abilist/libthread_db.abilist: Remove.
70759         * abilist/libutil.abilist: Remove.
70760         * scripts/extract-abilist.awk: Remove.
70761         * scripts/merge-abilist.awk: Remove.
70762         * sysdeps/generic/libcidn.abilist: New file.
70763         * sysdeps/generic/libnss_compat.abilist: New file.
70764         * sysdeps/generic/libnss_db.abilist: New file.
70765         * sysdeps/generic/libnss_dns.abilist: New file.
70766         * sysdeps/generic/libnss_files.abilist: New file.
70767         * sysdeps/generic/libnss_hesiod.abilist: New file.
70768         * sysdeps/generic/libnss_nis.abilist: New file.
70769         * sysdeps/generic/libnss_nisplus.abilist: New file.
70770         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70771         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70772         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70773         file.
70774         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70775         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70776         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70777         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70778         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70779         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70780         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70781         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70782         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70783         file.
70784         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70785         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70786         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70787         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70788         file.
70789         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70790         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70791         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70792         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70793         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70794         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70795         file.
70796         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70797         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70798         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70799         file.
70800         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70802         New file.
70803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70804         New file.
70805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70806         New file.
70807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70808         New file.
70809         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70810         New file.
70811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70812         New file.
70813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70814         New file.
70815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70816         New file.
70817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70818         New file.
70819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70820         New file.
70821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70822         New file.
70823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70824         New file.
70825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70826         New file.
70827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70828         file.
70829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70830         New file.
70831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70832         New file.
70833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70834         file.
70835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70836         New file.
70837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70838         New file.
70839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70840         file.
70841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70842         New file.
70843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70844         New file.
70845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70846         New file.
70847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70848         New file.
70849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70850         New file.
70851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70852         New file.
70853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70855         file.
70856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70857         New file.
70858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70859         file.
70860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70861         file.
70862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70863         file.
70864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70865         file.
70866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70867         file.
70868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70869         New file.
70870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70871         file.
70872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70873         file.
70874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70875         New file.
70876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70877         file.
70878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70880         file.
70881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70882         New file.
70883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70884         file.
70885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70886         file.
70887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70888         file.
70889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70890         file.
70891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70892         file.
70893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70894         New file.
70895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70896         file.
70897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70898         file.
70899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70900         New file.
70901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70902         file.
70903         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70904         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70905         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70906         file.
70907         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70908         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70909         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70910         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70911         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70912         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70913         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70914         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70915         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70916         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70919         file.
70920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70921         New file.
70922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70923         file.
70924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70925         file.
70926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70927         file.
70928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70929         file.
70930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70931         file.
70932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70933         New file.
70934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70935         New file.
70936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70937         file.
70938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70939         New file.
70940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70941         file.
70942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70944         file.
70945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70946         New file.
70947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70948         file.
70949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70950         file.
70951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70952         file.
70953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70954         file.
70955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70956         file.
70957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70958         New file.
70959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70960         New file.
70961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70962         file.
70963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70964         New file.
70965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70966         file.
70968 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70970         * conform/conformtest.pl: Fix typo in handling typed-constant from
70971         allow-header.
70973 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70975         * README: Cut down references to pre-2.6 Linux kernels and
70976         Linuxthreads.  Update lists of configurations in libc and ports
70977         and sort alphabetically.  Say "or newer" with Linux kernel version
70978         requirements.
70980         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70982 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70984         [BZ #887]
70985         * math/libm-test.inc (logb_test_downward): New test to expose
70986         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70987         rounding mode.
70989 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70991         [BZ #14027]
70992         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70993         to be done.
70994         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70995         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70997 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70999         * sysdeps/unix/i386/brk.S: Remove file.
71000         * sysdeps/unix/i386/dl-brk.S: Likewise.
71001         * sysdeps/unix/i386/pipe.S: Likewise.
71002         * sysdeps/unix/i386/sigreturn.S: Likewise.
71003         * sysdeps/unix/i386/syscall.S: Likewise.
71004         * sysdeps/unix/i386/vfork.S: Likewise.
71005         * sysdeps/unix/i386/wait.S: Likewise.
71007         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71008         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71010         * configure.in (arm*-none*): Do not allow without
71011         --enable-hacker-mode.
71012         (netbsd*): Remove case setting base_os.
71013         (386bsd*): Likewise.
71014         (freebsd*): Likewise.
71015         (bsdi*): Likewise.
71016         (osf*): Likewise.
71017         (sunos*): Likewise.
71018         (ultrix*): Likewise.
71019         (newsos*): Likewise.
71020         (dynix*): Likewise.
71021         (*bsd*): Likewise.
71022         (sysv*): Likewise.
71023         (isc*): Likewise.
71024         (esix*): Likewise.
71025         (sco*): Likewise.
71026         (minix*): Likewise.
71027         (irix4*): Likewise.
71028         (irix6*): Likewise.
71029         (solaris[2-9]*): Likewise.
71030         (none): Likewise.
71031         * configure: Regenerated.
71033 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71035         [BZ #11521]
71036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71037         overflow or cancellation in calculating denominator.
71038         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71039         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71040         down expression to avoid unexpected rounding in newer GCCs.
71041         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71043 2012-04-26  David S. Miller  <davem@davemloft.net>
71045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71046         long-double compat symbols.
71047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71061 2012-04-25  David S. Miller  <davem@davemloft.net>
71063         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71064         HWCAP_* values only after the memory barriers have been defined.
71065         (atomic_full_barrier): Define.
71066         (atomic_read_barrier): Define.
71067         (atomic_write_barrier): Define.
71069 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71071         * shlib-versions: Add libgcc_s version information.
71072         * sysdeps/generic/libgcc_s.h: Remove.
71073         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71074         libgcc_s.h.
71075         * sysdeps/gnu/unwind-resume.c: Likewise.
71076         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71078 2012-04-25  David S. Miller  <davem@davemloft.net>
71080         * sysdeps/unix/sparc/brk.S: Delete.
71081         * sysdeps/unix/sparc/dl-brk.S: Delete.
71082         * sysdeps/unix/sparc/pipe.S: Delete.
71083         * sysdeps/unix/sparc/sysdep.S: Delete.
71084         * sysdeps/unix/sparc/sysdep.h: Delete.
71085         * sysdeps/unix/sparc/vfork.S: Delete.
71086         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71087         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71088         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71089         (ret_ERRVAL, r0, r1, MOVE): Define.
71090         (JUMPTARGET): Remove.
71091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71092         sysdeps/unix/sparc/sysdep.h
71093         (ENTRY, END): Remove.
71094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71096 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71098         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71099         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71100         -DIS_IN_build.
71102         * timezone/README: Update upstream location and email address for
71103         tzcode and tzdata.
71104         * timezone/zdump.c: Update from tzcode 2012b.
71105         * timezone/zic.c: Likewise.
71107         * configure.in (libc_cv_as_needed): Remove test.
71108         * configure: Regenerated.
71109         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71110         conditional definition.
71111         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71112         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71113         * config.make.in (have-as-needed): Remove variable.
71115 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71116             Paul Pluzhnikov  <ppluzhnikov@google.com>
71118         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71119         strings correctly.
71121 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71123         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71124         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71125         * sysdeps/sh/strlen.S: Likewise.
71127 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71129         * sysdeps/unix/fork.S: Remove file.
71130         * sysdeps/unix/i386/fork.S: Likewise.
71131         * sysdeps/unix/sparc/fork.S: Likewise.
71133         * sysdeps/unix/system.c: Remove file.
71134         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71136         * sysdeps/unix/getegid.S: Remove file.
71137         * sysdeps/unix/geteuid.S: Likewise.
71139 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71141         * scripts/check-localplt.awk: New file.
71142         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71143         of diff.
71144         * scripts/data/localplt-generic.data: Add a comment.
71146         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71147         NODE when __dir_mkfile failed.
71148         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71149         Reported by Ludovic Courtès <ludo@gnu.org>.
71151 2012-04-24  Andreas Jaeger  <aj@suse.de>
71153         * Makerules (common-clean): Also remove gen-as-const-headers
71154         files.
71156 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71158         * Makerules (native-compile): Do not change working directory for
71159         build.  Use $(OUTPUT_OPTION) in command.
71160         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71162 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71164         [BZ #13886]
71165         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71166         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71167         * math/libm-test.inc (floor_test): Add more tests.
71168         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71170 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71172         * sysdeps/unix/getdents.c: Remove file.
71173         * sysdeps/unix/sysv/getdents.c: Likewise.
71174         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71176         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71177         sysdeps/unix/mman/syscalls.list.
71178         (mmap): Likewise.
71179         (mprotect): Likewise.
71180         (msync): Likewise.
71181         (munmap): Likewise.
71182         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71183         * sysdeps/unix/mman/syscalls.list: Remove.
71184         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71186         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71187         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71188         * configure: Regenerated.
71189         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71190         $(libgcc_s_suffix).
71191         * config.make.in (libgcc_s_suffix): Remove variable.
71193 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71195         * sysdeps/unix/sysv/gethostname.c: Move to ...
71196         * sysdeps/posix/gethostname.c: ... here.
71198         * sysdeps/unix/execve.S: Remove file.
71200         * sysdeps/unix/_exit.S: Remove file.
71202 2012-04-23  Andreas Jaeger  <aj@suse.de>
71204         [BZ #13739]
71205         * manual/Makefile: Remove make dist support, there's no
71206         need for a stand-alone documentation tar ball.
71207         (TEXI2DVI): Define always, it's not in Makeconfig.
71208         (dist): Removed.
71209         (tar-it): Removed.
71210         (edition): Removed.
71211         (glibc-doc-$(edition).tar): Removed
71212         (%.Z): Removed.
71213         (%.gz): Removed.
71214         (%.uu): Removed.
71215         (ETAGS): Remove, it's in Makeconfig.
71216         (move-if-change): Remove, it's in Makeconfig.
71218 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71220         [BZ #13970]
71221         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71222         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71223         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71224         (strtod_l, strtof_l, strtold_l): Remove __wur.
71225         It is not necessarily an error to ignore strtol's return value.
71226         One can reliably look at the stored endptr to decide whether
71227         the number had valid syntax.
71229 2012-04-21  Andreas Jaeger  <aj@suse.de>
71231         [BZ #13739]
71232         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71234 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71236         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71237         * sysdeps/unix/sysv/Versions: Remove file.
71239 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71241         [BZ #13927]
71242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71244 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71246         [BZ #7064]
71247         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71248         version from __vm86.
71250 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71252         * sysdeps/unix/common/lxstat.c: Remove file.
71253         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71255         * sysdeps/unix/sysv/Makefile: Remove file.
71257         * sysdeps/unix/sysv/direct.h: Remove file.
71259         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71260         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71261         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71262         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71263         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71264         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71265         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71267         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71269         * sysdeps/unix/xmknod.c: Remove file.
71270         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71272         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71274         * sysdeps/unix/sysv/i386/time.S: Remove file.
71276         * sysdeps/unix/fxstat.c: Remove file.
71277         * sysdeps/unix/xstat.c: Likewise.
71278         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71280         * sysdeps/unix/sysv/sigaction.c: Remove file.
71282         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71283         (sysdep_headers): Remove variable.
71284         [termio.h not in sysdep_headers] (generated): Likewise.
71285         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71286         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71287         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71288         * sysdeps/unix/sysv/tcflow.c: Likewise.
71289         * sysdeps/unix/sysv/tcflush.c: Likewise.
71290         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71291         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71292         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71293         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71294         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71296         * sysdeps/unix/siglist.c: Remove file.
71298         * sysdeps/unix/getppid.S: Remove file.
71300         * sysdeps/unix/mkdir.c: Remove file.
71301         * sysdeps/unix/rmdir.c: Likewise.
71303 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71305         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71306         ERR_MAX value.
71307         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71308         errlist-compat value.
71310 2012-04-18  David S. Miller  <davem@davemloft.net>
71312         * sysdeps/generic/memcopy.h (reg_char): Delete.
71313         * debug/strcat_chk.c: Use char, not reg_char.
71314         * debug/strcpy_chk.c: Likewise.
71315         * debug/strncat_chk.c: Likewise.
71316         * debug/strncpy_chk.c: Likewise.
71317         * string/memchr.c: Likewise.
71318         * string/memrchr.c: Likewise.
71319         * string/rawmemchr.c: Likewise.
71320         * string/strcat.c: Likewise.
71321         * string/strchr.c: Likewise.
71322         * string/strchrnul.c: Likewise.
71323         * string/strcmp.c: Likewise.
71324         * string/strcpy.c: Likewise.
71325         * string/strncat.c: Likewise.
71326         * string/strncmp.c: Likewise.
71327         * string/strncpy.c: Likewise.
71329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71331         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71332         __builtin_memcopy is called when src and dest ranges are known to not
71333         overlap.
71335 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71337         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71338         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71339         fwd_align_merge macro call.
71340         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71341         bwd_align_merge macro call.
71342         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71344 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71346         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71347         bwd_align_merge macros.
71348         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71349         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71350         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71352 2012-04-18  David S. Miller  <davem@davemloft.net>
71354         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71356 2012-04-18  Andreas Jaeger  <aj@suse.de>
71358         [BZ# 6794]
71359         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71360         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71361         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71363         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71364         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71365         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71367         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71368         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71369         Adjust for changed ldbl-128 files.
71371         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71372         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71373         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71375 2012-04-17  David S. Miller  <davem@davemloft.net>
71377         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71379 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71381         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71382         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71383         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71384         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71385         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71386         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71388 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71390         [BZ #6794]
71391         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71392         * math/libm-test.inc: Add ilogb errno and exception tests.
71393         * math/w_ilogb.c: New file: ilogb wrapper.
71394         * math/w_ilogbf.c: New file: ilogbf wrapper.
71395         * math/w_ilogbl.c: New file: ilogbl wrapper.
71396         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71397         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71398         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71399         exception being thrown with 0.0 as argument.
71400         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71401         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71402         exception being thrown with 0.0 as argument.
71403         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71404         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71405         exception being thrown with 0.0 as argument.
71406         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71407         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71408         exception being thrown with 0.0 as argument.
71409         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71410         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71411         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71412         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71413         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71414         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71415         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71416         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71417         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71419 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71421         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71422         with altivec.
71424 2012-04-16  Marek Polacek  <polacek@redhat.com>
71426         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71428 2012-04-16  Marek Polacek  <polacek@redhat.com>
71430         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71431         operands of fdivp instruction.
71433 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71435         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71436         * elf/tst-auditmod3b.c: Likewise.
71437         * elf/tst-auditmod4b.c: Likewise.
71438         * elf/tst-auditmod5b.c: Likewise.
71439         * elf/tst-auditmod6b.c: Likewise.
71440         * elf/tst-auditmod6c.c: Likewise.
71441         * elf/tst-auditmod7b.c: Likewise.
71442         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71443         * sysdeps/x86_64/preconfigure.in: Likewise.
71444         * sysdeps/x86_64/preconfigure: Regenerated.
71446 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71448         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71449         __ILP32__.
71451 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71454         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71456 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71458         [BZ #13973]
71459         * locale/iso-639.def: Fix gl language name. Spotted by
71460         Yaron Shahrabani.
71462 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71464         [BZ #2074]
71465         * libio/libio.h (__io_write_fn): Update comment.
71467 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71469         [BZ #2074]
71470         * stdio.texi (Hook Functions): The user provided writer function
71471         is not allowed to return -1.
71473 2012-04-11  David S. Miller  <davem@davemloft.net>
71475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71477 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71479         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71480         Add a leading slash to rtkaio.
71482 2012-04-11  Jim Meyering  <meyering@redhat.com>
71484         [BZ #11959]
71485         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71486         It is not necessarily an error to ignore fwrite's return
71487         value.  One can reliably use ferror to test for errors after
71488         the fact.
71490 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71492         * bits/types.h (__snseconds_t): New type.
71493         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71495         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71497         (__SNSECONDS_T_TYPE): Likewise.
71498         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71499         (__SNSECONDS_T_TYPE): Likewise.
71500         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71501         (__SNSECONDS_T_TYPE): Likewise.
71503 2012-04-10  Andreas Jaeger  <aj@suse.de>
71505         [BZ #2636]
71506         * manual/time.texi (Processor Time): Return type of times is
71507         elapsed real time since an arbitrary point in the past.
71508         (CPU Time): Move CLK_TCK from here...
71509         (Processor Time): ...to here.  Correct description.
71510         * manual/conf.texi (Constants for Sysconf): Correct description of
71511         _SC_CLK_TCK.
71513 2012-04-10  David S. Miller  <davem@davemloft.net>
71515         [BZ #13967]
71516         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71517         where the is a gap between DT_REL(A) and DT_JMPREL.
71519 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71521         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71522         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71523         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71525 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71527         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71528         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71529         (dl_main): Handle --inhibit-cache.
71530         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71531         _dl_inhibit_cache.
71532         * elf/dl-load.c (_dl_map_object): Use it.
71533         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71535 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71537         [BZ #13872]
71538         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71539         (__ieee754_powl): Saturate large exponents rather than testing for
71540         overflow of y*log2(x).
71541         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71542         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71543         exceptions.
71545         [BZ #11521]
71546         * math/s_ctan.c: Include <float.h>.
71547         (__ctan): Avoid internal overflow or cancellation in calculating
71548         denominator.
71549         * math/s_ctanf.c: Likewise.
71550         * math/s_ctanl.c: Likewise.
71551         * math/s_ctanh.c: Likewise.
71552         * math/s_ctanhf.c: Likewise.
71553         * math/s_ctanhl.c: Likewise.
71554         * math/libm-test.inc (ctan_test): Add more tests.
71555         (ctanh_test): Likewise.
71556         * sysdeps/i386/fpu/libm-test-ulps: Update.
71557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71559 2012-04-09  Andreas Jaeger  <aj@suse.de>
71561         [BZ #6894]
71562         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71563         is an optional BSD extension.
71565         [BZ #10254]
71566         * manual/stdio.texi (Opening Streams): Document additional fopen
71567         parameters.
71569 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71571         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71572         %eax without telling the compiler.
71574 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71576         [BZ # 13963]
71577         * manual/install.texi: Use sourceware.org.
71579 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71581         [BZ #13873]
71582         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71583         (__ieee754_pow): Generate overflow and underflow using huge*huge
71584         and tiny*tiny rather than just returning constant infinity or zero
71585         for large exponents.
71586         * math/libm-test.inc (pow_test): Require overflow exceptions for
71587         applicable cases of large exponents.
71589         [BZ #706]
71590         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71591         (__ieee754_pow): Use iterative multiplication algorithm only for
71592         integer exponents with absolute value below 1024.  Check for odd
71593         integer exponents when using algorithm for real exponents.
71594         * math/libm-test.inc (pow_test): Add more tests.
71595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71597 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71599         [BZ #13705]
71600         * math/libm-test.inc (exp_test): Do not allow overflow exception
71601         on underflow test.
71603 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71605         [BZ #13705]
71606         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71607         instead of __kernel_standard_f.
71609 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71611         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71612         * sysdeps/x86_64/memset_chk.S: Likewise.
71614 2012-04-08  Andreas Jaeger  <aj@suse.de>
71616         [BZ #10153]
71617         * manual/startup.texi (Environment Access): Describe return value
71618         for putenv and setenv.
71620         [BZ #6895]
71621         * manual/filesys.texi (Directory Entries): Add description for
71622         DT_LNK.
71624         [BZ #6890]
71625         * manual/filesys.texi (Directory Entries): Clarify that it's file
71626         system not operating system in the description of DT_UNKNOWN.
71628         [BZ #6578]
71629         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71631 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71633         [BZ #6649]
71634         * manual/llio.texi (Opening and Closing Files): Add cross
71635         reference to explain mode argument.
71637 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71639         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71640         * sysdeps/x86_64/memset_chk.S: Likewise.
71642 2012-04-07  David S. Miller  <davem@davemloft.net>
71644         * elf/elf.h (R_SPARC_WDISP10): Define.
71645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71646         R_SPARC_SIZE32.
71647         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71648         R_SPARC_SIZE64 and R_SPARC_H34.
71650 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71653         conditions and remove no longer applicable assertion.
71655 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71657         * bits/byteswap.h: Include <features.h>.
71658         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71659         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71661 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71663         * bits/byteswap.h (__bswap_16): Removed.
71664         Include <bits/byteswap-16.h> to get __bswap_16.
71665         * sysdeps/i386/bits/byteswap.h: Likewise.
71666         * sysdeps/s390/bits/byteswap.h: Likewise.
71667         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71668         * bits/byteswap-16.h: New file.
71669         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71670         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71671         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71672         * string/Makefile (headers): Add bits/byteswap-16.h.
71674 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71676         [BZ #13895]
71677         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71678         extra indirection.
71679         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71680         * nss/tst-nss-static.c: New.
71682 2012-04-06  Robert Millan  <rmh@gnu.org>
71684         [BZ #6486]
71685         * manual/llio.texi (File Position Primitive): lseek
71686         refers to WHENCE when it really means OFFSET.
71688 2012-04-06  Andreas Jaeger  <aj@suse.de>
71690         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71691         strncmp declarations.
71693         * abilist/libc.abilist: Add __poll and __ppoll.
71695 2012-04-05  David S. Miller  <davem@davemloft.net>
71697         * scripts/check-local-headers.sh: Accept a host triplet in the
71698         path matched by the exclude regexp.
71700         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71701         definition.
71702         * sysdeps/powerpc/powerpc32/dl-machine.h
71703         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71704         * sysdeps/s390/s390-32/dl-machine.h
71705         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71706         * sysdeps/sparc/sparc32/dl-machine.h
71707         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71708         * sysdeps/sparc/sparc64/dl-machine.h
71709         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71711         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71712         lazy binding.
71713         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71714         undefined symbol errors.
71716         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71717         DT_NEEDED entries.
71719 2012-04-05  Michael Matz  <matz@suse.de>
71721         [BZ #13592]
71722         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71724 2012-04-05  Andreas Jaeger  <aj@suse.de>
71726         [BZ #13908]
71727         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71728         comment.
71730 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71732         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71733         which ROUND is no valid rounding mode.
71735 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71737         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71738         read again.
71739         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71741 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71743         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71744         an exception using FPU order intentionally.
71746 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71748         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71749         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71750         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71751         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71753 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71755         [BZ #12340]
71756         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71757         EINVAL when BUFLEN is too smal.
71759 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71761         [BZ #13553]
71762         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71763         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71765 2012-04-03  Andreas Jaeger  <aj@suse.de>
71767         [BZ #13938]
71768         * manual/setjmp.texi (System V contexts): Fix sentence.
71770         [BZ #13926]
71771         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71772         New macro for this case.
71773         [!__GNUC__] (__bswap_64): New inline function for this case.
71774         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71775         * bits/byteswap.h: Likewise.
71776         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71777         ull, guard with __GLIBC_HAVE_LONG_LONG.
71779         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71780         __GLIBC_HAVE_LONG_LONG.
71782         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71783         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71785 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71787         [BZ #13691]
71788         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71789         inptr and inend, rather than using last_ch.
71791 2012-04-02  David S. Miller  <davem@davemloft.net>
71793         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71794         * stdio-common/printf-parse.h (read_int): Change return type to
71795         'int', return -1 on INT_MAX overflow.
71796         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71797         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71798         overflows INT_MAX.  Check for overflow of in-format-string precision
71799         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71800         SIZE_MAX not INT_MAX for integer overflow test.
71801         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71802         skip the construct in the format string but do not record anything.
71803         * stdio-common/bug22.c: Adjust to test both width/prevision
71804         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71805         explicitly for proper errno values.
71807 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71809         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71810         CHAR_MAX.
71811         * string/test-strcmp.c [! WIDE]: Likewise.
71812         * time/tst-mktime2.c: Likewise for INT_MAX.
71813         * string/test-string.h: #include <sys/param.h> for MIN.
71815         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71816         * sysdeps/i386/init-first.c (init): Likewise.
71817         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71818         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71819         * sysdeps/sh/init-first.c (init): Likewise.
71821 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71823         * po/ru.po: Update from translation team.
71824         * po/vi.po: Likewise.
71826 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71828         * resolv/nss_dns/dns-host.c: Merge copyright years.
71830 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71832         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71833         Optimize memcpy with prefetch if
71834         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71835         src, dst pointers have unequal 16 byte alignments.
71837 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71839         [BZ #13928]
71840         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71841         from a CNAME entry and return the minimum ttl for the query.
71842         (gaih_getanswer_slice): Likewise.
71844 2012-03-30  Jeff Law  <law@redhat.com>
71846         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71847         due to long keys.
71848         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71849         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71851         * resolv/nss_dns/dns-host.c: Update copyright year.
71853 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71855         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71856         requests to save a system call.  Fix check that all bytes are sent.
71858         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71859         comments for sendmmsg.
71861 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71863         [BZ #13691]
71864         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71865         with only 1 character between 0x0041 and 0x01b0.
71866         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71867         * wcsmbs/tst-mbsnrtowcs.c: New file.
71869 2012-03-29  David S. Miller  <davem@davemloft.net>
71871         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71872         small copies by hand.
71874 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71876         [BZ #13761]
71877         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71878         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71879         group memberships.
71881 2012-03-28  David S. Miller  <davem@davemloft.net>
71883         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71884         that branches into memcpy.
71885         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71886         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71887         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71888         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71889         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71890         bits.
71891         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71892         implementation too.
71893         * sysdeps/sparc/mempcpy.S: New file.
71895         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71896         the IFUNC routine in the libc case.
71897         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71899         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71900         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71901         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71902         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71903         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71904         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71905         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71906         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71908         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71909         loop to 256 bytes instead of 64 bytes and fix test signedness.
71911         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71912         * sysdeps/sparc/sparc32/Makefile: rather than here...
71913         * sysdeps/sparc/sparc64/Makefile: and here.
71915 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71917         * malloc/mallocbug.c: Avoid warnings about unused variables.
71919 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71921         [BZ #13760]
71922         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71923         in the right place. Discard and retry query if response is
71924         larger than input buffer size.
71926 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71928         [BZ #369]
71929         [BZ #2678]
71930         [BZ #3866]
71931         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71932         x for large integer exponent.
71933         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71934         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71935         sign of result as needed afterwards.
71936         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71937         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71938         result for underflowing pow the same as for overflow.
71939         (__kernel_standard_l): Handle powl overflow and underflow here
71940         rather than calling __kernel_standard.
71941         * math/libm-test.inc (pow_test): Add more tests.
71943         [BZ #3868]
71944         [BZ #13879]
71945         [BZ #13910]
71946         [BZ #13911]
71947         [BZ #13912]
71948         [BZ #13913]
71949         [BZ #13915]
71950         [BZ #13916]
71951         [BZ #13917]
71952         [BZ #13918]
71953         [BZ #13919]
71954         [BZ #13920]
71955         [BZ #13921]
71956         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71957         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71958         (__kernel_standard_l): New function.
71959         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71960         __kernel_standard.
71961         * math/w_acosl.c (__acosl): Likewise.
71962         * math/w_asinl.c (__asinl): Likewise.
71963         * math/w_atan2l.c (__atan2l): Likewise.
71964         * math/w_atanhl.c (__atanhl): Likewise.
71965         * math/w_coshl.c (__coshl): Likewise.
71966         * math/w_exp10l.c (__exp10l): Likewise.
71967         * math/w_exp2l.c (__exp2l): Likewise.
71968         * math/w_fmodl.c (__fmodl): Likewise.
71969         * math/w_hypotl.c (__hypotl): Likewise.
71970         * math/w_j0l.c (__j0l, __y0l): Likewise.
71971         * math/w_j1l.c (__j1l, __y1l): Likewise.
71972         * math/w_jnl.c (__jnl, __ynl): Likewise.
71973         * math/w_lgammal.c (__lgammal): Likewise.
71974         * math/w_log10l.c (__log10l): Likewise.
71975         * math/w_log2l.c (__log2l): Likewise.
71976         * math/w_logl.c (__logl): Likewise.
71977         * math/w_powl.c (__powl): Likewise.
71978         * math/w_remainderl.c (__remainderl): Likewise.
71979         * math/w_scalbl.c (sysv_scalbl): Likewise.
71980         * math/w_sinhl.c (__sinhl): Likewise.
71981         * math/w_sqrtl.c (__sqrtl): Likewise.
71982         * math/w_tgammal.c (__tgammal): Likewise.
71983         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71984         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71985         * math/libm-test.inc (acos_test): Add more tests.
71986         (acosh_test): Likewise.
71987         (asin_test): Likewise.
71988         (atanh_test): Likewise.
71989         (exp_test): Likewise.
71990         (exp10_test): Likewise.
71991         (exp2_test): Likewise.
71992         (expm1_test): Likewise.
71993         (lgamma_test): Likewise.
71994         (log_test): Likewise.
71995         (log10_test): Likewise.
71996         (log1p_test): Likewise.
71997         (log2_test): Likewise.
71998         (pow_test): Do not allow some spurious overflow exceptions.
71999         (sqrt_test): Add more tests.
72000         (tgamma_test): Likewise.
72001         (y0_test): Likewise.
72002         (y1_test): Likewise.
72003         (yn_test): Likewise.
72005 2012-03-27  Anton Blanchard  <anton@samba.org>
72007         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72008         MAP_HUGETLB.
72009         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72010         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72013 2012-03-27  David S. Miller  <davem@davemloft.net>
72015         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72017         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72018         have-as-vis3 check.
72020 2012-03-27  Andreas Jaeger  <aj@suse.de>
72022         * sysdeps/x86_64/elf/configure.in: Moved to ...
72023         * sysdeps/x86_64/configure.in: ... here.
72024         * sysdeps/x86_64/elf/start.S: Moved to ...
72025         * sysdeps/x86_64/start.S: ... here.
72026         * sysdeps/x86_64/elf/configure: Delete.
72028         * sysdeps/x86_64/configure.in: Merge contents from
72029         sysdeps/i386/configure.in (without i686 check).
72031         * sysdeps/i386/elf/Versions: Merge into ...
72032         * sysdeps/i386/Versions: ... this.
72033         * sysdeps/i386/elf/Versions: Delete file.
72034         * sysdeps/i386/elf/start.S: Moved to ...
72035         * sysdeps/i386/start.S: ...here.
72036         * sysdeps/i386/elf/configure.in: Merge into...
72037         * sysdeps/i386/configure.in: ...here.
72038         * sysdeps/i386/elf/configure.in: Delete file.
72039         * sysdeps/i386/elf/configure: Delete file.
72041         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72042         * debug/backtracesyms.c: ... here.
72043         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72044         * debug/backtracesymsfd.c: ... here.
72045         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72046         * sysdeps/generic/ifunc-sel.h: ... here.
72048         * sysdeps/unix/i386/start.c: Delete file.
72049         * sysdeps/unix/sparc/start.c: Delete file.
72050         * sysdeps/unix/start.c: Delete file.
72052         * sysdeps/sh/elf/configure.in: Moved to ...
72053         * sysdeps/sh/configure.in: ... here.
72054         * sysdeps/sh/elf/start.S: Moved to ...
72055         * sysdeps/sh/start.S: ... here.
72056         * sysdeps/sh/elf/configure: Delete file.
72058         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72059         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72060         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72061         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72062         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72063         * sysdeps/powerpc/powerpc64/start.S: here.
72064         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72065         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72066         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72067         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72068         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72070         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72071         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72072         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72073         * sysdeps/powerpc/powerpc32/start.S: ... here.
72074         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72075         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72076         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72078         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72079         * sysdeps/powerpc/ifunc-sel.h: ... here.
72080         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72081         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72083         * sysdeps/sparc/elf/configure.in: Moved to ...
72084         * sysdeps/sparc/configure.in: ... here.
72085         * sysdeps/sparc/elf/configure: Delete file.
72086         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72087         * sysdeps/sparc/sparc32/start.S: ... here.
72088         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72089         * sysdeps/sparc/sparc64/start.S: ... here.
72090         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72091         * sysdeps/sparc/sparc32/Makefile: ... this.
72092         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72093         * sysdeps/sparc/sparc64/Makefile: ... this.
72095         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72096         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72097         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72098         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72099         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72100         * sysdeps/s390/s390-32/setjmp.S: ... here.
72101         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72102         * sysdeps/s390/s390-32/configure.in: ... here.
72103         * sysdeps/s390/s390-32/elf/configure: Delete file.
72104         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72105         * sysdeps/s390/s390-32/start.S: ... here.
72107         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72108         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72109         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72110         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72111         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72112         * sysdeps/s390/s390-64/setjmp.S: ... here.
72113         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72114         * sysdeps/s390/s390-64/configure.in: ... here
72115         * sysdeps/s390/s390-64/elf/configure: Delete file.
72116         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72117         * sysdeps/s390/s390-64/start.S: ... here.
72118         * sysdeps/s390/s390-64/elf/configure: Delete.
72120         * configure.in: Remove support for elf directories in sysdeps.
72122         * configure: Regenerated.
72123         * sysdeps/i386/configure: Regenerated.
72124         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72125         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72126         * sysdeps/s390/s390-32/configure: Regenerated.
72127         * sysdeps/s390/s390-64/configure: Regenerated.
72128         * sysdeps/sh/configure: Regenerated.
72129         * sysdeps/sparc/configure: Regenerated.
72130         * sysdeps/x86_64/configure: Regenerated.
72132 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72136         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72137         denormal result into account.
72139 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72141         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72142         Reported by Allan McRae <allan@archlinux.org>.
72144 2012-03-23  Jeff Law  <law@redhat.com>
72146         * nss/getnssent.c (__nss_getent): Fix typo.
72148 2012-03-23  David S. Miller  <davem@davemloft.net>
72150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72152 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72154         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72155         to pad to uint64_t for each field.
72156         (dl_tls_index): Replace unsigned long with uint64_t.
72158 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72159         Paul Pluzhnikov  <ppluzhnikov@google.com>
72161         [BZ #6528]
72162         * grp/Makefile (otherlibs): Don't set it.
72163         * inet/Makefile (otherlibs): Likewise.
72164         * login/Makefile (otherlibs): Likewise.
72165         * nscd/Makefile (otherlibs): Likewise.
72166         * posix/Makefile (otherlibs): Likewise.
72167         * pwd/Makefile (otherlibs): Likewise.
72168         * rt/Makefile (otherlibs): Likewise.
72169         * sunrpc/Makefile (otherlibs): Likewise.
72170         * nss/Makefile (otherlibs): Likewise.
72171         Add libnss_files to routines and static-only-routines.
72172         ($(objpfx)getent): Remove rule.
72173         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72174         static-only-routines.
72176 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72178         [BZ #13892]
72179         * math/s_cexp.c: Include <float.h>.
72180         (__cexp): Handle exp result overflowing not necessarily
72181         overflowing both real and imaginary parts of result.
72182         * math/s_cexpf.c: Likewise.
72183         * math/s_cexpl.c: Likewise.
72184         * math/libm-test.inc (cexp_test): Add more tests.
72185         * sysdeps/i386/fpu/libm-test-ulps: Update.
72186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72188 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72190         * include/link.h (ELFW): New macro.
72191         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72192         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72194 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72196         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72197         with uint64_t.
72199 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72201         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72202         declaration.
72203         (struct La_x32_retval): Likewise.
72205 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72207         * sysdeps/x86_64/preconfigure.in: New file.
72208         * sysdeps/x86_64/preconfigure: New generated file.
72210 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72212         [BZ #13824]
72213         * math/e_exp2l.c: Include <float.h>.
72214         (__ieee754_exp2l): Handle overflow and underflow cases
72215         separately.  Only pass fractional part of argument to
72216         __ieee754_expl.
72217         * math/libm-test.inc (exp2_test): Add more tests.
72219         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72220         negating x to take absolute value.
72221         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72222         Likewise.
72223         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72224         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72225         Likewise.
72226         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72227         computing low part if x was negated.
72228         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72230 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72232         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72233         la_x32_gnu_pltexit.
72234         (pltexit): Cast int_retval to ptrdiff_t.
72235         * elf/tst-auditmod3b.c: Likewise.
72236         * elf/tst-auditmod4b.c: Likewise.
72237         * elf/tst-auditmod5b.c: Likewise.
72238         * elf/tst-auditmod6b.c: Likewise.
72239         * elf/tst-auditmod6c.c: Likewise.
72240         * elf/tst-auditmod7b.c: Likewise.
72242         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72243         and x32_gnu_pltexit.
72245         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72246         __ELF_NATIVE_CLASS.
72247         (La_x32_regs): New macro.
72248         (La_x32_retval): Likewise.
72249         (la_x32_gnu_pltenter): New function prototype.
72250         (la_x32_gnu_pltexit): Likewise.
72252 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72254         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72255         exponent.
72257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72259         * configure.in (libc_cv_cc_nofma): Check for option to disable
72260         generation of FMA instructions.
72261         * configure: Regenerate.
72262         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72263         * sysdeps/ieee754/dbl-64/Makefile: New file.
72264         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72265         Remove brandred-fma4.
72266         (CFLAGS-brandred-fma4.c): Remove.
72267         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72268         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72269         define.
72270         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72271         define.
72273 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72275         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72276         LLONG_MAX != LONG_MAX.
72277         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72278         (_fitoa_word): Likewise.
72279         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72280         LLONG_MAX != LONG_MAX.
72281         * stdio-common/_itowa.h: Include <_itoa.h>.
72282         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72283         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72284         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72285         only if not defined.
72286         (_ITOA_WORD_TYPE): Likewise.
72287         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72288         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72290 2012-03-21  David S. Miller  <davem@davemloft.net>
72292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72294 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72296         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72297         of x86_64 when setting libc_cv_slibdir, libdir and
72298         libc_cv_localedir.
72299         * sysdeps/unix/sysv/linux/configure: Regenerated.
72301 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72303         * manual/lang.texi (Old Varargs): Remove section.
72304         (How Variadic): Update menu.
72305         (va_start): Do not mention varargs.h.
72307 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72308             Joseph Myers  <joseph@codesourcery.com>
72310         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72311         link test.
72312         * configure: Regenerated.
72314 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72316         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72317         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72318         conformtest.pl
72320 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72322         * NOTES: Remove.
72323         * Makefile (files-for-dist): Remove NOTES.
72324         (NOTES): Remove rule.
72325         * README: Don't refer to NOTES.
72326         * manual/creature.texi: Don't include macros.texi.
72327         * manual/intro.texi (creature.texi): Remove comment referring to
72328         NOTES.
72330         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72331         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72332         * configure: Regenerated.
72333         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72334         LIBC_TRY_CC_OPTION.
72335         (libc_cv_as_i686): Likewise.
72336         (libc_cv_cc_avx): Likewise.
72337         (libc_cv_cc_sse2avx): Likewise.
72338         (libc_cv_cc_fma4): Likewise.
72339         (libc_cv_cc_novzeroupper): Likewise.
72340         * sysdeps/i386/configure: Regenerated.
72342         [BZ #13883]
72343         * sysdeps/i386/fpu/s_cexp.S: Remove.
72344         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72345         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72346         * math/libm-test.inc (cexp_test): Add more tests.
72347         * sysdeps/i386/fpu/libm-test-ulps: Update.
72348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72350 2012-03-21  Allan McRae  <allan@archlinux.org>
72352         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72354 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72356         [BZ #13871]
72357         * math/w_exp2.c: Do not include <float.h>.
72358         (o_threshold, u_threshold): Remove.
72359         (__exp2): Calculate result before checking finiteness and calling
72360         __kernel_standard.
72361         * math/w_exp2f.c: Likewise.
72362         * math/w_exp2l.c: Likewise.
72363         * math/libm-test.inc (exp2_test): Require overflow exception for
72364         1e6 input.
72366         [BZ #3866]
72367         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72368         range of signed 64-bit integers before using fistpll.  Remove
72369         checks for whether integers fit in mantissa bits.
72370         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72371         the range of signed 32-bit integers before using fistpl.  Remove
72372         checks for whether integers fit in mantissa bits.
72373         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72374         (__ieee754_powl): Test for y outside the range of signed 64-bit
72375         integers before using fistpll.  Reduce 64-bit values to 63-bit
72376         ones as needed.
72377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72378         divide-by-zero is raised for zero to large negative powers.
72379         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72380         (__ieee754_powl): Test for y outside the range of signed 64-bit
72381         integers before using fistpll.  Reduce 64-bit values to 63-bit
72382         ones as needed.
72383         * math/libm-test.inc (pow_test): Add more tests.
72385 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72387         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72388         <stdio-common/_itoa.h>.
72389         * debug/segfault.c: Likewise.
72390         * elf/dl-cache.c: Likewise.
72391         * elf/dl-minimal.c: Likewise.
72392         * elf/dl-misc.c: Likewise.
72393         * elf/dl-sysdep.c: Likewise.
72394         * elf/dl-version.c: Likewise.
72395         * elf/rtld.c: Likewise.
72396         * hurd/hurdsock.c: Likewise.
72397         * hurd/lookup-retry.c: Likewise.
72398         * malloc/malloc.c: Likewise.
72399         * malloc/mtrace.c: Likewise.
72400         * nscd/nscd_getgr_r.c: Likewise.
72401         * nscd/nscd_getpw_r.c: Likewise.
72402         * nscd/nscd_getserv_r.c: Likewise.
72403         * posix/getopt_init.c: Likewise.
72404         * posix/wordexp.c: Likewise.
72405         * stdio-common/_itoa.c: Likewise.
72406         * stdio-common/printf_fphex.c: Likewise.
72407         * stdio-common/vfprintf.c: Likewise.
72408         * string/_strerror.c: Likewise.
72409         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72410         * sysdeps/i386/i686/hp-timing.h: Likewise.
72411         * sysdeps/mach/_strerror.c: Likewise.
72412         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72413         * sysdeps/mach/hurd/sethostid.c: Likewise.
72414         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72415         * sysdeps/mach/xpg-strerror.c: Likewise.
72416         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72418         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72419         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72420         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72421         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72422         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72423         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72424         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72425         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72426         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72427         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72428         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72429         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72430         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72431         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72432         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72433         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72434         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72435         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72436         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72438         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72440         * stdio-common/_itoa.h: Moved to ...
72441         * sysdeps/generic/_itoa.h: Here.
72443         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72445         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72446         instead of "_itoa.h" and "_itowa.h".
72447         * stdio-common/vfprintf.: Likewise.
72449 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72451         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72452         <bits/wordsize.h>.
72453         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72454         (__signbit): Likwise.
72455         (llrintf): Likwise.
72456         (llrint): Likwise.
72458 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72460         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72461         __WORDSIZE != 64.
72463 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72465         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72466         OVERFLOW_EXCEPTION_OK.
72467         * math/libm-test.inc ("Philosophy"): Update comment about
72468         exception testing.
72469         (OVERFLOW_EXCEPTION): Define.
72470         (OVERFLOW_EXCEPTION_OK): Likewise.
72471         (INVALID_EXCEPTION_OK): Renumber.
72472         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72473         (IGNORE_ZERO_INF_SIGN): Likewise.
72474         (test_exceptions): Handle FE_OVERFLOW.
72475         (exp10_test): Expect overflow exceptions.
72476         (exp2_test): Likewise.
72477         (expm1_test): Likewise.
72478         (nextafter_test): Likewise.
72479         (pow_test): Likewise.
72480         (scalbn_test): Likewise.
72481         (scalbln_test): Likewise.
72483 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72485         * sysdeps/x86_64/bits/atomic.h
72486         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72487         64bit integer.
72488         (atomic_exchange_acq): Likewise.
72489         (__arch_exchange_and_add_body): Likewise.
72490         (__arch_add_body): Likewise.
72491         (atomic_add_negative): Likewise.
72492         (atomic_add_zero): Likewise.
72494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72496         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72497         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72499 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72501         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72502         Check __x86_64__ instead of __WORDSIZE.
72504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72506         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72508 2012-03-19  David S. Miller  <davem@davemloft.net>
72510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72512         * sysdeps/sparc/fpu/fenv_private.h: New file.
72513         * sysdeps/sparc/fpu/math_private.h: Use it.
72514         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72515         Remove.
72516         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72517         (libc_feholdexcept_setroundl): Remove.
72518         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72519         Remove.
72520         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72521         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72523 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72525         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72526         int64_t instead of long int.
72527         (INSERT_WORDS64): Likwise.
72529 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72531         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72532         _Unwind_GetCFA return to _Unwind_Ptr first.
72534 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72536         [BZ #13629]
72537         * math/s_clog.c: Include <float.h>.
72538         (__clog): Scale large or subnormal inputs.
72539         * math/s_clogf.c: Likewise.
72540         * math/s_clogl.c: Likewise.
72541         * math/s_clog10.c: Include <float.h>.
72542         (M_LOG10_2): Define.
72543         (__clog10): Scale large or subnormal inputs.
72544         * math/s_clog10f.c: Likewise.
72545         * math/s_clog10l.c: Likewise.
72546         * math/libm-test.inc (clog_test): Add more tests.
72547         (clog10_test): Likewise.
72548         * sysdeps/i386/fpu/libm-test-ulps: Update.
72549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72551         [BZ #11451]
72552         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72553         x and y.
72554         * math/libm-test.inc (atan2_test): Add another test.
72556         * Makerules (common-objdir-compile): Remove.
72557         * sysdeps/unix/Makefile (config-generated): Do not add
72558         $(unix-generated) to variable.
72559         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72560         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72561         Remove rule.
72562         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72563         Likewise.
72564         [generic bits/local_lim.h] (before-compile): Do not append to
72565         variable.
72566         [generic bits/local_lim.h] (common-generated): Likewise.
72567         [generic sys/param.h] (before-compile): Do not append to variable.
72568         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72569         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72570         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72571         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72572         include.
72573         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72574         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72575         [generic sys/param.h] ($(addprefix
72576         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72577         [generic sys/param.h] (common-generated): Do not append to
72578         variable.
72579         [generic sys/param.h] (sysdep_headers): Likewise.
72580         [generic bits/errno.h] (before-compile): Do not append to
72581         variable.
72582         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72583         rule.
72584         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72585         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72586         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72587         [generic bits/errno.h] (common-generated): Do not append to
72588         variable.
72589         [generic bits/ioctls.h] (before-compile): Do not append to
72590         variable.
72591         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72592         rule.
72593         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72594         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72595         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72596         rule.
72597         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72598         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72599         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72600         [generic bits/ioctls.h] (common-generated): Do not append to
72601         variable.
72602         [generic sys/syscall.h] (syscall.h): Remove variable.
72603         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72604         rule.
72605         [generic sys/syscall.h] (before-compile): Do not append to
72606         variable.
72607         [generic sys/syscall.h] (common-generated): Likewise.
72608         * sysdeps/unix/errnos-tmpl.c: Remove file.
72609         * sysdeps/unix/errnos.awk: Likewise.
72610         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72611         * sysdeps/unix/ioctls.awk: Likewise.
72612         * sysdeps/unix/mk-local_lim.c: Likewise.
72613         * sysdeps/unix/snarf-ioctls: Likewise.
72615 2012-03-19  Richard Henderson  <rth@twiddle.net>
72617         * sysdeps/i386/fpu/fenv_private.h: New file.
72618         * sysdeps/i386/fpu/math_private.h: Use it.
72619         (math_opt_barrier, math_force_eval): Remove.
72620         (libc_feholdexcept_setround_53bit): Remove.
72621         (libc_feupdateenv_53bit): Remove.
72622         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72623         (math_opt_barrier, math_force_eval): Remove.
72624         (libc_feholdexcept): Remove.
72625         (libc_feholdexcept_setround): Remove.
72626         (libc_fetestexcept, libc_fesetenv): Remove.
72627         (libc_feupdateenv_test): Remove.
72628         (libc_feupdateenv, libc_feholdsetround): Remove.
72629         (libc_feresetround): Remove.
72631         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72632         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72634         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72635         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72636         (libc_feupdateenv_testl): New.
72637         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72638         (libc_feupdateenv_testf): New.
72639         (libc_feupdateenv): Use libc_feupdateenv_test.
72640         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72641         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72643         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72644         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72645         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72646         (libc_feresetround_noex): New.
72647         (libc_feresetround_noexf): New.
72648         (libc_feresetround_noexl): New.
72649         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72650         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72651         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72652         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72653         SET_RESTORE_ROUND.
72654         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72656         (__cos): Likewise.
72657         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72658         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72659         SET_RESTORE_ROUND_NOEX.
72660         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72661         SET_RESTORE_ROUND_NOEXF.
72662         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72663         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72664         (libc_feholdsetroundf): New.
72665         (libc_feresetround, libc_feresetroundf): New.
72667         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72668         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72669         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72671         * sysdeps/generic/math_private.h: Include <fenv.h>.
72672         (default_libc_feholdexcept): New.
72673         (default_libc_feholdexcept_setround): New.
72674         (default_libc_fesetenv, default_libc_feupdateenv): New.
72675         (libc_feholdexcept): Only define if undefined.
72676         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72677         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72678         (libc_feholdexcept_setroundl): Likewise.
72679         (libc_feholdexcept_setround_53bit): Likewise.
72680         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72681         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72682         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72683         (libc_feupdateenv_53bit): Likewise.
72684         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72685         (libc_feholdexcept): Convert from macro to inline function.
72686         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72687         (libc_fesetenv, libc_feupdateenv): Likewise.
72689         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72690         not previously defined.
72691         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72692         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72693         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72694         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72695         * sysdeps/ieee754/flt-32/math_private.h: New file.
72696         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72697         math_private.h below SET_FLOAT_WORD.
72698         (__isnan, __isinf_ns, __finite): Remove.
72699         (__isnanf, __isinf_nsf, __finitef): Remove.
72701 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72705 2012-03-17  David S. Miller  <davem@davemloft.net>
72707         [BZ #6471]
72708         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72709         for 2.16.
72711 2012-03-16  David S. Miller  <davem@davemloft.net>
72713         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72714         warnings.
72716         [BZ #6471]
72717         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72718         properly.
72719         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72720         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72721         sysdep_routines when subdir is sysvipc.
72722         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72723         __getshmlba helper.
72725         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72727 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72729         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72730         [__LP64__].
72732 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72734         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72735         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72736         (__lround): Renamed to ...
72737         (__llround): This.  Replace long int with long long int.
72738         Define lround functions as aliases of llround functions.
72739         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72743         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72744         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72745         adresses to uintptr_t.  Replace "long int" and "unsigned long
72746         int" with "greg_t" on va_arg.
72748 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72750         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72751         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72753         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72754         Move e_machine check before EI_CLASS check.  Handle x32
72755         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72756         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72757         SKIP_EM_IA_64 and include
72758         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72760         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72761         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72762         (add_system_dir): New macro.
72764         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72765         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72767 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72769         [BZ #2551]
72770         [BZ #2552]
72771         [BZ #2553]
72772         [BZ #2554]
72773         [BZ #2562]
72774         [BZ #2563]
72775         [BZ #2565]
72776         [BZ #2566]
72777         [BZ #2576]
72778         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72779         (y0): Likewise.
72780         * math/w_j0f.c (j0f): Likewise.
72781         (y0f): Likewise.
72782         * math/w_j0l.c (__j0l): Likewise.
72783         (__y0l): Likewise.
72784         * math/w_j1.c (j1): Likewise.
72785         (y1): Likewise.
72786         * math/w_j1f.c (j1f): Likewise.
72787         (y1f): Likewise.
72788         * math/w_j1l.c (__j1l): Likewise.
72789         (__y1l): Likewise.
72790         * math/w_jn.c (jn): Likewise.
72791         (yn): Likewise.
72792         * math/w_jnf.c (jnf): Likewise.
72793         (ynf): Likewise.
72794         * math/w_jnl.c (__jnl): Likewise.
72795         (__ynl): Likewise.
72796         * math/libm-test.inc (j0_test): Add more tests.
72797         (j1_test): Likewise.
72798         (jn_test): Likewise.  Add trailing semicolon to existing test.
72799         (y0_test): Likewise.
72800         (y1_test): Likewise.
72801         * sysdeps/i386/fpu/libm-test-ulps: Update.
72802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72804         [BZ #13851]
72805         [BZ #13854]
72806         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72807         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72808         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72809         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72810         (__tanl): Set errno for infinite argument.
72811         * sysdeps/i386/fpu/mptan.c: Remove.
72812         * sysdeps/i386/fpu/s_tan.S: Likewise.
72813         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72814         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72815         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72816         * math/libm-test.inc (tan_test): Add more tests and enable more
72817         tests for double and long double.
72818         * sysdeps/i386/fpu/libm-test-ulps: Update.
72819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72821 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72823         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72824         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72826 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72828         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72829         * configure.in: Use it for both main tree and add-ons.
72830         * configure: Regenerated.
72832 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72834         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72836 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72838         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72839         in comment.
72841         [BZ #13851]
72842         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72843         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72844         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72845         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72846         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72847         infinite argument.
72848         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72849         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72850         != 0 for prec == 2.
72851         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72852         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72853         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72854         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72855         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72856         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72857         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72858         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72859         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72860         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72861         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72862         * math/libm-test.inc (cos_test): Add more tests and enable more
72863         tests for long double.
72864         (sin_test): Likewise.
72865         (sincos_test): Likewise.
72866         * sysdeps/i386/fpu/libm-test-ulps: Update.
72867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72869 2012-03-16  David S. Miller  <davem@davemloft.net>
72871         * sysdeps/sparc/fpu/math_private.h: New file.
72873 2012-03-15  David S. Miller  <davem@davemloft.net>
72875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72876         file.
72877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72879         file.
72880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72885         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72886         sysdep routines.
72887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72889         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72890         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72892         * sysdeps/sparc/sparc-ifunc.h: New file.
72893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72894         sparc-ifunc.h
72895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72897         Likewise.
72898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72899         Likewise.
72900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72904         Likewise.
72905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72910         Likewise.
72911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72912         Likewise.
72913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72917         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72919         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72933         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72935         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72938 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72940         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72941         scaling.
72942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72944 2012-03-15  Andreas Jaeger  <aj@suse.de>
72946         [BZ #13852]
72947         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72948         ieee754/flt-32 implementation for sin, cos and sincos.
72949         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72950         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72951         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72952         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72953         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72954         ieee754/flt-32 implementation for tan.
72956         * math/libm-test.inc (cos_test): Enable some large input tests for
72957         float as well
72958         (sin_test): Likewise.
72959         (sincos_test): Likewise.
72960         (tan_test): Add tests for large input.
72962         * sysdeps/i386/fpu/libm-test-ulps: Update.
72964 2012-03-15  Andreas Jaeger  <aj@suse.de>
72966         [BZ #13658]
72967         * math/libm-test.inc (cos_test): Add more test cases.
72968         (sin_test): Likewise.
72969         (sincos_test): Likewise.
72971 2012-03-15  Andreas Jaeger  <aj@suse.de>
72973         [BZ #13837]
72974         * math/libm-test.inc (cos_test): Add a test case for large input
72975         value.
72976         (sin_test): Likewise.
72977         (sincos_test): Likewise.
72979 2012-03-15  Andreas Jaeger  <aj@suse.de>
72980             Joseph Myers  <joseph@codesourcery.com>
72982         [BZ #13658]
72983         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72984         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72985         * sysdeps/i386/fpu/branred.c: Likewise.
72986         * sysdeps/i386/fpu/dosincos.c: Likewise.
72987         * sysdeps/i386/fpu/mpa.c: Likewise.
72988         * sysdeps/i386/fpu/s_cos.S: Likewise.
72989         * sysdeps/i386/fpu/s_sin.S: Likewise.
72990         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72991         * sysdeps/i386/fpu/sincos32.c: Likewise.
72993         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72994         Define.
72995         (libc_feupdateenv_53bit): Define.
72996         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72997         Define.
72998         (libc_feupdateenv_53bit): Define.
73000         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73001         53 bit (without extend i386 double precision).
73003         * math/libm-test.inc (sincos_test): Add tests for large input.
73004         (sin): Likewise.
73005         (cos): Likewise.
73007         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73009 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73013 2012-03-15  David S. Miller  <davem@davemloft.net>
73015         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73016         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73017         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73018         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73031         file.
73032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73034         file.
73035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73037         file.
73038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73040         file.
73041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73042         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73043         fmin/fmax sysdep routines.
73044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73046 2012-03-14  David S. Miller  <davem@davemloft.net>
73048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73055         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73071         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73072         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73074         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73075         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73077         routines.
73078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73079         file.
73080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73082         file.
73083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73085         file.
73086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73088         file.
73089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73091         file.
73092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73094         file.
73095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73096         file.
73097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73098         file.
73099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73100         file.
73101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73102         New file.
73103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73104         file.
73105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73106         file.
73107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73109         file.
73110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73112         file.
73113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73115         file.
73116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73118         VIS3 routines.
73120         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73121         New file.
73123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73125         * sysdeps/sparc/configure.in: New file.
73126         * sysdeps/sparc/configure: Generate.
73127         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73128         * configure: Regenerate.
73129         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73130         * config.make.in (have-as-vis3): New.
73131         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73132         available use -Av9d instead of -Av9a.
73133         * sysdeps/sparc/sparc64/Makefile: Likewise.
73134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73136         New file.
73137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73138         file.
73139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73140         New file.
73141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73142         file.
73143         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73144         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73147         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73149         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73150         fzeros/fnegs to load 0x80000000 into a float register instead of
73151         using the stack.
73152         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73154 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73156         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73157         bits/syscall.h.
73158         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73159         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73160         ($(inst_includedir)/bits/syscall.h): Remove rule.
73161         ($(objpfx)bits/syscall.d): Include instead of
73162         $(objpfx)syscall-list.d.
73163         (generated): Change syscall-list.h and syscall-list.d to
73164         bits/syscall.h and bits/syscall.d.
73166 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73168         [BZ #13846]
73169         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73171 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73173         [BZ #13841]
73174         * math/s_csqrt.c: Include <float.h>.
73175         (__csqrt): Scale large or subnormal inputs.
73176         * math/s_csqrtf.c: Likewise.
73177         * math/s_csqrtl.c: Likewise.
73178         * math/libm-test.inc (csqrt_test): Add more tests.
73179         * sysdeps/i386/fpu/libm-test-ulps: Update.
73180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73182         [BZ #13840]
73183         * math/libm-test.inc (hypot_test): Add more tests.
73185 2012-03-13  David S. Miller  <davem@davemloft.net>
73187         [BZ #13840]
73188         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73189         double-precision for the calculation instead of scaling.
73191 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73193         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73194         manipulate bits before adding and subtracting TWO52[sx].
73195         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73196         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73197         Likewise.
73198         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73200 2012-03-13  David S. Miller  <davem@davemloft.net>
73202         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73203         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73205         rtld-global-offsets.h
73206         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73208         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73209         large parameters.
73211         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73213         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73214         'err' in the ifdef scope in which it is actually used.
73216         * nss/nss_db/db-init.c: Include string.h
73218 2012-03-12  David S. Miller  <davem@davemloft.net>
73220         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73221         masking out of the most significant byte of random value used.
73222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73223         Fix coding style in previous change.
73225         * sysdeps/unix/sysv/linux/kernel-features.h
73226         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73227         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73228         expression.
73229         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73230         later.
73232 2012-03-11  David S. Miller  <davem@davemloft.net>
73234         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73235         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73236         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73237         for 'resultvar' otherwise things get truncated on 64-bit.
73239         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73240         Fix masking out of the most significant byte of random value used.
73242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73244 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73248 2012-03-09  David S. Miller  <davem@davemloft.net>
73250         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73251         variables with appropriate CPP guards.
73252         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73253         from the frame pointer, not the stack pointer.  Correct layout
73254         comments.  Fix test on resulting framesize and the management of
73255         the outregs buffer for pltexit.  Preserve floating point return
73256         values across _dl_call_pltexit call.
73257         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73258         framesize and the management of the outregs buffer for pltexit.
73259         Preserve floating point return values across _dl_call_pltexit
73260         call.
73261         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73262         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73263         (la_sparc64_gnu_pltexit): New functions.
73264         (print_exit): Fix format string for return register value.
73266 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73268         * sunrpc/Makefile (others): Add rpcgen.
73269         ($(objpfx)rpcgen): Remove special build rule and dependency on
73270         libc.
73271         * sunrpc/rpcgen.c: New file.
73273 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73275         [BZ #13673]
73276         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73277         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73278         * sysdeps/i386/crti.S: Likewise.
73279         * sysdeps/i386/crtn.S: Likewise.
73280         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73281         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73282         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73283         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73284         * sysdeps/sh/crti.S: Likewise.
73285         * sysdeps/sh/crtn.S: Likewise.
73286         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73288         [BZ #13673]
73289         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73290         with URL.
73291         * locale/programs/locfile-kw.gperf: Likewise.
73292         * locale/programs/charmap-kw.h: Regenerated.
73293         * locale/programs/locfile-kw.h: Likewise.
73295         [BZ #13673]
73296         * intl/plural.y: Replace FSF snail mail address with URL.
73297         * intl/plural.c: Regenerated.
73299 2012-03-09  Richard Henderson  <rth@twiddle.net>
73301         * include/math_private.h: Remove file.
73302         * math/math_private.h: Move file ...
73303         * sysdeps/generic/math_private.h: ... here.
73305         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73306         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73307         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73309         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73310         and <math_private.h>.
73311         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73312         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73313         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73314         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73315         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73316         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73317         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73318         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73319         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73320         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73322         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73323         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73324         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73325         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73326         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73327         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73328         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73329         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73330         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73332         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73333         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73335         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73336         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73337         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73338         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73339         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73340         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73341         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73342         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73343         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73344         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73345         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73348         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73349         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73350         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73351         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73352         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73354         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73355         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73356         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73357         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73358         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73359         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73360         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73361         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73362         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73363         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73364         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73365         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73366         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73367         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73368         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73369         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73370         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73371         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73378         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73379         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73381         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73382         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73383         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73385         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73386         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73388         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73390         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73391         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73392         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73393         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73394         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73396         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73398         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73399         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73400         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73401         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73402         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73403         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73404         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73405         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73406         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73407         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73408         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73410         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73411         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73412         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73413         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73414         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73415         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73416         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73417         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73418         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73419         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73420         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73421         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73422         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73423         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73424         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73425         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73426         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73427         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73428         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73429         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73430         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73431         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73432         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73433         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73434         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73435         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73436         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73437         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73438         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73439         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73440         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73441         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73442         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73443         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73444         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73445         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73446         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73447         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73448         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73449         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73450         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73451         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73452         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73453         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73454         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73455         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73456         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73457         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73458         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73459         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73460         * sysdeps/ieee754/k_standard.c: Likewise.
73461         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73462         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73463         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73464         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73465         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73466         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73467         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73468         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73469         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73471         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73472         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73473         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73474         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73475         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73476         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73477         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73478         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73479         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73480         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73481         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73482         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73483         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73484         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73485         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73486         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73487         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73488         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73489         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73490         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73491         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73492         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73493         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73494         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73495         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73496         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73497         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73498         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73499         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73500         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73501         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73502         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73503         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73504         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73505         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73506         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73507         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73508         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73509         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73510         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73511         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73512         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73513         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73514         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73517         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73518         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73519         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73520         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73521         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73522         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73523         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73531         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73534         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73537         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73538         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73539         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73540         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73541         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73543         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73544         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73546         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73547         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73548         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73550         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73551         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73552         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73553         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73554         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73555         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73556         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73557         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73558         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73559         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73560         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73561         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73562         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73564         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73565         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73568         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73569         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73570         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73572         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73573         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73574         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73575         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73576         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73577         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73578         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73579         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73580         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73581         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73582         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73583         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73584         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73585         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73586         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73588         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73589         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73594         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73595         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73596         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73597         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73598         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73602         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73603         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73605         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73607         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73609         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73610         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73611         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73612         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73614         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73615         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73618         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73619         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73620         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73621         * sysdeps/ieee754/s_lib_version.c: Likewise.
73622         * sysdeps/ieee754/s_matherr.c: Likewise.
73623         * sysdeps/ieee754/s_signgam.c: Likewise.
73624         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73625         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73626         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73627         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73628         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73629         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73630         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73631         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73632         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73633         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73634         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73635         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73636         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73637         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73638         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73639         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73640         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73641         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73642         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73644         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73646 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73648         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73649         * sunrpc/rpc_main.c: Likewise.
73650         * sunrpc/rpc_svcout.c: Likewise.
73652 2012-03-09  David S. Miller  <davem@davemloft.net>
73654         * include/math_private.h: New file.
73656 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73658         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73659         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73660         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73661         from <bits/socket_type.h>.
73662         (enum __socket_type): Don't define here.
73663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73665         bits/socket_type.h.
73667         [BZ #13566]
73668         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73669         checking __USE_GNU.
73671         * Makerules ($(inst_includedir)/%.h): New rule.
73672         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73673         (install-others): Remove variable setting.
73674         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73676 2012-03-08  Richard Henderson  <rth@twiddle.net>
73678         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73679         from macro to inline function; merge with the
73680         !__LIBC_INTERNAL_MATH_INLINES version.
73681         (__ieee754_sqrtf): Likewise.
73683         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73684         to inline function.
73685         (__rintf, __floor, __floorf): Likewise.
73687         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73688         macro to inline function.
73689         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73691         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73692         not <math/math_private.h>.
73694 2012-03-08  David S. Miller  <davem@davemloft.net>
73696         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73697         copyright year.
73698         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73700 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73702         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73703         normalization.
73704         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73705         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73707 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73709         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73710         be defined individually, they must be defined as a block.  Define
73711         S for printing a string instead of hidint the different by using a
73712         macro for adding the 'l'.
73713         * stdio-common/tst-fphex-wide.c: Adjust.
73715 2012-03-07  Marek Polacek  <polacek@redhat.com>
73717         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73719 2012-03-08  Marek Polacek  <polacek@redhat.com>
73721         [BZ #13806]
73722         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73723         * stdio-common/tst-fphex.c: Define a few macros to make the
73724         test reusable.  Use them.
73725         * stdio-common/tst-fphex-wide.c: New file.
73727 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73729         [BZ #6911]
73730         * manual/macros.texi (gnusystems): New macro.
73731         (nongnusystems): Likewise.
73732         (gnulinuxhurdsystems): Likewise.
73733         (gnuhurdsystems): Likewise..
73734         (gnulinuxsystems): Likewise.
73735         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73736         variants of the GNU system, not "GNU system".
73737         * manual/conf.texi: Likewise.
73738         * manual/errno.texi: Likewise.  Update example of errno macro
73739         expansion.
73740         * manual/filesys.texi: Likewise.
73741         (getumask): Document as specific to GNU/Hurd.
73742         * manual/install.texi: Likewise.  Reword some references to
73743         GNU/Linux.
73744         * manual/intro.texi: Likewise.
73745         * manual/io.texi: Likewise.
73746         (File Name Portability): Detail which constraints are inapplicable
73747         to all GNU systems and which are only inapplicable to GNU/Hurd.
73748         * manual/job.texi: Likewise.
73749         * manual/llio.texi: Likewise.
73750         (O_NOCTTY): Document as present on GNU/Linux.
73751         * manual/maint.texi: Likewise.
73752         * manual/memory.texi: Likewise.
73753         * manual/pattern.texi: Likewise.
73754         * manual/pipe.texi: Likewise.
73755         * manual/process.texi: Likewise.
73756         * manual/resource.texi: Likewise.
73757         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73758         child on GNU/Hurd.
73759         * manual/setjmp.texi: Likewise.
73760         * manual/signal.texi: Likewise.
73761         * manual/startup.texi: Likewise.
73762         * manual/stdio.texi: Likewise.
73763         * manual/terminal.texi: Likewise.
73764         (ONLCR): Document as POSIX.
73765         (OXTABS): Document availability on GNU/Linux as XTABS.
73766         (ONOEOT): Document availability separately from other bits.
73767         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73768         * manual/time.texi: Likewise.
73769         * manual/users.texi: Likewise.
73770         * INSTALL: Regenerated.
73771         * sysdeps/gnu/errlist.c: Regenerated.
73773         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73774         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73775         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73776         puts.
73777         * configure: Regenerated.
73779 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73781         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73782         default includes instead of AC_HEADER_CHECK.
73783         * sysdeps/i386/configure: Regenerated.
73785         [BZ #10716]
73786         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73787         * math/s_cacoshf.c (__cacoshf): Likewise.
73788         * math/s_cacoshl.c (__cacoshl): Likewise.
73789         * math/s_casinh.c (__casinh): Set signs of result from argument.
73790         * math/s_casinhf.c (__casinhf): Likewise.
73791         * math/s_casinhl.c (__casinhl): Likewise.
73792         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73793         (casinh_test): Add more tests.
73794         * sysdeps/i386/fpu/libm-test-ulps: Update.
73795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73797 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73799         * po/zh_TW.po: Update from translation team.
73801         * login/Makefile (distribute): Remove variable.
73802         * catgets/Makefile: Likewise.
73803         * mach/Makefile: Likewise.
73804         * malloc/Makefile: Likewise.
73805         * misc/Makefile: Likewise.
73806         * iconv/Makefile: Likewise.
73807         * nscd/Makefile: Likewise.
73808         * hurd/Makefile: Likewise.
73809         * manual/Makefile: Likewise.
73810         * locale/Makefile: Likewise.
73811         * intl/Makefile: Likewise.
73812         * conform/Makefile: Likewise.
73813         * nss/Makefile: Likewise.
73814         * time/Makefile: Likewise.
73815         * soft-fp/Makefile: Likewise.
73816         * dirent/Makefile: Likewise.
73817         * gmon/Makefile: Likewise.
73818         * po/Makefile: Likewise.
73819         * rt/Makefile: Likewise.
73820         * socket/Makefile: Likewise.
73821         * math/Makefile: Likewise.
73822         * signal/Makefile: Likewise.
73823         * debug/Makefile: Likewise.
73824         * elf/Makefile: Likewise.
73825         * timezone/Makefile: Likewise.
73826         * stdlib/Makefile: Likewise.
73827         * iconvdata/Makefile: Likewise.
73828         * sunrpc/Makefile: Likewise.
73829         * io/Makefile: Likewise.
73830         * argp/Makefile: Likewise.
73831         * inet/Makefile: Likewise.
73832         * hesiod/Makefile: Likewise.
73833         * grp/Makefile: Likewise.
73834         * csu/Makefile: Likewise.
73835         * wctype/Makefile: Likewise.
73836         * crypt/Makefile: Likewise.
73837         * libio/Makefile: Likewise.
73838         * string/Makefile: Likewise.
73839         * nis/Makefile: Likewise.
73840         * resolv/Makefile: Likewise.
73841         * stdio-common/Makefile: Likewise.
73842         * wcsmbs/Makefile: Likewise.
73843         * dlfcn/Makefile: Likewise.
73844         * posix/Makefile: Likewise.
73846         [BZ #6959]
73847         * timezone/Makefile: Don't install timezone files, just the programs
73848         and scripts.
73850 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73852         * nss/databases.def: Add missing gshadow entry.
73854         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73856 2012-03-06  Marek Polacek  <polacek@redhat.com>
73858         [BZ #13726]
73859         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73860         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73861         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73862         * stdio-common/tst-long-dbl-fphex.c: New file.
73864 2012-03-06  David S. Miller  <davem@davemloft.net>
73866         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73867         (set_obp_int): New function.
73868         (get_obp_int): New function.
73869         (__get_clockfreq_via_dev_openprom): Likewise.
73870         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73871         Avoid unused variable warnings on 'val' and use builtin_expect.
73872         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73873         __builtin_expect.
73874         (INLINE_CLONE_SYSCALL): Likewise.
73876 2012-03-05  David S. Miller  <davem@davemloft.net>
73878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73880 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73884         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73885         only for |x| >= 40.
73886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73888 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73890         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73891         Replace gettimeofday with __vdso_gettimeofday.
73893         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73894         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73895         __vdso_clock_gettime and __vdso_getcpu.
73897         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73898         time with __vdso_time.
73900 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73902         * manual/lang.texi (size_t): Note types to which size_t may be
73903         equivalent with the GNU C Library, but do not describe when
73904         differences between them are significant.
73906 2012-03-05  Andreas Jaeger  <aj@suse.de>
73908         * sysdeps/i386/fpu/libm-test-ulps: Update.
73910 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73912         [BZ #3976]
73913         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73914         (__ieee754_pow): Save and restore rounding mode and use
73915         round-to-nearest for main computations.
73916         * math/libm-test.inc (pow_test_tonearest): New function.
73917         (pow_test_towardzero): Likewise.
73918         (pow_test_downward): Likewise.
73919         (pow_test_upward): Likewise.
73920         (main): Call the new functions.
73921         * sysdeps/i386/fpu/libm-test-ulps: Update.
73922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73924         [BZ #3976]
73925         * math/libm-test.inc (cosh_test_tonearest): New function.
73926         (cosh_test_towardzero): Likewise.
73927         (cosh_test_downward): Likewise.
73928         (cosh_test_upward): Likewise.
73929         (sinh_test_tonearest): Likewise.
73930         (sinh_test_towardzero): Likewise.
73931         (sinh_test_downward): Likewise.
73932         (sinh_test_upward): Likewise.
73933         (main): Call the new functions.
73934         * sysdeps/i386/fpu/libm-test-ulps: Update.
73935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73937 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73939         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73940         default stack guard is set in last bytes.
73941         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73943 2012-03-05  Kees Cook  <keescook@chromium.org>
73945         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73947         [BZ #13656]
73948         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73949         possibly allocate from heap instead of stack.
73950         * stdio-common/bug-vfprintf-nargs.c: New file.
73951         * stdio-common/Makefile (tests): Add nargs overflow test.
73953 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73957 2012-03-03  Marek Polacek  <polacek@redhat.com>
73959         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73960         * math/math_private.h: Likewise.
73961         * stdlib/tst-strtod.c: Likewise.
73962         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73963         * sysdeps/x86_64/bits/atomic.h: Likewise.
73965 2012-03-02  David S. Miller  <davem@davemloft.net>
73967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73971         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73972         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73973         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73974         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73976 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73978         [BZ #13792]
73979         * manual/examples/README: New file, says the example source files
73980         can be used under GPL>=2.
73981         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73982         line containing just "*/".
73983         * manual/examples/add.c: Add copyright header (GPL>=2).
73984         * manual/examples/argp-ex1.c: Likewise.
73985         * manual/examples/argp-ex2.c: Likewise.
73986         * manual/examples/argp-ex3.c: Likewise.
73987         * manual/examples/argp-ex4.c: Likewise.
73988         * manual/examples/atexit.c: Likewise.
73989         * manual/examples/db.c: Likewise.
73990         * manual/examples/dir.c: Likewise.
73991         * manual/examples/dir2.c: Likewise.
73992         * manual/examples/execinfo.c: Likewise.
73993         * manual/examples/filecli.c: Likewise.
73994         * manual/examples/filesrv.c: Likewise.
73995         * manual/examples/fmtmsgexpl.c: Likewise.
73996         * manual/examples/genpass.c: Likewise.
73997         * manual/examples/inetcli.c: Likewise.
73998         * manual/examples/inetsrv.c: Likewise.
73999         * manual/examples/isockad.c: Likewise.
74000         * manual/examples/longopt.c: Likewise.
74001         * manual/examples/memopen.c: Likewise.
74002         * manual/examples/memstrm.c: Likewise.
74003         * manual/examples/mkfsock.c: Likewise.
74004         * manual/examples/mkisock.c: Likewise.
74005         * manual/examples/mygetpass.c: Likewise.
74006         * manual/examples/pipe.c: Likewise.
74007         * manual/examples/popen.c: Likewise.
74008         * manual/examples/rprintf.c: Likewise.
74009         * manual/examples/search.c: Likewise.
74010         * manual/examples/select.c: Likewise.
74011         * manual/examples/setjmp.c: Likewise.
74012         * manual/examples/sigh1.c: Likewise.
74013         * manual/examples/sigusr.c: Likewise.
74014         * manual/examples/stpcpy.c: Likewise.
74015         * manual/examples/strdupa.c: Likewise.
74016         * manual/examples/strftim.c: Likewise.
74017         * manual/examples/strncat.c: Likewise.
74018         * manual/examples/subopt.c: Likewise.
74019         * manual/examples/swapcontext.c: Likewise.
74020         * manual/examples/termios.c: Likewise.
74021         * manual/examples/testopt.c: Likewise.
74022         * manual/examples/testpass.c: Likewise.
74023         * manual/examples/timeval_subtract.c: Likewise.
74025         [BZ #13792]
74026         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74027         function to ...
74028         * manual/timeval_subtract.c.texi: ... here, new file.
74030 2012-03-02  David S. Miller  <davem@davemloft.net>
74032         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74034 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74036         [BZ #3976]
74037         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74038         (__sin): Save and restore rounding mode and use round-to-nearest
74039         for all computations.
74040         (__cos): Save and restore rounding mode and use round-to-nearest
74041         for all computations.
74042         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74043         <fenv.h>.
74044         (tan): Save and restore rounding mode and use round-to-nearest for
74045         all computations.
74046         * math/libm-test.inc (cos_test_tonearest): New function.
74047         (cos_test_towardzero): Likewise.
74048         (cos_test_downward): Likewise.
74049         (cos_test_upward): Likewise.
74050         (sin_test_tonearest): Likewise.
74051         (sin_test_towardzero): Likewise.
74052         (sin_test_downward): Likewise.
74053         (sin_test_upward): Likewise.
74054         (tan_test_tonearest): Likewise.
74055         (tan_test_towardzero): Likewise.
74056         (tan_test_downward): Likewise.
74057         (tan_test_upward): Likewise.
74058         (main): Call the new functions.
74059         * sysdeps/i386/fpu/libm-test-ulps: Update.
74060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74062         [BZ #10135]
74063         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74064         small n, then large n, before computing and testing k+n.
74065         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74067         Likewise.
74068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74069         Likewise.
74070         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74071         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74074         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74075         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74077         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74078         * math/libm-test.inc (scalbn_test): Add more tests.
74079         (scalbln_test): Likewise.
74081         * manual/filesys.texi (mode_t): Describe constraints on size and
74082         signedness, not exact equivalence to a particular type.
74083         (ino_t): Likewise.
74084         (ino64_t): Likewise.
74085         (dev_t): Likewise.
74086         (nlink_t): Likewise.
74087         (blkcnt_t): Likewise.
74088         (blkcnt64_t): Likewise.
74089         * manual/llio.texi (off_t): Likewise.
74091         [BZ #3976]
74092         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74093         (__ieee754_exp): Save and restore rounding mode and use
74094         round-to-nearest for all computations.
74095         * math/libm-test.inc (exp_test_tonearest): New function.
74096         (exp_test_towardzero): Likewise.
74097         (exp_test_downward): Likewise.
74098         (exp_test_upward): Likewise.
74099         (main): Call the new functions.
74100         * sysdeps/i386/fpu/libm-test-ulps: Update.
74101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74103 2012-03-01  Chris Demetriou  <cgd@google.com>
74105         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74106         have predictable order.
74108 2012-03-01  David S. Miller  <davem@davemloft.net>
74110         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74112         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74113         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74114         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74115         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74117         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74118         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74119         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74121         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74122         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74123         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74124         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74125         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74129         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74130         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74131         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74133         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74134         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74135         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74136         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74137         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74139         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74140         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74141         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74142         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74143         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74144         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74145         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74146         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74147         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74149         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74150         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74151         * sysdeps/sparc/elf/configure: Regenerated.
74153 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74155         * configure.in (AS, LD): Require binutils 2.20 or later.
74156         * configure: Regenerated.
74157         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74158         as required minimum version.
74159         * INSTALL: Regenerated.
74161         [BZ #2541]
74162         [BZ #4108]
74163         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74164         before squaring exponent.
74165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74166         bottom long double and 27 bits of top long double before squaring
74167         exponent.
74168         * math/libm-test.inc (erfc_test): Add more tests.
74169         * sysdeps/i386/fpu/libm-test-ulps: Update.
74170         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74173 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74175         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74176         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74177         containing bit-fields.
74178         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74179         * soft-fp/single.h (_FP_UNION_S): Likewise.
74180         * soft-fp/double.h (_FP_UNION_D): Likewise.
74182 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74184         [BZ #13786]
74185         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74186         not include ../strcmp.S.
74187         [USE_AS_STRNCASECMP_L]: Likewise.
74188         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74189         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74190         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74191         (__strncasecmp_l_ia32): Define as alias to
74192         __strncasecmp_l_nonascii.
74194         [BZ #5794]
74195         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74196         * sysdeps/i386/fpu/libm-test-ulps: Update.
74197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74199         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74202 2012-02-29  Jeff Law  <law@redhat.com>
74204         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74205         out of bounds read.
74207 2012-02-29  Marek Polacek  <polacek@redhat.com>
74209         [BZ #13706]
74210         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74211         * elf/Makefile: Add rules to run tst-unused-dep.out.
74213 2012-02-28  David S. Miller  <davem@davemloft.net>
74215         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74216         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74217         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74218         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74219         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74220         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74222 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74224         * math/libm-test.inc (llround_test): Move one test from
74225         lround_test.  Use TEST_f_L in moved test.
74226         (lround_test): Move misplaced test to llround_test.  Add testcase
74227         from bug 2561.
74229 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74231         * sysdeps/x86_64/fpu/e_expf.S: New file.
74232         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74234 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74236         [BZ #13637]
74237         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74238         of remain_len that may cause incomplete multi-byte character and
74239         false match.
74240         * posix/bug-regex33.c: New file.
74241         * posix/Makefile (tests): Add bug-regex33.
74243 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74245         * manual/macros.texi: New file.
74246         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74247         * manual/libc.texinfo: Include macros.texi.
74248         * manual/creatute.texi: Likewise.
74249         * manual/install.texi: Likewise.
74250         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74251         @glibcadj{} in references to the GNU C Library.
74252         * manual/charset.texi: Likewise.
74253         * manual/conf.texi: Likewise.
74254         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74255         when not using those macros.
74256         * manual/creature.texi: Likewise.
74257         * manual/crypt.texi: Likewise.
74258         * manual/errno.texi: Likewise.
74259         * manual/filesys.texi: Likewise.
74260         * manual/header.texi: Likewise.
74261         * manual/install.texi: Likewise.
74262         * manual/intro.texi: Likewise.
74263         * manual/io.texi: Likewise.
74264         * manual/job.texi: Likewise.
74265         * manual/lang.texi: Likewise.
74266         * manual/libc.texiinfo: Likewise.
74267         * manual/llio.texi: Likewise.
74268         * manual/locale.texi: Likewise.
74269         * manual/maint.texi: Likewise.
74270         * manual/math.texi: Likewise.
74271         * manual/memory.texi: Likewise.
74272         * manual/message.texi: Likewise.
74273         * manual/nss.texi: Likewise.
74274         * manual/pattern.texi: Likewise.
74275         * manual/process.texi: Likewise.
74276         * manual/resource.texi: Likewise.
74277         * manual/search.texi: Likewise.
74278         * manual/setjmp.texi: Likewise.
74279         * manual/signal.texi: Likewise.
74280         * manual/socket.texi: Likewise.
74281         * manual/startup.texi: Likewise.
74282         * manual/stdio.texi: Likewise.
74283         * manual/string.texi: Likewise.
74284         * manual/sysinfo.texi: Likewise.
74285         * manual/syslog.texi: Likewise.
74286         * manual/terminal.texi: Likewise.
74287         * manual/time.texi: Likewise.
74288         * manual/users.texi: Likewise.
74289         * INSTALL: Regenerated.
74290         * NOTES: Regenerated.
74291         * sysdeps/gnu/errlist.c: Regenerated.
74293 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74295         * include/dirent.h: Include <dirstream.h> before
74296         <dirent/dirent.h>.
74298 2012-02-28  David S. Miller  <davem@davemloft.net>
74300         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74301         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74302         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74303         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74305 2012-02-27  David S. Miller  <davem@davemloft.net>
74307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74309         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74310         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74313         frame pointer instead of stack pointer relative arg slot.
74314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74315         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74316         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74318 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74320         [BZ #3992]
74321         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74323 2012-02-27  David S. Miller  <davem@davemloft.net>
74325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74329         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74330         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74331         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74332         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74334 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74336         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74337         later.  Allow versions 5-9.
74338         * configure: Regenerated.
74339         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74340         required minimum version and 4.6 as recommended version.  Do not
74341         mention bugs in GCC 2.7 and 2.8.
74342         * INSTALL: Regenerated.
74344 2012-02-27  David S. Miller  <davem@davemloft.net>
74346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74350         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74351         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74352         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74353         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74356         manipulate bits before adding and subtracting TWO112[sx].
74357         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74359 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74361         [BZ #13775]
74362         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74363         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74364         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74365         being in POSIX, because they are in 1003.1-2008.
74367         * rt/tst-aio.c: Include <fcntl.h>.
74368         * rt/tst-aio7.c: Likewise.
74369         * rt/tst-aio64.c: Likewise.
74371         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74373 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74375         * manual/install.texi (--with-headers): Describe headers as
74376         interface headers, not private headers.
74377         (Specific advice for GNU/Linux systems): Describe use of headers
74378         from "make headers_install", not private headers from older
74379         kernels.
74380         * INSTALL: Regenerated.
74381         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74382         Change to 2.6.19.
74383         * sysdeps/unix/sysv/linux/configure: Regenerated.
74385         * manual/llio.texi (fclean): Remove documentation.
74387         * manual/Makefile (libc-texi-generated): New variable.  Include
74388         version.texi.
74389         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74390         $(libc-texi-generated), not duplicated list of files.
74391         (version.texi, stamp-version): New rules.
74392         (realclean): Remove $(libc-texi-generated), not individual files
74393         from that list.  Do not remove dir-add.texinfo.
74394         * manual/libc.texinfo: Comment out uses of edition numbers and
74395         references to printed manual.  Remove last-updated dates.
74396         (EDITION): Comment out.
74397         (ISBN): Likewise.
74398         (VERSION, UPDATED): Remove.
74399         (version.texi): Include.
74401 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74403         * sysdeps/posix/spawni.c: Include <signal.h>.
74404         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74405         * sysdeps/pthread/aio_fsync.c: Likewise.
74407 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74409         * conform/Makefile (tests): Run only when not cross-compiling and
74410         when fast-check is not defined.
74412         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74413         * conform/data/limits.h-data: Fixes for POSIX2008.
74414         * conform/run-conformtest.sh: Run all tests.
74415         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74416         headers.
74417         * include/bits/dlfcn.h: Likewise.
74418         * include/langinfo.h: Likewise.
74419         * include/monetary.h: Likewise.
74420         * include/sys/poll.h: Likewise.
74422         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74423         for __USE_GNU.
74424         * posix/spawn.h: Define __need_sigset_t.
74425         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74426         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74427         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74428         to get sigevent_t only.
74429         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74430         only for __USE_GNU.
74431         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74432         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74433         process_vm_writev only for __USE_GNU.
74434         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74436         * conform/Makefile: For now ignore errors from run-conformtest.
74437         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74438         POSIX to avoid namespace pollution.  Don't prepend headers.
74439         * conform/data/aio.h-data: Fixes for POSIX testing.
74440         * conform/data/fcntl.h-data: Likewise.
74441         * conform/data/glob.h-data: Likewise.
74442         * conform/data/grp.h-data: Likewise.
74443         * conform/data/pthread.h-data: Likewise.
74444         * conform/data/pwd.h-data: Likewise.
74445         * conform/data/signal.h-data: Likewise.
74446         * conform/data/spawn.h-data: Likewise.
74447         * conform/data/stdio.h-data: Likewise.
74448         * conform/data/stdlib.h-data: Likewise.
74449         * conform/data/stropts.h-data: Likewise.
74450         * conform/data/sys/mman.h-data: Likewise.
74451         * conform/data/sys/stat.h-data: Likewise.
74452         * conform/data/sys/types.h-data: Likewise.
74453         * conform/data/sys/wait.h-data: Likewise.
74454         * conform/data/time.h-data: Likewise.
74455         * conform/data/unistd.h-data: Likewise.
74456         * conform/data/utime.h-data: Likewise.
74458         * io/sys/stat.h: fchmod was always in POSIX.
74459         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74460         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74461         * rt/aio.h: Define __need_timespec before including <time.h>.
74462         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74463         struct.  Add forward declaration of pthread_attr_t and use it in
74464         sigevent.
74465         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74466         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74467         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74468         always remove CLK_TCK definition.
74470 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74472         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74474 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74476         * conform/run-conformtest.sh: New file.
74477         * conform/Makefile: Run run-conformtest for tests.
74478         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74479         support.
74481         * conform/data/uchar.h-data: New file.
74482         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74483         * conform/data/arpa/inet.h-data: Likewise.
74484         * conform/data/assert.h-data: Likewise.
74485         * conform/data/complex.h-data: Likewise.
74486         * conform/data/cpio.h-data: Likewise.
74487         * conform/data/ctype.h-data: Likewise.
74488         * conform/data/dirent.h-data: Likewise.
74489         * conform/data/dlfcn.h-data: Likewise.
74490         * conform/data/errno.h-data: Likewise.
74491         * conform/data/fcntl.h-data: Likewise.
74492         * conform/data/float.h-data: Likewise.
74493         * conform/data/fmtmsg.h-data: Likewise.
74494         * conform/data/fnmatch.h-data: Likewise.
74495         * conform/data/ftw.h-data: Likewise.
74496         * conform/data/glob.h-data: Likewise.
74497         * conform/data/grp.h-data: Likewise.
74498         * conform/data/iconv.h-data: Likewise.
74499         * conform/data/inttypes.h-data: Likewise.
74500         * conform/data/langinfo.h-data: Likewise.
74501         * conform/data/libgen.h-data: Likewise.
74502         * conform/data/limits.h-data: Likewise.
74503         * conform/data/locale.h-data: Likewise.
74504         * conform/data/math.h-data: Likewise.
74505         * conform/data/monetary.h-data: Likewise.
74506         * conform/data/mqueue.h-data: Likewise.
74507         * conform/data/ndbm.h-data: Likewise.
74508         * conform/data/net/if.h-data: Likewise.
74509         * conform/data/netdb.h-data: Likewise.
74510         * conform/data/netinet/in.h-data: Likewise.
74511         * conform/data/nl_types.h-data: Likewise.
74512         * conform/data/poll.h-data: Likewise.
74513         * conform/data/pthread.h-data: Likewise.
74514         * conform/data/pwd.h-data: Likewise.
74515         * conform/data/regex.h-data: Likewise.
74516         * conform/data/sched.h-data: Likewise.
74517         * conform/data/search.h-data: Likewise.
74518         * conform/data/semaphore.h-data: Likewise.
74519         * conform/data/setjmp.h-data: Likewise.
74520         * conform/data/signal.h-data: Likewise.
74521         * conform/data/spawn.h-data: Likewise.
74522         * conform/data/stdarg.h-data: Likewise.
74523         * conform/data/stdio.h-data: Likewise.
74524         * conform/data/stdlib.h-data: Likewise.
74525         * conform/data/string.h-data: Likewise.
74526         * conform/data/strings.h-data: Likewise.
74527         * conform/data/stropts.h-data: Likewise.
74528         * conform/data/sys/ipc.h-data: Likewise.
74529         * conform/data/sys/mman.h-data: Likewise.
74530         * conform/data/sys/msg.h-data: Likewise.
74531         * conform/data/sys/resource.h-data: Likewise.
74532         * conform/data/sys/select.h-data: Likewise.
74533         * conform/data/sys/sem.h-data: Likewise.
74534         * conform/data/sys/shm.h-data: Likewise.
74535         * conform/data/sys/socket.h-data: Likewise.
74536         * conform/data/sys/stat.h-data: Likewise.
74537         * conform/data/sys/statvfs.h-data: Likewise.
74538         * conform/data/sys/time.h-data: Likewise.
74539         * conform/data/sys/timeb.h-data: Likewise.
74540         * conform/data/sys/times.h-data: Likewise.
74541         * conform/data/sys/types.h-data: Likewise.
74542         * conform/data/sys/uio.h-data: Likewise.
74543         * conform/data/sys/un.h-data: Likewise.
74544         * conform/data/sys/utsname.h-data: Likewise.
74545         * conform/data/sys/wait.h-data: Likewise.
74546         * conform/data/syslog.h-data: Likewise.
74547         * conform/data/tar.h-data: Likewise.
74548         * conform/data/termios.h-data: Likewise.
74549         * conform/data/utime.h-data: Likewise.
74550         * conform/data/utmpx.h-data: Likewise.
74551         * conform/data/varargs.h-data: Likewise.
74552         * conform/data/wchar.h-data: Likewise.
74553         * conform/data/wctype.h-data: Likewise.
74554         * conform/data/wordexp.h-data: Likewise.
74556         * include/stropts.h: New file.
74557         * include/uchar.h: New file.
74558         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74559         * include/assert.h: Likewise.
74560         * include/ctype.h: Likewise.
74561         * include/dirent.h: Likewise.
74562         * include/dlfcn.h: Likewise.
74563         * include/fcntl.h: Likewise.
74564         * include/fnmatch.h: Likewise.
74565         * include/glob.h: Likewise.
74566         * include/grp.h: Likewise.
74567         * include/libio.h: Likewise.
74568         * include/locale.h: Likewise.
74569         * include/math.h: Likewise.
74570         * include/net/if.h: Likewise.
74571         * include/netdb.h: Likewise.
74572         * include/netinet/in.h: Likewise.
74573         * include/pthread.h: Likewise.
74574         * include/pwd.h: Likewise.
74575         * include/regex.h: Likewise.
74576         * include/sched.h: Likewise.
74577         * include/search.h: Likewise.
74578         * include/setjmp.h: Likewise.
74579         * include/signal.h: Likewise.
74580         * include/stdio.h: Likewise.
74581         * include/stdlib.h: Likewise.
74582         * include/string.h: Likewise.
74583         * include/sys/cdefs.h: Likewise.
74584         * include/sys/mman.h: Likewise.
74585         * include/sys/msg.h: Likewise.
74586         * include/sys/resource.h: Likewise.
74587         * include/sys/select.h: Likewise.
74588         * include/sys/socket.h: Likewise.
74589         * include/sys/stat.h: Likewise.
74590         * include/sys/statvfs.h: Likewise.
74591         * include/sys/time.h: Likewise.
74592         * include/sys/times.h: Likewise.
74593         * include/sys/uio.h: Likewise.
74594         * include/sys/utsname.h: Likewise.
74595         * include/sys/wait.h: Likewise.
74596         * include/termios.h: Likewise.
74597         * include/time.h: Likewise.
74598         * include/ulimit.h: Likewise.
74599         * include/unistd.h: Likewise.
74600         * include/utime.h: Likewise.
74601         * include/wchar.h: Likewise.
74602         * include/wctype.h: Likewise.
74603         * include/wordexp.h: Likewise.
74605         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74607         * time/time.h: TIME_UTC must be a macro.
74608         Make timespec_get available for ISO C11 only as well.
74610 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74612         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74613         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74615 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74617         * configure.in: Use -o not -a in test for unsupported multi-arch.
74619 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74621         * manual/texinfo.tex: Update to version 2012-01-19.16.
74623 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74625         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74627 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74629         [BZ #13738]
74630         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74631         * manual/fdl-1.3.texi: New file.
74632         * manual/fdl-1.1.texi: File removed.
74634         [BZ #13738]
74635         * manual/libc.texinfo (FDL_VERSION): New @set.
74636         Use it for mention of FDL in cover text.
74637         (Documentation License): Use it in @include file name.
74639 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74640             Roland McGrath  <roland@hack.frob.com>
74642         [BZ #5461]
74643         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74644         (not LONG_LONG_MAX and LONG_LONG_MIN.
74645         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74646         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74647         name.
74648         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74650 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74652         [BZ #2547]
74653         [BZ #11365]
74654         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74655         manipulate bits before adding and subtracting TWO23[sx].
74656         * math/libm-test.inc (nearbyint_test): Add more tests.
74658 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74660         [BZ #2548]
74661         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74662         bits before adding and subtracting TWO23[sx].
74663         * math/libm-test.inc (rint_test): Add more tests.
74664         (rint_test_tonearest): Likewise.
74665         (rint_test_towardzero): Likewise.
74666         (rint_test_downward): Likewise.
74667         (rint_test_upward: Likewise.
74669 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74671         [BZ #10110]
74672         * include/stdc-predef.h: New file.  Extracted from features.h.
74673         * include/features.h: Include stdc-predef.h.
74674         * Makefile (headers): Add stdc-predef.h.
74675         * CONFORMANCE (Compiler limitations): Update.
74677 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74679         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74681 2012-02-21  David S. Miller  <davem@davemloft.net>
74683         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74684         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74686 2012-02-20  David S. Miller  <davem@davemloft.net>
74688         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74689         using a normal save/restore sequence, rather than allocating a
74690         dummy stack frame just to store a frame pointer and restore.
74691         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74693 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74695         * manual/install.texi: Fix stray word in line-wrapped comment.
74697 2012-02-20  David S. Miller  <davem@davemloft.net>
74699         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74700         both binutils and gcc support GOTDATA.
74702         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74703         "rd %pc" in the PIC register setup sequences.
74705         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74706         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74707         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74708         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74709         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74711         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74714         (SYSCALL_ERROR_HANDLER): Likewise.
74715         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74716         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74718         (SYSCALL_ERROR_HANDLER): Likewise.
74720         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74721         (HAVE_GCC_GOTDATA): New.
74722         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74723         relocation support in both binutils and gcc.
74724         * sysdeps/sparc/elf/configure: Regenerate.
74726         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74727         * sysdeps/sparc/sparc32/elf/configure: Delete.
74728         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74729         * sysdeps/sparc/sparc64/elf/configure: Delete.
74730         * sysdeps/sparc/elf/configure.in: New file.
74731         * sysdeps/sparc/elf/configure: Generate.
74733         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74734         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74735         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74736         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74737         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74739 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74741         * manual/install.texi: Do not mention specific glibc version
74742         numbers.
74743         * manual/libc.texinfo (VERSION, UPDATED): Update.
74744         (@copying): Use @copyright{} and range of years.
74746 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74748         [BZ #13695]
74749         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74750         [crti.S not in sysdirs] (generated): Do not append.
74751         [crti.S not in sysdirs] (omit-deps): Likewise.
74752         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74753         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74754         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74755         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74756         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74757         Likewise.
74758         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74759         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74760         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74761         * csu/defs.awk: Remove file.
74762         * sysdeps/generic/initfini.c: Likewise.
74763         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74764         variable.
74765         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74766         Likewise.
74768 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74770         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74771         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74772         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74773         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74775         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74776         <bits/epoll.h>.
74777         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74778         (__EPOLL_PACKED): Define to empty if not defined by
74779         <bits/epoll.h>.
74780         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74782         bits/epoll.h.
74784 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74786         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74787         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74788         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74789         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74790         <bits/timerfd.h>.
74791         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74793         bits/timerfd.h.
74795 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74797         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74798         in C locale.
74799         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74800         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74804 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74806         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74807         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74809 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74811         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74812         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74813         defined.
74814         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74815         Likewise.
74816         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74817         entry for 2.16.
74819 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74821         * math/w_acos.c: Use non-signaling floating-point comparisons.
74822         * math/w_acosf.c: Likewise.
74823         * math/w_acosh.c: Likewise.
74824         * math/w_acoshf.c: Likewise.
74825         * math/w_acoshl.c: Likewise.
74826         * math/w_acosl.c: Likewise.
74827         * math/w_asin.c: Likewise.
74828         * math/w_asinf.c: Likewise.
74829         * math/w_asinl.c: Likewise.
74830         * math/w_atanh.c: Likewise.
74831         * math/w_atanhf.c: Likewise.
74832         * math/w_atanhl.c: Likewise.
74833         * math/w_exp2.c: Likewise.
74834         * math/w_exp2f.c: Likewise.
74835         * math/w_exp2l.c: Likewise.
74836         * math/w_j0.c: Likewise.
74837         * math/w_j0f.c: Likewise.
74838         * math/w_j0l.c: Likewise.
74839         * math/w_j1.c: Likewise.
74840         * math/w_j1f.c: Likewise.
74841         * math/w_j1l.c: Likewise.
74842         * math/w_jn.c: Likewise.
74843         * math/w_jnf.c: Likewise.
74844         * math/w_log.c: Likewise.
74845         * math/w_log10.c: Likewise.
74846         * math/w_log10f.c: Likewise.
74847         * math/w_log10l.c: Likewise.
74848         * math/w_log2.c: Likewise.
74849         * math/w_log2f.c: Likewise.
74850         * math/w_log2l.c: Likewise.
74851         * math/w_logf.c: Likewise.
74852         * math/w_logl.c: Likewise.
74853         * math/w_sqrt.c: Likewise.
74854         * math/w_sqrtf.c: Likewise.
74855         * math/w_sqrtl.c: Likewise.
74856         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74857         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74859         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74860         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74862 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74864         [BZ #9739]
74865         * manual/string.texi (strnlen): Use correct parameter name in
74866         equivalent expression.
74868 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74870         [BZ #11174]
74871         * manual/users.texi (seteuid): Consistently use neweuid for
74872         argument name.
74874 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74876         [BZ #13704]
74877         * manual/nss.texi (Services in the NSS configuration): Correct
74878         list of services in example configuration file.
74880 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74882         [BZ #11322]
74883         * manual/arith.texi: Remove statements about negative zero
74884         behaving identically to zero.
74886 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74888         [BZ #5993]
74889         * manual/install.texi: Do not document upgrading from libc5.
74891 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74893         [BZ #4596]
74894         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74896 2012-02-18  David S. Miller  <davem@davemloft.net>
74898         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74899         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74900         %o7 across the call.
74901         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74902         instead.
74903         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74904         SETUP_PIC_REG_LEAF.
74905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74906         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74907         * sysdeps/sparc/crtn.S: Likewise.
74909 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74911         * aout/Makefile: Remove.
74913 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74915         [BZ #13058]
74916         * manual/examples/argp-ex1.c (main): Format definition in GNU
74917         style.
74918         * manual/examples/argp-ex2.c (main): Likewise.
74919         * manual/examples/argp-ex3.c (main): Likewise.
74920         * manual/examples/argp-ex4.c (main): Likewise.
74921         * manual/examples/longopt.c (main): Use new-style prototype
74922         definition.
74923         * manual/examples/strncat.c (main): Specify return type and use
74924         (void) for arguments.
74925         * manual/examples/subopt.c (main): Use char **argv argument.
74927 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74929         [BZ #5077]
74930         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74931         rounding modes.
74933 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74935         [BZ #6907]
74936         * manual/string.texi (strchr): Change when strchrnul is
74937         recommended.
74939 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74941         [BZ #174]
74942         * manual/locale.texi (setlocale): Document LOCPATH.
74944 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74946         [BZ #10210]
74947         * manual/process.texi (execle): Move @dots{} before last argument.
74949 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74951         [BZ #12047]
74952         * manual/charset.texi (Generic Charset Conversion): Fix typo
74953         (LC_TYPE -> LC_CTYPE).
74955 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74957         [BZ #5805]
74958         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74959         (scalbnf): Likewise.
74960         (scalbnl): Likewise.
74961         (scalbln): Likewise.
74962         (scalblnf): Likewise.
74963         (scalblnl): Likewise.
74964         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74965         (vwarnx): Likewise.
74966         (verr): Likewise.
74967         (verrx): Likewise.
74968         * manual/filesys.texi (telldir): Use braces around return type.
74969         * manual/llio.texi (mmap): Add space after comma.
74970         (mmap64): Likewise.
74971         * manual/math.texi (jn): Use @var{} on parameter names.
74972         (jnf): Likewise.
74973         (jnl): Likewise.
74974         (yn): Likewise.
74975         (ynf): Likewise.
74976         (ynl): Likewise.
74977         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74978         line.
74979         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74980         "...".
74981         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74982         (sched_get_priority_max): Likewise.
74983         * manual/signal.texi (sigvec): Add space after comma.
74984         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74985         names.
74986         (if_indextoname): Likewise.
74987         (if_freenameindex): Likewise.
74988         (sendto): Use ',' instead of '.' in prototype.
74989         * manual/startup.texi (syscall): Use @dots{} instead of literal
74990         "...".
74991         * manual/stdio.texi (__fpending): Separate initial words of
74992         paragraph from @deftypefun line.
74993         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74994         "...".
74995         (vsyslog): Use @var{} on parameter names.
74996         * manual/terminal.texi (stty): Use @var{} on parameter names.
74997         * manual/users.texi (getutmp): Use @var{} on parameter names.
74998         (getutmpx): Likewise.
75000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75002         [BZ #6884]
75003         * manual/stdio.texi (fopen): Fix typos in description of
75004         ",ccs=STRING".
75006 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75008         [BZ #4026]
75009         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75010         get clock_id definition.
75012 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75014         [BZ #4822]
75015         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75016         (madvise): Cast every argument to void on its own.
75018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75020         [BZ #9902]
75021         * manual/startup.texi (Exit Status): Fix typo.
75023 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75025         [BZ #10140]
75026         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75027         * manual/examples/argp-ex2.c: Likewise.
75028         * manual/examples/argp-ex3.c: Likewise.
75030 2012-02-16  Richard Henderson  <rth@redhat.com>
75032         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75033         * sysdeps/s390/s390-32/initfini.c: Remove.
75034         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75035         * sysdeps/s390/s390-64/initfini.c: Remove.
75037 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75039         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75040         compiler output for sysdeps/generic/initfini.c.
75041         * sysdeps/sh/elf/initfini.c: Remove file.
75043 2012-02-16  David S. Miller  <davem@davemloft.net>
75045         [BZ #11494]
75046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75048         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75049         * sysdeps/sparc/crti.S: New file.
75050         * sysdeps/sparc/crtn.S: New file.
75051         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75052         * sysdeps/sparc/sparc64/Makefile: Likewise.
75054 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75056         [BZ #3335]
75057         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75059 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75061         [BZ #4822]
75062         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75064         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75065         (write, read, close): Likewise.
75066         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75068 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75070         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75071         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75072         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75073         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75074         <bits/signalfd.h>.
75075         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75077         bits/signalfd.h.
75079 2012-02-14  Marek Polacek  <polacek@redhat.com>
75081         * sysdeps/x86_64/crti.S: New file.
75082         * sysdeps/x86_64/crtn.S: New file.
75083         * sysdeps/x86_64/elf/initfini.c: Remove file.
75085 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75087         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75088         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75089         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75090         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75091         <bits/inotify.h>.
75092         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75094         bits/inotify.h.
75096 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75098         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75099         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75100         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75101         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75102         <bits/eventfd.h>.
75103         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75105         bits/eventfd.h.
75107 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75109         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75110         __feraiseexcept instead of feraiseexcept.
75112         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75113         nanosleep invocations.
75114         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75115         strings, and add error checking for a nanosleep invocations.
75117 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75119         Replace FSF snail mail address with URLs, as per GNU coding standards.
75120         Most of the snail mail addresses were wrong anyway, and omitting
75121         them makes the source code easier to maintain.  Almost all of the
75122         changes are to license notices and to locale LC_IDENTIFICATION
75123         addresses, except for this one:
75124         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75125         not its snail mail address.
75127 2012-02-09  Richard Henderson  <rth@twiddle.net>
75129         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75130         of kernel-features.h.
75132         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75134 2012-02-08  Marek Polacek  <polacek@redhat.com>
75136         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75137         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75138         * sysdeps/gnu/_G_config.h: Likewise.
75139         * sysdeps/generic/_G_config.h: Likewise.
75141 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75143         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75144         tests.
75145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75147         * sysdeps/powerpc/powerpc32/crti.S: New file.
75148         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75149         * sysdeps/powerpc/powerpc64/crti.S: New file.
75150         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75152         * Makeconfig (have-initfini): Don't set.
75153         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75154         * configure.in (nopic_initfini): Don't substitute.
75155         * config.h.in (HAVE_INITFINI): Don't #undef.
75156         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75157         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75159 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75161         Support crti.S and crtn.S provided directly by architectures.
75162         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75163         [crti.S in sysdirs] (omit-deps): Likewise.
75164         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75165         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75166         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75167         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75168         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75169         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75170         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75171         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75172         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75173         compiler output for sysdeps/generic/initfini.c.
75174         * sysdeps/i386/elf/Makefile: Remove file.
75175         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75177 2012-02-07  Marek Polacek  <polacek@redhat.com>
75179         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75180         * sysdeps/gnu/_G_config.h: Likewise.
75181         * sysdeps/mach/hurd/_G_config.h: Likewise.
75183 2012-02-07  Marek Polacek  <polacek@redhat.com>
75185         * math/Makefile (tests): Add tst-CMPLX2.
75186         * math/tst-CMPLX2.c: New file.
75188 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75190         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75192         * math/libm-test.inc (jn_test): Add missing L suffix.
75194 2012-02-06  Marek Polacek  <polacek@redhat.com>
75196         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75197         * sysdeps/i386/fpu/e_powf.S: Likewise.
75198         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75199         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75200         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75201         * sysdeps/i386/fpu/e_pow.S: Likewise.
75202         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75203         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75204         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75205         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75206         * sysdeps/i386/fpu/e_log2.S: Likewise.
75207         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75208         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75209         * sysdeps/i386/fpu/e_powl.S: Likewise.
75210         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75211         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75212         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75213         * sysdeps/i386/fpu/e_logl.S: Likewise.
75214         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75215         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75216         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75217         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75218         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75219         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75220         * sysdeps/i386/fpu/e_log.S: Likewise.
75221         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75222         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75223         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75224         * sysdeps/i386/fpu/e_logf.S: Likewise.
75225         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75227         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75228         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75229         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75230         * sysdeps/i386/fpu/e_log10.S: Likewise.
75231         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75232         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75233         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75234         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75235         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75236         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75237         * sysdeps/i386/asm-syntax.h: Likewise.
75238         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75239         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75240         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75241         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75242         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75243         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75244         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75245         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75246         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75247         * sysdeps/powerpc/sysdep.h: Likewise.
75248         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75249         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75251 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75253         [BZ #411]
75254         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75256 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75258         * sysdeps/i386/sysdep.h: Include <features.h>.
75259         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75260         version.
75262 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75264         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75265         Define.
75266         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75267         LOAD_PIC_REG_STR.
75269 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75271         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75272         (SETUP_PIC_REG): Use GET_PC_THUNK.
75273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75274         macro.
75276 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75278         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75279         for non-PIC compilation.
75280         (SETUP_PIC_REG): Add .p2align directive.
75281         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75282         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75285         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75286         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75287         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75288         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75289         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75290         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75291         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75292         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75293         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75294         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75296         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75297         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75298         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75299         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75300         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75301         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75302         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75304         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75305         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75307         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75308         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75309         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75310         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75311         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75312         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75313         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75314         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75315         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75316         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75317         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75318         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75319         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75320         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75321         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75323 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75325         * math/tst-CMPLX.c: Include <stdio.h>.
75327 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75329         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75330         float.
75331         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75332         * sysdeps/sparc/bits/mathdef.h: Likewise.
75334 2012-01-31  Marek Polacek  <polacek@redhat.com>
75336         * libio/libio.h: Don't define _PARAMS.
75337         * locale/programs/config.h: Don't define PARAMS.
75338         * stdlib/strtol_l.c: Likewise.
75339         (__strtol_l): Remove PARAMS from the prototype.
75341 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75343         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75344         names.  Just use the correct names.  Remove unnecessary wrapper
75345         functions.
75346         * malloc/arena.c: Likewise.
75347         * malloc/hooks.c: Likewise.
75349         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75350         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75351         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75353 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75355         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75356         into tail calls.
75357         (update_get_addr): New function.
75358         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75359         GET_ADDR_MODULE parameter.
75361 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75363         * crypt/cert.c: Remove __STDC__ conditionals.
75364         * crypt/crypt-entry.c: Likewise.
75365         * crypt/crypt_util.c: Likewise.
75366         * libio/filedoalloc.c: Likewise.
75367         * libio/fileops.c: Likewise.
75368         * libio/genops.c: Likewise.
75369         * libio/iofclose.c: Likewise.
75370         * libio/iofdopen.c: Likewise.
75371         * libio/iofopen.c: Likewise.
75372         * libio/iofopen64.c: Likewise.
75373         * libio/iogetdelim.c: Likewise.
75374         * libio/iopopen.c: Likewise.
75375         * libio/obprintf.c: Likewise.
75376         * libio/oldfileops.c: Likewise.
75377         * libio/oldiofclose.c: Likewise.
75378         * libio/oldiofdopen.c: Likewise.
75379         * libio/oldiofopen.c: Likewise.
75380         * libio/oldiopopen.c: Likewise.
75381         * libio/wfiledoalloc.c: Likewise.
75382         * libio/wgenops.c: Likewise.
75383         * locale/programs/xmalloc.c: Likewise.
75384         * misc/syslog.c: Likewise.
75385         * stdio-common/xbug.c: Likewise.
75386         * string/memchr.c: Likewise.
75387         * string/memcmp.c: Likewise.
75388         * string/memrchr.c: Likewise.
75389         * string/rawmemchr.c: Likewise.
75390         * sysdeps/posix/getcwd.c: Likewise.
75391         * time/strftime_l.c: Likewise.
75393 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75395         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75396         * config.make.in (config-cflags-sse2avx): Define.
75397         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75398         Fix typo.
75400 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75402         * scripts/config.guess: Update from upstream config git repository.
75403         * scripts/config.sub: Likewise.
75405 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75407         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75408         (EM_NUM): Update.
75409         (R_TILEPRO_*, R_TILEGX_*): New macros.
75411         * scripts/firstversions.awk: Fix bug in version range handling.
75413         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75417         * include/sys/epoll.h: New file.
75418         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75419         libc_hidden_def.
75421 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75423         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75424         Avoid unnecessary __WORDSIZE == 64 test.
75425         (fmaxf): Use VEX format if possible.
75426         (fmax): Likewise.
75427         (fminf): Likewise.
75428         (fmin): Likewise.
75430         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75431         * math/math_private.h: Remove libc_fegetround* and
75432         libc_fesetround*.
75433         * sysdeps/i386/configure.in: Check for -msse2avx.
75434         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75435         also if SSE2AVX is defined.
75436         Remove libc_fegetround* and libc_fesetround*.
75437         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75438         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75439         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75440         of HAS_YMM_USABLE.
75441         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75442         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75443         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75444         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75445         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75447         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75449 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75451         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75452         size is not set.
75453         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75455 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75457         [BZ #13618]
75458         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75459         relocation.
75460         * Makeconfig (libm): Define.
75461         * elf/Makefile: Add rules to build and run tst-relsort1.
75462         * elf/tst-relsort1.c: New file.
75463         * elf/tst-relsort1mod1.c: New file.
75464         * elf/tst-relsort1mod2.c: New file.
75466 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75468         * math/s_ldexp.c: Remove __STDC__ conditionals.
75469         * math/s_ldexpf.c: Likewise.
75470         * math/s_ldexpl.c: Likewise.
75471         * math/s_nextafter.c: Likewise.
75472         * math/s_nexttowardf.c: Likewise.
75473         * math/s_significand.c: Likewise.
75474         * math/s_significandf.c: Likewise.
75475         * math/s_significandl.c: Likewise.
75476         * math/w_jnl.c: Likewise.
75477         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75478         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75479         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75480         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75481         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75483         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75484         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75485         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75486         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75487         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75488         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75489         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75490         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75491         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75492         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75493         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75494         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75495         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75496         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75497         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75498         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75499         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75501         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75502         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75503         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75504         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75505         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75506         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75507         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75508         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75509         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75510         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75511         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75512         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75513         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75514         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75515         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75516         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75517         * sysdeps/ieee754/k_standard.c: Likewise.
75518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75519         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75520         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75521         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75522         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75523         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75525         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75526         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75527         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75528         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75529         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75530         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75531         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75532         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75533         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75534         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75535         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75536         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75537         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75540         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75541         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75542         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75543         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75549         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75550         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75551         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75553         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75554         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75555         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75556         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75557         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75558         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75560         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75561         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75562         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75563         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75565         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75566         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75567         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75568         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75569         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75570         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75571         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75573         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75574         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75575         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75576         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75577         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75578         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75579         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75580         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75581         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75582         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75583         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75584         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75585         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75586         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75587         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75588         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75589         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75590         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75591         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75592         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75593         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75594         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75595         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75596         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75597         * sysdeps/ieee754/s_matherr.c: Likewise.
75598         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75599         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75600         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75601         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75603 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75605         * crypt/md5.h: Remove __STDC__ conditionals.
75606         * libio/libioP.h: Likewise.
75607         * locale/programs/config.h: Likewise.
75608         * sysdeps/generic/sysdep.h: Likewise.
75609         * sysdeps/i386/asm-syntax.h: Likewise.
75610         * sysdeps/s390/asm-syntax.h: Likewise.
75611         * sysdeps/unix/sysdep.h: Likewise.
75612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75615 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75617         * libio/libio.h: Remove __STDC__ conditionals.
75618         * malloc/obstack.h: Likewise.
75619         * math/complex.h: Likewise.
75620         * math/math.h: Likewise.
75621         * sysdeps/generic/_G_config.h: Likewise.
75622         * sysdeps/gnu/_G_config.h: Likewise.
75623         * sysdeps/mach/hurd/_G_config.h: Likewise.
75624         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75625         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75626         * sysdeps/sparc/bits/mathdef.h: Likewise.
75628 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75630         [BZ #13583]
75631         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75632         Clean up HAS_* macros.
75633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75634         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75635         possible.
75636         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75637         HAS_AVX.
75638         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75639         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75640         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75641         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75644 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75646         * elf/tst-unique3.cc (gets): Remove declaration.
75647         * elf/tst-unique3lib.cc (gets): Likewise.
75648         * elf/tst-unique3lib2.cc (gets): Likewise.
75649         * elf/tst-unique4.cc (gets): Likewise.
75651 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75653         * include/stdio.h: Add C++ protection.  Add gets declarations and
75654         definitions.
75655         * debug/tst-chk1.c: Don't declare gets here.
75656         * stdio-common/tst-gets.c: Likewise.
75658 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75660         * posix/glob: Remove directory.
75662 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75664         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75666 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75668         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75669         of the non-standard EPFNOSUPPORT.
75671 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75673         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75674         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75675         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75677 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75679         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75681 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75683         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75684         transient errors.
75685         * nscd/grpcache.c (cache_addgr): Likewise.
75686         * nscd/hstcache.c (cache_addhst): Likewise.
75687         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75688         * nscd/pwdcache.c (cache_addpw): Likewise.
75689         * nscd/servicescache.c (cache_addserv): Likewise.
75691 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75693         * malloc/malloc.c: Various cleanups.
75694         * malloc/hooks.c: Likewise.
75696         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75697         * stdlib/bug-fmtmsg1.c: New file.
75699         * stdlib/fmtmsg.c (init): Add missing unlock.
75700         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75702 2012-01-12  Marek Polacek  <polacek@redhat.com>
75704         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75705         and _GNU_SOURCE.
75707 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75709         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75710         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75711         macro to ensure uniqueness of label name.
75712         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75713         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75715 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75717         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75720         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75721         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75724 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75726         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75728         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75729         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75730         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75732         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75734         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75735         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75736         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75739         * math/bits/math-finite.h: Add ldexp support.
75741 2012-01-10  Marek Polacek  <polacek@redhat.com>
75743         * locale/programs/localedef.h (show_archive_content): Add noreturn
75744         attribute.
75746 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75748         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75750 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75752         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75754         * io/Makefile (headers): Add bits/poll2.h.
75756 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75759         typo #include statement.
75761 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75763         * include/sys/cdefs.h: Define __attribute_alloc_size.
75764         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75765         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75766         * elf/pldd.c: Likewise.
75767         * iconv/iconv_charmap.c: Likewise.
75768         * iconv/iconvconfig.c: Likewise.
75769         * iconv/strtab.c: Likewise.
75770         * locale/programs/locale.c: Likewise.
75771         * locale/programs/localedef.h: Likewise.
75772         * locale/programs/simple-hash.c: Likewise.
75773         * nscd/nscd.h: Likewise.
75774         * nss/makedb.c: Likewise.
75775         * sysdeps/generic/ldconfig.h: Likewise.
75776         * locale/programs/localedef.c: Remove xmalloc prototype.
75777         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75779 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75781         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75782         appropriate.
75784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75786         * math/Makefile (tests): Add tst-CMPLX.
75787         * math/tst-CMPLX.c: New file.
75789         * math/complex.h (CMPLXL): Fix typo.
75791         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75792         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75793         GLIBC_2.16.
75794         * debug/tst-chk1.c: Add poll and ppoll tests.
75795         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75796         * include/sys/poll.h: Add hidden proto for ppoll.
75797         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75798         * sysdeps/mach/hurd/ppoll.c: Likewise.
75799         * io/ppoll.c: Likewise.
75800         * debug/poll_chk.c: New file.
75801         * debug/ppoll_chk.c: New file.
75802         * include/bits/poll2.h: New file.
75803         * io/bits/poll2.h: New file.
75805         [BZ #1350]
75806         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75808         * configure.in: static is always set to yes.  Remove.
75809         * config.make.in: Don't set build-static.
75810         * Makeconfig: Remove use of build-static.
75811         * dlfcn/Makefile: Likewise.
75812         * elf/Makefile: Likewise.
75813         * math/Makefile: Likewise.
75814         * misc/Makefile: Likewise.
75815         * nptl/Makefile: Likewise.
75816         * sysdeps/mach/hurd/Makefile: Likewise.
75818         * configure.in: PWD_P is not used anymore.
75819         * config.make.in: Remove PWD_P entry.
75821         * configure.in: Remove last remnants of RANLIB.
75822         No need to check for signed size_t anymore.
75823         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75824         and IA-64.
75825         Remove __builtin_expect test because we require at least gcc 3.4.
75826         * aclocal.m4: Likewise.
75828         * wcsmbs/mbrtoc16.c: Implement using towc function.
75829         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75830         * wcsmbs/wcsmbsload.c: Likewise.
75831         * iconv/gconv_simple.c: Likewise.
75832         * iconv/gconv_int.h: Likewise.
75833         * iconv/gconv_builtin.h: Likewise.
75834         * iconv/iconv_prog.c: Remove CHAR16 handling.
75836         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75838         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75840         * configure.in: Remove --with-elf and --enable-bounded options.
75841         Dont set base_machine for ia64.  More non-ELF conditions removed.
75842         Remove testing and setting of leading underscore information.
75843         * config.make.in (build-bounded): Set to no.
75844         * config.h.in: Remove NO_UNDERSCORES entry.
75845         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75846         them.
75847         * csu/start.c: Remove !NO_UNDERSCORE code.
75848         * locale/localeinfo.h: Likewise.
75849         * sysdeps/generic/machine-gmon.h: Likewise.
75850         * sysdeps/generic/sysdep.h: Likewise.
75851         * sysdeps/i386/sysdep.h: Likewise.
75852         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75853         * sysdeps/mach/sysdep.h: Likewise.
75854         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75855         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75856         * sysdeps/sh/sysdep.h: Likewise.
75857         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75858         * sysdeps/unix/i386/sysdep.S: Likewise.
75859         * sysdeps/unix/sparc/start.c: Likewise.
75860         * sysdeps/unix/sparc/sysdep.S: Likewise.
75861         * sysdeps/unix/sparc/sysdep.h: Likewise.
75862         * sysdeps/unix/start.c: Likewise.
75863         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75864         * sysdeps/x86_64/sysdep.h: Likewise.
75866 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75868         [BZ #13553]
75869         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75870         for non-gcc.
75871         * argp/argp-fmtstream.h: Use const instead __const.
75872         * argp/argp.h: Likewise.
75873         * assert/assert.h: Likewise.
75874         * bits/fenv.h: Likewise.
75875         * bits/sched.h: Likewise.
75876         * bits/sigset.h: Likewise.
75877         * bits/sigthread.h: Likewise.
75878         * catgets/nl_types.h: Likewise.
75879         * conform/data/pthread.h-data: Likewise.
75880         * crypt/crypt-private.h: Likewise.
75881         * crypt/crypt.h: Likewise.
75882         * crypt/crypt_util.c: Likewise.
75883         * ctype/ctype.h: Likewise.
75884         * debug/execinfo.h: Likewise.
75885         * debug/mbsnrtowcs_chk.c: Likewise.
75886         * debug/mbsrtowcs_chk.c: Likewise.
75887         * debug/wcsnrtombs_chk.c: Likewise.
75888         * debug/wcsrtombs_chk.c: Likewise.
75889         * debug/wcstombs_chk.c: Likewise.
75890         * dirent/dirent.h: Likewise.
75891         * dlfcn/dlfcn.h: Likewise.
75892         * elf/neededtest4.c: Likewise.
75893         * grp/grp.h: Likewise.
75894         * gshadow/gshadow.h: Likewise.
75895         * iconv/gconv.h: Likewise.
75896         * iconv/gconv_int.h: Likewise.
75897         * iconv/gconv_simple.c: Likewise.
75898         * iconv/iconv.h: Likewise.
75899         * iconv/loop.c: Likewise.
75900         * iconv/skeleton.c: Likewise.
75901         * include/aio.h: Likewise.
75902         * include/aliases.h: Likewise.
75903         * include/argz.h: Likewise.
75904         * include/arpa/inet.h: Likewise.
75905         * include/assert.h: Likewise.
75906         * include/dirent.h: Likewise.
75907         * include/dlfcn.h: Likewise.
75908         * include/execinfo.h: Likewise.
75909         * include/fcntl.h: Likewise.
75910         * include/fenv.h: Likewise.
75911         * include/glob.h: Likewise.
75912         * include/grp.h: Likewise.
75913         * include/libintl.h: Likewise.
75914         * include/mntent.h: Likewise.
75915         * include/netdb.h: Likewise.
75916         * include/pwd.h: Likewise.
75917         * include/rpc/netdb.h: Likewise.
75918         * include/sched.h: Likewise.
75919         * include/search.h: Likewise.
75920         * include/shadow.h: Likewise.
75921         * include/signal.h: Likewise.
75922         * include/stdio.h: Likewise.
75923         * include/stdlib.h: Likewise.
75924         * include/string.h: Likewise.
75925         * include/sys/socket.h: Likewise.
75926         * include/sys/stat.h: Likewise.
75927         * include/sys/statfs.h: Likewise.
75928         * include/sys/statvfs.h: Likewise.
75929         * include/sys/syslog.h: Likewise.
75930         * include/sys/time.h: Likewise.
75931         * include/sys/uio.h: Likewise.
75932         * include/time.h: Likewise.
75933         * include/unistd.h: Likewise.
75934         * include/utmp.h: Likewise.
75935         * include/wchar.h: Likewise.
75936         * include/wctype.h: Likewise.
75937         * inet/aliases.h: Likewise.
75938         * inet/arpa/inet.h: Likewise.
75939         * inet/netinet/ether.h: Likewise.
75940         * inet/netinet/in.h: Likewise.
75941         * intl/libintl.h: Likewise.
75942         * io/bits/fcntl2.h: Likewise.
75943         * io/fcntl.h: Likewise.
75944         * io/ftw.h: Likewise.
75945         * io/sys/poll.h: Likewise.
75946         * io/sys/stat.h: Likewise.
75947         * io/sys/statfs.h: Likewise.
75948         * io/sys/statvfs.h: Likewise.
75949         * io/utime.h: Likewise.
75950         * libio/bits/stdio.h: Likewise.
75951         * libio/bits/stdio2.h: Likewise.
75952         * libio/libio.h: Likewise.
75953         * libio/libioP.h: Likewise.
75954         * libio/stdio.h: Likewise.
75955         * locale/lc-ctype.c: Likewise.
75956         * locale/locale.h: Likewise.
75957         * login/utmp.h: Likewise.
75958         * malloc/arena.c: Likewise.
75959         * malloc/malloc.c: Likewise.
75960         * malloc/malloc.h: Likewise.
75961         * malloc/mcheck.c: Likewise.
75962         * malloc/mtrace.c: Likewise.
75963         * math/bits/mathcalls.h: Likewise.
75964         * math/fenv.h: Likewise.
75965         * math/math_private.h: Likewise.
75966         * misc/bits/error.h: Likewise.
75967         * misc/bits/syslog.h: Likewise.
75968         * misc/err.h: Likewise.
75969         * misc/error.h: Likewise.
75970         * misc/fstab.h: Likewise.
75971         * misc/mntent.h: Likewise.
75972         * misc/regexp.h: Likewise.
75973         * misc/search.h: Likewise.
75974         * misc/sgtty.h: Likewise.
75975         * misc/sys/mman.h: Likewise.
75976         * misc/sys/syslog.h: Likewise.
75977         * misc/sys/uio.h: Likewise.
75978         * misc/sys/xattr.h: Likewise.
75979         * misc/ttyent.h: Likewise.
75980         * nis/rpcsvc/ypclnt.h: Likewise.
75981         * nss/nss.h: Likewise.
75982         * posix/bits/unistd.h: Likewise.
75983         * posix/fnmatch.h: Likewise.
75984         * posix/glob.h: Likewise.
75985         * posix/sched.h: Likewise.
75986         * posix/spawn.h: Likewise.
75987         * posix/sys/wait.h: Likewise.
75988         * posix/unistd.h: Likewise.
75989         * posix/wordexp.h: Likewise.
75990         * pwd/pwd.h: Likewise.
75991         * resolv/netdb.h: Likewise.
75992         * resource/sys/resource.h: Likewise.
75993         * rt/aio.h: Likewise.
75994         * rt/bits/mqueue2.h: Likewise.
75995         * rt/mqueue.h: Likewise.
75996         * shadow/shadow.h: Likewise.
75997         * signal/signal.h: Likewise.
75998         * socket/send.c: Likewise.
75999         * socket/sendto.c: Likewise.
76000         * socket/sys/socket.h: Likewise.
76001         * stdio-common/printf.h: Likewise.
76002         * stdlib/bits/stdlib.h: Likewise.
76003         * stdlib/fmtmsg.h: Likewise.
76004         * stdlib/monetary.h: Likewise.
76005         * stdlib/stdlib.h: Likewise.
76006         * stdlib/ucontext.h: Likewise.
76007         * streams/stropts.h: Likewise.
76008         * string/argz.h: Likewise.
76009         * string/bits/string2.h: Likewise.
76010         * string/string.h: Likewise.
76011         * string/strings.h: Likewise.
76012         * sunrpc/rpc/auth.h: Likewise.
76013         * sunrpc/rpc/auth_des.h: Likewise.
76014         * sunrpc/rpc/clnt.h: Likewise.
76015         * sunrpc/rpc/netdb.h: Likewise.
76016         * sunrpc/rpc/pmap_clnt.h: Likewise.
76017         * sunrpc/rpc/xdr.h: Likewise.
76018         * sysdeps/generic/inttypes.h: Likewise.
76019         * sysdeps/generic/net/if.h: Likewise.
76020         * sysdeps/generic/sys/swap.h: Likewise.
76021         * sysdeps/gnu/net/if.h: Likewise.
76022         * sysdeps/gnu/utmpx.h: Likewise.
76023         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76024         * sysdeps/i386/i486/bits/string.h: Likewise.
76025         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76026         * sysdeps/s390/bits/string.h: Likewise.
76027         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76028         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76029         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76030         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76031         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76032         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76033         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76034         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76035         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76036         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76037         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76038         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76039         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76040         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76041         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76042         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76043         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76045         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76046         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76047         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76048         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76049         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76050         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76051         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76052         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76053         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76054         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76055         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76056         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76057         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76058         * sysvipc/sys/ipc.h: Likewise.
76059         * sysvipc/sys/msg.h: Likewise.
76060         * sysvipc/sys/sem.h: Likewise.
76061         * sysvipc/sys/shm.h: Likewise.
76062         * termios/termios.h: Likewise.
76063         * time/sys/time.h: Likewise.
76064         * time/time.h: Likewise.
76065         * wcsmbs/bits/wchar2.h: Likewise.
76066         * wcsmbs/uchar.h: Likewise.
76067         * wcsmbs/wchar.h: Likewise.
76068         * wctype/wctype.h: Likewise.
76070         [BZ #13551]
76071         * Makeconfig: Remove all but ELF support including AIX support.
76072         * Makerules: Likewise.
76073         * config.h.in: Likewise.
76074         * config.make.in: Likewise.
76075         * configure: Likewise.
76076         * configure.in: Likewise.
76077         * csu/Makefile: Likewise.
76078         * csu/version.c: Likewise.
76079         * debug/Makefile: Likewise.
76080         * dlfcn/Makefile: Likewise.
76081         * elf/Makefile: Likewise.
76082         * extra-lib.mk: Likewise.
76083         * iconv/Makefile: Likewise.
76084         * include/libc-symbols.h: Likewise.
76085         * include/shlib-compat.h: Likewise.
76086         * resolv/Makefile: Likewise.
76087         * resolv/res_libc.c: Likewise.
76088         * rt/Makefile: Likewise.
76089         * sysdeps/i386/asm-syntax.h: Likewise.
76090         * sysdeps/i386/sysdep.h: Likewise.
76091         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76092         * sysdeps/mach/sysdep.h: Likewise.
76093         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76094         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76095         * sysdeps/s390/asm-syntax.h: Likewise.
76096         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76098         * sysdeps/sh/sysdep.h: Likewise.
76099         * sysdeps/unix/sparc/sysdep.h: Likewise.
76100         * sysdeps/wordsize-32/divdi3.c: Likewise.
76101         * sysdeps/x86_64/sysdep.h: Likewise.
76103         * argp/Versions: Remove _argp_unlock_xxx.
76105         [BZ #13559]
76106         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76107         * abilist/libBrokenLocale.abilist: Likewise.
76108         * abilist/libanl.abilist: Likewise.
76109         * abilist/libc.abilist: Likewise.
76110         * abilist/libcrypt.abilist: Likewise.
76111         * abilist/libdl.abilist: Likewise.
76112         * abilist/libm.abilist: Likewise.
76113         * abilist/libnsl.abilist: Likewise.
76114         * abilist/libpthread.abilist: Likewise.
76115         * abilist/libresolv.abilist: Likewise.
76116         * abilist/librt.abilist: Likewise.
76117         * abilist/libthread_db.abilist: Likewise.
76118         * abilist/libutil.abilist: Likewise.
76119         * abilist/libnss_db.abilist: New file.
76121         * scripts/abilist.awk: Add support for indirect functions.
76123         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76125         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76127         * shlib-versions: Remove entries for ports architectures.
76129         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76130         files in ports.
76131         * elf/stackguard-macros.h: Remove support for IA-64.
76132         * elf/tst-auditmod1.c: Likewise.
76133         * sysdeps/generic/ldsodefs.h: Likewise.
76135         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76136         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76137         configure files.
76139         [BZ #13552]
76140         * configure.in: Remove --enable-omitfp support.
76141         * FAQ.in: Adjust.
76142         * config.make.in: Likewise.
76143         * Makeconfig: Likewise.
76144         * manual/install.texi: Likewise.
76146         In case anyone cares, the IA-64 architecture could move to ports.
76147         * sysdeps/ia64/*: Removed.
76148         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76149         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76151         [BZ #13555]
76152         * configure.in: Remove entries for unsupported architectures.
76154         [BZ #13533]
76155         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76156         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76157         routines.
76158         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76159         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76160         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76161         fall back to using wcrtomb.
76162         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76163         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76164         renaming.
76165         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76166         * wcsmbs/tst-c16c32-1.c: New file.
76168         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76169         local variable.
76171         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76173         * elf/tst-unique3.cc: Add explicit declaration of gets.
76174         * elf/tst-unique3lib.cc: Likewise.
76175         * elf/tst-unique3lib2.cc: Likewise.
76176         * elf/tst-unique4.cc: Likewise.
76178         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76180 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76182         [BZ #13566]
76183         * assert/assert.h (static_assert): Don't define for C++.
76184         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76185         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76187 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76189         * iconv/loop.c (single loop): Fix assertion in storing of
76190         remaining bytes.
76192         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76194 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76196         * posix/getconf.c: Update copyright year.
76197         * nss/getent.c: Likewise.
76198         * nss/makedb.c: Likewise.
76199         * iconv/iconvconfig.c: Likewise.
76200         * iconv/iconv_prog.c: Likewise.
76201         * elf/ldconfig.c: Likewise.
76202         * elf/pldd.c: Likewise.
76203         * elf/sotruss.ksh: Likewise.
76204         * catgets/gencat.c: Likewise.
76205         * csu/version.c: Likewise.
76206         * elf/ldd.bash.in: Likewise.
76207         * elf/sprof.c (print_version): Likewise.
76208         * locale/programs/locale.c: Likewise.
76209         * locale/programs/localedef.c: Likewise.
76210         * login/programs/pt_chown.c: Likewise.
76211         * nscd/nscd.c (print_version): Likewise.
76212         * debug/xtrace.sh: Likewise.
76213         * malloc/memusage.sh: Likewise.
76214         * malloc/mtrace.pl: Likewise.
76215         * debug/catchsegv.sh: Likewise.
76217 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76219         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76220         pure attribute.
76222 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76224         [BZ #13533]
76225         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76226         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76227         transformations.
76228         * iconv/gconv_int.h: Likewise.
76229         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76230         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76231         from libc for GLIBC_2.16.
76232         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76233         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76234         * wcsmbs/uchar.h: Really define mbstate_t.
76235         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76236         * wcsmbs/c16rtomb.c: New file.
76237         * wcsmbs/mbrtoc16.c: New file.
76238         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76239         for C/POSIX locale.
76240         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76241         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76243         * wcsmbs/wchar.h: Add missing __restrict.
76245 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76247         [BZ #13532]
76248         * time/Makefile (routines): Add timespec_get.
76249         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76250         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76251         timespec for ISO C11.
76252         * time/timespec_get.c: New file.
76253         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76254         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76256         [BZ #13531]
76257         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76258         * stdlib/stdlib.h: Declare aligned_alloc.
76259         * Versions.def: Add GLIBC_2.16 for libc.
76260         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76262         [BZ 13527]
76263         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76264         ISO C11.
76266         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76267         code.
76269         [BZ #13528]
76270         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76272         [BZ #13529]
76273         * assert/assert.h (static_assert): Define.
76275         * version.h: Update for 2.16 development version.
76277         [BZ #13526]
76278         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76279         _ISOC11_SOURCE.
76281         * version.h (RELEASE): Bump for 2.15 release.
76282         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76284         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76285         Patch by Marek Polacek <mpolacek@redhat.com>.
76287         * bits/byteswap.h: Protect long long constants with __extension__.
76288         * sysdeps/i386/bits/byteswap.h: Likewise.
76289         * sysdeps/ia64/bits/byteswap.h: Likewise.
76290         * sysdeps/s390/bits/byteswap.h: Likewise.
76291         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76293 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76295         [BZ #13540]
76296         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76297         destination buffer.
76298         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76300 2011-12-23  Marek Polacek  <polacek@redhat.com>
76302         * elf/dl-addr.c (determine_info): Add inline keyword.
76303         * elf/tst-auditmod4b.c (check_avx): Likewise.
76304         * elf/tst-auditmod6b.c (check_avx): Likewise.
76305         * elf/tst-auditmod6c.c (check_avx): Likewise.
76306         * elf/tst-auditmod7b.c (check_avx): Likewise.
76308 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76310         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76311         !__SSE_MATH__.
76313 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76315         [BZ #13540]
76316         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76317         processing for last bytes.
76319 2011-08-06  Bruno Haible  <bruno@clisp.org>
76321         [BZ #13061]
76322         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76323         U+0385, not to U+1FEE.
76325         [BZ #13062]
76326         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76327         entry for U+00A5 U+0301.
76329 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76331         [BZ #13166]
76332         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76333         buffer for the output is too small.
76335         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76336         optimization.
76338         [BZ #13185]
76339         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76340         SSE flags if possible.
76342 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76344         [BZ #13540]
76345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76346         processing for last bytes.
76348 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76350         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76351         (syscall-list-default-options, syscall-list-default-condition)
76352         (syscall-list-includes): Define.
76353         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76354         list of ABIs and options and #if conditions for each ABI.  Do not
76355         handle common syscalls between ABIs specially.
76356         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76357         Remove.
76358         (syscall-list-variants, syscall-list-32bit-options)
76359         (syscall-list-32bit-condition, syscall-list-64bit-options)
76360         (syscall-list-64bit-condition): Define.
76361         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76362         (syscall-list-variants, syscall-list-32bit-options)
76363         (syscall-list-32bit-condition, syscall-list-64bit-options)
76364         (syscall-list-64bit-condition): Define.
76365         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76366         Remove.
76367         (syscall-list-variants, syscall-list-32bit-options)
76368         (syscall-list-32bit-condition, syscall-list-64bit-options)
76369         (syscall-list-64bit-condition): Define.
76370         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76371         Remove.
76372         (syscall-list-variants, syscall-list-32bit-options)
76373         (syscall-list-32bit-condition, syscall-list-64bit-options)
76374         (syscall-list-64bit-condition): Define.
76376 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76378         * locale/iso-639.def: Add brx entry.
76380         [BZ #13328]
76381         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76382         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76384         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76385         __feraiseexcept_renamed.
76387 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76389         [BZ #13538]
76390         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76391         EPOLLET with unsigned values.
76392         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76395         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76396         to large cancellation.
76397         * math/s_cacoshf.c: Likewise.
76398         * math/s_cacoshl.c: Likewise.
76400 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76402         [BZ #13305]
76403         [BZ #12786]
76404         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76405         * math/s_cacoshf.c: Likewise.
76406         * math/s_cacoshl.c: Likewise.
76408 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76410         [BZ #13439]
76411         * iconv/gconv.h: Define __GCONV_SWAP.
76412         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76413         * iconvdata/utf-16.c: Likewise.
76414         * iconvdata/utf-32.c: Likewise.
76416 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76418         [BZ #13524]
76419         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76420         numerator after shifting it by one limb.
76422 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76424         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76425         under [__USE_EXTERN_INLINES].
76427 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76429         [BZ #13446]
76430         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76432 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76434         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76435         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76436         optimized code.
76437         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76438         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76439         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76440         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76441         for strncasecmp/strncasecmp_l compilation.
76442         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76443         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76445 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76447         [BZ #13484]
76448         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76449         of __asm__.
76451 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76453         [BZ #13506]
76454         * time/tzfile.c (__tzfile_read): Check values from file header.
76456 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76458         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76459         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76460         * powerpc/powerpc32/dl-start.S: Likewise.
76461         * powerpc/powerpc32/elf/start.S: Likewise.
76462         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76463         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76464         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76465         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76466         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76467         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76468         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76469         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76470         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76471         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76472         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76473         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76474         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76475         * powerpc/powerpc32/memset.S: Likewise.
76476         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76477         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76478         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76479         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76480         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76481         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76482         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76483         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76484         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76485         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76486         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76487         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76488         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76490 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76492         * math/libm-test.inc: Added more nearbyint tests.
76493         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76498 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76500         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76501         FD_CLOEXEC.
76503 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76505         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76506         Add wcscpy-ssse3 wcscpy-c.
76507         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76508         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76509         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76510         * sysdeps/x86_64/wcschr.S: New file.
76511         * sysdeps/x86_64/wcsrchr.S: New file.
76512         * string/test-strcmp.c: Remove checking of wcscmp function for
76513         wrong alignments.
76514         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76515         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76516         wcsrchr-sse2 wcsrchr-c.
76517         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76518         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76519         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76520         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76521         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76522         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76523         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76524         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76525         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76526         * wcsmbc/wcschr.c (WCSCHR): New macro.
76528 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76530         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76531         * wcsmbs/test-wcsrchr.c: New file.
76532         * string/test-strrchr.c: Add wcsrchr support.
76533         (WIDE): New macro.
76534         * wcsmbs/test-wcscpy.c: New file.
76535         * string/test-strcpy.c: Add wcscpy support.
76536         (WIDE): New macro.
76538 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76540         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76541         the inner loop.
76543 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76545         [BZ #13472]
76546         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76548 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76550         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76551         Minor optimizations.
76553         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76554         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76555         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76557 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76559         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76560         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76561         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76562         for gcc to avoid warnings.
76563         * inet/Makefile (tests): Add tst-checks.
76564         * inet/tst-checks.c: New file.
76566         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76567         warning.
76569         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76570         __wmemcmp_sse2.
76572         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76573         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76575         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76577 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76579         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76580         problem.
76582         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76584 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76587         conditional on GCC version.
76588         (__arch_compare_and_exchange_val_8_acq)
76589         (__arch_compare_and_exchange_val_16_acq)
76590         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76591         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76592         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76594 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76596         * sysdeps/sh/backtrace.c: New file.
76598 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76600         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76601         parenthesis.
76603 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76605         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76606         falling back to utime.
76608 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76610         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76611         expectations for float.
76613 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76615         * locale/weight.h (findidx): Add parameter len.
76616         * locale/weightwc.h (findidx): Likewise.
76617         * posix/fnmatch_loop.c (FCT): Adjust caller.
76618         * posix/regcomp.c (build_equiv_class): Likewise.
76619         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76620         * posix/regexec.c (check_node_accept_bytes): Likewise.
76621         * string/strcoll_l.c (STRCOLL): Likewise.
76622         * string/strxfrm_l.c (STRXFRM): Likewise.
76624 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76626         * Makefile.in: Remove CVSOPT handling.
76627         * configure.in: Remove use of AC_REVISION.
76628         * iconvdata/Makefile (distribute): No need to filter out CVS.
76629         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76630         handling.
76632 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76634         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76635         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76636         [USE_AS_STRNCASECMP_L]: Likewise.
76637         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76638         NO_TLS_DIRECT_SEG_REFS.
76639         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76640         Fix argument offsets for non-PIC.
76641         [USE_AS_STRNCASECMP_L]: Likewise.
76642         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76643         NO_TLS_DIRECT_SEG_REFS.
76645 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76647         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76648         O_CLOEXEC.
76649         * locale/loadlocale.c (_nl_load_locale): Likewise.
76651 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76653         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76654         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76655         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76656         (SYSCALL_GETTIME): Set errno on error.
76658         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76659         count references to noai6ai_cached.
76661 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76663         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76665         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76666         FD_CLOEXEC for /proc/self/maps.
76668         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76669         FD_CLOEXEC for /proc/meminfo.
76671         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76672         gai.conf.
76674         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76675         FD_CLOEXEC for given file.
76677         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76679         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76680         FD_CLOEXEC for /etc/hosts.
76681         (_gethtent): Likewise.
76683         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76685         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76686         cancellation and set FD_CLOEXEC for /etc/netgroup.
76688         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76689         reading /etc/publickey.
76691         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76692         allow cancellation when reading /etc/group.
76694         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76695         cancellation.
76696         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76698         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76699         when using data file.
76701         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76703         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76704         (write_nis_obj): Use "c" and "e" in fopen.
76706         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76708         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76710         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76712         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76714         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76715         locale.alias.
76717         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76719         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76721         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76723         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76724         file parsing and set FD_CLOEXEC.
76726 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76728         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76730 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76732         * malloc/arena.c (arena_get2): Don't call reused_arena when
76733         _int_new_arena failed.
76735 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76737         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76738         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76739         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76740         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76741         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76742         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76743         to compile strcasecmp and strncasecmp.
76744         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76745         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76749 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76751         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76752         locale-defines.sym to gen-as-const-headers.
76753         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76754         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76755         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76756         to compile strcasecmp and strncasecmp.
76757         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76758         strcasecmp_l and strncasecmp_l.
76759         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76760         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76761         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76762         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76763         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76764         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76765         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76766         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76767         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76768         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76769         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76771 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76773         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76774         result of SYSDEP_GETTIME_CPU to retval.
76775         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76776         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76778         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76779         variable.
76781         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76782         mantissa words.
76783         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76785         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76786         from unused variable.
76788         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76789         DWARF definitions.
76790         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76791         for assembling.
76793         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76794         over namespaces.
76796         * sunrpc/rpc_prot.c (rejected): Fix case value.
76798         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76799         unsigned long long int to avoid warnings in shift.
76801         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76802         of use of trans.
76803         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76804         variable tmp.
76806         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76807         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76808         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76810         * nis/nis_table.c (nis_list): Use variable of correct type for
76811         result of __follow_path call.
76813 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76815         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76816         of math functions ceil, trunc, floor, round, and sqrt, when
76817         avaliable on the platform.
76818         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76819         name clash.
76820         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76821         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76822         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76824 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76826         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76827         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76829 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76831         * include/unistd.h: Fix __readlink return type.
76832         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76834 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76836         * stdlib/ucontext.h: Undo last change for makecontext.
76838 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76840         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76842         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76843         * setjmp/setjmp.h: Mark functions as non-leaf.
76844         * setjmp/bits/setjmp2.h: Likewise.
76845         * stdlib/ucontext.h: Likewise.
76847 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76849         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76850         (reused_arena): Don't check arena limit.
76851         (arena_get2): Atomically check arena limit.
76853 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76855         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76856         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76859         instructions.
76861 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76863         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76864         handler when locking.
76866         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76867         Fix size of allocated buffer.
76869 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76871         [BZ #10103]
76872         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76873         declarations for long double functions.
76874         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76876         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76878 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76880         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76881         installed.
76883         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76884         is disabled.
76886 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76888         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76890 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76892         * include/alloca.h (stackinfo_alloca_round): Define.
76893         (extend_alloca): Use it.
76894         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76895         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76896         here.
76898         * scripts/check-local-headers.sh: Ignore libaudit.h.
76900         * nscd/Makefile (extra-objs): Make recursively expanded.
76902 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76904         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76905         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76907         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76908         * posix/tst-rfc3484-2.c: Likewise.
76909         * posix/tst-rfc3484-3.c: Likewise.
76911         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76912         process_vm_writev.
76913         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76914         process_vm_writev.
76915         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76916         process_vm_writev from libc using GLIBC_2.15 version.
76918         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76920 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76922         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76923         stack usage.
76925 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76927         [BZ #13367]
76928         * nss/getent.c (initgroups_keys): Show error message in case no group
76929         names are given.
76931         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76932         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76933         __bump_nl_timestamp.
76934         * nscd/connections (nscd_init): When host database is served open
76935         netlink socket and request notification about configuration changes.
76936         (main_loop_poll): Track netlink file descriptor and bump timestamp
76937         in case data becomes available.
76938         (main_loop_epoll): Likewise.
76939         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76940         (database_pers_head): Add extra_data fileds.
76941         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76942         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76943         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76944         Adjust caller.
76945         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76946         in6ai data, call __free_in6ai.
76947         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76948         Add -DHAVE_NETLINK.
76949         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76950         interface information.  Reuse previous data if netlink timestamp
76951         is not changed.
76952         (__bump_nl_timestamp): New function.
76953         (__free_in6ai): New function.
76955 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76957         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76958         close_not_cancel_no_status here.
76959         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76961 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76963         [BZ #13276]
76964         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76965         return value.
76967         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76968         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76969         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76971 2011-07-03  Andreas Jaeger  <aj@suse.de>
76973         [BZ #10709]
76974         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76975         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76976         * math/libm-test.inc (sin_test): Add test case.
76978 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76980         [BZ #13337]
76981         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76982         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76984         * elf/chroot_canon.c (chroot_canon): Cleanups.
76986         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76988         [BZ #13335]
76989         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76990         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76992         * string/test-strchr.c: Make usable for strchrnul testing.
76993         * string/test-strchrnul.c: New file.
76994         * string/Makefile (strop-tests): Add strchrnul.
76996         * po/it.po: Update from translation team.
76997         * po/es.po: Likewise.
76999 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77001         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77002         the three constants needed as parameters.  Drop the others.
77003         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77004         __m128i_strloadu_tolower.
77005         Create and initialize variable zero and use it in all the places
77006         where _mm_setzero_si128 was used.
77008         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77009         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77010         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77011         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77012         anymore.
77013         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77014         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77015         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77016         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77017         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77018         __mpranred, __mptan.
77019         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77020         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77021         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77022         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77023         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77024         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77025         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77026         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77027         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77029 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77031         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77032         redefine if SHARED.
77033         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77036         wide char related routines to wcsmbs subdir.
77038 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77040         [BZ #13344]
77041         * misc/sys/cdefs.h (__THROWNL): Define.
77042         * posix/unistd.h: Use __THREADNL instead of __THREAD
77043         for memory synchronization functions.
77045 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77047         [BZ #13349]
77048         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77049         doesn't exist.
77050         * manual/stdio.texi (Obstack Streams): Node removed.
77052 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77054         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77055         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77056         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77058         * math/math_private.h (math_force_eval): Allow non-addressable
77059         arguments.
77060         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77062 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77064         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77065         file is not needed.
77067         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77068         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77069         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77070         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77071         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77072         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77073         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77074         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77075         Add AVX variants.
77076         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77077         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77078         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77079         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77080         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77081         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77082         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77083         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77084         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77085         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77086         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77087         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77088         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77089         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77090         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77091         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77092         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77093         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77094         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77096         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77097         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77099         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77100         place.  Use VEX encoding when compiling for AVX.
77102 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77104         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77105         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77107         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77109 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77111         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77112         useless if() expression.
77113         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77114         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77115         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77116         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77117         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77118         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77119         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77120         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77121         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77122         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77123         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77124         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77125         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77126         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77127         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77128         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77129         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77130         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77131         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77133         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77135 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77137         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77138         condition.
77139         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77141 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77143         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77144         .text section.  Avoid duplicate constants.
77145         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77146         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77147         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77148         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77153         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77154         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77155         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77156         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77157         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77158         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77159         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77160         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77161         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77162         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77164         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77165         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77166         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77167         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77168         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77169         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77170         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77171         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77172         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77173         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77174         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77175         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77176         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77177         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77178         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77179         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77180         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77181         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77182         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77183         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77184         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77185         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77186         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77187         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77188         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77189         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77191 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77193         * sysdeps/x86_64/dla.h: Move to ...
77194         * sysdeps/x86_64/fpu/dla.h: ...here.
77195         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77196         situations.  Use __builtin_fma only for gcc 4.6 and up.
77198         * config.make.in: Add have-mfma4 entry.
77199         * configure.in: Substitute libc_cv_cc_fma4.
77200         * math/Makefile (dbl-only-routines): Add sincostab.
77201         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77202         Use __sincostab not sincos.
77203         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77204         name is a macro.
77205         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77206         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77209         using __copysign.
77210         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77211         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77212         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77213         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77214         and __inv.
77215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77216         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77217         __copysign.
77218         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77219         define aliases when function name is a macro.
77220         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77221         sysdeps/ieee754/dbl-64/sincos.tbl.
77222         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77223         fma4-enabled routines.
77224         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77225         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77226         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77227         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77229         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77231         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77232         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77233         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77234         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77235         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77236         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77237         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77238         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77239         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77240         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77241         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77242         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77243         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77244         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77245         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77246         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77247         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77248         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77249         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77250         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77251         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77252         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77253         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77255         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77256         rename.
77257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77263         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77264         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77266 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77268         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77270 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77272         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77274         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77275         prediction.
77276         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77278         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77279         Remove unused variable magic_bits.
77280         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77282         * string/strnlen.c: Define and use STRNLEN macro.
77283         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77284         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77286         * wcsmbs/wcslen.c: Define and use WCSLEN.
77287         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77288         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77289         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77290         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77291         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77292         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77293         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77295 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77298         strnlen-sse2-no-bsf.
77299         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77300         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77301         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77302         Add strnlen support.
77303         (USE_AS_STRNLEN): New macro.
77304         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77305         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77306         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77307         * sysdeps/x86_64/wcslen.S: New file.
77309 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77311         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77312         XMM-moves are used for copying on small sizes.
77314 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77316         * wcsmbs/Makefile (strop-tests): Add wcschr.
77317         * wcsmbs/test-wcschr.c: New file.
77318         * string/test-strchr.c: Update.
77319         Add wcschr support.
77320         (WIDE): New macro.
77322 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77324         * wcsmbs/Makefile (strop-tests): Add wcslen.
77325         * wcsmbs/test-wcslen.c: New file.
77326         * string/test-strlen.c: Update.
77327         Add wcslen support.
77328         (WIDE): New macro.
77330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77332         * po/it.po: Update from translation team.
77334 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77336         * sysdeps/x86_64/wcscmp.S: Update.
77337         Fix wrong comparison semantics.
77338         wcscmp shall use signed comparison not unsigned.
77339         Don't use substraction to avoid overflow bug.
77340         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77341         * wcsmbc/wcscmp.c: Likewise.
77342         * string/test-strcmp.c: Likewise.
77343         Add new tests to check cases with negative values.
77345 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77347         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77348         * sysdeps/x86_64/dla.h: ...here.  New file.
77349         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77350         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77353         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77354         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77355         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77356         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77357         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77359 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77362         __ynl_finite aliases.
77364 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77368         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77369         define DLA_FMA.
77370         [DLA_FMA] (EMULV): Use DLA_FMA.
77371         [DLA_FMA] (MUL12): Use EMULV.
77372         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77373         that are not needed.
77374         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77375         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77379         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77380         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77382 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77384         * math/s_nan.c: Undef __nan.
77385         * math/s_nanf.c: Undef __nanf.
77386         * math/s_nanl.c: Undef __nanl.
77387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77388         "math_private.h".
77390 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77392         * math/s_catan.c: Add branch predictions.
77393         * math/s_catanf.c: Likewise.
77394         * math/s_catanh.c: Likewise.
77395         * math/s_catanhf.c: Likewise.
77396         * math/s_catanhl.c: Likewise.
77397         * math/s_catanl.c: Likewise.
77398         * math/s_cexp.c: Likewise.
77399         * math/s_cexpf.c: Likewise.
77400         * math/s_cexpl.c: Likewise.
77401         * math/s_clog.c: Likewise.
77402         * math/s_clog10.c: Likewise.
77403         * math/s_clog10f.c: Likewise.
77404         * math/s_clog10l.c: Likewise.
77405         * math/s_clogf.c: Likewise.
77406         * math/s_clogl.c: Likewise.
77407         * math/s_csqrt.c: Likewise.
77408         * math/s_csqrtf.c: Likewise.
77409         * math/s_csqrtl.c: Likewise.
77410         * math/s_ctanf.c: Likewise.
77411         * math/s_ctanh.c: Likewise.
77412         * math/s_ctanhf.c: Likewise.
77413         * math/s_ctanhl.c: Likewise.
77414         * math/s_ctanl.c: Likewise.
77416         * math/math_private.h: Define __nan, __nanf, __nanl.
77417         * math/s_cacosh.c: Include <math_private.h>.
77418         * math/s_cacoshl.c: Likewise.
77419         * math/s_casinh.c: Likewise.
77420         * math/s_casinhf.c: Likewise.
77421         * math/s_casinhl.c: Likewise.
77422         * math/s_ccos.c: Rely entire on ccosh.
77423         * math/s_ccosf.c: Rely entire on ccoshf.
77424         * math/s_ccosl.c: Rely entirely on ccoshl.
77425         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77426         Remove tests for FE_INVALID.
77427         * math/s_ccoshf.c: Likewise.
77428         * math/s_ccoshl.c: Likewise.
77429         * math/s_csin.c: Likewise.
77430         * math/s_csinf.c: Likewise.
77431         * math/s_csinh.c Likewise.
77432         * math/s_csinhf.c: Likewise.
77433         * math/s_csinhl.c: Likewise.
77434         * math/s_csinl.c: Likewise.
77435         * math/s_ctan.c: Likewise.
77436         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77437         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77438         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77440 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77443         compilation problems.
77445         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77446         __builtin_expect.
77448 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77450         * sysdeps/i386/configure.in: Test for -mfma4 option.
77451         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77452         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77453         COMMON_CPUID_INDEX_80000001.
77454         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77455         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77456         use it if FMA3 is not supported.
77457         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77459         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77460         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77462 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77464         [BZ #12892]
77465         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77466         it would create a cycle with a link time dependency.
77468 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77470         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77471         instruction.
77472         * string/Makefile (strop-tests): Add rawmemchr.
77473         * string/test-rawmemchr.c: New file.
77475         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77476         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77477         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77478         when compiling str{,n}casecmp and when AVX is available.  Hook up
77479         new optimized code in initializers.
77481 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77483         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77484         __feraiseexcept instead of feraiseexcept.
77486 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77488         * math/math_private.h: Define defaults for libc_fetestexcept and
77489         libc_feupdateenv.
77490         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77491         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77492         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77493         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77494         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77495         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77496         libc_fetestexcept and libc_feupdateenv.
77498         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77499         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77500         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77501         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77502         libc_feholdexcept_setround.
77504         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77505         Add s_nearbyint-c and s_nearbyintf-c.
77506         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77507         nearbyintf inlines.
77508         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77509         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77510         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77511         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77513         * math/math_private.h: Define defaults for libc_fegetround,
77514         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77515         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77516         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77517         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77518         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77519         standard functions.
77520         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77521         Remove comments and hacks for old compiler versions.
77522         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77523         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77524         libc_feholdexceptl.
77526 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77528         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77529         (__feraiseexcept_renamed): Add __NTH.
77530         (feraiseexcept): Add __NTH.  Rename local variables to fix
77531         namespace violations.
77533 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77535         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77537         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77539         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77540         recently added interfaces.
77541         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77543         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77544         about macro parameter expansion.
77546         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77547         __NO_MATH_INLINES is defined.  Cleanups.
77549         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77550         and __floorf is target has SSE4.1.
77551         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77552         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77553         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77554         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77556         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77557         name.
77558         (floorf): Likewise.
77560         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77562 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77564         * misc/sys/cdefs.h: Fix last change.
77566         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77567         database lookup.
77569 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77571         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77573         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77575         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77576         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77577         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77579         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77580         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77581         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77582         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77583         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77584         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77585         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77586         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77587         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77588         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77589         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77590         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77591         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77592         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77593         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77594         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77596         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77597         ceil, ceilf, floor, floorf.
77599         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77600         Perform IRELATIVE relocations last.
77602         * elf/do-rel.h: Add another parameter nrelative, replacing the
77603         local variable with the same name.  Change name of the function
77604         to end in Rel or Rela (uppercase).
77605         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77606         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77607         elf_dynamic_do_##reloc function.
77609 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77611         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77612         is sufficient, at least on modern CPUs.
77614         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77616         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77617         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77619         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77620         __expl_finite.
77621         * math/bits/math-finite.h: Add entries for exp.
77622         * math/e_expl.c: Add __*_finite alias.
77623         * sysdeps/i386/fpu/e_exp.S: Likewise.
77624         * sysdeps/i386/fpu/e_expf.S: Likewise.
77625         * sysdeps/i386/fpu/e_expl.c: Likewise.
77626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77627         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77628         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77630         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77631         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77632         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77634         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77635         is sufficient, at least on modern CPUs.
77637         * ctype/ctype-info.c (__ctype_init): Define.
77638         * include/ctype.h (__ctype_init): Declare.
77639         (__ctype_b_loc): The variable is always initialized.
77640         (__ctype_toupper_loc): Likewise.
77641         (__ctype_tolower_loc): Likewise.
77642         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77643         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77645 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77647         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77649         * configure.in: Also look in $cxxmachine/include for C++ system
77650         headers.
77652 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77654         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77655         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77656         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77657         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77659         (USE_AS_WMEMCMP): New macro.
77660         Fixing indents.
77661         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77662         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77663         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77664         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77665         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77666         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77667         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77668         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77669         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77670         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77671         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77672         (USE_AS_WMEMCMP): New macro.
77673         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77674         * sysdeps/string/test-memcmp.c: Update.
77675         Fix simple_wmemcmp.
77676         Add new tests.
77677         * wcsmbs/wmemcmp.c: Update.
77678         (WMEMCMP): New macro.
77679         Fix overflow bug.
77681 2011-10-12  Andreas Jaeger  <aj@suse.de>
77683         [BZ #13268]
77684         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77686 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77688         * libio/iofwide.c (do_length): Avoid warning.
77690         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77692 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77694         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77696         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77697         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77698         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77699         * sysdeps/i386/i686/fpu/e_log.S: New file.
77700         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77701         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77703         * ctype/ctype.h: Add support for inlined isXXX functions when
77704         compiling C++ code.
77706 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77708         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77710         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77712 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77714         [BZ #13291]
77715         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77717 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77719         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77720         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77721         feraiseexcept.
77723         * sysdeps/x86_64/memrchr.S: Check for zero size.
77725         * string/stratcliff.c: Add memrchr tests.
77727 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77730         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77731         rawmemchr-sse2 rawmemchr-sse2-bsf.
77732         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77733         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77734         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77735         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77736         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77737         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77738         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77739         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77740         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77741         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77742         * string/memrchr.c (MEMRCHR): New macro.
77744 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77746         Add integration with gcc's -ffinite-math-only and optimize wrapper
77747         functions in libm.
77748         * Versions.def: Define GLIBC_2.15 version for libm.
77749         * math/Makefile (headers): Add bits/math-finite.h.
77750         * math/bits/math-finite.h: New file.
77751         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77752         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77753         * math/e_acoshl.c: Add __*_finite alias.
77754         * math/e_acosl.c: Likewise.
77755         * math/e_asinl.c: Likewise.
77756         * math/e_atan2l.c: Likewise.
77757         * math/e_atanhl.c: Likewise.
77758         * math/e_coshl.c: Likewise.
77759         * math/e_exp10.c: Likewise.
77760         * math/e_exp10f.c: Likewise.
77761         * math/e_exp10l.c: Likewise.
77762         * math/e_exp2l.c: Likewise.
77763         * math/e_fmodl.c: Likewise.
77764         * math/e_gammal_r.c: Likewise.
77765         * math/e_hypotl.c: Likewise.
77766         * math/e_j0l.c: Likewise.
77767         * math/e_j1l.c: Likewise.
77768         * math/e_jnl.c: Likewise.
77769         * math/e_lgammal_r.c: Likewise.
77770         * math/e_log10l.c: Likewise.
77771         * math/e_log2l.c: Likewise.
77772         * math/e_logl.c: Likewise.
77773         * math/e_powl.c: Likewise.
77774         * math/e_sinhl.c: Likewise.
77775         * math/e_sqrtl.c: Likewise.
77776         * math/e_scalb.c: Completely rewritten and optimized.
77777         * math/e_scalbf.c: Likewise.
77778         * math/e_scalbl.c: Likewise.
77779         * math/w_acos.c: Likewise.
77780         * math/w_acosf.c: Likewise.
77781         * math/w_acosl.c: Likewise.
77782         * math/w_acosh.c: Likewise.
77783         * math/w_acoshf.c: Likewise.
77784         * math/w_acoshl.c: Likewise.
77785         * math/w_asin.c: Likewise.
77786         * math/w_asinf.c: Likewise.
77787         * math/w_asinl.c: Likewise.
77788         * math/w_atan2.c: Likewise.
77789         * math/w_atan2f.c: Likewise.
77790         * math/w_atan2l.c: Likewise.
77791         * math/w_atanh.c: Likewise.
77792         * math/w_atanhf.c: Likewise.
77793         * math/w_atanhl.c: Likewise.
77794         * math/w_exp10.c: Likewise.
77795         * math/w_exp10f.c: Likewise.
77796         * math/w_exp10l.c: Likewise.
77797         * math/w_fmod.c: Likewise.
77798         * math/w_fmodf.c: Likewise.
77799         * math/w_fmodl.c: Likewise.
77800         * math/w_j0.c: Likewise.
77801         * math/w_j0f.c: Likewise.
77802         * math/w_j0l.c: Likewise.
77803         * math/w_j1.c: Likewise.
77804         * math/w_j1f.c: Likewise.
77805         * math/w_j1l.c: Likewise.
77806         * math/w_jn.c: Likewise.
77807         * math/w_jnf.c: Likewise.
77808         * math/w_log.c: Likewise.
77809         * math/w_logf.c: Likewise.
77810         * math/w_logl.c: Likewise.
77811         * math/w_log10.c: Likewise.
77812         * math/w_log10f.c: Likewise.
77813         * math/w_log10l.c: Likewise.
77814         * math/w_log2.c: Likewise.
77815         * math/w_log2f.c: Likewise.
77816         * math/w_log2l.c: Likewise.
77817         * math/w_pow.c: Likewise.
77818         * math/w_powf.c: Likewise.
77819         * math/w_powl.c: Likewise.
77820         * math/w_remainder.c: Likewise.
77821         * math/w_remainderf.c: Likewise.
77822         * math/w_remainderl.c: Likewise.
77823         * math/w_scalb.c: Likewise.
77824         * math/w_scalbf.c: Likewise.
77825         * math/w_scalbl.c: Likewise.
77826         * math/w_sqrt.c: Likewise.
77827         * math/w_sqrtf.c: Likewise.
77828         * math/w_sqrtl.c: Likewise.
77829         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77830         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77831         used.
77832         * math/math_private.h: Declare __kernel_standard_f.
77833         * math/w_cosh.c: Remove cruft and optimize a bit.
77834         * math/w_coshf.c: Likewise.
77835         * math/w_coshl.c: Likewise.
77836         * math/w_exp2.c: Likewise.
77837         * math/w_exp2f.c: Likewise.
77838         * math/w_exp2l.c: Likewise.
77839         * math/w_hypot.c: Likewise.
77840         * math/w_hypotf.c: Likewise.
77841         * math/w_hypotl.c: Likewise.
77842         * math/w_lgamma.c: Likewise.
77843         * math/w_lgamma_r.c: Likewise.
77844         * math/w_lgammaf.c: Likewise.
77845         * math/w_lgammaf_r.c: Likewise.
77846         * math/w_lgammal.c: Likewise.
77847         * math/w_lgammal_r.c: Likewise.
77848         * math/w_sinh.c: Likewise.
77849         * math/w_sinhf.c: Likewise.
77850         * math/w_sinhl.c: Likewise.
77851         * math/w_tgamma.c: Likewise.
77852         * math/w_tgammaf.c: Likewise.
77853         * math/w_tgammal.c: Likewise.
77854         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77856         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77857         Minor optimizations.  Pretty printing.  Remove cruft.
77858         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77859         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77860         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77861         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77862         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77863         * sysdeps/i386/fpu/e_asin.S: Likewise.
77864         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77865         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77866         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77867         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77868         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77869         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77870         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77871         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77872         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77873         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77874         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77875         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77876         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77877         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77878         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77879         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77880         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77881         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77882         * sysdeps/i386/fpu/e_log.S: Likewise.
77883         * sysdeps/i386/fpu/e_log10.S: Likewise.
77884         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77885         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77886         * sysdeps/i386/fpu/e_log2.S: Likewise.
77887         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77888         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77889         * sysdeps/i386/fpu/e_logf.S: Likewise.
77890         * sysdeps/i386/fpu/e_logl.S: Likewise.
77891         * sysdeps/i386/fpu/e_pow.S: Likewise.
77892         * sysdeps/i386/fpu/e_powf.S: Likewise.
77893         * sysdeps/i386/fpu/e_powl.S: Likewise.
77894         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77895         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77896         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77898         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77899         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77900         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77901         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77902         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77903         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77904         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77905         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77906         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77907         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77908         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77909         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77910         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77911         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77913         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77914         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77916         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77917         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77918         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77920         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77921         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77923         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77924         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77925         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77926         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77927         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77928         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77929         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77930         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77931         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77932         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77933         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77934         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77935         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77936         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77937         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77938         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77939         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77940         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77941         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77942         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77943         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77944         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77945         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77946         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77948         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77949         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77950         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77951         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77952         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77953         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77955         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77956         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77958         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77959         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77960         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77961         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77962         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77963         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77964         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77965         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77966         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77967         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77970         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77971         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77972         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77973         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77974         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77979         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77980         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77982         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77983         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77984         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77985         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77986         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77987         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77988         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77989         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77990         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77991         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77992         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77993         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77994         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77995         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77996         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77997         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77998         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77999         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78000         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78001         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78002         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78003         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78004         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78005         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78006         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78007         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78008         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78009         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78010         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78011         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78012         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78013         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78014         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78015         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78016         (__isnanf): Likewise.
78017         (__isinf_ns): Likewise.
78018         (__isinf_nsf): Likewise.
78019         (__finite): Likewise.
78020         (__finitef): Likewise.
78021         (__ieee754_sqrt): Define as macro.
78022         (__ieee754_sqrtf): Define as macro.
78023         (__ieee754_sqrtl): Define as macro.
78024         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78025         inlined copy.
78026         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78027         __FINITE_MATH_ONLY__ consistent.
78028         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78030 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78032         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78033         of rawmemchr.
78035         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78037 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78039         * po/ja.po: Update from translation team.
78041 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78043         * locale/programs/locarchive.c (prepare_address_space): New function.
78044         (create_archive, enlarge_archive, open_archive): Use it.
78046         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78047         inside [SHARED], where it is used.
78049         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78051         * nss/getent.c (netgroup_keys): Remove unused variable.
78052         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78054 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78056         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78057         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78059         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78060         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78061         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78062         * math/Makefile (libm-calls): Add s_isinf_ns.
78063         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78064         * math/multc3.c: Likewise.
78065         * math/s_casin.c: Likewise.
78066         * math/s_casinf.c: Likewise.
78067         * math/s_casinl.c: Likewise.
78068         * math/s_ccos.c: Likewise.
78069         * math/s_ccosf.c: Likewise.
78070         * math/s_ccosl.c: Likewise.
78071         * math/s_ctan.c: Likewise.
78072         * math/s_ctanf.c: Likewise.
78073         * math/s_ctanh.c: Likewise.
78074         * math/s_ctanhf.c: Likewise.
78075         * math/s_ctanhl.c: Likewise.
78076         * math/s_ctanl.c: Likewise.
78077         * math/w_fmod.c: Likewise.
78078         * math/w_fmodf.c: Likewise.
78079         * math/w_fmodl.c: Likewise.
78080         * math/w_remainder.c: Likewise.
78081         * math/w_remainderf.c: Likewise.
78082         * math/w_remainderl.c: Likewise.
78083         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78084         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78085         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78086         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78087         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78088         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78089         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78090         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78092         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78093         of the number.
78094         * stdio-common/printf_fphex.c: Likewise.
78095         * stdio-common/printf_size.c: Likewise.
78097         * math/e_exp10.c: Include math_private.h using <...> not "...".
78098         * math/e_exp10f.c: Likewise.
78099         * math/e_exp10l.c: Likewise.
78100         * math/e_exp2l.c: Likewise.
78101         * math/e_j0l.c: Likewise.
78102         * math/e_j1l.c: Likewise.
78103         * math/e_jnl.c: Likewise.
78104         * math/e_lgammal_r.c: Likewise.
78105         * math/e_rem_pio2l.c: Likewise.
78106         * math/e_scalb.c: Likewise.
78107         * math/e_scalbf.c: Likewise.
78108         * math/e_scalbl.c: Likewise.
78109         * math/k_cosl.c: Likewise.
78110         * math/k_sinl.c: Likewise.
78111         * math/k_tanl.c: Likewise.
78112         * math/s_cacoshf.c: Likewise.
78113         * math/s_catan.c: Likewise.
78114         * math/s_catanf.c: Likewise.
78115         * math/s_catanh.c: Likewise.
78116         * math/s_catanhf.c: Likewise.
78117         * math/s_catanhl.c: Likewise.
78118         * math/s_catanl.c: Likewise.
78119         * math/s_ccosh.c: Likewise.
78120         * math/s_ccoshf.c: Likewise.
78121         * math/s_ccoshl.c: Likewise.
78122         * math/s_cexp.c: Likewise.
78123         * math/s_cexpf.c: Likewise.
78124         * math/s_cexpl.c: Likewise.
78125         * math/s_clog.c: Likewise.
78126         * math/s_clog10.c: Likewise.
78127         * math/s_clog10f.c: Likewise.
78128         * math/s_clog10l.c: Likewise.
78129         * math/s_clogf.c: Likewise.
78130         * math/s_clogl.c: Likewise.
78131         * math/s_csin.c: Likewise.
78132         * math/s_csinf.c: Likewise.
78133         * math/s_csinh.c: Likewise.
78134         * math/s_csinhf.c: Likewise.
78135         * math/s_csinhl.c: Likewise.
78136         * math/s_csinl.c: Likewise.
78137         * math/s_csqrt.c: Likewise.
78138         * math/s_csqrtf.c: Likewise.
78139         * math/s_csqrtl.c: Likewise.
78140         * math/s_ctan.c: Likewise.
78141         * math/s_ctanf.c: Likewise.
78142         * math/s_ctanh.c: Likewise.
78143         * math/s_ctanhf.c: Likewise.
78144         * math/s_ctanhl.c: Likewise.
78145         * math/s_ctanl.c: Likewise.
78146         * math/s_ldexp.c: Likewise.
78147         * math/s_ldexpf.c: Likewise.
78148         * math/s_ldexpl.c: Likewise.
78149         * math/s_significand.c: Likewise.
78150         * math/s_significandf.c: Likewise.
78151         * math/s_significandl.c: Likewise.
78152         * math/w_acos.c: Likewise.
78153         * math/w_acosf.c: Likewise.
78154         * math/w_acosh.c: Likewise.
78155         * math/w_acoshf.c: Likewise.
78156         * math/w_acoshl.c: Likewise.
78157         * math/w_acosl.c: Likewise.
78158         * math/w_asin.c: Likewise.
78159         * math/w_asinf.c: Likewise.
78160         * math/w_asinl.c: Likewise.
78161         * math/w_atan2.c: Likewise.
78162         * math/w_atan2f.c: Likewise.
78163         * math/w_atan2l.c: Likewise.
78164         * math/w_atanh.c: Likewise.
78165         * math/w_atanhf.c: Likewise.
78166         * math/w_atanhl.c: Likewise.
78167         * math/w_cosh.c: Likewise.
78168         * math/w_coshf.c: Likewise.
78169         * math/w_coshl.c: Likewise.
78170         * math/w_dremf.c: Likewise.
78171         * math/w_exp10.c: Likewise.
78172         * math/w_exp10f.c: Likewise.
78173         * math/w_exp10l.c: Likewise.
78174         * math/w_exp2.c: Likewise.
78175         * math/w_exp2f.c: Likewise.
78176         * math/w_fmod.c: Likewise.
78177         * math/w_fmodf.c: Likewise.
78178         * math/w_fmodl.c: Likewise.
78179         * math/w_hypot.c: Likewise.
78180         * math/w_hypotf.c: Likewise.
78181         * math/w_hypotl.c: Likewise.
78182         * math/w_j0.c: Likewise.
78183         * math/w_j0f.c: Likewise.
78184         * math/w_j0l.c: Likewise.
78185         * math/w_j1.c: Likewise.
78186         * math/w_j1f.c: Likewise.
78187         * math/w_j1l.c: Likewise.
78188         * math/w_jn.c: Likewise.
78189         * math/w_jnf.c: Likewise.
78190         * math/w_jnl.c: Likewise.
78191         * math/w_lgamma.c: Likewise.
78192         * math/w_lgamma_r.c: Likewise.
78193         * math/w_lgammaf.c: Likewise.
78194         * math/w_lgammaf_r.c: Likewise.
78195         * math/w_lgammal.c: Likewise.
78196         * math/w_lgammal_r.c: Likewise.
78197         * math/w_log.c: Likewise.
78198         * math/w_log10.c: Likewise.
78199         * math/w_log10f.c: Likewise.
78200         * math/w_log10l.c: Likewise.
78201         * math/w_log2.c: Likewise.
78202         * math/w_log2f.c: Likewise.
78203         * math/w_log2l.c: Likewise.
78204         * math/w_logf.c: Likewise.
78205         * math/w_logl.c: Likewise.
78206         * math/w_pow.c: Likewise.
78207         * math/w_powf.c: Likewise.
78208         * math/w_powl.c: Likewise.
78209         * math/w_remainder.c: Likewise.
78210         * math/w_remainderf.c: Likewise.
78211         * math/w_remainderl.c: Likewise.
78212         * math/w_scalb.c: Likewise.
78213         * math/w_scalbf.c: Likewise.
78214         * math/w_scalbl.c: Likewise.
78215         * math/w_sinh.c: Likewise.
78216         * math/w_sinhf.c: Likewise.
78217         * math/w_sinhl.c: Likewise.
78218         * math/w_sqrt.c: Likewise.
78219         * math/w_sqrtf.c: Likewise.
78220         * math/w_sqrtl.c: Likewise.
78221         * math/w_tgamma.c: Likewise.
78222         * math/w_tgammaf.c: Likewise.
78223         * math/w_tgammal.c: Likewise.
78225         * po/ja.po: Update from translation team.
78227 2011-09-29  Andreas Jaeger  <aj@suse.de>
78229         [BZ #13179]
78230         * sunrpc/netname.c (netname2host): Fix logic.
78232         [BZ #6779]
78233         [BZ #6783]
78234         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78235         correctly.
78236         * math/w_remainder.c (__remainder): Likewise.
78237         * math/w_remainderf.c (__remainderf): Likewise.
78238         * math/libm-test.inc (remainder_test): Add test cases.
78240 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78242         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78243         sdiv_qrnnd.
78245 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78247         * string/test-memcmp.c: Avoid unncessary #defines.
78248         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78250 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78252         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78253         Use new sse2 version for core i3 - i7 as it's faster
78254         than sse42 version.
78255         (bit_Prefer_PMINUB_for_stringop): New.
78256         * sysdeps/x86_64/rawmemchr.S: Update.
78257         Replace with faster SSE2 version.
78258         * sysdeps/x86_64/memrchr.S: New file.
78259         * sysdeps/x86_64/memchr.S: Update.
78260         Replace with faster SSE2 version.
78262 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78264         * elf/dl-load.c (lose): Add cast to avoid warning.
78266 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78268         * po/ca.po: Update from translation team.
78270         * inet/getnetgrent_r.c: Hook up nscd.
78271         * nscd/Makefile (routines): Add nscd_netgroup.
78272         (nscd-modules): Add netgroupcache.
78273         (CFLAGS-netgroupcache.c): Define.
78274         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78275         (cache_search): Add const to second parameter.
78276         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78277         INNETGR.
78278         (dbs): Add netgrdb entry.
78279         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78280         (verify_persistent_db): Handle netgrdb.
78281         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78282         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78283         GETFDNETGR.
78284         (netgroup_response_header): Define.
78285         (innetgroup_response_header): Define.
78286         (datahead): Add netgroup_response_header and innetgroup_response_header
78287         elements.
78288         * nscd/nscd.conf: Add entries for netgroup cache.
78289         * nscd/nscd.h (dbtype): Add netgrdb.
78290         (_PATH_NSCD_NETGROUP_DB): Define.
78291         (netgroup_iov_disabled): Declare.
78292         (xmalloc, xcalloc, xrealloc): Move declarations here.
78293         (cache_search): Adjust prototype.
78294         Add netgroup-related prototypes.
78295         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78296         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78297         (__nscd_innetgr): Declare.
78298         * nscd/selinux.c (perms): Use access_vector_t as element type and
78299         add netgroup-related initializers.
78300         * nscd/netgroupcache.c: New file.
78301         * nscd/nscd_netgroup.c: New file.
78302         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78303         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78304         For four parameters use innetgr.
78305         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78306         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78307         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78308         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78310         * nscd/connections.c (register_traced_file): Don't register file
78311         for disabled databases.
78313 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78315         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78317         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78318         from tree and freeing node.
78320 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78322         * nss/nsswitch.c (__nss_database_lookup): Handle
78323         nss_parse_service_list out of memory case.
78325 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78327         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78328         out of memory case.
78330 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78332         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78333         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78334         pass it down.
78335         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78336         elf_machine_rela, elf_machine_lazy_rel.
78337         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78338         (ELF_DYNAMIC_DO_REL): Likewise.
78339         (ELF_DYNAMIC_DO_RELA): Likewise.
78340         (ELF_DYNAMIC_RELOCATE): Likewise.
78341         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78342         to ELF_DYNAMIC_DO_REL.
78343         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78344         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78345         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78346         elf_machine_rela.
78347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78348         skip_ifunc, don't call ifunc function if non-zero.
78349         (elf_machine_rela): Likewise.
78350         (elf_machine_lazy_rel): Likewise.
78351         (elf_machine_lazy_rela): Likewise.
78352         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78353         (elf_machine_lazy_rel): Likewise.
78354         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78355         Likewise.
78356         (elf_machine_lazy_rel): Likewise.
78357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78358         Likewise.
78359         (elf_machine_lazy_rel): Likewise.
78360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78361         (elf_machine_lazy_rel): Likewise.
78362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78363         (elf_machine_lazy_rel): Likewise.
78364         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78365         (elf_machine_lazy_rel): Likewise.
78366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78367         (elf_machine_lazy_rel): Likewise.
78368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78369         (elf_machine_lazy_rel): Likewise.
78370         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78371         (elf_machine_lazy_rel): Likewise.
78373 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78375         * nss/nss_files/files-init.c (_nss_files_init): Use static
78376         initialization for all the *_traced_file variables.
78378 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78380         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78382 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78384         [BZ #13226]
78385         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78387 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78389         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78390         Reread the line before reparsing it.
78392 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78394         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78396 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78397             Maxim Kuvyrkov  <maxim@codesourcery.com>
78398             Joseph Myers  <joseph@codesourcery.com>
78400         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78401         if needed for __stack_chk_guard.
78403 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78405         * sysdeps/posix/spawni.c (script_execute): Always define it.
78406         It will be optimized away if unused.
78407         (maybe_script_execute): New function.
78408         (__spawni): Call it.
78410         * Makerules: Don't include tls.make.
78411         (config-tls): Always set to thread.
78412         * tls.make.c: File removed.
78414 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78416         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78417         * config.make.in (CPPFLAGS-config): New substituted variable.
78419 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78421         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78423         [BZ #13192]
78424         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78425         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78427 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78429         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78430         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78432         (CALL_FAIL): Likewise.
78433         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78434         (CALL_FAIL): Macro removed.
78435         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78437 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78439         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78440         for __FINITE_MATH_ONLY__ == 1.
78442 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78444         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78445         __ieee754_sqrt instead of sqrt.
78446         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78447         __ieee754_sqrtf instead of sqrtf.
78448         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78449         __floorf instead of floorf.
78450         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78451         __floorf, __truncf instead of floorf, truncf.
78453 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78455         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78457         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78458         __extern_always_inline.
78459         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78460         32-bit.
78462 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78464         * elf/rtld.c (dl_main): Also relocate in dependency order when
78465         doing symbol dependency testing.
78467 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78469         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78470         Always define `refsym'.
78472 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78474         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78475         (__FD_ELT): Renamed from __FDELT.
78476         * misc/bits/select2.h (__FD_ELT): Likewise.
78477         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78478         __FD_MASK instead of __FDELT, __FDMASK.
78479         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78480         Likewise.
78481         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78482         Likewise.
78484         * elf/Makefile (gen-ldd): Fix pattern.
78486         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78487         (init_tls): Likewise.
78489 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78493 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78495         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78496         `struct cmsghdr *' instead of `void *'.
78497         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78498         Likewise.
78500 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78502         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78503         if non-absolute.
78504         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78505         ldd_rewrite_script.
78507 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78509         * configure.in: Remove --with-tls option.
78510         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78511         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78512         out in case it is missing.
78513         * sysdeps/ia64/elf/configure.in: Likewise.
78514         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78515         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78516         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78517         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78518         * sysdeps/sh/elf/configure.in: Likewise.
78519         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78520         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78521         * sysdeps/x86_64/elf/configure.in: Likewise.
78522         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78523         * sysdeps/mach/hurd/tls.h: Likewise.
78525         [BZ #13067]
78526         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78528         [BZ #13090]
78529         * configure.in: Fix use of AC_INIT.
78531         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78533 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78535         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78536         __set_errno.
78537         * malloc/hooks.c: Likewise.
78539         [BZ #11929]
78540         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78541         variables statically.
78542         (narenas): Initialize.
78543         (list_lock): Initialize.
78544         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78545         initializtion of main_arena and list_lock.  Small cleanups.
78546         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78547         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78548         Add initializers to main_arena and mp_.
78549         (malloc_state): Remove pagesize member.  Change all users to use
78550         GLRO(dl_pagesize).
78552         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78553         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78554         is always initialized.
78556         * malloc/malloc.c: Removed unused configurations and dead code.
78557         * malloc/arena.c: Likewise.
78558         * malloc/hooks.c: Likewise.
78559         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78561         * include/tls.h: Removed.  USE___THREAD must always be defined.
78562         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78563         * elf/dl-libc.c: Likewise.
78564         * elf/dl-tsd.c: Likewise.
78565         * include/errno.h: Likewise.
78566         * include/netdb.h: Likewise.
78567         * include/resolv.h: Likewise.
78568         * inet/herrno-loc.c: Likewise.
78569         * inet/herrno.c: Likewise.
78570         * malloc/arena.c: Likewise.
78571         * malloc/hooks.c: Likewise.
78572         * malloc/malloc.c: Likewise.
78573         * resolv/res-state.c: Likewise.
78574         * resolv/res_libc.c: Likewise.
78575         * sysdeps/i386/dl-machine.h: Likewise.
78576         * sysdeps/ia64/dl-machine.h: Likewise.
78577         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78578         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78579         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78580         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78581         * sysdeps/sh/dl-machine.h: Likewise.
78582         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78583         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78584         * sysdeps/unix/i386/sysdep.S: Likewise.
78585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78586         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78589         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78592         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78595         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78596         * sysdeps/x86_64/dl-machine.h: Likewise.
78597         * tls.make.c: Likewise.
78599         * configure.in: Remove --with-__thread option.  Make tests for
78600         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78601         tls_model attribute fail if no support is available.  Remove
78602         USE_IN_LIBIO.
78603         * Makeconfig: Adjust for dropped configure option.  All features are
78604         now mandatory.
78605         * Makerules: Likewise.
78606         * Versions.def: Likewise.
78607         * argp/argp-fmtstream.c: Likewise.
78608         * argp/argp-fmtstream.h: Likewise.
78609         * argp/argp-help.c: Likewise.
78610         * assert/assert.c: Likewise.
78611         * config.h.in: Likewise.
78612         * config.make.in: Likewise.
78613         * configure: Likewise.
78614         * configure.in: Likewise.
78615         * csu/Versions: Likewise.
78616         * csu/init.c: Likewise.
78617         * elf/tst-audit2.c: Likewise.
78618         * elf/tst-tls10.c: Likewise.
78619         * elf/tst-tls10.h: Likewise.
78620         * elf/tst-tls11.c: Likewise.
78621         * elf/tst-tls12.c: Likewise.
78622         * elf/tst-tls14.c: Likewise.
78623         * elf/tst-tlsmod11.c: Likewise.
78624         * elf/tst-tlsmod12.c: Likewise.
78625         * elf/tst-tlsmod13.c: Likewise.
78626         * elf/tst-tlsmod13a.c: Likewise.
78627         * elf/tst-tlsmod14a.c: Likewise.
78628         * elf/tst-tlsmod15b.c: Likewise.
78629         * elf/tst-tlsmod16a.c: Likewise.
78630         * elf/tst-tlsmod16b.c: Likewise.
78631         * elf/tst-tlsmod7.c: Likewise.
78632         * elf/tst-tlsmod8.c: Likewise.
78633         * elf/tst-tlsmod9.c: Likewise.
78634         * gmon/gmon.c: Likewise.
78635         * grp/fgetgrent_r.c: Likewise.
78636         * grp/putgrent.c: Likewise.
78637         * hurd/fopenport.c: Likewise.
78638         * include/libc-symbols.h: Likewise.
78639         * include/tls.h: Likewise.
78640         * intl/gettextP.h: Likewise.
78641         * intl/loadinfo.h: Likewise.
78642         * locale/global-locale.c: Likewise.
78643         * locale/localeinfo.h: Likewise.
78644         * mach/devstream.c: Likewise.
78645         * malloc/arena.c: Likewise.
78646         * malloc/set-freeres.c: Likewise.
78647         * misc/err.c: Likewise.
78648         * misc/getttyent.c: Likewise.
78649         * misc/mntent_r.c: Likewise.
78650         * posix/getopt.c: Likewise.
78651         * posix/wordexp.c: Likewise.
78652         * pwd/fgetpwent_r.c: Likewise.
78653         * resolv/Versions: Likewise.
78654         * resolv/res_hconf.c: Likewise.
78655         * shadow/fgetspent_r.c: Likewise.
78656         * shadow/putspent.c: Likewise.
78657         * stdio-common/printf_fphex.c: Likewise.
78658         * stdio-common/tmpfile.c: Likewise.
78659         * stdlib/abort.c: Likewise.
78660         * stdlib/fmtmsg.c: Likewise.
78661         * sunrpc/auth_unix.c: Likewise.
78662         * sunrpc/clnt_perr.c: Likewise.
78663         * sunrpc/clnt_tcp.c: Likewise.
78664         * sunrpc/clnt_udp.c: Likewise.
78665         * sunrpc/clnt_unix.c: Likewise.
78666         * sunrpc/openchild.c: Likewise.
78667         * sunrpc/svc_simple.c: Likewise.
78668         * sunrpc/svc_tcp.c: Likewise.
78669         * sunrpc/svc_udp.c: Likewise.
78670         * sunrpc/svc_unix.c: Likewise.
78671         * sunrpc/xdr.c: Likewise.
78672         * sunrpc/xdr_array.c: Likewise.
78673         * sunrpc/xdr_rec.c: Likewise.
78674         * sunrpc/xdr_ref.c: Likewise.
78675         * sunrpc/xdr_stdio.c: Likewise.
78677 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78679         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78681 2011-07-03  Andreas Jaeger  <aj@suse.de>
78683         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78684         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78685         regenerate with gen-libm-tests.pl.
78687 2010-05-12  Petr Baudis  <pasky@suse.cz>
78689         [BZ #11589]
78690         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78691         around j0() zero points by switching to j1().
78692         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78693         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78694         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78695         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78697 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78699         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78700         instead of 0.
78701         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78702         instead of 0.
78703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78704         Patch in part by Pavel Roskin <proski@gnu.org>.
78706         [BZ #13138]
78707         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78708         realloc.
78709         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78710         Free memory block if necessary.
78712         [BZ #12847]
78713         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78714         be NULL.  Don't lock in this case.
78716 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78718         * elf/elf.h (ELFOSABI_GNU): New macro.
78719         (ELFOSABI_LINUX): Define to that.
78721 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78723         * string/strncat.c (strncat): Undef the symbol in case it has been
78724         defined in bits/string.h.
78726 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78728         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78730         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78731         link map.
78733 2011-08-17  Andreas Jaeger  <aj@suse.de>
78735         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78737 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78738             Ian Lance Taylor  <iant@google.com>
78740         * math/libm-test.inc (lround_test): New testcase.
78741         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78743 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78745         * Makefile: Remove support for automatic cvs check-ins.
78746         * Makerules: Likewise.
78747         * config.make.in: Likewise.
78748         * configure.in: Likewise.
78749         * intl/Makefile: Likewise.
78750         * locale/Makefile: Likewise.
78751         * po/Makefile: Likewise.
78752         * posix/Makefile: Likewise.
78753         * sysdeps/gnu/Makefile: Likewise.
78754         * sysdeps/mach/hurd/Makefile: Likewise.
78755         * sysdeps/sparc/sparc32/Makefile: Likewise.
78757         [BZ #13118]
78758         * posix/Makefile (bug-regex32-ENV): Define.
78759         Patch by John Stanley <jpsinthemix@verizon.net>.
78761         * misc/Makefile (headers): Add bits/select2.h.
78762         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78763         * misc/bits/select2.h: New file.
78764         * include/bits/select2.h: New file.
78765         * debug/Makefile (routines): Add fdelt_chk.
78766         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78767         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78768         FD_ISSET.
78769         * debug/fdelt_chk.c: New file.
78771         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78772         * wcsmbs/test-wmemcmp.c: Likewise.
78773         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78774         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78776 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78778         * string/Makefile (strop-tests): Add memcmp.
78779         * string/test-wmemcmp.c: New file.
78780         * string/test-memcmp.c: Add wmemcmp support.
78782 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78784         [BZ #13153]
78785         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78786         2011-07-19 change.
78788         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78789         garbage value in a __mach_port_mod_refs call in the cases of the
78790         task-self and thread-self ports.
78792 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78794         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78796 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78798         * elf/dl-load.c (lose): Check for non-null L.
78800 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78802         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78804         * elf/dl-libc.c (dlerror_run): Pass back error code from
78805         dl_catch_error.
78807         [BZ #13123]
78808         * elf/dl-load.c (lose): Free l_origin if it is valid.
78810         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78811         names.
78812         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78813         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78814         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78816         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78817         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78819 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78821         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78822         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78823         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78824         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78825         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78826         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78827         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78828         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78829         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78830         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78832 2011-08-15  Alan Modra  <amodra@gmail.com>
78834         [BZ #13092]
78835         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78836         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78837         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78838         ppc_mcount to static-only-routines.
78839         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78840         __mcount_internal.
78841         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78842         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78844 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78846         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78847         for finite and infinity parameters.
78849 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78852         and add nop instructions for throughput optimization.
78853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78855 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78857         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78858         aligned copy for power7 with vector-scalar instructions.
78859         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78861 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78864         AVX check.
78866 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78868         [BZ #13144]
78869         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78870         last change.
78872 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78874         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78875         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78876         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78877         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78878         clock_gettime.
78880 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78882         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78883         Forgot to demangle the pointer.
78885         * sysdeps/i386/sysdep.h: Define atom_text_section.
78886         * sysdeps/x86_64/sysdep.h: Likewise.
78887         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78888         section with atom_text_section.
78889         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78890         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78891         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78892         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78893         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78895         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78896         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78897         already be defined.  Change to take two parameters and don't assign
78898         result to variable.  Adjust all users.
78899         Define INTERNAL_GETTIME if not already defined.
78900         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78901         call.
78902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78903         HAVE_CLOCK_GETTIME_VSYSCALL.
78904         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78907         gettimeofday vsyscall, just use time.
78909 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78911         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78912         <errno.h>.
78914 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78916         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78917         syscall on x86-64.
78918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78919         syscall.
78920         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78921         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78922         syscall if possible.
78924 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78926         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78927         e_ident.  Don't pass to find_mapsXX.
78928         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78930 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78933         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78934         * sysdeps/x86_64/multiarch/strchr.S: Update.
78935         Check bit_slow_BSF bit.
78936         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78938         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78940 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78942         [BZ #13134]
78943         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78944         before glibc 2.15.
78945         (tryshell): Define.
78946         (__spawni): Change last parameter to be flag.  Test
78947         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78948         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78949         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78950         * posix/spawni.c: Likewise.
78951         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78952         * posix/spawnp.c: Likewise.  Change normal version to use
78953         SPAWN_XFLAGS_USE_PATH.
78954         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78955         SPAWN_XFLAGS_TRY_SHELL.
78957         [BZ #13150]
78958         * posix/glob.h: Remove gcc 1.x support.
78960         [BZ #13068]
78961         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78963 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78966         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78967         strrchr-sse2-bsf
78968         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78969         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78970         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78971         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78972         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78973         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78975 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78977         * sysdeps/x86_64/wcscmp.S: New file.
78979         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78980         wcscmp-c wcscmp-sse2
78981         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78982         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78983         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78984         * wcsmbs/wcscmp.c: Allow renaming.
78986 2011-09-05  David S. Miller  <davem@davemloft.net>
78988         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78989         stack slot, rather than the struct return pointer slot.
78990         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78991         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78993         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78997         * po/ja.po: Update from translation team.
78999         [BZ #13144]
79000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79001         kernel in 64-bit binaries.
79003 2011-09-01  David S. Miller  <davem@davemloft.net>
79005         * elf/elf.h (HWCAP_SPARC_*): Move to..
79006         * sysdeps/sparc/sysdep.h: this new file and add new values.
79007         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79008         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79009         _DL_HWCAP_COUNT to 24.
79010         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79011         entries.
79012         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79013         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79014         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79015         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79016         instead of magic constants.
79017         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79019 2011-08-31  David S. Miller  <davem@davemloft.net>
79021         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79023         Reimplement to do errno handling inline.
79024         (SYSCALL_ERROR_HANDLER): New macro.
79025         (__SYSCALL_STRING): Do not do errno handling in asm.
79026         (__CLONE_SYSCALL_STRING): Delete.
79027         (__INTERNAL_SYSCALL_STRING): Delete.
79028         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79029         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79030         (PSEUDO): Reimplement to do errno handling inline.
79031         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79032         (SYSCALL_ERROR_HANDLER): New macro.
79033         (__SYSCALL_STRING): Do not do errno handling in asm.
79034         (__CLONE_SYSCALL_STRING): Delete.
79035         (__INTERNAL_SYSCALL_STRING): Delete.
79036         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79037         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79038         i386.
79039         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79040         (inline_syscall*): Add 'err' argument.
79041         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79042         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79043         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79044         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79046         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79047         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79049 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79051         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79053 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79055         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79056         directive.
79058 2011-08-24  David S. Miller  <davem@davemloft.net>
79060         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79062 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79064         * elf/Makefile: Add rules to build and run unload8 test.
79065         * elf/unload8.c: New file.
79066         * elf/unload8mod1.c: New file.
79067         * elf/unload8mod1x.c: New file.
79068         * elf/unload8mod2.c: New file.
79069         * elf/unload8mod3.c: New file.
79071         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79072         it wasn't used.
79074 2011-08-23  David S. Miller  <davem@davemloft.net>
79076         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79077         subtract stack bias.
79078         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79079         %sp not %fp in calculations.
79080         (_JMPBUF_UNWINDS_ADJ): Likewise.
79082         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79083         (aio_suspend): Call it to force an exception region around the
79084         AIO_MISC_WAIT() invocation.
79086 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79088         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79089         backslash.
79091 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79093         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79094         protection macro.
79095         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79096         and <dl-machine.h>.
79097         (Elf64_FuncDesc): Remove.
79099 2011-08-22  David S. Miller  <davem@davemloft.net>
79101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79102         sigaltstack check, add missing cfi directives.
79103         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79104         missing cfi directives, and sigaltstack handling.
79106 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79108         [BZ #11724]
79109         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79110         object is seen twice.
79111         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79113         * elf/Makefile (distribute): Add tst-initorder2.c.
79114         (tests): Add tst-initorder2.
79115         (modules-names): Add tst-initorder2a tst-initorder2b
79116         tst-initorder2c tst-initorder2d.  Add rules to build them.
79117         ($(objpfx)tst-initorder2.out): New rule.
79118         * elf/tst-initorder2.c: New file.
79119         * elf/tst-initorder2.exp: New file.
79121 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79123         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79125         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79126         dependencies back to end of function.
79128         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79129         $(elfobjdir)/ld.so.
79131 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79133         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79134         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79136         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79137         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79138         of __vdso_gettimeofday.
79139         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79140         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79141         attribute_hidden.
79142         (_libc_vdso_platform_setup): Remove initialization of
79143         __vdso_gettimeofday and __vdso_time.
79145 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79147         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79148         and fgetc_unlocked.
79149         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79150         getc_unlocked.
79152         * elf/dl-open.c (add_to_global): Report additions to the global scope
79153         for LD_DEBUG=scopes.
79154         (dl_open_worker): Also print scope of newly loaded dependencies.
79155         (_dl_show_scope): Indicate if there is no scope.
79157         [BZ #13114]
79158         * stdio-common/Makefile (tests): Add bug24.
79159         * stdio-common/bug24.c: New file.
79161 2011-08-19  Andreas Jaeger  <aj@suse.de>
79163         [BZ #13114]
79164         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79165         non-existant file when using close-on-exec mode.
79167 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79170         the very first instruction.
79172         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79173         the CFI state in the end.
79174         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79175         inclusion of dl-trampoline.h.
79176         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79178 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79180         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79181         expectations for long double.
79183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79184         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79186 2011-08-14  David S. Miller  <davem@davemloft.net>
79188         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79189         artificual limit depends upon the system page size.
79191 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79193         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79194         * resolv/Makefile: Define CFLAGS-libresolv.
79196 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79198         * nss/makedb.c (compute_tables): Make variables used in nested
79199         function static.
79201 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79203         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79204         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79205         if buffer was too small.
79207         * elf/pldd.c (main): Attach to all threads in the process.
79208         Rewrite /proc handling to use *at functions.
79210 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79212         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79213         specifies first scope to show.
79214         (dl_open_worker): Update callers.  Move printing scope of new
79215         object to before the relocation.
79216         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79217         * sysdeps/generic/ldsodefs.h: Update declaration.
79219         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79220         string for the scope number.
79222 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79224         * nscd/servicescache.c (cache_addserv): Make sure written is always
79225         initialized.
79227 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79229         * sysdeps/i386/i486/bits/atomic.h
79230         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79231         statement expression, so as to suppress "set but not used" warning.
79232         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79234         * string/strncat.c (STRNCAT): Use prototype definition.
79236         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79237         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79238         -Iprograms here.
79239         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79240         (localedef-modules): Add localedef.
79241         (locale-modules): Add locale.
79243         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79244         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79245         to avoid a warning.
79247 2011-08-14  David S. Miller  <davem@davemloft.net>
79249         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79250         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79252 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79254         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79255         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79256         * elf/rtld.c (dl_main): Set l_name of vDSO.
79257         Call _dl_show_scope when DL_DEBUG_SCOPES.
79258         (process_dl_debug): Recognize scopes flag and also set it for all.
79259         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79260         Declare _dl_show_scope.
79262         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79263         (do_dlopen): Pass caller_dlopen to dl_open.
79264         (__libc_dlopen_mode): Initialize caller_dlopen.
79266         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79267         of libc.  Make tolower call locale-independent.  Optimize a bit by
79268         using isdigit instead of isalnum.
79269         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79271 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79273         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79274         was a dependency or dynamically loaded.
79276 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79278         * intl/l10nflist.c: Allow architecture-specific pop function.
79279         * sysdeps/x86_64/l10nflist.c: New file.
79281         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79282         classification.
79284 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79286         * include/dirent.h: Add libc_hidden_proto for scandirat and
79287         scandirat64.  Don't declare __scandirat64.
79288         * dirent/scandirat.c: Add libc_hidden_def.
79289         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79290         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79292 2011-08-10  David S. Miller  <davem@davemloft.net>
79294         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79295         enum.
79296         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79298         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79300 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79302         * Versions.def [libc]: Add GLIBC_2.15.
79303         * dirent/Makefile (routines): Add scandirat and scandirat64.
79304         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79305         GLIBC_2.15.
79306         * dirent/dirent.h: Declare scandirat and scandirat64.
79307         * dirent/scandirat.c: New file.
79308         * dirent/scandirat64.c: New file.
79309         * sysdeps/wordsize-64/scandirat.c: New file.
79310         * sysdeps/wordsize-64/scandirat64.c: New file.
79311         * dirent/opendir.c: Define opendirat.
79312         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79313         using scandirat.
79314         * dirent/scandir64.c: Adjust for scandir.c change.
79315         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79316         __scandirat64, and __scandir_cancel_handler.
79317         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79318         additional parameter and use openat instead of open (outside of ld.so).
79319         Add new __opendir as wrapper around __opendirat.
79320         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79321         here without requiring old scandirat implementation.
79323 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79325         * dirent/scandir.c (cancel_handler): Renamed to
79326         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79327         defined.  Adjust users.
79328         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79331 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79333         * string/test-string.h (IMPL): Use __STRING to expand name and then
79334         stringify it.
79336         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79337         of cleanups.
79339 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79341         * string/Makefile: Update.
79342         (strop-tests): Append strncat.
79343         * string/test-wcscmp.c: New file.
79344         New comprehensive test for wcscmp.
79345         * string/test-strcmp.c: Update.
79346         (WIDE): New define.
79348 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79350         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79351         line.
79353 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79356         encoding to ACE if AI_IDN.
79358 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79360         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79361         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79363 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79365         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79366         Fix overflow bug in strncat.
79367         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79369         * string/test-strncat.c: Update.
79370         Add new tests for checking overflow bugs.
79372 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79374         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79375         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79376         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79377         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79378         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79379         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79380         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79381         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79382         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79384         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79385         (USE_AS_STRCAT): Define.
79386         Add strcat and strncat support.
79387         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79389 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79391         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79392         __n bigger than INT_MAX+1.
79393         (__strncmp_g): Likewise.
79395 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79397         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79398         * libio/stido.h: Likewise.
79400         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79401         (AF_NFC): Define.
79402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79403         (AF_NFC): Define.
79405         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79406         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79407         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79408         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79411         [BZ #13021]
79412         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79413         installed.
79415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79416         typo.
79417         (_dl_x86_64_save_sse): Likewise.
79419 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79422         OSXSAVE.
79423         (_dl_x86_64_save_sse): Likewise.
79425         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79427         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79429 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79432         change.
79433         (_dl_x86_64_save_sse): Use correct AVX check.
79435 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79438         bug in strncpy/strncat.
79439         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79441 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79443         * string/tester.c (test_strcat): Add tests for different alignments
79444         of source and destination.
79445         (test_strncat): Likewise.
79447 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79449         [BZ #12852]
79450         * posix/glob.c (glob): Check passed in values before using them in
79451         expressions to avoid some overflows.
79452         (glob_in_dir): Likewise.
79454         [BZ #13007]
79455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79456         check for AVX enablement so that we don't crash with old kernels and
79457         new hardware.
79458         * elf/tst-audit4.c: Add same checks here.
79459         * elf/tst-audit6.c: Likewise.
79461         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79463 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79465         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79467 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79469         * po/cs.po: Update from translation team.
79470         * po/bg.po: Likewise.
79472 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79474         * misc/sys/cdefs.h: Add support for const attribute.
79475         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79476         to gnu_dev_{major,minor,makedev} functions.
79478 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79480         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79482 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79484         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79485         strlen results.
79487 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79490         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79491         register in order to avoid conflicts with the soft frame pointer
79492         being held in r11 when necessary.
79493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79494         (INTERNAL_VSYSCALL_NCS): Likewise.
79496 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79498         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79499         * elf/dl-fini.c (_dl_fini): Adjust caller.
79500         * elf/dl-close.c (_dl_close_worker): Likewise.
79501         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79503 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79505         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79506         "aux_cache->nlibs < 0".
79508         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79509         in the reload-count case.
79511 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79514         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79515         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79516         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79517         * sysdeps/x86_64/multiarch/strcat.S: New file.
79518         * sysdeps/x86_64/multiarch/strncat.S: New file.
79519         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79520         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79521         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79522         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79523         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79524         (USE_AS_STRCAT): Define.
79525         Add strcat and strncat support.
79526         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79528         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79529         * string/strncat.c: Update.
79530         (USE_AS_STRNCAT): Define.
79531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79532         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79533         and i7.
79534         * sysdeps/x86_64/multiarch/init-arch.h
79535         (bit_Prefer_PMINUB_for_stringop): New.
79536         (index_Prefer_PMINUB_for_stringop): Likewise.
79537         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79538         bit_Prefer_PMINUB_for_stringop.
79540 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79542         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79543         buffer64.
79544         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79545         of casting of buffer.
79546         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79547         buffer32 and buffer64.
79548         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79549         writes instead of casting of buffer.
79550         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79551         buffer32.
79552         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79553         casting of buffer.
79555 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79557         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79559 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79561         * nscd/nscd.c (termination_handler): Don't do anything for a database
79562         if it has not yet been initialized.
79564 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79566         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79568 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79570         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79572 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79574         * po/nl.po: Update from translation team.
79575         * po/sv.po: Likewise.
79577 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79579         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79580         now disallowed by GCC.
79582         * configure.in (use-default-link): Default to yes if a test -shared
79583         link meets our qualifications.
79584         * configure: Regenerated.
79586         * config.make.in (output-format): New variable.
79587         * configure.in: Check for ld --print-output-format support.
79588         * configure: Regenerated.
79589         * Makerules ($(common-objpfx)format.lds)
79590         [$(output-format) != unknown]: Just use $(output-format),
79591         instead of the linker-script munging.
79593 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79595         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79596         of $(common-objpfx)shlib.lds.
79597         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79599         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79600         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79602         * configure.in (-z relro check): Adjust test code to add a large
79603         writable data section after it.
79604         * configure: Regenerated.
79606 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79608         * configure.in (-z relro check): Fix test code to make the variable
79609         truly const.
79610         * configure: Regenerated.
79612 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79614         * nscd/nscd.h (struct traced_file): Define.
79615         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79616         elements.  Add traced_files.
79617         (inotify_fd): Declare.
79618         (register_traced_file): Declare.
79619         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79620         (inotify_fd): Export.
79621         (resolv_conf_descr): Remove.
79622         (nscd_init): Move inotify descriptor creation to main.
79623         Don't register files for notification here.
79624         (register_traced_file): New function.
79625         (invalidate_cache): Don't use reset_res to determine whether to call
79626         res_init, go through the list of registered files.
79627         (main_loop_poll): The inotify descriptors are now stored in the
79628         structures for the traced files.
79629         (main_loop_epoll): Likewise.
79630         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79631         to __nss_disable_nscd.
79632         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79633         for a database anymore.  Check the records for all the registered
79634         files instead.
79635         * nss/Makefile (libnss_files-routines): Add files-init.
79636         (libnss_db-routines): Add db-init.
79637         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79638         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79639         * nss/nss_db/db-init.c: New file.
79640         * nss/nss_files/files-init.c: New file.
79641         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79642         __nss_lookup_function.
79643         (__nss_lookup_function): Call nss_load_library.
79644         (nss_load_all_libraries): New function.
79645         (__nss_disable_nscd): Take parameter with callback function for files
79646         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79647         used for the cached services.
79648         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79649         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79650         options for features to all the files in nscd.
79652         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79654 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79656         * csu/elf-init.c (__libc_csu_init): Comment typo.
79658 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79660         * po/pl.po: Update from translation team.
79661         * po/ja.po: Likewise.
79662         * po/ru.po: Likewise.
79663         * po/ko.po: Likewise.
79664         * po/fr.po: Likewise.
79666 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79668         * configure.in (.ctors/.dtors header and trailer check):
79669         Use an empirical test on a built program.
79670         * configure: Regenerated.
79672         * configure.in (-z relro check): Use an empirical test on a built DSO.
79673         Detect, but do not require, on ia64.
79674         * configure: Regenerated.
79676         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79677         Update tests that use readelf to use $READELF instead.
79678         * configure: Regenerated.
79680 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79682         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79683         if the result is not used.
79685 2011-07-05  Andreas Jaeger  <aj@suse.de>
79687         [BZ#9696]
79688         * stdlib/tst-strtod.c: Add testcase.
79690 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79692         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79693         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79694         The latter has a higher limit.  Take additional parameter to pass to
79695         the new function.
79696         (__pathconf): Pass file to __statfs_link_max.
79697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79698         __statfs_link_max.
79699         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79700         __statfs_link_max.
79702         [BZ #12868]
79703         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79704         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79705         Handle Lustre.
79706         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79707         (__statfs_filesize_max): Likewise.
79708         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79710 2011-07-05  Andreas Jaeger  <aj@suse.de>
79712         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79714 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79716         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79717         `status' variable.
79718         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79719         Likewise.
79721 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79723         * Makefile (strop-tests): Add strncat.
79724         * string/test-strncat.c: New file.
79726 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79728         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79730 2011-06-21  Andreas Jaeger  <aj@suse.de>
79732         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79733         Copy rule from iconvdata/Makefile.
79735 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79737         [BZ #12922]
79738         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79739         but no long options are defined, just return 'W'.
79741 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79743         [BZ #9696]
79744         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79746 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79748         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79749         netgroups to read.
79750         (innetgr): Likewise.
79752 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79754         * config.make.in (install_root): Default to $(DESTDIR).
79756 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79758         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79760 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79762         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79764         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79765         containing directory rather than embedding absolute directory names.
79767         * scripts/check-local-headers.sh: Rewritten using awk.
79768         Match by word, not by line.  Print error messages for matches.
79769         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79771         * Makerules [shlib-lds-flags empty]:
79772         ($(common-objpfx)libc_pic.opts): New target.
79773         ($(common-objpfx)libc_pic.os.clean): New target.
79774         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79776         * config.make.in (OBJCOPY): New variable.
79777         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79778         * configure: Regenerated.
79780         * config.make.in (use-default-link): New variable.
79781         * configure.in (use_default_link): Grok --with-default-link to set it.
79782         * configure: Regenerated.
79783         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79784         (shlib-lds, shlib-lds-flags): Define to empty.
79786         * Makerules (shlib-lds): New variable.
79787         (shlib-lds-flags): New variable.
79788         (build-shlib, build-moduile, build-module-asneeded): Use it.
79789         ($(common-objpfx)libc.so): Use $(shlib-lds).
79790         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79791         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79793         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79794         DT_FLAGS/DT_FLAGS_1 with zero flags.
79796         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79797         linker script munging.
79799 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79801         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79802         as 128-bit value.
79803         * crypt/sha512.c (sha512_process_block): Perform total addition using
79804         128-bit if possible.
79805         (__sha512_finish_ctx): Likewise.
79806         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79807         as 64-bit value.
79808         * crypt/sha256.c (SWAP64): Define.
79809         (sha256_process_block): Perform total addition using 64-bit if
79810         possible.
79811         (__sha256_finish_ctx): Likewise.
79813 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79815         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79816         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79817         * nscd/hstcache.c (cache_addhst): Likewise.
79818         * nscd/grpcache.c (cache_addgr): Likewise.
79819         * nscd/aicache.c (addhstaiX): Likewise.
79820         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79822 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79824         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79826         * nscd/hstcache.c (cache_addhst): Likewise.
79827         * nscd/grpcache.c (cache_addgr): Likewise.
79828         * nscd/aicache.c (addhstaiX): Likewise.
79830 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79832         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79833         domain only when needed.
79835 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79838         is always restored.
79840 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79842         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79843         are re-adding the entry.
79844         * nscd/servicescache.c (cache_addserv): Likewise.
79846 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79848         * sysdeps/generic/dl-irel.h: fix protection against multiple
79849         inclusions.
79850         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79852 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79854         [BZ #12935]
79855         * malloc/memusage.sh: Fix quoting in message.
79856         * debug/xtrace.sh: Likewise.
79858         * configure.in: Remove support for --experimental-malloc option, make
79859         it the default.
79860         * config.make.in: Likewise.
79861         * malloc/Makefile: Likewise.
79863 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79865         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79866         two-byte characters.
79868 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79870         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79871         AC_CACHE_CHECK invocation.
79872         * configure: Regenerated.
79874         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79876 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79878         [BZ #12350]
79879         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79880         bit from old_res_options.
79882         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79884         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79885         value type for setfct.
79887 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79889         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79890         __gettimeofday instead of gettimeofday.
79892 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79894         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79896 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79900         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79901         info.
79903 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79906         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79907         strcpy-sse2-unaligned strncpy-sse2-unaligned
79908         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79909         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79910         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79911         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79912         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79913         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79914         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79915         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79916         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79917         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79918         (STRCPY): Support SSE2 and SSSE3 versions.
79920 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79922         [BZ #12874]
79923         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79924         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79925         kernels which artificially limit size of requests.
79927 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79930         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79931         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79932         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79933         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79934         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79935         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79936         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79937         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79938         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79939         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79940         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79941         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79942         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79943         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79945         Enable unaligned load optimization for Intel Core i3, i5 and i7
79946         processors.
79947         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79948         Define.
79949         (index_Fast_Unaligned_Load): Define.
79950         (HAS_FAST_UNALIGNED_LOAD): Define.
79952 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79954         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79956 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79958         [BZ #12907]
79959         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79960         until it is clear that the information is realy needed.
79961         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79963 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79967 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79970         /sys/devices/system/cpu/online if it is usable.
79972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79973         reading the information from the /proc filesystem to once a second.
79975 2011-06-21  Andreas Jaeger  <aj@suse.de>
79977         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79978         NULL after inclusion of kernel headers.
79980 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79982         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79983         calls to internal_setent.
79985         [BZ #12885]
79986         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79987         addresses using gethostbyname4_r ignore IPv4 addresses.
79989         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79990         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79992         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79994 2011-06-20  David S. Miller  <davem@davemloft.net>
79996         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79997         inclusions.
79998         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80000         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80001         (elf_irel): Use it.
80002         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80003         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80004         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80005         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80006         * sysdeps/x86_64/dl-irel.h: Likewise.
80008         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80009         * elf/dl-sym.c: Likewise.
80011 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80013         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80014         need to dereference resplen2.
80016 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80018         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80020 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80022         * Makeconfig: Define vardbdir and inst_vardbdir.
80023         * nss/Makefile: Add rules to install db-Makefile.
80025         * nss/nss_db/db-XXX.c: Cleanup.
80027         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80028         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80029         GLIBC_PRIVATE.
80030         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80031         * nss/makedb.c: Implement -g option to specify that value strings
80032         are generated and should not be added to table iterated over for
80033         get*ent calls.
80034         * nss/nss_db/db-initgroups.c: New file.
80036         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80037         interface.
80039         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80040         (internal_getgrouplist): Adjust to name change.
80041         Update use_initgroups_entry if this is not the first call.
80042         * nss/databases.def: Add initgroups entry.
80044         * nss/makedb.c (compute_tables): Check result of multiple hash table
80045         sizes to minimize maximum chain length.
80047 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80049         * Versions.def: Add entry for libnss_db.
80050         * shlib-versions: Likewise.
80051         * nss/Makefile: Add rules to build libnss_db.
80052         * nss/Versions: Add libnss_db information.  Organize libnss_files
80053         entries better.
80054         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80055         makedb progra.  Some minor improvements to generate smaller files.
80056         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80057         here from...
80058         * nss/makedb.c: ...here.
80059         Improve database format to be smaller and require less memory at
80060         runtime.
80061         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80062         db anymore.
80063         * nss/nss_db/db-netgrp.c: Likewise.
80064         * nss/nss_db/db-open.c: Likewise.
80065         * nss/nss_files/flies-XXX.x: Adjust comments.
80066         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80067         * nss/nss_files/files-grp.c: Likewise.
80068         * nss/nss_files/files-hosts.c: Likewise.
80069         * nss/nss_files/files-network.c: Likewise.
80070         * nss/nss_files/files-proto.c: Likewise.
80071         * nss/nss_files/files-pwd.c: Likewise.
80072         * nss/nss_files/files-rpc.c: Likewise.
80073         * nss/nss_files/files-service.c: Likewise.
80074         * nss/nss_files/files-sgrp.c: Likewise.
80075         * nss/nss_files/files-spwd.c: Likewise.
80076         * nss/nss_db/db-alias.c: Removed.
80077         * nss/nss_db/dummy-db.h: Removed.
80079 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80081         * nss/makedb.c: Rewritten to not use database library.
80082         * nss/Makefile: Update to build new makedb program.
80084 2011-06-14  Andreas Jaeger  <aj@suse.de>
80086         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80087         memset declaration.
80089 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80092         tmpbuf.
80094 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80096         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80097         * elf/Makefile ($(objpfx)ld.so): Likewise.
80099         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80100         Don't list ld.so twice in dependencies.
80102         * posix/bug-regex31.c: Include <stdlib.h>.
80104         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80106         * nis/nss_compat/compat-spwd.c
80107         (getspent_next_nss_netgr): Remove unused variable.
80108         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80110         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80111         nonmembers" output to use the right array.
80113         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80115         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80117         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80118         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80119         * catgets/gencat.c (read_input_file): Likewise.
80120         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80122         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80123         variable definition inside #if's controlling its use.
80125         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80127         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80129         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80131         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80132         unreachable code.
80134         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80136         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80137         * configure: Regenerated.
80139         * Makerules: Revert last change.
80140         * elf/Makefile: Likewise.
80142 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80144         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80145         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80146         (reloc-link): Likewise.
80148 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80150         * elf/Makefile: Add rules to build pldd.
80151         * elf/pldd.c: New file.
80152         * elf/pldd-xx.c: New file.
80154 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80156         * version.h: Update for 2.15 development version.
80158 2011-06-07  David S. Miller  <davem@davemloft.net>
80160         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80161         ifuncs.
80162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80163         elf_machine_lazy_rel): Likewise.
80164         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80165         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80166         elf_machine_lazy_rel): Likewise.
80167         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80168         dl_hwcap via passed in argument.
80169         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80170         Likewise.
80172 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80174         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80176 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80178         [BZ #12849]
80179         * manual/fdl-1.1.texi: New file, verbatim from:
80180         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80181         * manual/lgpl-2.1.texi: New file, verbatim from:
80182         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80183         * manual/Makefile (licenses): New variable, list those new file names.
80184         (texis): Use it.
80185         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80187         * manual/fdl.texi: File removed.
80188         * manual/lesser.texi: File removed.
80189         * manual/libc.texinfo (Copying, Documentation License):
80190         Use new @include file names, put @appendix directive before @include.
80192 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80194         [BZ #12841]
80195         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80196         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80197         (mq_open): Add __NTH.
80199 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80202         Assume Intel Core i3/i5/i7 processor if AVX is available.
80204 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80207         typo.
80209 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80211         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80212         memory.  Use alloca_account.  Fix memory leak when retrying.
80214 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80216         * version.h (RELEASE): Bump for 2.14 release.
80217         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80219         * config.make.in (RANLIB): Remove entry.
80221 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80223         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80224         (libc.pot): Work around missing support for .ksh extension in xgettext.
80226         [BZ #12684]
80227         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80228         if both request failed.
80229         (send_dg): In case of server errors clear resplen or *resplen2.
80231         [BZ #12454]
80232         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80233         when there are multiple maps.
80234         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80235         (_dl_fini): Remove test here.
80237         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80239 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80241         [BZ #12350]
80242         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80243         bit from old_res_options.
80244         (gaih_inet): Likewise.
80246         [BZ #11099]
80247         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80248         as signed.
80250         * resolv/res_init.c (res_setoptions): Make the code more compact.
80252         [BZ #11558]
80253         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80254         set RES_USEVC.
80256         [BZ #11634]
80257         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80259         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80261         [BZ #11781]
80262         * malloc/malloc.h: Declare malloc hook variables as volatile.
80264         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80265         in last patch.
80267         [BZ #11799]
80268         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80269         raise in the comment.
80270         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80271         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80272         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80274 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80276         [BZ #12811]
80277         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80278         grow the buffers more if it already has to be sufficient.
80279         (build_wcs_upper_buffer): Likewise.
80280         * posix/regexec.c (check_matching): Likewise.
80281         (clean_state_log_if_needed): Likewise.
80282         (extend_buffers): Don't enlarge buffers beyond size of the input
80283         buffer.
80284         Patches mostly by Emil Wojak <emil@wojak.eu>.
80285         * posix/bug-regex32.c: New file.
80286         * posix/Makefile (tests): Add bug-regex32.
80288         * locale/findlocale.c (_nl_find_locale): Return right away if
80289         _nl_explode_name failed.
80290         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80292         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80294         * debug/xtrace.sh: Unify messages.
80295         * malloc/memusage.sh: Likewise.
80297         [BZ #12813]
80298         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80299         time symbol from vDSO.  Substitute with vsyscall if not available.
80300         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80301         __vdso_time.
80303         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80304         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80305         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80306         Add sendmmsg and internal_sendmmsg.
80307         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80308         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80309         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80311         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80312         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80313         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80315 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80317         [BZ #12813]
80318         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80319         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80320         available.
80321         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80322         __vdso_getcpu.
80324         [BZ #12814]
80325         * iconvdata/Makefile (tests): Add bug-iconv9.
80326         * iconvdata/bug-iconv9.c: New file.
80328 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80330         [BZ #12814]
80331         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80333 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80335         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80336         (struct user_regs_struct): Change intcs field back to cs.
80338 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80340         * po/ja.po: Update from translation team.
80342 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80344         [BZ #12795]
80345         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80346         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80348 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80350         * stdlib/longlong.h: Update from GCC.
80352 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80354         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80355         parameter name.
80356         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80357         Add parameter name.
80358         (__sysconf): Pass it down.
80360 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80362         [BZ #12671]
80363         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80364         some situations.
80365         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80366         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80367         add in in __libc_use_alloca calls.  Adjust callers.
80368         (glob): Use malloc in some situations.
80370         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80371         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80372         pltexit.
80374 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80376         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80377         and CLOCK_BOOTTIME_ALARM.
80379         [BZ #12782]
80380         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80381         is returned.
80383         * string/_strerror.c (__strerror_r): Print negative errors as signed
80384         numbers.
80386         [BZ #12777]
80387         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80388         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80389         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80391         * configure.in: Fix typo in redirection and correct removal of test
80392         files in two cases.
80394         [BZ #12788]
80395         * locale/setlocale.c (new_composite_name): Fix test to check for
80396         identical name of all categories.
80398         [BZ #12792]
80399         * libio/filedoalloc.c (local_isatty): New function.
80400         (_IO_file_doallocate): Use local_isatty.
80401         * stdio-common/perror.c (perror): In case a new stream is used
80402         forward the stream error.
80403         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80404         error flag.
80406 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80408         [BZ #11884]
80409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80410         alloca.
80411         * include/alloca.h (extend_alloca_account): Define.
80413         [BZ #11857]
80414         * posix/regex.h: Fix comments with documentation of user-accessible
80415         fields after compilation and describe correct free'ing of pattern
80416         after re_compile_pattern.
80417         Patch by Reuben Thomas <rrt@sc3d.org>.
80419 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80421         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80422         and -mno-altivec to prevent the compiler from using Altivec and/or
80423         VSX instructions when the corresponding registers are not available.
80425 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80427         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80429 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80431         * libio/freopen.c (freopen): Use __dup2, not dup2.
80432         * libio/freopen64.c (freopen64): Likewise.
80434 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80436         [BZ #12775]
80437         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80438         * math/Makefile (tests): Add test-powl.
80439         (CFLAGS-test-powl.c): Define.
80440         * math/test-powl.c: New file.
80442 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80444         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80446 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80448         [BZ #11837]
80449         * iconvdata/gb18030.c: Update to GB18020-2005.
80451 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80453         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80454         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80455         Patch by Aharon Robbins <arnold@skeeve.com>.
80457         [BZ #11892]
80458         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80459         on the stack.
80461         [BZ #11895]
80462         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80463         through underflows.
80465         [BZ #12766]
80466         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80467         point to strings before performing equality test for error_one_per_line
80468         mode.
80470         [BZ #11697]
80471         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80473         [BZ #11820]
80474         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80475         (struct user_fpregs_struct): Avoid __uint*_t types.
80477         [BZ #6420]
80478         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80479         symbol info.  Use it instead of calling _dl_addr locally.
80480         (lock_and_info): New function.
80481         (tr_freehook): Call lock_and_info and pass symbol info as additional
80482         parameter to tr_where.
80483         (tr_mallochook): Likewise.
80484         (tr_reallochook): Likewise.
80485         (tr_memalignhook): Likewise.
80487         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80488         used and couldn't be at all thread-safe.
80490 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80492         * libio/freopen.c (freopen): Don't close old file descriptor
80493         before the new one is opened.  Instead dup the new file descriptor
80494         to the old one after the new stream is created.
80495         * libio/freopen64.c (freopen64): Likewise.
80496         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80497         * libio/fileops.c (_IO_new_file_close_it): Handle new
80498         _IO_FLAGS2_NOCLOSE flag.
80499         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80500         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80501         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80502         _IO_FLAGS2_NOCLOSE flag.
80503         * include/unistd.h: Add hidden_proto for dup3.
80504         Define __have_dup3.
80505         * io/dup3.c: Define hidden symbol.
80506         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80508         [BZ #7101]
80509         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80510         when an incomplete long option is used.
80511         * posix/tst-getopt_long1.c: New file.
80512         * posix/Makefile (tests): Add tst-getopt_long1.
80514         [BZ #10138]
80515         * scripts/config.guess: Update from autoconf-2.68.
80516         * scripts/config.sub: Likewise.
80518         [BZ #10157]
80519         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80520         tests into ...
80521         (has_cpuclock): ...this.  New function.
80522         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80523         macro here based on has_cpuclock code.
80525         [BZ #10149]
80526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80527         First byte (not low byte) is now always NUL.
80528         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80531         Use non-cancelable interfaces.
80533         [BZ #9809]
80534         * locale/iso-639.def: Add entry for Sorani.
80536         [BZ #11901]
80537         * include/stdlib.h: Move include protection to the right place.
80538         Define abort_msg_s.  Declare __abort_msg with it.
80539         * stdlib/abort.c (__abort_msg): Adjust type.
80540         * assert/assert.c (__assert_fail_base): New function.  Majority
80541         of code from __assert_fail.  Allocate memory for __abort_msg with
80542         mmap.
80543         (__assert_fail): Now call __assert_fail_base.
80544         * assert/assert-perr.c: Remove bulk of implementation.  Use
80545         __assert_fail_base.
80546         * include/assert.hL Declare __assert_fail_base.
80547         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80548         mmap.
80549         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80551 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80553         [BZ #11952]
80554         [BZ #12453]
80555         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80556         until all modules are registered in the DTV.
80557         * elf/Makefile: Add rules to build and run tst-tls19.
80558         * elf/tst-tls19.c: New file.
80559         * elf/tst-tls19mod1.c: New file.
80560         * elf/tst-tls19mod2.c: New file.
80561         * elf/tst-tls19mod3.c: New file.
80562         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80564         [BZ #12083]
80565         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80566         correctly.
80568         [BZ #12601]
80569         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80570         two-byte sequence errors.
80571         * iconvdata/Makefile (tests): Add bug-iconv8.
80572         * iconvdata/bug-iconv8.c: New file.
80574         [BZ #12626]
80575         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80576         buf2 definition.
80578         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80580         [BZ #12432]
80581         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80582         (dummy_getcfa): New function.
80583         (init): Get _Unwind_GetCFA address, use dummy if not found.
80584         (backtrace_helper): In recursion check, also check whether CFA changes.
80585         (__backtrace): Completely initialize arg.
80587         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80588         storing incomplete byte sequence in state object.  Avoid testing for
80589         guaranteed too small input if we know there is enough data available.
80591 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80593         * Makeconfig (+link-pie): Indent.
80594         * Rules (binaries-pie): Define if $(have-fpie) and
80595         $(build-shared).
80596         (binaries-shared): Also filter out $(binaries-pie).
80597         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80598         * nscd/Makefile (others-pie): Add nscd.
80599         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80600         ($(objpfx)nscd): Remove command override.
80601         * login/Makefile (others-pie): Add pt_chown.
80602         ($(objpfx)pt_chown): Remove command override.
80603         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80604         remove command overrides.
80606 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80608         * libio/tst_putwc.c: Fix error messages.
80610         [BZ #12724]
80611         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80612         currently writing and seek to current position when not.
80613         * libio/Makefile (tests): Add bug-fclose1.
80614         * libio/bug-fclose1.c: New file.
80616 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80618         [BZ #12511]
80619         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80620         don't set DF_1_NODELETE here.
80621         (do_lookup_x): When entering new entry test for copy relocation
80622         and if necessary set DF_1_NODELETE flag.
80623         * elf/tst-unique4.cc: New file.
80624         * elf/tst-unique4.h: New file.
80625         * elf/tst-unique4lib.cc: New file.
80626         * elf/Makefile: Add rules to build and run tst-unique4.
80627         Patch by Piotr Bury <pbury@goahead.com>.
80629 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80631         [BZ #12052]
80632         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80634         [BZ #12625]
80635         * misc/mntent_r.c (addmntent): Flush the stream after the output
80637         [BZ #12393]
80638         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80639         (is_trusted_path_normalize): Skip initial colon.  Append slash
80640         to empty buffer.  Duplicate is_trusted_path code but allow
80641         constructed patch to be prefix.
80642         (is_dst): Allow $ORIGIN followed by /.
80643         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80644         Correct testing of result of is_trusted_path_normalize
80645         (decompose_rpath): Fix warning.
80647 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80649         [BZ #11257]
80650         * grp/initgroups.c (internal_getgrouplist): When we found the service
80651         list through the initgroups entry in nsswitch.conf do not always
80652         continue on a successful lookup.  Don't always use the
80653         __nss_group_database value if it is set.
80654         * nss/nsswitch.conf (initgroups): Change action for successful db
80655         lookup to continue for compatibility.
80657 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80659         [BZ #11532]
80660         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80661         and CP774 modules.
80662         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80663         and CP774 modules.
80664         * iconvdata/tst-tables.sh: Likewise.
80665         * iconvdata/cp770.c: New file.
80666         * iconvdata/cp771.c: New file.
80667         * iconvdata/cp772.c: New file.
80668         * iconvdata/cp773.c: New file.
80669         * iconvdata/cp774.c: New file.
80670         * iconvdata/testdata/CP770: New file.
80671         * iconvdata/testdata/CP770..UTF8: New file.
80672         * iconvdata/testdata/CP771: New file.
80673         * iconvdata/testdata/CP771..UTF8: New file.
80674         * iconvdata/testdata/CP772: New file.
80675         * iconvdata/testdata/CP772..UTF8: New file.
80676         * iconvdata/testdata/CP773: New file.
80677         * iconvdata/testdata/CP773..UTF8: New file.
80678         * iconvdata/testdata/CP774: New file.
80679         * iconvdata/testdata/CP774..UTF8: New file.
80681         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80682         END CHARMAP line.
80683         * iconvdata/gen-8bit-gap.sh: Likewise.
80684         * iconvdata/gen-8bit.sh: Likewise.
80686         * locale/iso-639.def: Add ary entry.
80688         [BZ #11258]
80689         * locale/C-translit.h.in: Add U20A1 transliteration.
80691         [BZ #12178]
80692         * locale/iso-639.def: Add wae entry.
80693         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80695         [BZ #12545]
80696         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80697         for n.
80699         [BZ #12711]
80700         * locale/C-translit.h.in: Add entry for U20B9.
80701         Patch by pravin.d.s@gmail.com.
80703 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80705         [BZ #12713]
80706         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80707         ENAMETOOLONG use generic getcwd.
80708         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80709         in rtld.  Use *stat64.
80710         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80711         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80712         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80713         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80714         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80715         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80716         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80717         __fstatat64 macros.
80718         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80719         * dirent/rewinddir.c: Add libc_hidden_def.
80720         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80721         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80723         * include/dirent.h (__alloc_dir): Add flags parameter.
80724         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80725         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80726         __alloc_dir.
80727         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80728         from fdopendir if O_CLOEXEC is already set.
80730 2011-03-15  Alan Modra  <amodra@gmail.com>
80732         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80733         l_tls_firstbyte_offset non-zero.  Save padding offset in
80734         l_tls_firstbyte_offset for later use.
80735         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80736         freeing static tls block.
80738 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80740         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80741         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80742         being defined by the kernel headers.
80744 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80746         [BZ #12734]
80747         * resolv/resolv.h: Define RES_NOTLDQUERY.
80748         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80749         no-tld-query and set RES_NOTLDQUERY.
80750         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80751         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80752         modern BIND to search name as TLD unless forbidden.
80754 2011-05-07  Petr Baudis  <pasky@suse.cz>
80755             Ulrich Drepper  <drepper@gmail.com>
80757         [BZ #12393]
80758         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80759         (is_trusted_path): ...to here.
80760         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80761         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80762         using is_trusted_path_normalize() in setuid scripts.
80764 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80766         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80767         __BEGIN/__END_DECLS.
80769 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80771         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80772         NSS_STATUS_NOTFOUND if no record was found.
80774 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80776         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80777         (headers-not-in-tirpc): Remove rpc/netdb.h
80778         * resolv/netdb.h: Revert last change.
80780 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80782         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80783         circular dependency between libgcc.a and libc.a.
80785 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80787         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80788         * nis/Makefile: Don't install rpcsvc/*.
80789         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80790         instead of <rpc/types.h>.
80791         (MAXHOSTNAMELEN): Define.
80793 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80795         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80797 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80799         [BZ #12714]
80800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80801         gethostbyname4_r when IPv6 results are possible.
80803 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80805         [BZ #12723]
80806         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80807         _PC_PIPE_BUF handling.
80809 2011-04-30  Bruno Haible  <bruno@clisp.org>
80811         [BZ #12717]
80812         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80813         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80814         to 'int'.
80815         * inet/getnameinfo.c (getnameinfo): Likewise.
80817 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80819         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80820         to groups setting in database lookup.
80821         * nss/nsswitch.conf: Add initgroups entry.
80823 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80825         [BZ #12685]
80826         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80827         mode string.
80828         Patch by Eric Blake <eblake@redhat.com>.
80830 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80832         * sunrpc/Makefile (need-export-routines): Add svc_run.
80833         (routines): Remove svc_run.
80834         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80835         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80836         * sunrpc/svc_run.c (svc_run): Likewise.
80837         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80839 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80842         problem in reallocation in last patch.
80844 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80846         * sunrpc/Makefile: Move inclusion of Rules.
80848 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80850         * nss/nss_files/files-initgroups.c: New file.
80851         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80852         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80853         _nss_files_initgroups_dyn.
80855 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80857         * elf/elf.h (R_ARM_IRELATIVE): Define.
80859 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80861         * po/ru.po: Update from translation team.
80863 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80865         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80866         dependencies.
80868 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80870         [BZ #12653]
80871         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80872         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80873         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80874         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80875         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80877 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80879         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80880         differing bytes.
80881         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80882         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80885 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80887         [BZ #12420]
80888         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80889         storing it.
80890         * stdlib/bug-getcontext.c: New file.
80891         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80893 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80895         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80896         instructions into .machine "z9-109".
80897         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80898         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80900 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80902         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80903         between environment variables and auxiliary vector.
80905 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80907         * Makefile: Add rules to build linkobj/libc.so.
80908         * include/libc-symbols.h: Define libc_hidden_nolink.
80909         * include/rpc/auth.h: Mark functions which are to be hidden.
80910         * include/rpc/auth_des.h: Likewise.
80911         * include/rpc/auth_unix.h: Likewise.
80912         * include/rpc/clnt.h: Likewise.
80913         * include/rpc/des_crypt.h: Likewise.
80914         * include/rpc/key_prot.h: Likewise.
80915         * include/rpc/pmap_clnt.h: Likewise.
80916         * include/rpc/pmap_prot.h: Likewise.
80917         * include/rpc/pmap_rmt.h: Likewise.
80918         * include/rpc/rpc_msg.h: Likewise.
80919         * include/rpc/svc.h: Likewise.
80920         * include/rpc/svc_auth.h: Likewise.
80921         * include/rpc/xdr.h: Likewise.
80922         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80923         * nss/Makefile: Likewise.
80924         * sunrpc/Makefile: Don't install headers.  Build library with normal
80925         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80926         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80927         for the compat linking library.  Remove use of INTDEF/INTUSE.
80928         * sunrpc/auth_none.c: Likewise.
80929         * sunrpc/auth_unix.c: Likewise.
80930         * sunrpc/authdes_prot.c: Likewise.
80931         * sunrpc/authuxprot.c: Likewise.
80932         * sunrpc/clnt_gen.c: Likewise.
80933         * sunrpc/clnt_perr.c: Likewise.
80934         * sunrpc/clnt_raw.c: Likewise.
80935         * sunrpc/clnt_simp.c: Likewise.
80936         * sunrpc/clnt_tcp.c: Likewise.
80937         * sunrpc/clnt_udp.c: Likewise.
80938         * sunrpc/clnt_unix.c: Likewise.
80939         * sunrpc/des_crypt.c: Likewise.
80940         * sunrpc/des_soft.c: Likewise.
80941         * sunrpc/get_myaddr.c: Likewise.
80942         * sunrpc/key_call.c: Likewise.
80943         * sunrpc/key_prot.c: Likewise.
80944         * sunrpc/netname.c: Likewise.
80945         * sunrpc/pm_getmaps.c: Likewise.
80946         * sunrpc/pm_getport.c: Likewise.
80947         * sunrpc/pmap_clnt.c: Likewise.
80948         * sunrpc/pmap_prot.c: Likewise.
80949         * sunrpc/pmap_prot2.c: Likewise.
80950         * sunrpc/pmap_rmt.c: Likewise.
80951         * sunrpc/publickey.c: Likewise.
80952         * sunrpc/rpc_cmsg.c: Likewise.
80953         * sunrpc/rpc_common.c: Likewise.
80954         * sunrpc/rpc_dtable.c: Likewise.
80955         * sunrpc/rpc_prot.c: Likewise.
80956         * sunrpc/rpc_thread.c: Likewise.
80957         * sunrpc/rtime.c: Likewise.
80958         * sunrpc/svc.c: Likewise.
80959         * sunrpc/svc_auth.c: Likewise.
80960         * sunrpc/svc_authux.c: Likewise.
80961         * sunrpc/svc_raw.c: Likewise.
80962         * sunrpc/svc_run.c: Likewise.
80963         * sunrpc/svc_simple.c: Likewise.
80964         * sunrpc/svc_tcp.c: Likewise.
80965         * sunrpc/svc_udp.c: Likewise.
80966         * sunrpc/svc_unix.c: Likewise.
80967         * sunrpc/svcauth_des.c: Likewise.
80968         * sunrpc/xcrypt.c: Likewise.
80969         * sunrpc/xdr.c: Likewise.
80970         * sunrpc/xdr_array.c: Likewise.
80971         * sunrpc/xdr_float.c: Likewise.
80972         * sunrpc/xdr_intXX_t.c: Likewise.
80973         * sunrpc/xdr_mem.c: Likewise.
80974         * sunrpc/xdr_rec.c: Likewise.
80975         * sunrpc/xdr_ref.c: Likewise.
80976         * sunrpc/xdr_sizeof.c: Likewise.
80977         * sunrpc/xdr_stdio.c: Likewise.
80979 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80981         [BZ #12650]
80982         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80983         * sysdeps/ia64/dl-tls.h: Likewise.
80984         * sysdeps/powerpc/dl-tls.h: Likewise.
80985         * sysdeps/s390/dl-tls.h: Likewise.
80986         * sysdeps/sh/dl-tls.h: Likewise.
80987         * sysdeps/sparc/dl-tls.h: Likewise.
80988         * sysdeps/x86_64/dl-tls.h: Likewise.
80989         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80991 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80993         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80994         rpath element also skip the following colon.
80995         (expand_dynamic_string_token): Add is_path parameter and pass
80996         down to DL_DST_REQUIRED and _dl_dst_substitute.
80997         (decompose_rpath): Call expand_dynamic_string_token with
80998         non-zero is_path.  Ignore empty rpaths.
80999         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81000         with zero is_path.
81002 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81005         Make cancelable.
81007 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81009         [BZ #12655]
81010         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81011         Patch by Filipe David Manana <fdmanana@apache.org>.
81013 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81015         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81016         Maintain aligned stack.
81017         (CHECK_RSP): Remove unused macro.
81019 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81021         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81022         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81024 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81026         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81028         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81030 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81032         [BZ #12518]
81033         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81034         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81035         * sysdeps/x86_64/memmove.c: New file.
81036         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81037         (memcpy): Renamed to ...
81038         (__new_memcpy): This.
81039         (memcpy): Provide GLIBC_2_14 memcpy.
81040         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81041         (memcpy): Provide GLIBC_2_2_5 memcpy.
81043 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81045         [BZ #12631]
81046         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81048 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81050         * misc/syncfs.c: New file.
81051         * misc/Makefile (routines): Add syncfs.
81052         * posix/unistd.h: Declare syncfs.
81053         * sysdeps/unix/syscalls.list: Add syncfs.
81055 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81057         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81058         open_by_handle_at.
81059         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81060         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81062         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81063         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81064         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81065         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81067 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81071         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81073         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81077         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81078         sync_file_range.c with -fexceptions.
81079         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81080         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81081         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81082         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81083         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81084         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81086         sync_file_range as cancellation point
81087         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81088         now a wrapper around __call_sync_file_range with cancellation handling.
81089         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81090         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81091         function name to __call_sync_file_range.
81092         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81093         Add call_sync_file_range.
81095 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81098         bits/timex.h.
81100 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81102         * iconv/iconv.h: Fix typo in comment.
81103         * io/fcntl.h: Likewise.
81104         * libio/stdio.h: Likewise.
81105         * posix/spawn.h: Likewise.
81106         * posix/unistd.h: Likewise.
81107         * stdlib/stdlib.h: Likewise.
81108         * time/time.h: Likewise.
81109         * wcsmbs/wchar.h: Likewise.
81111         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81112         open_by_handle): Add.
81113         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81114         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81115         Augment a few comments.
81116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81117         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81118         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81119         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81121         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81122         open_by_handle.
81124         * io/fcntl.h (AT_EMPTY_PATH): Define.
81126 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81128         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81129         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81130         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81131         to...
81132         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81133         * Versions.def: Add GLIBC_2.14.
81134         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81135         Export.
81137 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81140         round counter.
81141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81143 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81145         [BZ #12597]
81146         * string/test-strncmp.c (do_page_test): New function.
81147         (check2): Likewise.
81148         (test_main): Call check2.
81149         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81151 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81153         [BZ #12587]
81154         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81155         Handle cache information in CPU leaf 4.
81156         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81158 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81160         [BZ #12583]
81161         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81162         character representation.
81163         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81165 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81167         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81168         END(__isnan) to END(__isnanf) to match function entry point/label
81169         EALIGN(__isnanf,...).
81171 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81173         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81175 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81177         [BZ #12510]
81178         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81179         copy from the symbol referenced in the relocation to initialize the
81180         used variable.
81181         Patch by Piotr Bury <pbury@goahead.com>.
81182         * elf/Makefile: Add rules to build and tst-unique3.
81183         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81184         * elf/tst-unique3.cc: New file.
81185         * elf/tst-unique3.h: New file.
81186         * elf/tst-unique3lib.cc: New file.
81187         * elf/tst-unique3lib2.cc: New file.
81189         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81191 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81193         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81194         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81195         to _start.
81197 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81199         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81200         to-be-loaded object along a path to loader is ld.so.
81202 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81203             Ulrich Drepper  <drepper@gmail.com>
81205         * sysdeps/x86_64/memset.S: After aligning destination, code
81206         branches to different locations depending on the value of
81207         misalignment, when multiarch is enabled. Fix this.
81209 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81211         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81212         Set _x86_64_preferred_memory_instruction for AMD processsors.
81213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81214         Set bit_Prefer_SSE_for_memop for AMD processors.
81216 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81218         * libio/fmemopen.c (fmemopen): Optimize a bit.
81220 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81222         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81224 2011-03-03  Roland McGrath  <roland@redhat.com>
81226         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81228 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81230         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81231         __bzero_ultra1 instead of __memset_ultra1.
81233 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81234             Ulrich Drepper  <drepper@gmail.com>
81236         [BZ #12509]
81237         * include/link.h (struct link_map): Add l_orig_initfini.
81238         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81239         returning unsuccessfully.
81240         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81241         close of a file loaded at startup, restore the original l_initfini
81242         list.
81243         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81244         list, store the pointer.
81245         * elf/Makefile ($(objpfx)noload-mem): New rule.
81246         (noload-ENV): Define.
81247         (tests): Add $(objpfx)noload-mem.
81248         * elf/noload.c: Include <memcheck.h>.
81249         (main): Call mtrace.  Close all opened handles.
81251 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81253         [BZ #12454]
81254         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81255         dependencies are missing.
81257 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81259         Fix __if_freereq crash: Unlike the generic version which uses free,
81260         Hurd needs munmap.
81261         * sysdeps/mach/hurd/ifreq.h: New file.
81263 2011-01-27  Petr Baudis  <pasky@suse.cz>
81264             Ulrich Drepper  <drepper@gmail.com>
81266         [BZ 12445]#
81267         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81268         to extend_alloca().
81269         * stdio-common/bug23.c: New file.
81270         * stdio-common/Makefile (tests): Add bug23.
81272 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81273             Ulrich Drepper  <drepper@gmail.com>
81275         [BZ #12489]
81276         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81277         before performing relro protection.  At old place add assertion
81278         to make sure nothing changed.
81280 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81281             Glauber de Oliveira Costa  <glommer@gmail.com>
81283         * elf/elf.h: Add new ARM TLS relocs.
81285 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81288         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81289         cast from r3.
81290         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81291         'tests' variable.
81292         * sysdeps/wordsize-64/tst-writev.c: New file.
81294 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81296         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81297         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81298         insns in _dl_start to prevent a TOC reference before relocs are
81299         resolved.
81301 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81303         [BZ #12469]
81304         * Makeconfig: Remove RANLIB definition.
81305         * Makerules: Don't use RANLIB.
81306         * aclocal.m4: Remove ranlib test.
81307         * configure.in: No need to check for ranlib.
81308         * elf/rtld-Rules: Don't use RANLIB.
81310 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81312         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81313         protection macro.
81314         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81315         inclusion protection macro.
81317         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81318         SIGRTMIN and SIGRTMAX and print information in that case only when
81319         SIGRTMIN is defined.
81321 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81323         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81324         arginfo fn returning -1.
81326         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81327         and thousands string is zero terminated.
81329 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81331         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81332         sysdeps/unix/sysv/linux/bits/socket.h.
81334 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81336         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81337         (__CPU_COUNT): Remove old macros.
81338         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81339         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81340         (__CPU_ALLOC, __CPU_FREE): Add macros.
81341         (__sched_cpualloc, __sched_cpufree): Add declarations.
81343 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81345         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81346         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81347         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81348         (readdhstai): Return value of addhstaiX call.
81349         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81350         (addgrbyX): Return value returned by cache_addgr.
81351         (readdgrbyname): Return value returned by addgrbyX.
81352         (readdgrbygid): Likewise.
81353         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81354         (addpwbyX): Return value returned by cache_addpw.
81355         (readdpwbyname): Return value returned by addhstbyX.
81356         (readdpwbyuid): Likewise.
81357         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81358         (addservbyX): Return value returned by cache_addserv.
81359         (readdservbyname): Return value returned by addservbyX:
81360         (readdservbyport): Likewise.
81361         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81362         (addhstbyX): Return value returned by cache_addhst.
81363         (readdhstbyname): Return value returned by addhstbyX.
81364         (readdhstbyaddr): Likewise.
81365         (readdhstbynamev6): Likewise.
81366         (readdhstbyaddrv6): Likewise.
81367         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81368         (readdinitgroups): Return value returned by addinitgroupsX.
81369         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81370         (prune_cache): Keep track of timeout value of re-added entries.
81371         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81372         * nscd/nscd.h: Adjust prototypes of readd* functions.
81374 2011-02-04  Roland McGrath  <roland@redhat.com>
81376         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81377         (nis_stats): Likewise.
81378         * nis/nis_modify.c (nis_modify): Likewise.
81379         * nis/nis_remove.c (nis_remove): Likewise.
81380         * nis/nis_add.c (nis_add): Likewise.
81382         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81384         * posix/fnmatch_loop.c: Add some consts.
81386         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81388 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81390         [BZ #12460]
81391         * config.make.in (config-cflags-novzeroupper): Define.
81392         * configure.in: Substitute libc_cv_cc_novzeroupper.
81393         * elf/Makefile (AVX-CFLAGS): Define.
81394         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81395         (CFLAGS-tst-auditmod4a.c): Likewise.
81396         (CFLAGS-tst-auditmod4b.c): Likewise.
81397         (CFLAGS-tst-auditmod6b.c): Likewise.
81398         (CFLAGS-tst-auditmod6c.c): Likewise.
81399         (CFLAGS-tst-auditmod7b.c): Likewise.
81400         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81402 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81404         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81405         function to the callback.
81406         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81408 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81410         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81411         of errno.
81413 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81415         [BZ #11724]
81416         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81417         of constructors.
81418         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81419         of destructors.
81420         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81422         [BZ #11724]
81423         * elf/Makefile: Add rules to build and run new test.
81424         * elf/tst-initorder.c: New file.
81425         * elf/tst-initorder.exp: New file.
81426         * elf/tst-initordera1.c: New file.
81427         * elf/tst-initordera2.c: New file.
81428         * elf/tst-initordera3.c: New file.
81429         * elf/tst-initordera4.c: New file.
81430         * elf/tst-initorderb1.c: New file.
81431         * elf/tst-initorderb2.c: New file.
81432         * elf/tst-order-a1.c: New file.
81433         * elf/tst-order-a2.c: New file.
81434         * elf/tst-order-a3.c: New file.
81435         * elf/tst-order-a4.c: New file.
81436         * elf/tst-order-b1.c: New file.
81437         * elf/tst-order-b2.c: New file.
81438         * elf/tst-order-main.c: New file.
81439         New test case by George Gensure <werkt0@gmail.com>.
81441 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81444         decoding ACE if AI_CANONIDN.
81446 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81448         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81450 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81452         * version.h (RELEASE): Bump for 2.13 release.
81453         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81455         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81457         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81458         MADV_NOHUGEPAGE.
81459         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81464         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81466         * posix/getconf.c: Update copyright year.
81467         * catgets/gencat.c: Likewise.
81468         * csu/version.c: Likewise.
81469         * debug/catchsegv.sh: Likewise.
81470         * debug/xtrace.sh: Likewise.
81471         * elf/ldconfig.c: Likewise.
81472         * elf/ldd.bash.in: Likewise.
81473         * elf/sprof.c (print_version): Likewise.
81474         * iconv/iconv_prog.c: Likewise.
81475         * iconv/iconvconfig.c: Likewise.
81476         * locale/programs/locale.c: Likewise.
81477         * locale/programs/localedef.c: Likewise.
81478         * malloc/memusage.sh: Likewise.
81479         * malloc/mtrace.pl: Likewise.
81480         * nscd/nscd.c (print_version): Likewise.
81481         * nss/getent.c: Likewise.
81483         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81484         PF_CAIF, and PF_ALG.
81485         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81487 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81489         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81490         (modules-names): Use them.
81491         (ifunc-test-modules, ifunc-pie-tests): Define.
81492         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81493         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81494         (test-extras): Likewise.
81495         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81496         $(compile-command.c).
81497         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81498         (all-built-dso): Define.
81499         (check-textrel.out, check-execstack.out): Depend on it.
81501         * configure.in: Don't override --enable-multi-arch.
81503 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81505         [BZ #6812]
81506         * nscd/hstcache.c (tryagain): Define.
81507         (cache_addhst): Return tryagain not notfound for temporary errors.
81508         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81509         failed.
81511 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81513         [BZ #10563]
81514         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81515         to make the syscall.
81516         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81518         [BZ #12378]
81519         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81520         and fall back to matching as normal character if the string ends before
81521         the matching ']' is found.  This is what POSIX requires.
81522         * posix/testfnm.c: Adjust test result.
81523         * posix/globtest.sh: Adjust test result.  Add new test.
81524         * posix/tst-fnmatch.input: Likewise.
81525         * posix/tst-fnmatch2.c: Add new test.
81527 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81529         * elf/Makefile (check-execstack): Revert last change.  Depend on
81530         check-execstack.h.
81531         (check-execstack.h): New target.
81532         (generated): Add check-execstack.h.
81533         * elf/check-execstack.c: Include "check-execstack.h".
81534         (main): Revert last change.
81535         (handle_file): Return zero if GNU_STACK is absent and
81536         DEFAULT_STACK_PERMS doesn't include PF_X.
81538 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81540         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81541         in child fails because the descriptor is already closed.
81542         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81543         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81544         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81546         [BZ #12397]
81547         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81548         syscall.
81550         [BZ #10484]
81551         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81552         temporary buffer used to handle multi lookups locally.
81553         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81555 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81557         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81558         loader is ld.so.
81560 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81562         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81563         alignment for SSE2.
81565 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81567         [BZ #12394]
81568         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81569         characters.  When rounding increased number of integer digits recompute
81570         number of groups.
81571         * stdio-common/tst-grouping.c: New file.
81572         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81574 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81576         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81577         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81579         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81580         void.
81581         * bits/select.h: Likewise.
81583 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81585         * po/ja.po: Update from translation team.
81587 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81589         [BZ #11155]
81590         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81591         implementation just like for lxstat, fxstatat, et al.
81593 2010-12-27  Jim Meyering  <meyering@redhat.com>
81595         [BZ #12348]
81596         * posix/regexec.c (build_trtable): Return failure indication upon
81597         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81599 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81601         [BZ #12201]
81602         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81603         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81604         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81605         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81607         [BZ #12207]
81608         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81610         [BZ #12204]
81611         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81612         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81614 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81616         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81617         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81618         script has SORT_BY_INIT_PRIORITY.
81619         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81620         NO_CTORS_DTORS_SECTIONS is defined.
81621         * elf/soinit.c: Likewise.
81622         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81623         NO_CTORS_DTORS_SECTIONS is defined.
81624         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81625         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81626         * sysdeps/sh/init-first.c: Likewise.
81627         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81629 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81631         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81632         always use the slow path.
81634 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81636         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81637         similar rule which adds the sysdep directories to the header search in
81638         order to pick up the correct platform stackinfo.h.
81639         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81640         perform test if it is, otherwise return successfully without testing.
81641         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81642         DEFAULT_STACK_PERMS define in stackinfo.h.
81643         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81644         defined in stackinfo.h.
81645         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81646         DEFAULT_STACK_PERMS defined in stackinfo.h.
81647         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81648         * sysdeps/ia64/stackinfo.h: Likewise.
81649         * sysdeps/s390/stackinfo.h: Likewise.
81650         * sysdeps/sh/stackinfo.h: Likewise.
81651         * sysdeps/sparc/stackinfo.h: Likewise.
81652         * sysdeps/x86_64/stackinfo.h: Likewise.
81653         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81654         PF_X for powerpc64.  Retain PF_X for powerpc32.
81656 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81658         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81659         accurately.
81660         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81661         GETDENTS_64BIT_ALIGNED.
81663 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81665         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81667 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81669         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81670         _GNU_SOURCE.
81672         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81673         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81674         Remove __restrict.
81675         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81676         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81678 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81680         [BZ #11655]
81681         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81682         are initialized.
81684 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81686         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81688 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81690         * po/it.po: Update from translation team.
81692 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81694         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81695         unused codes.
81697 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81699         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81701 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81703         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81704         specially.
81705         (gaih_getanswer_slice): Likewise.
81707 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81711 2010-05-31  Petr Baudis  <pasky@suse.cz>
81713         [BZ #11149]
81714         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81715         silently even in the chroot mode.
81717 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81719         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81720         last patch a bit.  Pretty printing
81722 2010-05-31  Petr Baudis <pasky@suse.cz>
81724         [BZ #10085]
81725         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81726         initialization of skip_initgroups_dyn.
81728 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81730         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81731         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81733 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81735         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81737 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81739         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81740         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81741         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81742         ($(objpfx)tst-fnmatch-mem): New rule.
81743         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81744         * posix/tst-fnmatch.c (main): Call mtrace.
81746 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81749         Support Intel processor model 6 and model 0x2c.
81751 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81753         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81754           signed comparison.
81756 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81758         [BZ #12205]
81759         * string/test-strncasecmp.c (check_result): New function.
81760         (do_one_test): Use it.
81761         (check1): New function.
81762         (test_main): Use it.
81763         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81764         Support strcasecmp and strncasecmp.
81766 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81768         [BZ #12194]
81769         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81770         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81772 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81774         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81775         IFUNC support.
81776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81777         memset-x86-64.
81778         * sysdeps/x86_64/multiarch/bzero.S: New file.
81779         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81780         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81781         * sysdeps/x86_64/multiarch/memset.S: New file.
81782         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81783         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81784         Set bit_Prefer_SSE_for_memop for Intel processors.
81785         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81786         Define.
81787         (index_Prefer_SSE_for_memop): Define.
81788         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81790 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81792         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81793         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81795 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81797         [BZ #12191]
81798         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81799         (__x86_64_raw_data_cache_size_half): Likewise.
81800         (__x86_64_raw_shared_cache_size): Likewise.
81801         (__x86_64_raw_shared_cache_size_half): Likewise.
81803         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81804         (__x86_64_raw_data_cache_size_half): Likewise.
81805         (__x86_64_raw_shared_cache_size): Likewise.
81806         (__x86_64_raw_shared_cache_size_half): Likewise.
81807         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81808         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81809         and __x86_64_raw_shared_cache_size_half.  Round
81810         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81811         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81812         to multiple of 256 bytes.
81814 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81816         [BZ #12167]
81817         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81818         of inacessible symlinks.  Verify result of symlink before returning it.
81819         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81820         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81822 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81824         * math/math.h (isinf): Fix typo in comment.
81826 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81828         * po/da.po: Update from translation team.
81830 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81832         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81833         is added to the list.
81835 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81836             Ulrich Drepper  <drepper@gmail.com>
81838         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81839         the global list here.  Move code to...
81840         (_dl_add_to_namespace_list): ...here.  New function.
81841         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81842         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81843         * elf/dl-load.c (lose): Don't remove the element from the list.
81844         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81845         (_dl_map_object): Likewise.
81847 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81849         [BZ #12159]
81850         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81851         into all bytes of SSE register.
81852         Patch by Richard Li <richardpku@gmail.com>.
81854 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81856         [BZ #12140]
81857         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81858         perturbing.
81860 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81862         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81863         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81864         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81865         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81867         submachine.
81868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81870 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81872         * include/dlfcn.h (__RTLD_SECURE): Define.
81873         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81874         mode & __RTLD_SECURE instead.
81875         (open_path): Rename preloaded parameter to secure.
81876         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81877         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81878         * elf/dl-deps.c (openaux): Likewise.
81879         * elf/rtld.c (struct map_args): Remove is_preloaded.
81880         (map_doit): Don't use it.
81881         (dl_main): Likewise.
81882         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81883         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81885 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81887         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81888         (sysd-rules-targets): Remove duplicates.
81889         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81890         rtld-%.$o dependency.
81892 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81894         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81895         _dl_map_object do it.
81897 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81899         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81900         fast fma builtins, define the macros in the C99 standard.
81901         (FP_FAST_FMAF): Likewise.
81902         (FP_FAST_FMAL): Likewise.
81903         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81905         * bits/mathdef.h: Update copyright year.
81906         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81908 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81910         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81911         builtins, define the macros in the C99 standard.
81912         (FP_FAST_FMAF): Likewise.
81913         (FP_FAST_FMAL): Likewise.
81914         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81915         multiply/add.
81916         (FP_FAST_FMAF): Likewise.
81918 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81920         [BZ #3268]
81921         * math/libm-test.inc (fma_test): Some new testcases.
81922         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81923         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81924         y and infinite z.  Do multiplication by C already in long double.
81925         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81926         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81927         y and infinite z.  Do bitwise or of inexact bit into u.d.
81928         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81929         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81930         * sysdeps/i386/fpu/s_fma.S: Removed.
81931         * sysdeps/i386/fpu/s_fmal.S: Removed.
81933 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81935         [BZ #3268]
81936         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81938         computation is not scheduled after fetestexcept.  Fix value
81939         of minimum denormal long double.
81941 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81943         [BZ #3268]
81944         * math/libm-test.inc (fma_test): Add some more tests.
81945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81946         correctly.
81948 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81950         * scripts/data/localplt-s390-linux-gnu.data: New file.
81951         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81953 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81955         [BZ #3268]
81956         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81957         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81958         instead of dbl-64.
81959         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81960         inlines.
81961         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81963         if one of x and y is very large and the other is subnormal.
81964         * sysdeps/s390/fpu/s_fmaf.c: New file.
81965         * sysdeps/s390/fpu/s_fma.c: New file.
81966         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81967         * sysdeps/powerpc/fpu/s_fma.S: New file.
81968         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81969         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81970         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81972 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81974         [BZ #3268]
81975         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81976         fma tests.
81977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81978         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81979         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81980         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81981         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81982         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81983         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81985 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81987         [BZ #12078]
81988         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81989         * posix/bug-regex31.input: Add test case.
81991 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81993         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81994         * posix/bug-regex31.input: New file.
81996         [BZ #12078]
81997         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81998         (parse_sub_exp): Fix last change, use postorder.
82000         * posix/bug-regex31.c: New file.
82001         * posix/Makefile: Add rules to build and run bug-regex31.
82003         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82005         [BZ #12078]
82006         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82008         [BZ #12108]
82009         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82010         to have entries in sys_siglist.
82012         [BZ #12093]
82013         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82014         be NULL.
82016 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82018         [BZ #3268]
82019         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82020         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82021         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82022         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82023         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82024         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82025         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82026         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82027         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82028         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82029         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82030         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82031         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82032         * math/ftestexcept.c (fetestexcept): Likewise.
82033         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82034         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82035         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82036         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82037         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82038         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82041 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82043         [BZ #12107]
82044         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82045         newline.
82047 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82049         * string/bug-strstr1.c: New file.
82050         * string/Makefile: Add rules to build and run bug-strstr1.
82052 2010-10-05  Eric Blake  <eblake@redhat.com>
82054         [BZ #12092]
82055         * string/str-two-way.h (two_way_long_needle): Always clear memory
82056         when skipping input due to the shift table.
82058 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82060         [BZ #12005]
82061         * malloc/mcheck.c: Handle large requests.
82063         [BZ #12077]
82064         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82065         for strncmp and strncasecmp.
82066         * string/stratcliff.c: Add tests for strcmp and strncmp.
82067         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82069 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82071         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82072         __set_fpscr.
82074 2010-09-30  Andreas Jaeger  <aj@suse.de>
82076         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82077         (CGROUP_SUPER_MAGIC): Define.
82078         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82079         Handle btrfs and cgroup file systems.
82080         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82081         Likewise.
82083 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82085         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82086         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82088 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82090         [BZ #12067]
82091         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82092         trying to locate the ELF header.
82094 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82096         [BZ #11611]
82097         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82098         Mask out sign-bit copies when constructing f_fsid.
82100 2010-09-24  Petr Baudis <pasky@suse.cz>
82102         * debug/stack_chk_fail_local.c: Add missing licence exception.
82103         * debug/warning-nop.c: Likewise.
82105 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82107         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82108         implementing getdents64 using getdents syscall, set d_type if
82109         __ASSUME_GETDENTS32_D_TYPE.
82111 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82113         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82114         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82116 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82118         [BZ #12037]
82119         * posix/unistd.h: Undo change of feature selection for ftruncate from
82120         2010-01-11.
82122 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82124         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82125         detection.
82127 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82129         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82130         fanotify_mark.
82131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82133 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82135         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82136         variables after CHECK_SP call.
82137         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82139 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82140             Ulrich Drepper  <drepper@redhat.com>
82142         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82143         re-relocationg ld.so.
82144         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82145         _dl_init_paths call.
82146         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82147         here anymore.
82149 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82151         * resolv/res_init.c (__res_vinit): Count the default server we added.
82153 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82154             Ulrich Drepper  <drepper@redhat.com>
82156         [BZ #11968]
82157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82158         (____longjmp_chk): Use %ebx for saving value across system call.
82159         Add unwind info.
82161 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82163         * manual/Makefile: Don't mix pattern rules with normal rules.
82165 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82167         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82168         operation.
82169         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82170         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82171         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82172         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82174         Likewise.
82176 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82178         [BZ #11979]
82179         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82180         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82182 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82184         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82185         * sysdeps/x86_64/addmul_1.S: Likewise.
82186         * sysdeps/x86_64/lshift.S: Likewise.
82187         * sysdeps/x86_64/mul_1.S: Likewise.
82188         * sysdeps/x86_64/rshift.S: Likewise.
82189         * sysdeps/x86_64/sub_n.S: Likewise.
82190         * sysdeps/x86_64/submul_1.S: Likewise.
82192 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82194         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82195         Define __sched_param instead of SCHED_* and sched_param when
82196         <bits/sched.h> is included with __need_schedparam defined.
82197         * bits/sched.h [__need_schedparam]
82198         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82199         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82200         (__defined_schedparam): Define to 1.
82201         (__sched_param): New structure, identical to sched_param.
82202         (__need_schedparam): Undefine.
82204 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82206         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82207         (epoll_create1): Declare.
82209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82211 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82213         [BZ #7066]
82214         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82215         shifting retval into place.
82217 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82219         * nis/rpcsvc/nis.h: Update copyright notice.
82220         * nis/rpcsvc/nis.x: Likewise.
82221         * nis/rpcsvc/nis_callback.h: Likewise.
82222         * nis/rpcsvc/nis_callback.x: Likewise.
82223         * nis/rpcsvc/nis_object.x: Likewise.
82224         * nis/rpcsvc/nis_tags.h: Likewise.
82225         * nis/rpcsvc/yp.h: Likewise.
82226         * nis/rpcsvc/yp.x: Likewise.
82227         * nis/rpcsvc/ypupd.h: Likewise.
82228         * nis/yp_xdr.c: Likewise.
82229         * nis/ypupdate_xdr.c: Likewise.
82231         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82232         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82233         (pmap_getport): Use __libc_rpc_getport.
82234         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82235         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82236         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82238 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82241         fanotify_mark.
82243 2010-08-27  Roland McGrath  <roland@redhat.com>
82245         * sysdeps/i386/i686/multiarch/Makefile
82246         (CFLAGS-varshift.c): New variable.
82248 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82250         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82251         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82255         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82257 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82259         * sysdeps/x86_64/strlen.S: Unroll the loop.
82260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82261         strlen-sse2 strlen-sse2-bsf.
82262         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82263         __strlen_no_bsf if bit_Slow_BSF is set.
82264         (__strlen_sse42): Removed.
82265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82266         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82268 2010-08-25  Roland McGrath  <roland@redhat.com>
82270         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82271         * sysdeps/x86_64/multiarch/varshift.c: New file.
82272         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82273         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82274         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82275         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82277 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82280         strlen-sse2 strlen-sse2-bsf.
82281         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82282         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82283         (__strlen_sse2): Removed.
82284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82287         bit_Slow_BSF for Atom.
82288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82289         (index_Slow_BSF): Define.
82290         (HAS_SLOW_BSF): Define.
82292 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82294         [BZ #10851]
82295         * resolv/res_init.c (__res_vinit): When no server address at all
82296         is given default to loopback.
82298 2010-08-24  Roland McGrath  <roland@redhat.com>
82300         * configure.in: Remove config-name.h generation.
82301         * configure: Regenerated.
82302         * config-name.in: File removed.
82303         * scripts/config-uname.sh: New file.
82304         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82305         ($(objdir)config-name.h): New target.
82307         * sunrpc/rpc_parse.h: Avoid nested comment.
82309 2010-08-24  Richard Henderson  <rth@redhat.com>
82310             Ulrich Drepper  <drepper@redhat.com>
82311             H.J. Lu  <hongjiu.lu@intel.com>
82313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82315         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82316         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82317         _mm_alignr_epi8 with _mm_loadu_si128.
82318         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82319         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82320         (__m128i_shift_right): Removed.
82321         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82322         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82323         * sysdeps/x86_64/multiarch/varshift.h: New file.
82324         * sysdeps/x86_64/multiarch/varshift.S: New file.
82326 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82328         * configure.in: Move assembler checks to before sysdep dir checking.
82330 2010-08-20  Petr Baudis  <pasky@suse.cz>
82332         * LICENSES: Sync the sunrpc license.
82334 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82336         * sunrpc/auth_des.c: Update copyright notice once again.
82337         * sunrpc/auth_none.c: Likewise.
82338         * sunrpc/auth_unix.c: Likewise.
82339         * sunrpc/authdes_prot.c: Likewise.
82340         * sunrpc/authuxprot.c: Likewise.
82341         * sunrpc/bindrsvprt.c: Likewise.
82342         * sunrpc/clnt_gen.c: Likewise.
82343         * sunrpc/clnt_perr.c: Likewise.
82344         * sunrpc/clnt_raw.c: Likewise.
82345         * sunrpc/clnt_simp.c: Likewise.
82346         * sunrpc/clnt_tcp.c: Likewise.
82347         * sunrpc/clnt_udp.c: Likewise.
82348         * sunrpc/clnt_unix.c: Likewise.
82349         * sunrpc/des_crypt.c: Likewise.
82350         * sunrpc/des_soft.c: Likewise.
82351         * sunrpc/get_myaddr.c: Likewise.
82352         * sunrpc/getrpcport.c: Likewise.
82353         * sunrpc/key_call.c: Likewise.
82354         * sunrpc/key_prot.c: Likewise.
82355         * sunrpc/openchild.c: Likewise.
82356         * sunrpc/pm_getmaps.c: Likewise.
82357         * sunrpc/pm_getport.c: Likewise.
82358         * sunrpc/pmap_clnt.c: Likewise.
82359         * sunrpc/pmap_prot.c: Likewise.
82360         * sunrpc/pmap_prot2.c: Likewise.
82361         * sunrpc/pmap_rmt.c: Likewise.
82362         * sunrpc/rpc/auth.h: Likewise.
82363         * sunrpc/rpc/auth_unix.h: Likewise.
82364         * sunrpc/rpc/clnt.h: Likewise.
82365         * sunrpc/rpc/des_crypt.h: Likewise.
82366         * sunrpc/rpc/key_prot.h: Likewise.
82367         * sunrpc/rpc/netdb.h: Likewise.
82368         * sunrpc/rpc/pmap_clnt.h: Likewise.
82369         * sunrpc/rpc/pmap_prot.h: Likewise.
82370         * sunrpc/rpc/pmap_rmt.h: Likewise.
82371         * sunrpc/rpc/rpc.h: Likewise.
82372         * sunrpc/rpc/rpc_des.h: Likewise.
82373         * sunrpc/rpc/rpc_msg.h: Likewise.
82374         * sunrpc/rpc/svc.h: Likewise.
82375         * sunrpc/rpc/svc_auth.h: Likewise.
82376         * sunrpc/rpc/types.h: Likewise.
82377         * sunrpc/rpc/xdr.h: Likewise.
82378         * sunrpc/rpc_clntout.c: Likewise.
82379         * sunrpc/rpc_cmsg.c: Likewise.
82380         * sunrpc/rpc_common.c: Likewise.
82381         * sunrpc/rpc_cout.c: Likewise.
82382         * sunrpc/rpc_dtable.c: Likewise.
82383         * sunrpc/rpc_hout.c: Likewise.
82384         * sunrpc/rpc_main.c: Likewise.
82385         * sunrpc/rpc_parse.c: Likewise.
82386         * sunrpc/rpc_parse.h: Likewise.
82387         * sunrpc/rpc_prot.c: Likewise.
82388         * sunrpc/rpc_sample.c: Likewise.
82389         * sunrpc/rpc_scan.c: Likewise.
82390         * sunrpc/rpc_scan.h: Likewise.
82391         * sunrpc/rpc_svcout.c: Likewise.
82392         * sunrpc/rpc_tblout.c: Likewise.
82393         * sunrpc/rpc_util.c: Likewise.
82394         * sunrpc/rpc_util.h: Likewise.
82395         * sunrpc/rpcinfo.c: Likewise.
82396         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82397         * sunrpc/rpcsvc/key_prot.x: Likewise.
82398         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82399         * sunrpc/rpcsvc/mount.x: Likewise.
82400         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82401         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82402         * sunrpc/rpcsvc/rex.x: Likewise.
82403         * sunrpc/rpcsvc/rstat.x: Likewise.
82404         * sunrpc/rpcsvc/rusers.x: Likewise.
82405         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82406         * sunrpc/rpcsvc/spray.x: Likewise.
82407         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82408         * sunrpc/rtime.c: Likewise.
82409         * sunrpc/svc.c: Likewise.
82410         * sunrpc/svc_auth.c: Likewise.
82411         * sunrpc/svc_authux.c: Likewise.
82412         * sunrpc/svc_raw.c: Likewise.
82413         * sunrpc/svc_run.c: Likewise.
82414         * sunrpc/svc_simple.c: Likewise.
82415         * sunrpc/svc_tcp.c: Likewise.
82416         * sunrpc/svc_udp.c: Likewise.
82417         * sunrpc/svc_unix.c: Likewise.
82418         * sunrpc/svcauth_des.c: Likewise.
82419         * sunrpc/xcrypt.c: Likewise.
82420         * sunrpc/xdr.c: Likewise.
82421         * sunrpc/xdr_array.c: Likewise.
82422         * sunrpc/xdr_float.c: Likewise.
82423         * sunrpc/xdr_mem.c: Likewise.
82424         * sunrpc/xdr_rec.c: Likewise.
82425         * sunrpc/xdr_ref.c: Likewise.
82426         * sunrpc/xdr_sizeof.c: Likewise.
82427         * sunrpc/xdr_stdio.c: Likewise.
82429         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82430         handling.
82432 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82434         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82436 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82438         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82439         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82440         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82441         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82442         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82443         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82444         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82445         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82447         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82448         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82449         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82450         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82451         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82453 2010-07-26  Anton Blanchard  <anton@samba.org>
82455         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82456         * malloc/arena.c (heap_trim): Likewise.
82458 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82460         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82461         here.  Not...
82462         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82463         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82465 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82467         * sysdeps/i386/elf/Makefile: New file.
82469 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82471         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82472         from fanotify_init.
82473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82476 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82478         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82479         of strncasecmp_l.
82480         * sysdeps/multiarch/strcmp.S: Likewise.
82482 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82484         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82485         strncase_l-nonascii.
82486         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82487         Add strncase_l-ssse3.
82488         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82489         * sysdeps/x86_64/strcmp.S: Likewise.
82490         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82491         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82492         * sysdeps/x86_64/strncase.S: New file.
82493         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82494         * sysdeps/x86_64/strncase_l.S: New file.
82495         * string/Makefile (strop-tests): Add strncasecmp.
82496         * string/test-strncasecmp.c: New file.
82498         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82499         warning.
82501         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82502         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82504 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82506         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82508 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82510         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82511         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82512         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82514 2010-05-01  Alan Modra  <amodra@gmail.com>
82516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82517         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82518         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82519         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82520         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82521         tidying.  Don't tail-call __sigjmp_save for static lib.
82522         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82523         save location.
82524         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82525         (CALL_MCOUNT): Add eh info, and nop after bl.
82526         (TAIL_CALL_SYSCALL_ERROR): New macro.
82527         (PSEUDO_RET): Use it.
82528         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82529         Correct save location of integer regs and cr.
82530         (_dl_profile_resolve): Correct cr save location.  Delete nops
82531         after bl when SHARED.  Reduce cfi size a little by better
82532         placement of cfi directives.
82533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82534         make a stack frame.  Instead use parm save area as a temp.
82535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82536         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82538         Don't make a stack frame for parent, use parm save area.
82539         Increase child stack frame to 112 bytes.  Don't save unused reg,
82540         and adjust reg usage.  Set up cfi on error recovery and
82541         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82543         (__makecontext): Add dummy nop after jump to exit.
82544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82545         Use correct parm save area and cr save, reduce stack frame.
82546         Correct cfi for possible PSEUDO_RET frame setup.
82547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82548         Branch to local label emitted by PSEUDO_RET rather than
82549         __syscall_error.
82551 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82553         [BZ #11904]
82554         * locale/programs/locale.c (print_assignment): New function.
82555         (show_locale_vars): Use it.
82557 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82559         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82560         field.
82561         (struct statfs64): Likewise.
82562         (_STATFS_F_FLAGS): Define.
82563         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82564         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82565         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82566         (ST_VALID): Define locally.
82567         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82568         __statvfs_getflags, use the provided value.
82569         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82570         __ASSUME_STATFS_F_FLAGS.
82572         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82574         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82575         Add sys/fanotify.h.
82576         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82577         fanotify_mask for GLIBC_2.13.
82578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82579         fanotify_init and fanotify_mark.
82580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82581         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82584         Add prlimit.
82585         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82586         prlimit64 for GLIBC_2.13.
82587         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82588         prlimit64.
82589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82590         syscall.
82591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82593         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82594         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82596         add prlimit alias.
82597         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82599         [BZ #11903]
82600         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82601         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82603         * nss/Makefile: Add rules to build and run tst-nss-test1.
82604         * shlib-versions: Add entry for libnss_test1.
82605         * nss/nss_test1.c: New file.
82606         * nss/tst-nss-test1.c: New file.
82608         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82609         (__nss_configure_lookup): Set appropriate entry in
82610         __nss_configure_lookup to true.
82611         * nss/nsswitch.h: Define enum with indeces of databases in
82612         databases and __nss_database_custom arrays.  Declare
82613         __nss_database_custom.
82614         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82615         to avoid using nscd when custom rules are installed.
82616         * nss/getXXbyYY_r.c: Likewise.
82617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82619         * nss/nss_files/files-parse.c: Whitespace fixes.
82621 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82623         [BZ #11883]
82624         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82625         * posix/fnmatch_loop.c: Likewise.
82627 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82629         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82630         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82631         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82632         * Versions.def [GLIBC_2.13]: Add.
82634 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82636         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82637         Also fail if tpwd after pwuid call is NULL.
82639 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82641         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82642         when converting to ms.
82644 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82646         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82647         EOPNOTSUPP errors with ENOTTY.
82648         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82649         EOPNOTSUPP errors with ENOTTY.
82651 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82653         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82654         Add strcasecmp_l-ssse3.
82655         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82656         strcasecmp.
82657         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82658         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82659         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82661 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82663         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82665         * string/Makefile (strop-tests): Add strcasecmp.
82666         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82667         strcasecmp_l-nonascii.
82668         (gen-as-const-headers): Add locale-defines.sym.
82669         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82670         * sysdeps/x86_64/strcasecmp.S: New file.
82671         * sysdeps/x86_64/strcasecmp_l.S: New file.
82672         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82673         * sysdeps/x86_64/locale-defines.sym: New file.
82674         * string/test-strcasecmp.c: New file.
82676         * string/test-strcasestr.c: Test both ends of the range of characters.
82677         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82679 2010-07-29  Roland McGrath  <roland@redhat.com>
82681         [BZ #11856]
82682         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82684 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82686         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82687         for ld.so.
82689 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82691         * manual/memory.texi (Malloc Tunable Parameters): Document
82692         M_PERTURB.
82694 2010-07-26  Roland McGrath  <roland@redhat.com>
82696         [BZ #11840]
82697         * configure.in (-fgnu89-inline check): Set and substitute
82698         gnu89_inline, not libc_cv_gnu89_inline.
82699         * configure: Regenerated.
82700         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82702 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82704         * string/test-strnlen.c: New file.
82705         * string/Makefile (strop-tests): Add strnlen.
82706         * string/tester.c (test_strnlen): Add a few more test cases.
82707         * string/tst-strlen.c: Better error reporting.
82709         * sysdeps/x86_64/strnlen.S: New file.
82711 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82713         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82714         lower-latency instructions.
82716 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82718         * string/test-strcasestr.c: New file.
82719         * string/test-strstr.c: New file.
82720         * string/Makefile (strop-tests): Add strstr and strcasestr.
82721         * string/str-two-way.h: Don't undefine MAX.
82722         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82724 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82727         strcasestr-nonascii.
82728         (CFLAGS-strcasestr-nonascii.c): Define.
82729         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82730         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82731         Remove unused attribute.
82733 2010-07-20  Roland McGrath  <roland@redhat.com>
82735         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82736         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82737         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82738         like LD_HWCAP_MASK can disable hwcaps.
82740 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82742         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82744 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82746         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82747         call in strcasestr.
82748         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82749         __strcasestr_sse42_nonascii.
82750         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82751         strcasestr-nonascii.c.
82752         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82754 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82756         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82757         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82758         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82761 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82763         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82764         fcntl.
82766 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82768         [BZ #11577]
82769         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82770         dl_signal_cerror.
82772 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82774         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82775         _PC_PIPE_BUF using F_GETPIPE_SZ.
82777 2010-07-05  Roland McGrath  <roland@redhat.com>
82779         * manual/arith.texi (Rounding Functions): Fix rint description
82780         implicit in round description.
82782 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82784         * elf/Makefile: Fix linking for a few tests to make recent linker
82785         happy.
82787 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82789         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82790         $(common-objpfx)libc_nonshared.a.
82792 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82794         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82795         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82796         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82797         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82798         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82799         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82800         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82801         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82816         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82817         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82818         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82819         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82820         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82821         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82822         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82823         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82824         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82825         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82826         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82827         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82843 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82845         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82846         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82847         * string/memmove.c (memmove): Renamed to ...
82848         (MEMMOVE): ...this.  Default to memmove.
82849         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82850         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82851         (END_CHK): Define.
82852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82853         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82854         mempcpy-ssse3-back memmove-ssse3-back.
82855         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82858         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82859         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82860         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82861         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82862         * sysdeps/x86_64/multiarch/memmove.c: New file.
82863         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82864         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82865         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82866         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82867         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82868         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82869         Define.
82870         (index_Fast_Copy_Backward): Define.
82871         (HAS_ARCH_FEATURE): Define.
82872         (HAS_FAST_REP_STRING): Define.
82873         (HAS_FAST_COPY_BACKWARD): Define.
82875 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82877         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82878         Restore proper fallback handling.
82880 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82882         [BZ #11701]
82883         * posix/group_member.c (__group_member): Correct checking loop.
82885         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82886         OOM in getpwuid_r correctly.  Return error number when the caller
82887         should return, otherwise -1.
82888         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82889         call returning > 0 value.
82890         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82892 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82894         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82895         libc_nonshared.a from targets in modules-names.
82897 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82899         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82900         requires it.
82902 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82904         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82905         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82907         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82909 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82911         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82913 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82915         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82916         and F_GETPIPE_SZ.
82917         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82918         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82921         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82922         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82924 2010-06-14  Roland McGrath  <roland@redhat.com>
82926         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82928 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82930         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82931         __REDIRECT followed by __THROW.
82932         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82933         * posix/getopt.h (getopt): Likewise.
82935 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82937         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82938         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82939         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82940         in AT_FLAGS.
82941         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82942         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82944 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82946         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82948 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82950         [BZ #11640]
82951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82952         Properly check family and model.
82954 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82956         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82958 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82960         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82962 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82964         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82965         symbol reference.
82967 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82969         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82970         symbol reference.
82972 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82974         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82975         and internal_recvmmsg.
82976         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82977         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82978         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82979         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82981         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82982         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82983         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82985 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82987         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82989 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82991         POWER7 optimizations.
82992         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82993         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82995 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82997         * version.h: Update for 2.13 development version.
82999 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83001         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83002         exceptions.  Return 0.
83004 2010-05-07  Roland McGrath  <roland@redhat.com>
83006         * elf/ldconfig.c (main): Add a const.
83008 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83010         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83011         (args_options): Add no-idn option.
83012         (ahosts_keys_int): Add idn_flags to ai_flags.
83013         (parse_option): Handle 'i' option to clear idn_flags.
83015         * malloc/malloc.c (_int_free): Possible race in the most recently
83016         added check.  Only act on the data if no current modification
83017         happened.
83019 See ChangeLog.17 for earlier changes.