S390: Regenerate ULPs.
[glibc.git] / ChangeLog
blob1be316c0727bc2509f7b6b69f76527295e023df5
1 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
8         Add -fno-optimize-sibling-calls.
10 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13         New declaration.
14         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
15         macro.
16         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
17         New macro.
18         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
19         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
20         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
21         (llogbf): Likewise.
22         (llogbl): Likewise.
23         * math/Makefile (gen-libm-calls): Add w_llogbF.
24         (tests): Add test-fp-llogb-constants.
25         * math/w_llogb_template.c: New file.  Based on
26         math/w_ilogb_template.c.
27         * math/libm-test.inc (llogb_test_data): New array.
28         (llogb_test): New function.
29         (main): Call llogb_test.
30         * math/test-fp-llogb-constants.c: New file.  Based on
31         math/test-fp-ilogb-constants.c.
32         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
33         (do_test): Call check_return_llogb.
34         * math/test-tgmath.c (NCALLS): Increase to 126.
35         (F(compile_test)): Call llogb.
36         (F(llogb)): New function.
37         * manual/math.texi (Exponents and Logarithms): Document llogb,
38         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
39         * manual/libm-err-tab.pl (@all_functions): Add llogb.
40         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
41         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
42         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
43         (CFLAGS-nldbl-llogb.c): New variable.
44         * sysdeps/nacl/libm.abilist: Update.
45         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
47         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
58         Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
60         Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
62         Likewise.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
64         Likewise.
65         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
71         Likewise.
72         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
73         Likewise.
74         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
78 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
81         _Float128 instead of long double.
82         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
84         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
85         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
86         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
87         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
88         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
89         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
90         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
91         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
92         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
93         Likewise.
95 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
97         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
98         Remove redirection to __strrchr_ppc.
100 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
102         * sysdeps/powerpc/powerpc64/multiarch/Makefile
103         (sysdep_routines): Add strcmp_power9.
104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
105         (strcmp): Add __strcmp_power9 to list of strcmp functions.
106         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
107         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
108         (strcmp): Add __strcmp_power9 to ifunc list.
109         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
111 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
113         * bits/fp-logb.h: New file.
114         * sysdeps/ia64/bits/fp-logb.h: Likewise.
115         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
116         * sysdeps/x86/bits/fp-logb.h: Likewise.
117         * math/Makefile (headers): Add bits/fp-logb.h.
118         * math/math.h: Include <bits/fp-logb.h>.
119         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
120         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
121         * bits/mathdef.h (FP_ILOGB0): Remove.
122         (FP_ILOGBNAN): Likewise.
123         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
124         (FP_ILOGBNAN): Likewise.
125         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
126         (FP_ILOGBNAN): Likewise.
127         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
128         (FP_ILOGBNAN): Likewise.
129         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
130         (FP_ILOGBNAN): Likewise.
131         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
132         (FP_ILOGBNAN): Likewise.
133         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
134         (FP_ILOGBNAN): Likewise.
135         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
136         (FP_ILOGBNAN): Likewise.
137         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
138         (FP_ILOGBNAN): Likewise.
139         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
140         (FP_ILOGBNAN): Likewise.
142         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
143         time module.
144         (Context.__init__): Initialize self.logsdir_old.
145         (Context.run_builds): Handle bot action.
146         (Context.bot_cycle): Copy logs directory before running builds.
147         (Context.bot_run_self): Take argument for whether to check
148         subprocess result.  Flush stdout before running subprocess.
149         (Context.bot): New function.
150         (get_parser): Allow bot action.
152 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
154         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
155         Import email.mime.text, email.utils and smtplib modules.
156         (Context.__init__): Initialize self.bot_config_json.
157         (Context.run_builds): Handle bot-cycle action.
158         (Context.load_bot_config_json): New function.
159         (Context.part_build_old): Likewise.
160         (Context.bot_cycle): Likewise.
161         (Context.bot_build_mail): Likewise.
162         (Context.bot_run_self): Likewise.
163         (get_parser): Allow bot-cycle action.
165 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
167         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
168         Remove redirection to __stpcpy_ppc.
170 2016-11-30  Florian Weimer  <fweimer@redhat.com>
172         Remove __libc_memalign from ld.so because it is unused.
173         * elf/dl-minimal.c: Update comment on the malloc implementation.
174         (malloc): Renamed from __libc_memalign, replacing the original
175         malloc implementation.  Replace the align parameter with
176         MALLOC_ALIGNMENT.
177         * elf/Versions (ld): Update comment and remove __libc_memalign.
178         * sysdeps/nacl/ld.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
187         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
188         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
190         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
191         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
205         * sysdeps/generic/localplt.data (ld.so): Likewise.
206         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
207         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
208         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
209         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
210         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
211         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
212         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
213         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
214         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
216         (ld.so): Likewise.
217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
218         (ld.so): Likewise.
219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
220         Likewise.
221         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
222         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
223         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
224         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
225         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
227 2016-11-30  Florian Weimer  <fweimer@redhat.com>
229         [BZ #16628]
230         Implement _dl_catch_error, _dl_signal_error in libc.so.
231         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
232         (catch_hook): Define as thread-local or regular variable,
233         depending on DL_ERROR_BOOTSTRAP.
234         (CATCH_HOOK): Remove.
235         (dl_signal_error, _dl_catch_error): Use
236         catch_hook.  Add hidden definition for libc.
237         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
238         for DL_ERROR_BOOTSTRAP only.
239         * elf/dl-error.c: New file.
240         * elf/dl-error-minimal.c: Likewise.
241         * elf/tst-latepthread.c: Likewise.
242         * elf/tst-latepthreadmod.c: Likewise.
243         * elf/Makefile (routines): Add dl-error.
244         (dl-routines): Remove dl-error.
245         (rtld-routines): Add dl-error-minimal.
246         [build-shared] (tests): Add tst-latepthread.
247         (module-names): Add tst-latepthreadmod.
248         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
249         symbol.
250         (tst-latepthreadmod.so): Link against libpthread.
251         (tst-latepthread): Link against libdbl.
252         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
253         _dl_catch_error.
254         [ld] (GLIBC_PRIVATE): Likewise.
255         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
256         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
257         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
258         directly.
259         * elf/dl-tsd.c: Remove file.
260         * elf/rtld.c (_rtld_global_ro): Remove initializers for
261         _dl_catch_error, _dl_signal_error.
262         (_dl_initial_error_catch_tsd): Remove definition.
263         (do_preload): Remove initialization of dl_error_catch_tsd.
264         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
265         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
266         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
267         * dlfcn/dlopen.c (dlopen_doit): Likewise.
268         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
269         set dl_error_catch_tsd.
270         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
271         _dl_error_catch_tsd member.
272         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
273         members.
274         (_dl_initial_error_catch_tsd): Remove declaration.
275         (_dl_dprintf): Provide definition for use outside of ld.so.
276         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
277         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
278         prototype for libc.
279         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
280         _dl_catch_error.
281         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
282         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
283         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
284         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
285         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
286         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
287         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
288         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
289         Likewise.
290         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
292         (ld.so): Likewise.
293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
294         (ld.so): Likewise.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
296         Likewise.
297         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
298         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
299         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
300         Likewise.
301         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
302         Likewise.
303         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
305 2016-11-30  Florian Weimer  <fweimer@redhat.com>
307         [BZ #4099]
308         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
309         _IO_BUFSIZ (8192).
311 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
313         * PROJECTS: Remove file.
315 2016-11-29  Florian Weimer  <fweimer@redhat.com>
317         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
319 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
320             Steve Ellcey  <sellcey@caviumnetworks.com>
322         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
323         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
324         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
325         fxstatat.
326         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
327         lxstat.
328         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
329         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
330         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
331         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
332         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
333         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
334         __xstat.
336 2016-11-29  Florian Weimer  <fweimer@redhat.com>
338         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
339         Define.
340         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
341         definition.
343 2016-11-29  Florian Weimer  <fweimer@redhat.com>
345         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
346         version and turn into strong alias.  Remove compat symbol.
348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
349         (__longjmp): Remove.
351 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
353         * bits/fp-fast.h: New file.
354         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
355         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
356         * math/Makefile (headers): Add bits/fp-fast.h.
357         * math/math.h: Include <bits/fp-fast.h>.
358         * bits/mathdef.h (FP_FAST_FMA): Remove.
359         (FP_FAST_FMAF): Likewise.
360         (FP_FAST_FMAL): Likewise.
361         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
362         (FP_FAST_FMAF): Likewise.
363         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
364         (FP_FAST_FMAF): Likewise.
365         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
366         (FP_FAST_FMAF): Likewise.
367         (FP_FAST_FMAL): Likewise.
368         * sysdeps/arm/bits/mathdef.h: Remove file.
369         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
370         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
371         * sysdeps/tile/bits/mathdef.h: Likewise.
373 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
375         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
376         * math/w_ilogb.c: Remove.
377         * math/w_ilogbf.c: Likewise.
378         * math/w_ilogbl.c: Likewise.
379         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
380         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
381         * math/Makefile (gen-libm-calls): Add w_ilogbF.
382         (libm-calls): Remove w_ilogbF.
383         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
384         (LDOUBLE_ilogbl_libm_version): New macro.
386         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
388         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
389         [!__STRICT_ANSI__ && !__cplusplus].
391 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
393         [BZ #20750]
394         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
395         of PIC.
397 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
398             Yury Norov  <ynorov@caviumnetworks.com>
399             Steve Ellcey  <sellcey@caviumnetworks.com>
401         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
402         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
403         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
404         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
405         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
406         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
407         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
408         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
409         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
410         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
411         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
412         to get correct reg name for ILP32.
413         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
414         (RELA_SIZE): New Macro.
415         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
416         to support ILP32.
417         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
418         cast for ILP32 mode.
419         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
420         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
421         * sysdeps/aarch64/memset.S (__memset): Ditto.
422         * sysdeps/aarch64/strchr.S (strchr): Ditto.
423         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
424         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
425         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
426         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
427         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
428         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
429         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
430         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
431         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
432         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
433         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
434         change PTR_MANGLE call to use register numbers instead of names.
435         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
436         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
437         ILP32 mode, change PTR_MANGLE calls to use register numbers.
438         * sysdeps/aarch64/start.S (_start): Ditto.
439         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
440         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
441         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
442         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
443         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
444         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
445         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
446         Make defined values dependent on __ILP32__.
447         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
448         (sem_t): Change __align type.
449         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
450         PTR_SIZE): New Macros.
451         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
452         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
453         Set when in ILP32 mode.
454         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
455         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
456         Set elf flags for ILP32.
457         (add_system_dir): Set ILP32 library directories.
458         * sysdeps/unix/sysv/linux/aarch64/init-first.c
459         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
460         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
461         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
462         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
463         New Macros.
464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
466 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
468         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
469         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
470         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
472 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
474         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
475         <asm/cachectl.h>.
477 2016-11-27  Zack Weinberg  <zackw@panix.com>
479         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
480         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
482 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
484         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
485         error_t to fix usage in C++ programs.
487 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
489         * scripts/build-many-glibcs.py: Import datetime module.
490         (Context.__init__): Load JSON build state.  Initialize list of
491         status logs.
492         (Context.run_builds): Update saved build state.
493         (Context.add_makefile_cmdlist): Update list of status logs.
494         (Context.load_build_state_json): New function.
495         (Context.store_build_state_json): Likewise.
496         (Context.clear_last_build_state): Likewise.
497         (Context.update_build_state): Likewise.
498         (CommandList.status_logs): Likewise.
500 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
502         * scripts/build-many-glibcs.py (Context.__init__): Save text of
503         script being executed.
504         (Context.get_script_text): New function.
505         (Context.exec_self): Likewise.
506         (Context.checkout): Re-exec script if changed by checkout process.
508 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
510         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
511         (setpayloadsig): New declaration.
512         * math/Versions (setpayloadsig): New libm symbol at version
513         GLIBC_2.25.
514         (setpayloadsigf): Likewise.
515         (setpayloadsigl): Likewise.
516         * math/Makefile (libm-calls): Add s_setpayloadsigF.
517         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
518         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
519         (setpayloadsig_test_data): New array.
520         (setpayloadsig_test): New function.
521         (main): Call setpayloadsig_test.
522         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
523         setpayloadsigf and setpayloadsigl.
524         * manual/libm-err-tab.pl: Update comment on interfaces without
525         ulps tabulated.
526         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
527         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
528         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
529         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
530         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
531         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
532         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
533         setpayloadsig.
534         (CFLAGS-nldbl-setpayloadsig.c): New variable.
535         * sysdeps/nacl/libm.abilist: Update.
536         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
547         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
549         Likewise.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
551         Likewise.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
553         Likewise.
554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
555         Likewise.
556         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
559         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
560         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
562         Likewise.
563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
564         Likewise.
565         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
567         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
569         * scripts/build-many-glibcs.py: Import json module.
570         (Context.__init__): Take replace_sources argument.  Load
571         versions.json.
572         (Context.load_versions_json): New function.
573         (Context.store_json): Likewise.
574         (Context.store_versions_json): Likewise.
575         (Context.set_component_version): Likewise.
576         (Context.checkout): Update versions.json.  Check for and handle
577         changes of version.  Prefer previously explicitly specified
578         version to default version.
579         (Context.checkout_vcs): Return a revision identifier.
580         (Context.git_checkout): Likewise.
581         (Context.gcc_checkout): Likewise.
582         (get_parser): Add --replace-sources option.
583         (main): Pass replace_sources argument to Context call.
585 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
587         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
588         * nptl/allocatestack.c (allocate_stack): Likewise.
589         (__reclaim_stacks): Likewise.
590         (setxid_signal_thread): Obtain pid through syscall.
591         * nptl/nptl-init.c (sigcancel_handler): Likewise.
592         (sighandle_setxid): Likewise.
593         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
594         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
595         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
596         Likewise.
597         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
598         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
599         comment.
600         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
601         * nptl/descr.h (struct pthread): Change comment about pid value.
602         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
603         pid assert.
604         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
605         Do not set pid value.
606         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
607         pid cache check.
608         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
609         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
610         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
611         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
612         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
614         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
615         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
616         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
617         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
618         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
619         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
620         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
621         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
622         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
623         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
624         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
625         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
626         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
627         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
628         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
629         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
630         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
631         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
632         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
635         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
636         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
637         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
638         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
639         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
640         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
641         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
642         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
643         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
644         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
645         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
646         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
647         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
648         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
649         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
650         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
653         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
654         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
655         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
656         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
657         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
658         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
659         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
660         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
661         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
662         struct access.
663         (clone_test): Remove function.
664         (do_test): Rewrite to take in consideration pid is not cached anymore.
666 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
668         * bits/flt-eval-method.h: New file.
669         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
670         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
671         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
672         * math/Makefile (headers): Add bits/flt-eval-method.h.
673         * math/math.h: Include <bits/flt-eval-method.h>.
674         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
675         [__USE_ISOC99] (double_t): Likewise.
676         * bits/mathdef.h (float_t): Remove.
677         (double_t): Likewise.
678         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
679         (double_t): Likewise.
680         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
681         (double_t): Likewise.
682         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
683         (double_t): Likewise.
684         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
685         (double_t): Likewise.
686         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
687         (double_t): Likewise.
688         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
689         (double_t): Likewise.
690         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
691         (double_t): Likewise.
692         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
693         (double_t): Likewise.
694         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
695         (double_t): Likewise.
696         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
697         (double_t): Likewise.
698         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
699         (double_t): Likewise.
700         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
701         (double_t): Likewise.
702         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
703         (double_t): Likewise.
705 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
707         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
708         instead of PIC.
710 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #20859]
713         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
714         (-0x7fffffff) instead of 0x80000001.
715         * math/test-fp-ilogb-constants.c: New file.
716         * math/Makefile (tests): Add test-fp-ilogb-constants.
718 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
720         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
721         (_init): Use it in place of hardcoded R_MIPS_JALR.
722         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
723         (_init): Use it in place of hardcoded R_MIPS_JALR.
724         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
725         (_init): Use it in place of hardcoded R_MIPS_JALR.
727 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
729         [BZ #20787]
730         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
731         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
732         (double_t): Do not define to double if [__x86_64__] when
733         __FLT_EVAL_METHOD__ is nonzero.
734         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
735         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
736         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
737         test-flt-eval-method-387 and test-flt-eval-method-sse.
738         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
739         variable.
740         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
742 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
744         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
745         use of -fno-isolate-erroneous-paths options for tilepro.
747 2016-11-23  Florian Weimer  <fweimer@redhat.com>
749         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
750         structure initialization is no longer needed.
752 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #20855]
755         * bits/mathdef.h (float_t): Define to float.
756         * math/test-flt-eval-method.c: New file.
757         * math/Makefile (tests): Add test-flt-eval-method.
758         (CFLAGS-test-flt-eval-method.c): New variable.
760 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
762         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
763         and __fstatfs.  Make them aliases of __fstatfs64 if
764         STATFS_IS_STATFS64 is set to non-zero.
765         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
766         and __statfs64.
767         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
768         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
769         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
770         for __statfs and statfs.
771         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
772         to 0.
773         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
774         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
775         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
776         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
777         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
778         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
781         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
782         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
783         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
784         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
786 2016-11-22  Andreas Schwab  <schwab@suse.de>
788         * misc/mkstemp.c: Include <fcntl.h>.
789         * misc/mkstemps.c: Likewise.
790         * misc/mkostemp.c: Likewise.
791         * misc/mkostemps.c: Likewise.
793 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
795         [BZ #20847]
796         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
797         array bounds.
798         (__execvpe): Likewise.
800 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
802         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
803         -fno-isolate-erroneous-paths options for tilepro.
805 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
807         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
808         to 0 when in 32 bit mode.
809         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
810         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
811         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
812         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
814         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
815         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
816         XSTAT_IS_XSTAT64 test.
817         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
818         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
819         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
820         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
821         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
822         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
823         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
824         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
825         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
826         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
827         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
829 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
831         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
832         (setpayload): New declaration.
833         * math/Versions (setpayload): New libm symbol at version
834         GLIBC_2.25.
835         (setpayloadf): Likewise.
836         (setpayloadl): Likewise.
837         * math/Makefile (libm-calls): Add s_setpayloadF.
838         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
839         test_Ff_b1_data.
840         (RUN_TEST_Ff_b1): New macro.
841         (RUN_TEST_LOOP_Ff_b1): Likewise.
842         (canonicalize_test_data): Update type.
843         (setpayload_test_data): New array.
844         (setpayload_test): New function.
845         (main): Call setpayload_test.
846         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
847         setpayloadf and setpayloadl.
848         * manual/libm-err-tab.pl: Update comment on interfaces without
849         ulps tabulated.
850         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
851         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
852         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
853         Likewise.
854         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
855         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
856         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
857         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
858         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
859         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
860         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
861         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
862         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
863         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
864         setpayload.
865         (CFLAGS-nldbl-setpayload.c): New variable.
866         * sysdeps/nacl/libm.abilist: Update.
867         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
868         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
869         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
870         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
871         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
872         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
873         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
874         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
878         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
880         Likewise.
881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
882         Likewise.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
884         Likewise.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
886         Likewise.
887         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
888         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
889         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
890         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
891         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
893         Likewise.
894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
895         Likewise.
896         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
897         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
898         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
900 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
902         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
903         * include/unistd.h: Extend comment about __access_noerrno return
904         semantics.
905         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
906         (access_common): Correct typo for EACCES.
908 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
910         * sysdeps/tile/math-tests.h: New file.
912         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
913         (__old_set_dataplane): Rename from set_dataplane and make a
914         compatibility symbol.
915         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
916         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
917         sys/dataplane.h.
919 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
921         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
922         script quote words in command output to log suitably for input to
923         the shell.
925 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
926             Maciej W. Rozycki  <macro@imgtec.com>
928         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
929         `.Lno_weak_fn' label.
930         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
931         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
933 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
934             Yury Norov  <ynorov@caviumnetworks.com>
936         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
937         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
938         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
939         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
940         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
942         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
943         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
944         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
945         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
946         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
947         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
948         (sysdep_routines): Remove oldgetrlimit64.
949         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
950         (sysdep_routines): Likewise.
951         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
952         (sysdep_routines): Likewise.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
954         [$(subdir) = resource] (sysdep_routines): Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
956         [$(subdir) = resource] (sysdep_routines): Likewise.
957         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
958         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
959         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
960         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
961         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
963         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
964         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
965         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
966         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
967         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
968         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
969         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
970         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
971         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
972         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
973         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
974         setrlimit and getrlimit.
975         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
977         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
980         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
981         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
982         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
984         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
985         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
986         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
987         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
988         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
989         (__old_getrlimit64): Add compatibility symbol.
990         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
992 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
994         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
995         newly built gmp, mpfr and mpc.
997         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
999 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1001         * conform/Makefile (linknamespace-libs): Rename to
1002         linknamespace-libs-thr.
1003         (linknamespace-libs-posix): New variable.
1004         (linknamespace-libs-xsi): Likewise.
1005         (linknamespace-libs-XPG3): Include libcrypt.a.
1006         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1007         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1008         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1009         (linknamespace-libs-XOPEN2K): Likewise.
1010         (linknamespace-libs-XOPEN2K8): Likewise.
1011         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1013         [BZ #20829]
1014         * stdio-common/Versions (__snprintf): Add to version
1015         GLIBC_PRIVATE.
1016         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1017         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1018         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1019         of snprintf.
1020         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1022 2016-11-16  Zack Weinberg  <zackw@panix.com>
1024         * string/string.h: Remove obsolete comment stating that
1025         strcoll_l and strxfrm_l have not yet been standardized.
1027 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1029         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1030         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1031         __access_noerrno.
1032         * io/access.c (__access_noerrno): New function.
1033         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1034         (hurd_fail_seterrno): Likewise.
1035         (access_common): Likewise.
1036         (__access_noerrno): Likewise.
1037         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1038         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1039         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1040         macro.
1042 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1045         Only declare fpregs if [__SH_FPU_ANY__].
1047 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1049         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1050         Make code unconditional.
1051         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1053 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1055         * manual/sysinfo.texi (S_APPEND): Delete.
1056         (S_IMMUTABLE): Likewise.
1058 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1059             Magnus Granberg  <zorry@gentoo.org>
1060             Mike Frysinger  <vapier@gentoo.org>
1062         [BZ #20662]
1063         * configure.ac (libc_cv_predef_stack_protector): Also check for
1064         __stack_chk_fail_local symbols.
1065         * configure: Regenerated.
1067 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1069         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1070         (libc_hidden_def): Remove redefinition.
1071         (__sigsetjmp): Add hidden definition.
1072         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1073         (libc_hidden_def): Remove redefinition.
1074         (__sigsetjmp): Add hidden definition.
1076 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1078         * scripts/build-many-glibcs.py (os.path): Do not import.
1079         (Context): Inherit explicitly from object.  Remove blank line
1080         between class and docstring.
1081         (Config): Likewise.
1082         (Glibc): Likewise.
1083         (Command): Likewise.
1084         (CommandList): Likewise.
1085         (Context.write_files): Store chmod mode in a variable.
1087         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1088         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1089         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1091 2016-11-14  Zack Weinberg  <zackw@panix.com>
1093         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1094         creating or re-creating it.
1096         * string/bits/string2.h: Fix typo in comment.
1098 2016-11-14  Zack Weinberg  <zackw@panix.com>
1100         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1101         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1102         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1103         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1104         of redirected function names.
1106         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1107         as well.  Document that MESSAGE must be a single string literal.
1109 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1111         * scripts/build-many-glibcs.py: New file.
1113         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1114         (do_test): Disable -Wmaybe-uninitialized around uses of
1115         except_mask.
1117         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1119 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1121         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1122         (atomic_store_release): Provide tilepro-specific implementations.
1124 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1126         * math/math.h (__MATH_TG): New macro.
1127         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1128         [__USE_ISOC99] (signbit): Likewise.
1129         [__USE_ISOC99] (isfinite): Likewise.
1130         [__USE_ISOC99] (isnan): Likewise.
1131         [__USE_ISOC99] (isinf): Likewise.
1132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1134         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1135         __MATH_TG and __MATH_EVAL_FMT2.
1136         * sysdeps/generic/math_private.h (fabs_tg): Define using
1137         __MATH_TG.
1138         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1139         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1140         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1141         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1142         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1143         macro.
1144         (__iscanonical): Likewise.
1145         (iscanonical): Define using __MATH_TG.
1147 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1149         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1150         guards.
1152         * sysdeps/unix/sysv/linux/access.c: New file.
1153         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1155 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1157         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1158         and __WORDSIZE32_PTRDIFF_LONG.
1160 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1162         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1164 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1166         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1167         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1168         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1170         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1172         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1173         * sysdeps/unix/sysv/linux/truncate.c: New file.
1174         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1175         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1176         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1177         Remove.
1178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1179         Likewise.
1181         * posix/tst-truncate-common.c: New file.
1182         * posix/tst-truncate.c: Use tst-truncate-common.c.
1183         * posix/tst-truncate64.c: Likewise and add LFS tests.
1184         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1185         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1186         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1187         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1188         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1190         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1191         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1192         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1193         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1194         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1195         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1196         Remove.
1197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1198         Likewise.
1200 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1202         [BZ #20790]
1203         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1204         to MAXLINESIZE.
1205         * sunrpc/bug20790.x: New file.
1206         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1207         variable.
1208         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1209         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1211         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1213         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1215         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1216         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1217         calloc, realloc, free, memalign and __libc_memalign rather than
1218         making them optional.
1220         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1221         for libc.so.
1223 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1225         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1226         ptw-lseek64.
1227         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1228         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1229         Likewise.
1230         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1231         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1232         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1233         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1234         * sysdeps/unix/sysv/linux/lseek.c: New file.
1235         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1236         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1237         __libc_lseek64 from auto-generation.
1238         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1239         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1241 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1243         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1244         * nptl/tst-cleanup1.c (do_test): Likewise.
1245         * nptl/tst-cleanup3.c (do_test): Likewise.
1246         * nptl/tst-key1.c (do_test): Likewise.
1247         * nptl/tst-key2.c (tf, do_test): Likewise.
1248         * nptl/tst-key3.c (tf, do_test): Likewise.
1249         * nptl/tst-stdio1.c (do_test): Likewise.
1250         * nptl/tst-stdio2.c (do_test): Likewise.
1252         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1253         * nptl/tst-kill6.c (handler): Likewise.
1254         * nptl/tst-tls2.c (CB): Likewise.
1255         * nptl/tst-tls3.c (CB): Likewise.
1257 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1259         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1261 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1262             Steve Ellcey  <sellcey@caviumnetworks.com>
1264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1265           __ASSUME_ST_INO_64_BIT as 0
1266         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1267         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1268           over the code where __ASSUME_ST_INO_64_BIT is used.
1269         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1270         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1271         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1273 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1275         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1276         Document ABI exposure of the __kind offset.
1277         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1278         Mention reason for the __kind offset exposure in the ABI.
1279         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1280         Likewise.
1281         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1282         Likewise.
1283         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1284         Likewise.
1285         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1286         (struct __pthread_mutex_s): Likewise.
1287         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1288         Likewise.
1289         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1290         Likewise.
1291         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1292         Likewise.
1293         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1294         Likewise.
1295         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1296         Likewise.
1297         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1298         Likewise.
1299         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1300         (struct __pthread_mutex_s): Likewise.
1301         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1302         (struct __pthread_mutex_s): Likewise.
1303         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1304         Likewise.
1306 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1308         * test-skeleton.c: Document do_test usage.
1310 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1312         * iconv/gconv.h (__gconv_info): Define __data element using a
1313         zero-length array.
1315 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1317         * math/test-tgmath2.c: Split up test function.
1319 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1321         * Rules (tests-expected): New variable, depending on
1322         $(run-built-tests).
1323         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1324         $(tests).
1326         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1327         $(tests-unsupported).
1329 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1331         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1332         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1334 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1336         [BZ #20768]
1337         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1338         __fegetenv instead of fegetenv.
1340         [BZ #14139]
1341         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1342         (find_files): Obtain platform name from libm-test-ulps-name and
1343         store in %pplatforms.
1344         (canonicalize_platform): Remove.
1345         (print_platforms): Use $pplatforms directly.
1346         (by_platforms): Do not allow for platforms missing from
1347         %pplatforms.
1348         * sysdeps/aarch64/libm-test-ulps-name: New file.
1349         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1350         * sysdeps/arm/libm-test-ulps-name: Likewise.
1351         * sysdeps/generic/libm-test-ulps-name: Likewise.
1352         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1353         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1354         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1355         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1356         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1357         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1358         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1359         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1360         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1361         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1362         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1363         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1364         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1365         * sysdeps/sh/libm-test-ulps-name: Likewise.
1366         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1367         * sysdeps/tile/libm-test-ulps-name: Likewise.
1368         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1370         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1372         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1373         (test-xfail-check-execstack): New variable.
1375         * sysdeps/mips/localplt.data: New file.
1377 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1378             Steve Ellcey  <sellcey@caviumnetworks.com>
1380         * bits/wordsize.h: Add documentation.
1381         * sysdeps/aarch64/bits/wordsize.h : New file
1382         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1383         definitions.
1384         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1385         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1386         with #if instead of #ifdef.
1387         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1388         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1389         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1390         Add or change defines.
1391         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1392         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1393         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1394         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1395         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1396         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1397         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1398         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1399         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1400         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1401         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1402         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1403         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1404         * sysdeps/x86/bits/wordsize.h: Likewise.
1406 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1407             Kevin Petit  <kevin.petit@arm.com>
1409         * sysdeps/aarch64/memchr.S (__memchr): New file.
1411 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1415 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1417         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1418         $(linknamespace-symlists-tests).
1420 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1422         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1424 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1425             Carlos O'Donell  <carlos@redhat.com>
1427         [Bug #20729]
1428         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1429         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1430         for -Os related change.
1432 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1434         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1436 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1438         [BZ #19673]
1439         * manual/math.texi (Exponents and Logarithms): Correct description
1440         of clog10.
1442 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1444         [Bz #20729]
1445         * locale/weight.h: Include libc-internal.h.
1446         * locale/weightwc.h: Likewise.
1447         * nptl/nptl_dbP.h: Likewise.
1449 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1451         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1452         when it is MACH_PORT_NULL.
1454 2016-10-31  Andreas Schwab  <schwab@suse.de>
1456         [BZ #20707]
1457         * posix/glob.c (glob): Initialize pglob before checking for
1458         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1459         valid brace expression despite GLOB_BRACE.
1460         * posix/globtest.sh: Test it.
1462 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1464         [BZ #20729]
1465         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1466         Define.
1467         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1468         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1469         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1470         for seq2.back_us and seq1.back_us only for -Os compiles.
1471         * locale/weightwc.h (findix): Likewise.
1472         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1473         DB_GET_FIELD_ADDRESS only for -Os compiles.
1474         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1475         for slen only for -Os compiles.
1476         * string/strcoll_l.c (get_next_seq): Ignore
1477         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1478         for -Os compiles.
1480         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1481         * include/crypt.h: New file.
1483 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1485         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1486         from test-skeleton.c.
1487         (statclass): Replace calls to write with calls to write_message.
1489 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1491         * math/math.h
1492         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1493         New macro.
1494         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1495         Likewise.
1496         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1497         Likewise.
1498         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1499         SNANL.
1500         * math/test-double.h (snan_value_MACRO): New macro.
1501         * math/test-float.h (snan_value_MACRO): Likewise.
1502         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1503         * math/libm-test.inc (issignaling_test_data): Add tests of
1504         snan_value_MACRO.
1506 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1508         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1509         behavior when eliding a lock not held by the current thread.
1510         * sysdeps/powerpc/nptl/elide.h: Likewise.
1512 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1514         [BZ #20728]
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1516         branch to _exit() by a function call.
1518 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1520         * malloc/malloc.c: Update chunk layout comments.
1521         (chunk_main_arena): Update comment.
1523 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1525         * crypt/sha256.c, crypt/sha256-block.c,
1526         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1527         sha256_process_block to __sha256_process_block.
1528         * crypt/sha512.c, crypt/sha512-block.c,
1529         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1530         sha512_process_block to __sha512_process_block.
1532 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1534         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1536         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1538 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1540         [BZ #20019]
1541         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1542         definition in unrelocated shared library.
1543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1545 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1547         [BZ #20729]
1548         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1549         * sysdeps/unix/sysv/linux/i386/Makefile
1550         (uses-6-syscall-arguments): Define.
1551         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1552         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1553         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1554         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1555         Likewise.
1556         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1557         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1558         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1559         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1560         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1561         (CFLAGS-fallocate64.os): Likewise.
1562         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1563         (CFLAGS-pthread_rwlock_timedrdlock.os)
1564         (CFLAGS-pthread_rwlock_timedwrlock.o)
1565         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1566         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1567         (CFLAGS-sem_timedwait.os): Likewise.
1569 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1571         * elf/tst-linkall-static.c: New file.
1572         * elf/Makefile (tests-static): Add tst-linkall-static.
1573         (tst-linkall-static): Link against static libraries.
1575 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1577         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1578         mmaped chunks.
1580 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1582         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1583         members to mchunk_prev_size, mchunk_size.
1584         (chunk_main_arena): Reverse sense and rename from
1585         chunk_non_main_arena.
1586         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1587         mchunk_size instead of size.
1588         (set_non_main_arena): Define.
1589         (chunksize): Use chunksize_nomask instead of direct member access.
1590         (chunksize_nomask): Define.
1591         (next_chunk): Use chunksize instead of direct member access.
1592         (prev_size, set_prev_size): Define.
1593         (prev_chunk): Use prev_size instead of direct member access.
1594         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1595         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1596         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1597         (mchunk_prev_size, mchunk_size): Poison tokens.
1598         (unlink): Use chunksize_nomask, prev_size accessors.
1599         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1600         (do_check_free_chunk): Use prev_size accessor.
1601         (sysmalloc): Use set_prev_size, set_head accessors.
1602         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1603         (__libc_free): Use chunksize_nomask accessor.
1604         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1605         chunk_main_arena accessors.
1606         (_int_free): Use chunksize_nomask, prev_size accessors.
1607         (malloc_consolidate): Use chunksize, prev_size accessors.
1608         (_int_realloc): Use chunksize_nomask accessor.
1609         (_int_memalign): Use set_prev_size accessor.
1610         (__malloc_info): Use chunksize_nomask accessor.
1611         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1612         accessors.
1613         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1614         (heap_trim): Use chunksize_nomask, prev_size accessors.
1616 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1618         [BZ #19380]
1619         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1620         for inexact results.
1621         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1622         of inexact result where mpfr_subnormalize is the only inexact
1623         step.
1624         * stdlib/tst-strtod-round-data.h: Regenerated.
1625         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1626         Define to 0.
1627         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1629 2016-10-27  David S. Miller  <davem@davemloft.net>
1631         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1633 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1635         * malloc/malloc.c (do_set_mallopt_check): New function.
1636         (do_set_mmap_threshold): Likewise.
1637         (do_set_mmaps_max): Likewise.
1638         (do_set_top_pad): Likewise.
1639         (do_set_perturb_byte): Likewise.
1640         (do_set_trim_threshold): Likewise.
1641         (do_set_arena_max): Likewise.
1642         (do_set_arena_test): Likewise.
1643         (__libc_mallopt): Use them.
1645 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1647         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1648         (canonicalize): New declaration.
1649         * math/Versions (canonicalize): New libm symbol at version
1650         GLIBC_2.25.
1651         (canonicalizef): Likewise.
1652         (canonicalizel): Likewise.
1653         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1654         * math/s_canonicalize_template.c: New file.
1655         * math/libm-test.inc: Update comment on functions tested and
1656         testing of NaN payloads.
1657         (TEST_NAN_PAYLOAD): New macro.
1658         (NO_TEST_INLINE): Update value.
1659         (XFAIL_TEST): Likewise.
1660         (ERRNO_UNCHANGED): Likewise.
1661         (ERRNO_EDOM): Likewise.
1662         (ERRNO_ERANGE): Likewise.
1663         (IGNORE_RESULT): Likewise.
1664         (NON_FINITE): Likewise.
1665         (TEST_SNAN): Likewise.
1666         (NO_TEST_MATHVEC): Likewise.
1667         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1668         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1669         (struct test_Ffp_b1_data): New type.
1670         (RUN_TEST_Ffp_b1): New macro.
1671         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1672         (canonicalize_test_data): New array.
1673         (canonicalize_test): New function.
1674         (main): Call canonicalize_test.
1675         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1676         canonicalizef and canonicalizel.
1677         * manual/libm-err-tab.pl: Update comment on interfaces without
1678         ulps tabulated.
1679         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1680         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1681         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1682         canonicalize.
1683         (CFLAGS-nldbl-canonicalize.c): New variable.
1684         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1685         to ...
1686         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1687         ... here.
1688         (do_test): Also test canonicalizel.
1689         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1690         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1691         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1692         file.
1693         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1694         Use libm_hidden_def.
1695         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1696         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1697         (do_test): Also test canonicalizel.
1698         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1699         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1700         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1701         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1702         libm_hidden_def.
1703         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1704         macro.
1705         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1706         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1707         * sysdeps/nacl/libm.abilist: Update.
1708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1709         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1710         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1712         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1714         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1716         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1717         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1719         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1721         Likewise.
1722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1723         Likewise.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1725         Likewise.
1726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1727         Likewise.
1728         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1729         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1730         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1734         Likewise.
1735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1736         Likewise.
1737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1738         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1741         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1742         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1743         getpayload.
1744         (CFLAGS-nldbl-getpayload.c): New variable.
1746 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1748         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1749         integer from the format string.
1751 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1753         [BZ #19473]
1754         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1755         declarations.
1756         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1757         weak aliases.
1758         * malloc/hooks.c (__malloc_get_state): Remove definition.
1759         (malloc_get_state): New stub implementation as
1760         compatibility symbol.
1761         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1762         compat symbol.
1763         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1764         malloc_set_state.
1765         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1767 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1769         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1770         (names): Turn into concatenation of strings.
1771         (gconv_init): Adapt iteration over names.
1773 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1775         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1776         make const.
1777         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1778         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1779         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1780         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1781         character in sbconv.
1782         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1783         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1784         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1786 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1788         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1790         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1791         (M_TRIM_THRESHOLD): Likewise.
1793         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1794         (M_ARENA_MAX): Likewise.
1795         * malloc/malloc.c: Remove obsolete comment.
1797         * manual/memory.texi: Add environment variable alternatives to
1798         setting mallopt parameters.
1800 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1802         * include/atomic.h
1803         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1804         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1806 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1808         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1809         * stdlib/tst-strfrom.h: New file.
1810         * stdlib/tst-strfrom.c: New file.
1811         * stdlib/tst-strfrom-locale.c: New file.
1813         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1814         * stdlib/bug-strtod2.c: Likewise.
1815         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1816         * stdlib/tst-strtod6.c: Likewise.
1817         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1819 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1821         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1822         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1823         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1824         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1825         * stdlib/stdlib.h (strfromd): New declaration.
1826         (strfromf): Likewise.
1827         (strfroml): Likewise.
1828         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1829         strfrom.
1830         * stdlib/strfromd.c: New file.
1831         * stdlib/strfromf.c: Likewise.
1832         * stdlib/strfroml.c: Likewise.
1833         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1834         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1835         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1836         * sysdeps/arm/nacl/libc.abilist: Update.
1837         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1838         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1866 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1868         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1869         instead of cmpli.
1870         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1871         instead of cmpli.
1873 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1875         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1876         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1877         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1878         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1879         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1880         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1882 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1884         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1885         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1886         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1887         SYSCALL_LL64_PRW.
1888         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1889         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1890         __ASSUME_PRW_DUMMY_ARG.
1891         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1892         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1893         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1894         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1895         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1896         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1898 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1900         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1902 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1904         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1905         "C++", to override a potential extern "C" directive around the
1906         header file inclusion.
1908 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1910         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1912 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/fpu/fenv_private.h:
1915         (_FPU_MASK_ALL): Rename to...
1916         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1917         XE FPSCR bits.
1919         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1921         (_FPU_MASK_ROUNDING): Rename to...
1922         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1923         NI bits.
1925         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1926         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1927         bits and rounding bits.
1929         (__libc_feholdbits_ppc): New inline function to mask, set,
1930         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1931         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1932         (libc_feholdexcept_setround_ppc): Likewise.
1934         (__libc_femergeenv_ppc): New function to dynamically mask both
1935         old and new FP environments and merge.
1936         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1937         (libc_feresetround_ppc): Likewise.
1938         (libc_feupdateenv_test_ppc): Likewise.
1939         (libc_feupdateenv_ppc): Likewise.
1941         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1942         of ISA RN bits, and update macro names.
1943         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1944         effectively the same as the previously mentioned function.
1946         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1947         usage with fe_resetround_ppc.
1949         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1950         to be used.
1951         (libc_feholdexcept_setround_ctxf): Likewise.
1952         (libc_feholdexcept_setround_ctxl): Likewise.
1954 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1956         [BZ #20715]
1957         * math/math.h [__cplusplus] (iszero): Define as function template.
1958         * math/Makefile [CXX] (tests): Add test-math-iszero.
1959         (CFLAGS-test-math-iszero.cc): Set.
1960         * math/test-math-iszero.cc: New file.
1962 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1964         [BZ #20660]
1965         * sysdeps/arm/e_sqrt.c: New file.
1966         * sysdeps/arm/e_sqrtf.c: Likewise.
1968 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1970         [BZ #20718]
1971         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1972         not use floating-point comparisons to test sign.
1973         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1974         Likewise.
1976         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1977         (getpayload): New declaration.
1978         * math/Versions (getpayload): New libm symbol at version
1979         GLIBC_2.25.
1980         (getpayloadf): Likewise.
1981         (getpayloadl): Likewise.
1982         * math/Makefile (libm-calls): Add s_getpayloadF.
1983         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1984         (struct test_f_f_data): Add comment.
1985         (RUN_TEST_fp_f): New macro.
1986         (RUN_TEST_LOOP_fp_f): Likewise.
1987         (getpayload_test_data): New array.
1988         (getpayload_test): New function.
1989         (main): Call getpayload_test.
1990         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1991         descriptor.
1992         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1993         getpayloadf and getpayloadl.
1994         * manual/libm-err-tab.pl: Update comment on interfaces without
1995         ulps tabulated.
1996         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1997         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1998         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1999         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2000         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2001         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2002         * sysdeps/nacl/libm.abilist: Update.
2003         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2004         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2006         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2007         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2008         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2009         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2010         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2011         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2012         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2013         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2014         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2016         Likewise.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2020         Likewise.
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2027         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2029         Likewise.
2030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2031         Likewise.
2032         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2036 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2038         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2039         tst-fallocate{64}.
2040         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2041         on syscall return.
2043 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2045         [BZ #20689]
2046         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2047         usable.
2049 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2051         * sysdeps/generic/nan-high-order-bit.h: New file.
2052         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2053         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2054         * sysdeps/hppa/math_private.h: Remove file.
2055         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2056         not define here.
2057         * sysdeps/ieee754/dbl-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/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/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/dbl-64/wordsize-64/s_issignaling.c: Include
2067         <nan-high-order-bit.h>.
2068         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2069         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2070         <nan-high-order-bit.h>.
2071         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2072         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2073         <nan-high-order-bit.h>.
2074         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2075         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2076         <nan-high-order-bit.h>.
2077         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2078         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2079         <nan-high-order-bit.h>.
2080         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2081         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/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-128/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-128/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-128ibm/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-128ibm/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-128ibm/s_totalordermagl.c: Include
2100         <nan-high-order-bit.h>.
2101         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2102         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2103         <nan-high-order-bit.h>.
2104         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2105         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2106         <nan-high-order-bit.h>.
2107         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2108         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2109         <nan-high-order-bit.h>.
2110         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2112 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2114         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2116 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2118         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2119         abort-instr.h.
2120         (EFAULT): Remove conditional define.
2121         (ENOSYS): Likewise.
2122         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2123         instead of conditional branch instructions.
2125 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2127         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2128         (totalordermag): New declaration.
2129         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2130         New macro.
2131         * math/Versions (totalordermag): New libm symbol at version
2132         GLIBC_2.25.
2133         (totalordermagf): Likewise.
2134         (totalordermagl): Likewise.
2135         * math/Makefile (libm-calls): Add s_totalordermagF.
2136         * math/libm-test.inc (totalordermag_test_data): New array.
2137         (totalordermag_test): New function.
2138         (main): Call totalordermag_test.
2139         * math/test-tgmath.c (NCALLS): Increase to 125.
2140         (F(compile_test)): Call totalordermag.
2141         (F(totalordermag)): New function.
2142         * manual/arith.texi (FP Comparison Functions): Document
2143         totalordermag, totalordermagf and totalordermagl.
2144         * manual/libm-err-tab.pl: Update comment on interfaces without
2145         ulps tabulated.
2146         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2147         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2148         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2149         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2150         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2151         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2152         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2153         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2154         totalordermag.
2155         (CFLAGS-nldbl-totalordermag.c): New variable.
2156         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2157         (do_test): Also test totalordermagl.
2158         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2159         Likewise.
2160         * sysdeps/nacl/libm.abilist: Update.
2161         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2162         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2163         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2164         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2165         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2166         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2167         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2168         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2169         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2170         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2171         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2174         Likewise.
2175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2176         Likewise.
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2178         Likewise.
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2180         Likewise.
2181         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2187         Likewise.
2188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2189         Likewise.
2190         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2192         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2194 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2196         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2197         boolean.
2199 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2201         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2202         raising FE_INVALID with feraisexcept in case where part of
2203         argument is infinite, subtract that part of argument from itself.
2204         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2205         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2206         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2208 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2210         * math/libm-test.inc (totalorder_test_data): Add more tests.
2212 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2214         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2215         Undefine weak_alias and add a comment why mips64 require
2216         versioning.
2218 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2220         [BZ #20647]
2221         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2222         maximum CPUID level is less than 2.
2224 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2226         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2227         (totalorder): New declaration.
2228         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2229         New macro.
2230         * math/Versions (totalorder): New libm symbol at version
2231         GLIBC_2.25.
2232         (totalorderf): Likewise.
2233         (totalorderl): Likewise.
2234         * math/Makefile (libm-calls): Add s_totalorderF.
2235         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2236         string.
2237         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2238         (qnan_value_pl): Likewise.
2239         (snan_value_pl): Likewise.
2240         (qnan_value): Define using qnan_value_pl.
2241         (snan_value): Define using snan_value_pl.
2242         (struct test_ff_i_data): Add comment about which tests use this
2243         structure.
2244         (RUN_TEST_ff_b): New macro.
2245         (RUN_TEST_LOOP_ff_b): Likewise.
2246         (totalorder_test_data): New array.
2247         (totalorder_test): New function.
2248         (main): Call totalorder_test.
2249         * math/test-tgmath.c (NCALLS): Increase to 122.
2250         (F(compile_test)): Call totalorder.
2251         (F(totalorder)): New function.
2252         * manual/arith.texi (FP Comparison Functions): Document
2253         totalorder, totalorderf and totalorderl.
2254         * manual/libm-err-tab.pl: Update comment on interfaces without
2255         ulps tabulated.
2256         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2257         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2258         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2259         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2260         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2261         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2262         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2264         totalorder.
2265         (CFLAGS-nldbl-totalorder.c): New variable.
2266         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2267         file.
2268         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2269         Add test-totalorderl-ldbl-128ibm.
2270         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2271         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2272         test-totalorderl-ldbl-96.
2273         * sysdeps/nacl/libm.abilist: Update.
2274         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2281         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2282         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2283         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2284         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2285         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2287         Likewise.
2288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2289         Likewise.
2290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2291         Likewise.
2292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2293         Likewise.
2294         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2295         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2298         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2300         Likewise.
2301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2302         Likewise.
2303         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2304         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2305         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2307 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2309         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2310         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2311         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2312         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2313         remove ENOSYS implementation.
2314         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2315         Consolidate all Linux implementations.
2317 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2319         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2320         * resolv/herror.c (herror): Cast away const-ness.
2321         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2322         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2324 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2326         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2327         instead of M_NAN + M_NAN.
2328         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2330 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2332         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2333         unused variable 'p'.
2335 2016-10-09  Alan Modra  <amodra@gmail.com>
2336             Andreas Schwab  <schwab@linux-m68k.org>
2338         [BZ #20554]
2339         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2340         [PIC && !SHARED]: Set up PIC register for PLT call.
2342 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2344         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2345         conditional on value of [__FLT_EVAL_METHOD__].
2346         * math/test-iseqsig-excess-precision.c: New file.
2347         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2349 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2351         * math/s_iseqsig_template.c: Include math-private.h.
2353         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2354         * posix/tst-posix_fadvise.c: New file.
2355         * posix/tst-posix_fadvise64.c: Likewise.
2356         * posix/tst-posix_fadvise-common.c: Likewise.
2357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2358         (__ASSUME_FADVISE64_64_6ARG): Define.
2359         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2360         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2361         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2362         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2363         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2364         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2365         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2366         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2367         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2368         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2369         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2370         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2373         Likewise.
2374         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2376         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2377         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2378         Alias to __posix_fadvise64_l32.
2379         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2380         Add compat definition to posix_fadvise64.
2381         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2382         Add versioned definition to posix_fadvise64.
2383         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2384         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2385         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2386         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2387         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2389         * io/Makefile (tests): Add tst-posix_fallocate and
2390         tst-posix_fallocate64.
2391         * io/tst-posix_fallocate-common.c: New file.
2392         * io/tst-posix_fallocate.c: Likewise.
2393         * io/tst-posix_fallocate64.c: Likewise.
2394         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2395         file.
2396         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2397         Likewise.
2398         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2399         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2400         Likewise.
2401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2403         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2404         SYSCALL_LL to pass both offset and len arguments.
2405         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2406         Likewise.
2407         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2408         __libc_pwrite64 alias used by posix_fallocate64.
2410         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2411         tst-fallocate64.
2412         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2413         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2414         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2415         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2416         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2417         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2418         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2419         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2420         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2421         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2422         macro on offset argument.
2423         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2424         SYSCALL_LL64 on offset argument.
2426         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2427         tst-fallocate64.
2428         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2429         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2430         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2431         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2432         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2433         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2434         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2435         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2436         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2437         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2438         macro on offset argument.
2439         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2440         SYSCALL_LL64 on offset argument.
2441         * test-skeleton.c (FAIL_RET): Add macro.
2442         (FAIL_EXIT): Likewise.
2443         (FAIL_EXIT1): Likewise.
2444         (_FAIL): Likewise.
2446 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2448         [BZ #20629]
2449         resolv: Remove RES_USEBSTRING and its implementation.
2450         * resolv/resolv.h (RES_USEBSTRING): Remove.
2451         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2452         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2453         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2454         (labellen): Remove extended label types support.
2455         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2456         * resolv/res_init.c (res_setoptions): Likewise.
2457         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2459 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2461         resolv: Remove RES_NOIP6DOTINT and its implementation.
2462         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2463         (RES_NOIP6DOTINT): Remove.
2464         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2465         handling.
2466         * resolv/res_debug.c (p_option): Likewise.
2467         * resolv/res_init.c (res_setoptions): Likewise.
2468         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2470 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2472         resolv: Deprecate unimplemented flags.
2473         * misc/sys/cdefs.h (__glibc_macro_warning1)
2474         (__glibc_macro_warning): Define.
2475         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2476         (RES_KEEPTSIG): Mark as deprecated.
2477         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2478         RES_NOCHECKNAME, RES_KEEPTSIG.
2479         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2481 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2483         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2484         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2485         Use strong_alias to create symbols for glibc verison 2.19.
2487 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2489         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2491 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2493         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2495 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2497         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2499 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2501         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2502         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2503         in header for using it as type for ifunc function because __GI_* symbols
2504         for ppc32 do not target the ifunc symbols.
2505         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2507 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2509         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2510         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2511         libc_ifunc_hidden_def.
2512         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2513         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2514         Redirect ifunced function in header for using it as type of ifunc'ed
2515         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2516         function for __GI_* symbol.
2517         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2518         * include/libc-symbols.h
2519         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2521 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2523         [BZ #20478]
2524         * sysdeps/s390/multiarch/ifunc-resolve.h
2525         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2526         to create ifunc symbols.
2527         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2528         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2529         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2530         for using it as type for ifunc function.
2531         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2532         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2533         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2534         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2535         * sysdeps/s390/multiarch/strcat.c: Likewise.
2536         * sysdeps/s390/multiarch/strchr.c: Likewise.
2537         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2538         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2539         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2540         * sysdeps/s390/multiarch/strlen.c: Likewise.
2541         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2542         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2543         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2544         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2545         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2546         * sysdeps/s390/multiarch/strspn.c: Likewise.
2547         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2548         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2549         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2550         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2551         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2552         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2553         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2554         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2555         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2556         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2557         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2558         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2560 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2562         * include/libc-symbols.h (__ifunc_resolver):
2563         New macro is used by __ifunc* macros.
2564         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2565         depending on HAVE_GCC_IFUNC.
2566         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2567         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2569         Redirect ifunced function in header for using as type for ifunc function.
2570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2576         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2577         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2578         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2579         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2580         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2581         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2582         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2583         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2589         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2590         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2591         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2592         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2593         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2594         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2595         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2596         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2597         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2598         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2599         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2600         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2601         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2602         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2604         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2605         instead of libc_ifunc() macro.
2606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2607         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2609 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2611         * config.h.in (HAVE_GCC_IFUNC): New undef.
2612         * configure.ac: Add check if gcc supports attribute ifunc feature.
2613         * configure: Regenerated.
2614         * manual/install.texi: Add recommendation for gcc with
2615         indirect-function support.
2616         * INSTALL: Regenerated.
2618 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2620         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2621         macro.
2622         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2623         (__iseqsig): New declaration.
2624         * math/s_iseqsig_template.c: New file.
2625         * math/Versions (__iseqsigf): New libm symbol at version
2626         GLIBC_2.25.
2627         (__iseqsig): Likewise.
2628         (__iseqsigl): Likewise.
2629         * math/libm-test.inc (iseqsig_test_data): New array.
2630         (iseqsig_test): New function.
2631         (main): Call iseqsig_test.
2632         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2633         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2634         * manual/libm-err-tab.pl: Update comment on interfaces without
2635         ulps tabulated.
2636         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2637         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2638         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2639         * sysdeps/nacl/libm.abilist: Update.
2640         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2641         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2642         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2643         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2644         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2645         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2649         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2650         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2651         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2653         Likewise.
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2655         Likewise.
2656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2657         Likewise.
2658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2659         Likewise.
2660         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2661         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2662         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2663         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2664         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2666         Likewise.
2667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2668         Likewise.
2669         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2670         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2671         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2673 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2675         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2676         do_sincos_2, sloww, sloww1): Update comments.
2678         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2679         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2681         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2682         K boolean and rename it.
2683         (__sin): Adjust.
2684         (__cos): Adjust.
2686 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2687             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2689         * manual/nss.texi: Fix typos in the manual.
2691 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2693         * manual/contrib.texi: Fix typos in the manual.
2695         * manual/maint.texi: Fix typos in the manual.
2697         * manual/install.texi: Fix typos in the manual.
2698         * INSTALL: Regenerated.
2700         * manual/lang.texi: Fix typos in the manual.
2702         * manual/probes.texi: Fix typos in the manual.
2704         * manual/threads.texi: Fix typos in the manual.
2706         * manual/debug.texi: Fix typos in the manual.
2708         * manual/crypt.texi: Fix typos in the manual.
2710         * manual/conf.texi: Fix typos in the manual.
2712         * manual/sysinfo.texi: Fix typos in the manual.
2714         * manual/users.texi: Fix typos in the manual.
2716         * manual/job.texi: Fix typos in the manual.
2718         * manual/process.texi: Fix typos in the manual.
2720         * manual/argp.texi: Fix typos in the manual.
2721         * manual/getopt.texi: Likewise.
2722         * manual/startup.texi: Likewise.
2724         * manual/signal.texi: Fix typos in the manual.
2726         * manual/setjmp.texi: Fix typos in the manual.
2728         * manual/resource.texi: Fix typos in the manual.
2730         * manual/time.texi: Fix typos in the manual.
2732         * manual/arith.texi: Fix typos in the manual.
2734         * manual/math.texi: Fix typos in the manual.
2736         * manual/syslog.texi: Fix typos in the manual.
2738         * manual/terminal.texi: Fix typos in the manual.
2740         * manual/socket.texi: Fix typos in the manual.
2742         * manual/filesys.texi: Fix typos in the manual.
2744         * manual/llio.texi: Fix typos in the manual.
2746         * manual/stdio.text: Fix typos in the manual.
2748 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2750         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2751         instead of K1.
2753         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2754         SHIFT_QUADRANT and make it bool.
2755         (do_sincos_2): Likewise.
2756         (sloww): Likewise.
2757         (sloww1): Likewise.
2758         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2759         (__cos): Likewise.
2761 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2763         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2765 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2767         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2768         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2769         0x7fffffffL].
2770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2772 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2774         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2775         inline by __inline__.
2776         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2777         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2778         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2779         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2780         sigset_t from signal.h.
2781         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2782         which is already required.
2784 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2786         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2788 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2790         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2791         (struct tcp_repair_window): New type.
2793 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2795         * libio/tst-memstream3.c: Include string.h.
2797 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         [BZ #18241]
2800         [BZ #20181]
2801         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2802         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2803         write position is at the end the buffer.
2804         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2805         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2806         (_IO_str_seekoff): Set correct offset from negative displacement and
2807         set EINVAL for invalid ones.
2808         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2809         buffer length.
2810         (_IO_wstr_switch_to_get_mode): New function.
2811         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2812         set EINVAL for invalid ones.
2813         * libio/tst-memstream3.c: New file.
2814         * libio/tst-wmemstream3.c: Likewise.
2815         * manual/examples/memstrm.c: Remove warning when priting size_t.
2817 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2819         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2820         macro to use __builtin_fma.
2821         * sysdeps/x86_64/fpu/dla.h: Remove file.
2823         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2824         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2825         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2827 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2829         [BZ #20292]
2830         * elf/Makefile (routines): Add dl-addr-obj.
2831         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2832         tst-_dl_addr_inside_object.
2833         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2834         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2835         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2836         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2837         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2838         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2839         * elf/dl-open.c: Likewise.
2840         * elf/dl-addr-obj.c: New file.
2841         * elf/tst-_dl_addr_inside_object.c: New file.
2843 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2845         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2846         <bits/iscanonical.h>.
2847         * bits/iscanonical.h: New file.
2848         * math/s_iscanonicall.c: Likewise.
2849         * math/Versions (__iscanonicall): New libm symbol at version
2850         GLIBC_2.25.
2851         * math/libm-test.inc (iscanonical_test_data): New array.
2852         (iscanonical_test): New function.
2853         (main): Call iscanonical_test.
2854         * math/Makefile (headers): Add bits/iscanonical.h.
2855         (type-ldouble-routines): Add s_iscanonicall.
2856         * manual/arith.texi (Floating Point Classes): Document
2857         iscanonical.
2858         * manual/libm-err-tab.pl: Update comment on interfaces without
2859         ulps tabulated.
2860         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2861         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2863         Likewise.
2864         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2865         test-iscanonical-ldbl-128ibm.
2866         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2867         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2868         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2869         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2870         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2871         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2872         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2878         Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2880         Likewise.
2881         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2882         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2884 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2886         * string/bits/string3.h: Remove C++ style comments.
2888 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2890         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2891         instead of ternary condition.
2892         (do_sincos_2): Likewise.
2893         (__sin): Likewise.
2894         (__cos): Likewise.
2895         (slow): Likewise.
2896         (sloww): Likewise.
2897         (sloww1): Likewise.
2898         (bsloww): Likewise.
2899         (bsloww1): Likewise.
2901         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2902         instead of ternary condition.
2903         (do_sin_slow): Likewise.
2904         (do_sincos_1): Likewise.
2905         (do_sincos_2): Likewise.
2906         (__cos): Likewise.
2907         (sloww): Likewise.
2908         (sloww1): Likewise.
2909         (sloww2): Likewise.
2910         (bsloww): Likewise.
2911         (bsloww1): Likewise.
2912         (bsloww2): Likewise.
2914         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2915         check from here...
2916         (slow2): ... and here...
2917         (__sin): ... to here.
2919 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2921         * math/math.h
2922         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2923         Cast argument to its own type.
2924         * math/test-iszero-excess-precision.c: New file.
2925         * math/Makefile (tests): Add test-iszero-excess-precision.
2926         (CFLAGS-test-iszero-excess-precision.c): New variable.
2928 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2930         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2931         field, add err field.
2932         (__spawni_child): Report error through err member instead of pipe.
2933         (__spawnix): Likewise.
2935 2016-09-28  Zack Weinberg  <zackw@panix.com>
2937         * scripts/check-installed-headers.sh: Generalize treatment of
2938         sys/elf.h to all target architectures.
2940         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2941         deleted typedef ucontext_t.
2943 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2945         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2946         (__INTERNAL_SYSCALL1): Likewise.
2947         (__INTERNAL_SYSCALL2): Likewise.
2948         (__INTERNAL_SYSCALL3): Likewise.
2949         (__INTERNAL_SYSCALL4): Likewise.
2950         (__INTERNAL_SYSCALL5): Likewise.
2951         (__INTERNAL_SYSCALL6): Likewise.
2952         (__INTERNAL_SYSCALL7): Likewise.
2953         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2954         (__INTERNAL_SYSCALL_NARGS): Likewise.
2955         (__INTERNAL_SYSCALL_DISP): Likewise.
2956         (INTERNAL_SYSCALL_CALL): Likewise.
2957         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2958         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2959         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2960         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2961         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2962         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2963         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2964         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2965         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2966         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2967         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2968         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2969         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2971 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2973         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2974         macro.
2975         * math/libm-test.inc (iszero_test_data): New array.
2976         (iszero_test): New function.
2977         (main): Call iszero_test.
2978         * manual/arith.texi (Floating Point Classes): Document iszero.
2979         * manual/libm-err-tab.pl: Update comment on interfaces without
2980         ulps tabulated.
2982 2016-09-23  Zack Weinberg  <zackw@panix.com>
2984         * scripts/check-installed-headers.sh: New script.
2985         * Rules: In each directory that defines header files to be installed,
2986         run check-installed-headers.sh on them as a special test.
2987         * Makefile: Likewise for the headers installed at top level.
2989         * include/aliases.h, include/alloca.h, include/argz.h
2990         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2991         * include/elf.h, include/envz.h, include/err.h
2992         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2993         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2994         * include/link.h, include/malloc.h, include/mcheck.h
2995         * include/mntent.h, include/netinet/ether.h
2996         * include/nss.h, include/obstack.h, include/printf.h
2997         * include/pty.h, include/resolv.h, include/rpc/auth.h
2998         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2999         * include/rpc/clnt.h, include/rpc/des_crypt.h
3000         * include/rpc/key_prot.h, include/rpc/netdb.h
3001         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3002         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3003         * include/rpc/rpc_msg.h, include/rpc/svc.h
3004         * include/rpc/svc_auth.h, include/rpc/xdr.h
3005         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3006         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3007         * include/rpcsvc/ypupd.h, include/shadow.h
3008         * include/stdio_ext.h, include/sys/epoll.h
3009         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3010         * include/sys/prctl.h, include/sys/profil.h
3011         * include/sys/statfs.h, include/sys/sysctl.h
3012         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3013         * sysdeps/arm/nacl/include/bits/setjmp.h
3014         * sysdeps/mips/include/sys/asm.h
3015         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3016         * sysdeps/unix/sysv/linux/include/sys/timex.h
3017         * sysdeps/x86/fpu/include/bits/fenv.h:
3018         Add #ifndef _ISOMAC guard around internal declarations.
3019         Add multiple-inclusion guard if not already present.
3021 2016-09-23  Zack Weinberg  <zackw@panix.com>
3023         * sysdeps/generic/sys/ucontext.h
3024         * sysdeps/arm/sys/ucontext.h
3025         * sysdeps/i386/sys/ucontext.h
3026         * sysdeps/m68k/sys/ucontext.h
3027         * sysdeps/mips/sys/ucontext.h
3028         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3029         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3030         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3031         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3032         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3033         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3034         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3035         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3036         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3037         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3038         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3039         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3040         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3041         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3042         Include both bits/sigcontext.h and bits/sigstack.h.
3043         Fix grammar error in comment, if present.
3045         * bits/sigstack.h
3046         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3047         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3048         * sysdeps/unix/sysv/linux/bits/sigstack.h
3049         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3050         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3051         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3052         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3053         * bits/sigcontext.h
3054         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3055         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3056         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3057         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3058         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3059         as well as signal.h, if this was not already allowed.  Request
3060         definition of size_t if necessary.  Minimize semantically-null
3061         differences across files.
3063 2016-09-23  Zack Weinberg  <zackw@panix.com>
3065         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3066         Remove all logic conditional on __need macros.  Move all the
3067         conditionally defined types to their own headers...
3068         * time/bits/types/clock_t.h: Define clock_t here.
3069         * time/bits/types/clockid_t.h: Define clockid_t here.
3070         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3071         * time/bits/types/struct_timespec.h: Define struct timespec here.
3072         * time/bits/types/struct_timeval.h: Define struct timeval here.
3073         * time/bits/types/struct_tm.h: Define struct tm here.
3074         * time/bits/types/time_t.h: Define time_t here.
3075         * time/bits/types/timer_t.h: Define timer_t here.
3076         * time/Makefile: Install the new headers.
3078         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3079         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3080         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3081         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3082         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3083         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3084         * sysdeps/unix/sysv/linux/bits/resource.h
3085         * sysdeps/unix/sysv/linux/bits/timex.h
3086         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3087         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3088         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3089         * sysdeps/unix/sysv/linux/sys/acct.h
3090         * sysdeps/unix/sysv/linux/sys/timerfd.h
3091         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3092         * time/sys/time.h, time/sys/timeb.h
3093         Use the new bits/types headers.
3095         * include/time.h: Remove __need logic.
3096         * include/bits/time.h
3097         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3098         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3099         * include/bits/types/struct_itimerspec.h
3100         * include/bits/types/struct_timespec.h
3101         * include/bits/types/struct_timeval.h
3102         * include/bits/types/struct_tm.h:
3103         New wrapper headers.
3105 2016-09-23  Zack Weinberg  <zackw@panix.com>
3107         * sysdeps/mach/hurd/net/if_ppp.h
3108         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3109         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3110         if __USE_MISC is defined, to ensure struct ifreq is declared.
3112         * inet/netinet/ether.h: Condition all function prototypes
3113         on __USE_MISC, to ensure struct ether_addr is declared.
3115         * socket/bits/types/struct_osockaddr.h: New header.
3116         * include/bits/types/struct_osockaddr.h: New wrapper.
3117         * socket/Makefile: Install the new header.
3118         * socket/sys/socket.h, inet/protocols/talkd.h:
3119         Refer to bits/types/struct_osockaddr.h for the definition of
3120         struct osockaddr.
3122 2016-09-23  Zack Weinberg  <zackw@panix.com>
3124         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3125         * inet/protocols/routed.h, inet/protocols/talkd.h
3126         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3127         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3128         * sysdeps/generic/netinet/if_ether.h
3129         * sysdeps/generic/netinet/in_systm.h
3130         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3131         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3132         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3133         * sysdeps/mach/hurd/net/if_arp.h
3134         * sysdeps/mach/hurd/net/if_ppp.h
3135         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3136         * sysdeps/unix/sysv/linux/bits/in.h
3137         * sysdeps/unix/sysv/linux/net/ethernet.h
3138         * sysdeps/unix/sysv/linux/net/if_arp.h
3139         * sysdeps/unix/sysv/linux/net/if_ppp.h
3140         * sysdeps/unix/sysv/linux/net/if_shaper.h
3141         * sysdeps/unix/sysv/linux/net/route.h
3142         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3143         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3144         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3145         * sysdeps/unix/sysv/linux/netipx/ipx.h
3146         * sysdeps/unix/sysv/linux/sys/acct.h
3147         * include/arpa/nameser.h, include/resolv.h:
3148         Change all uses of u_char to unsigned char,
3149         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3150         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3151         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3152         and u_int64_t and u_quad_t to uint64_t.
3154         * mach/sys/reboot.h: Remove two casts of integer literals
3155         to the types they already have.
3157         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3158         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3159         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3160         from referring to 'unsigned char' to 'uint8_t' for consistency with
3161         the macro definition below.
3163         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3164         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3165         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3166         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3167         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3168         * sysdeps/unix/sysv/linux/sys/acct.h
3169         * include/arpa/nameser.h, include/resolv.h:
3170         Fix indentation disrupted by mechanical edits.
3172         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3173         * sysdeps/generic/netinet/in_systm.h
3174         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3175         * sysdeps/gnu/netinet/udp.h
3176         * sysdeps/unix/sysv/linux/net/ethernet.h
3177         * sysdeps/unix/sysv/linux/net/if_arp.h
3178         * sysdeps/unix/sysv/linux/net/if_ppp.h
3179         * sysdeps/unix/sysv/linux/net/if_shaper.h
3180         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3181         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3182         * sysdeps/unix/sysv/linux/netipx/ipx.h
3183         * sysdeps/unix/sysv/linux/sys/acct.h
3184         Include stdint.h for uintNN_t definitions.
3185         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3187 2016-09-23  Zack Weinberg  <zackw@panix.com>
3189         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3190         * sysdeps/unix/sysv/linux/netrose/rose.h:
3191         Include sys/socket.h and netax25/ax25.h.
3193         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3194         * resolv/arpa/nameser_compat.h:
3195         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3197         * sysdeps/unix/sysv/linux/sys/quota.h:
3198         Use __caddr_t instead of caddr_t.
3199         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3200         Use __clockid_t instead of clockid_t.
3202         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3204         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3205         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3206         expanding it.
3208         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3209         Define __glibc_c99_flexarr_available to 1 when the compiler
3210         supports C99-compatible flexible array members, 0 otherwise.
3211         * sysdeps/unix/sysv/linux/bits/socket.h
3212         * sysdeps/mach/hurd/bits/socket.h
3213         * bits/socket.h: Use __glibc_c99_flexarr_available in
3214         definitions of struct cmsghdr and CMSG_DATA.
3216 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3218         * manual/nss.texi (NSS Modules Interface): Adjust function return
3219         type to enum nss_status.  Document errnop argument.  Clarify
3220         h_errnop semantics.  Fix cross-reference formatting.
3221         (NSS Module Function Internals): Mention that *errnop needs to be
3222         set on failure, but not to zero.
3224 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3226         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3227         (get_random_name): New functions.
3228         (check_wrapper_flags_mode): Use linkat to give the new file a name
3229         determined by get_random_name.
3230         (do_test): Add calls to test open64 and openat64.
3232 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3234         * test-skeleton.c: Remove #include <stdarg.h>.
3236 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3238         [BZ #19826]
3239         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3240         initialization of static TLS entries.
3241         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3242         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3244 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3246         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3247         _hurd_malloc_fork_prepare.
3248         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3249         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3250         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3251         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3252         (_hurd_fork_child_hook): Drop malloc_fork_child.
3253         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3254         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3255         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3256         after locking locks (notably hurd_dtable_lock). Call
3257         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3258         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3259         __malloc_fork_unlock_child.
3260         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3262 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3264         * soft-fp/extendhftf2.c: New.
3265         * soft-fp/fixhfti.c: Likewise.
3266         * soft-fp/fixunshfti.c: Likewise.
3267         * soft-fp/floattihf.c: Likewise.
3268         * soft-fp/floatuntihf.c: Likewise.
3269         * soft-fp/half.h: Likewise.
3270         * soft-fp/trunctfhf2.c: Likewise.
3272 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3274         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3275         macro.
3276         * math/libm-test.inc (issubnormal_test_data): New array.
3277         (issubnormal_test): New function.
3278         * manual/arith.texi (Floating Point Classes): Document
3279         issubnormal.
3280         * manual/libm-err-tab.pl: Update comment on interfaces without
3281         ulps tabulated.
3283         * sysdeps/generic/stdint.h: Define
3284         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3285         <bits/libc-header-start.h> instead of including <features.h>.
3286         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3289         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3319         * manual/arith.texi (Integers): Document these macros for types
3320         specified by width properties.
3321         * manual/lang.texi (Width of Type): Document these macros for
3322         other standard typedefs.
3323         * stdlib/tst-width-stdint.c: New file.
3324         * stdlib/Makefile (tests): Add tst-width-stdint.
3326 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3328         [BZ #20016]
3329         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3330         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3331         Move ...
3332         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3333         ... here, as compatibility symbols in a new file.
3334         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3335         * resolv/res_init.c (__res_vinit): Adjust member names.
3336         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3337         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3338         (res_send_rhook): Remove.
3339         (struct __res_state): Rename qhook, rhook members.
3341 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3343         malloc: Use __libc_lock wrappers.
3344         * malloc/arena.c (list_lock, free_list_lock): Define using
3345         __libc_lock_define_initialized.
3346         (arena_lock): Adjust formatting.
3347         * malloc/malloc.c (struct malloc_state): Define mutex using
3348         __libc_lock_define.
3349         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3350         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3351         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3352         (mutex_unlock, mutex_trylock): Remove.
3353         (__pthread_initialize): Remove unused macro.
3354         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3355         (mutex_unlock, mutex_trylock): Remove.
3357 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3359         [BZ #20592]
3360         Remove RR type classification macros.
3361         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3362         (ns_t_udp_p, ns_t_xfr_p): Remove.
3364 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3366         Remove misleading version information.
3367         * resolv/arpa/nameser.h (__NAMESER): Remove.
3368         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3370 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3372         Remove the always-defined BIND_4_COMPAT macro.
3373         * resolv/arpa/nameser.h: Unconditionally include
3374         <arpa/nameser_compat.h>.
3375         (BIND_4_COMPAT): Remove.
3376         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3378 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3380         [BZ #20591]
3381         Remove obsolete DNSSEC support.
3382         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3383         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3384         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3385         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3386         (ns_cert_types): Add comment.
3387         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3388         separately.
3389         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3390         (dst_s_dns_key_id): Remove.
3391         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3392         variables.
3394 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3396         [BZ #20524]
3397         * manual/string.texi (String/Array Comparison): Clarify the
3398         strverscmp behavior.
3400 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3402         * test-skeleton.c (xasprintf): Add function.
3403         * io/tst-open-tmpfile.c: New test.
3404         * io/Makefile (tests): Add it.
3406 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3408         Avoid running $(CXX) during build to obtain header file paths.
3409         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3410         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3411         * Makerules (cstdlib, cmath): Remove variables.  Use
3412         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3413         * configure: Regenerate.
3415 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3417         * Makeconfig (all-object-suffixes): Include .op only if
3418         $(build-profile).
3420 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3422         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3423         conditionals.  Do not define PATH_MAX.
3425 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3427         * posix/Makefile (tests): Add tst-spawn3.
3428         * posix/tst-spawn3.c: New file.
3429         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3430         if it is already opened for open action.
3432         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3433         all signals when executing the clone vfork child.
3434         (SIGALL_SET): Remove macro.
3436         * nptl/Makefile (tests): Add tst-exec5.
3437         * nptl/tst-exec5.c: New file.
3438         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3439         asynchronous cancellation.
3441 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3443         * hurd/exc2signal.c: #include <hurd/signal.h>
3444         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3445         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3446         accordingly.
3447         * mach/mach_error.c (mach_error): Fix old-style function definition.
3448         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3450 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3452         * math/Makefile (libm-calls): Remove s_nanF.
3453         (gen-libm-calls): Add s_nanF.
3455         * math/s_nan.c: Refactor into ...
3456         * math/s_nan_template.c: New file.
3458         * math/s_nanf.c: Removed.
3459         * math/s_nanl.c: Removed.
3460         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3461         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3463         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3464         (LDOUBLE_nanl_libm_version): New macro.
3466         * sysdeps/generic/math-type-macros-double.h:
3467         (M_STRTO_NAN): New macro.
3468         * sysdeps/generic/math-type-macros-float.h: Likewise.
3469         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3471         * sysdeps/generic/math-type-macros.h: Document
3472         M_STRTO_NAN.
3474 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3476         * math/s_nanf.c: Remove __nanf undef.
3477         * math/s_nan.c: Remove __nan undef.
3478         * math/s_nanl.c: Remove __nanl undef.
3480         * sysdeps/generic/math_private.h (__nan): Remove macro
3481         override.
3482         (__nanf): Likewise.
3483         (__nanl): Likewise.
3485 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3487         * math/Makefile (gen-all-calls): New variable.
3488         (generated): Replace gen-libm-calls with gen-all-calls.
3489         (gen-libm-templates.stmp): Likewise.  Also, ensure
3490         the output directory exists or is created and add
3491         dependency on the Makefile.
3492         (calls): Move s_ldexpF into gen-calls.
3493         (gen-calls): New variable.
3495         * math/s_ldexpf.c: Removed.
3496         * math/s_ldexpl.c: Removed.
3497         * math/s_ldexp.c: Refactored into ...
3498         * math/s_ldexp_template.c: New file.
3500         * sysdeps/generic/math-type-macros-double.h: Remove
3501         redundant fall-through definition of declare_mgen_alias.
3502         (declare_mgen_alias_2): New macro.
3504         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3505         New macro for function aliased to two exported symbols.
3507         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3508         new template file.
3509         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3511 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3513         * Makeconfig (all-object-suffixes): Remove .og.
3514         * Makerules (elide-routines.og): Remove.
3515         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3516         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3517         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3519 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3521         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3522         .os objects.
3524 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3526         [BZ #20615]
3527         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3528         fpu directory by non-fpu.
3529         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3530         on non-fpu directory from a fpu directory.
3532 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3534         * include/limits.h: Define
3535         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3536         <bits/libc-header-start.h> instead of including <features.h>.
3537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3544         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3545         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3548         * manual/lang.texi (Width of Type): Document these macros.
3549         * stdlib/tst-width.c: New file.
3550         * stdlib/Makefile (tests): Add tst-width.
3552 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3554         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3555         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3557 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3559         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3560         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3561         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3563 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3565         [BZ #18243]
3566         * rt/Makefile (test): Add tst-shm-cancel.
3567         * rt/tst-shm-cancel.c: New file.
3568         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3570         [BZ #18243]
3571         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3572         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3573         definition.
3574         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3575         uncontended case.
3576         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3577         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3578         (tf): Fix check for uncontended case.
3579         (do_test): Likewise.
3580         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3581         (tf): Fix check for uncontended case.
3582         (do_test): Likewise.
3583         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3584         (tf): Fix check for uncontended case.
3585         (do_test): Likewise.
3586         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3587         (tf): Fix check for uncontended case.
3588         (do_test): Likewise.
3590         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3591         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3593         [BZ #15765]
3594         * nptl/Makefile (tests): Add tst-sem16.
3595         * nptl/tst-sem16.c: New file.
3596         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3598         * nptl/sem_open.c (sem_open): Init pad value to 0.
3599         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3600         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3602 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3604         [BZ #20611]
3605         * inet/Makefile (routines): Add inet6_scopeid_pton.
3606         (tests): Add tst-inet6_scopeid_pton.
3607         * inet/inet6_scopeid_pton.c: New file.
3608         * inet/net-internal.h: Likewise.
3609         * inet/tst-inet6_scopeid_pton.c: New test.
3610         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3611         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3614 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3616         Remove support for compiling wrappers with PTW.
3617         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3618         * nptl/Makefile (pthread-compat-wrappers): Define.
3619         (libpthread-routines): Use pthread-compat-wrappers.
3620         * sysdeps/unix/sysv/linux/alpha/Makefile
3621         (libpthread-routines, libpthread-shared-only-routines): Remove
3622         ptw- prefix.
3623         * sysdeps/s390/nptl/Makefile
3624         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3625         * sysdeps/ia64/nptl/Makefile
3626         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3627         * sysdeps/nacl/Makefile (libpthread-routines): Use
3628         pthread-compat-wrappers to filter the routines list instead of the
3629         ptw- prefix.
3631 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3633         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3634         with L() and remove explicit suffix, convert real literals
3635         which can be equivalentally substituted with integers, and
3636         transform -L(x) to L(-x).
3638         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3639         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3640         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3641         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3642         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3643         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3644         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3646         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3647         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3648         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3649         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3650         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3651         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3652         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3653         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3654         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3655         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3656         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3657         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3658         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3660         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3663         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3664         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3665         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3666         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3669         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3670         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3672         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3673         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3674         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3677         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3678         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3680         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3681         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3682         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3683         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3684         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3685         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3686         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3687         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3689 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3691         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3693 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3695         * malloc/Makefile (tests): Remove individual static test names
3696         and just add all of tests-static.
3698         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3700 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3702         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3703         file.
3705         * sysdeps/sparc/fpu/fegetmode.c: New file.
3706         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3708         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3709         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3711         * sysdeps/s390/fpu/fegetmode.c: New file.
3712         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3714         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3715         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3716         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3717         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3718         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3719         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3721         * sysdeps/mips/fpu/fegetmode.c: New file.
3722         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3724         * sysdeps/m68k/fpu/fegetmode.c: New file.
3725         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3727         * sysdeps/ia64/fpu/fegetmode.c: New file.
3728         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3730         * sysdeps/hppa/fpu/fegetmode.c: New file.
3731         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3733         * sysdeps/arm/fegetmode.c: New file.
3734         * sysdeps/arm/fesetmode.c: Likewise.
3736         * sysdeps/alpha/fpu/fegetmode.c: New file.
3737         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3739         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3740         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3742         * math/fegetmode.c: New file.
3743         * math/fesetmode.c: Likewise.
3744         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3745         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3746         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3747         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3748         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3750         declaration.
3751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3752         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3753         typedef.
3754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3755         * sysdeps/aarch64/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/alpha/fpu/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/arm/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/hppa/fpu/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/ia64/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/m68k/fpu/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/microblaze/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 macro.
3776         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3777         (femode_t): New typedef.
3778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3779         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3780         (femode_t): New typedef.
3781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3782         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3783         (femode_t): New typedef.
3784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3785         declaration.
3786         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3787         * sysdeps/s390/fpu/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/sh/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         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3794         (femode_t): New typedef.
3795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3796         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3797         (femode_t): New typedef.
3798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3799         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3800         (femode_t): New typedef.
3801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3802         * manual/arith.texi (FE_DFL_MODE): Document macro.
3803         (fegetmode): Document function.
3804         (fesetmode): Likewise.
3805         * math/Versions (fegetmode): New libm symbol at version
3806         GLIBC_2.25.
3807         (fesetmode): Likewise.
3808         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3809         (tests): Add test-femode and test-femode-traps.
3810         * math/test-femode-traps.c: New file.
3811         * math/test-femode.c: Likewise.
3812         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3813         alias for __fe_dfl_env.
3814         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3815         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3816         (__fe_dfl_mode): Likewise.
3817         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3818         version GLIBC_2.25.
3819         * sysdeps/nacl/libm.abilist: Update.
3820         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3821         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3822         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3823         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3824         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3825         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3826         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3827         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3828         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3829         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3830         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3831         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3833         Likewise.
3834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3835         Likewise.
3836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3837         Likewise.
3838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3839         Likewise.
3840         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3841         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3842         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3843         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3846         Likewise.
3847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3848         Likewise.
3849         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3850         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3851         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3853 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3855         [BZ #20495]
3856         [BZ #20508]
3857         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3858         processors, set Use_dl_runtime_resolve_slow and set
3859         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3860         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3861         New.
3862         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3863         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3864         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3865         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3866         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3867         if Use_dl_runtime_resolve_opt is set.  Use
3868         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3869         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3870         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3871         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3872         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3873         New.
3874         (_dl_runtime_resolve_opt): Likewise.
3875         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3876         defined.
3878 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3880         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3881         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3883 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3885         Convert malloc to __libc_lock.  Automated part, using this Perl
3886         s/// command:
3887           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3888             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3889         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3890         conversion.
3892 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3894         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3895         (linknamespace-symlists-tests): Likewise.
3896         (linknamespace-header-tests): Likewise.
3898 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3900         [BZ #19810]
3901         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3902         * elf/tst-noload.c: New test case.
3903         * elf/Makefile (tests): Add tst-noload.
3905 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3907         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3909         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3910         not any more.
3912         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3914 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3916         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3917         (do_cos_slow): Likewise.
3918         (do_sin): Likewise.
3919         (do_sin_slow): Likewise.
3920         (slow): Likewise.
3921         (slow1): Likewise.
3922         (slow2): Likewise.
3923         (sloww): Likewise.
3924         (sloww1): Likewise.
3925         (sloww2): Likewise.
3926         (bsloww): Likewise.
3927         (bsloww1): Likewise.
3928         (bsloww2): Likewise.
3929         (cslow2): Likewise.
3931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3933         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3934         arguments.  Consolidate input partitioning from callers here.
3935         (do_cos_slow): Likewise.
3936         (do_sin): Likewise.
3937         (do_sin_slow): Likewise.
3938         (do_sincos_1): Remove the no longer necessary input partitioning.
3939         (do_sincos_2): Likewise.
3940         (__sin): Likewise.
3941         (__cos): Likewise.
3942         (slow1): Likewise.
3943         (slow2): Likewise.
3944         (sloww1): Likewise.
3945         (sloww2): Likewise.
3946         (bsloww1): Likewise.
3947         (bsloww2): Likewise.
3948         (cslow2): Likewise.
3950 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3952         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3953         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3954         outside of allocated array.
3956 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3958         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3959         instead of MB_CUR_MAX to avoid variable-length array.
3961 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3963         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3964         (type-double-routines): Add k_rem_pio2.
3965         (type-float-routines): Add k_rem_pio2f.
3967         * sysdeps/generic/math_private.h:
3968         (__kernel_rem_pio2l): Removed.
3970         * math/k_rem_pio2l.c: Removed.
3971         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3972         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3973         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3974         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3976 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3978         * math/Makefile (gen-libm-calls): Add s_fmin
3979         (libm-calls): Remove above.
3981         * math/s_fmin.c: Refactor into ...
3982         * math/s_fmin_template.c: New file.
3984         * math/s_fminf.c: Removed.
3985         * math/s_fminl.c: Removed.
3986         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3987         (LDOUBLE_fmin_libm_version): New macro.
3989         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3990         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3992 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3994         * math/Makefile: (gen-libm-calls): Add s_fmax.
3995         (libm-calls): Remove above.
3997         * math/s_fmax.c: Refactor into ...
3998         * math/s_fmax_template.c: New file.
3999         * math/s_fmaxf.c: Removed.
4000         * math/s_fmaxl.c: Removed.
4002         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4003         (LDOUBLE_fmaxl_libm_version): New macro.
4005         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4006         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4008         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4009         s_fmin.c to pick the aarch64 version of the file.
4010         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4011         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4013 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4015         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4016         (libm-calls): Remove above.
4018         * math/s_nextdown.c: Refactor into ...
4019         * math/s_nextdown_template.c: New file.
4020         * math/s_nextdownf.c: Removed.
4021         * math/s_nextdownl.c: Removed.
4023         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4025 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4027         * math/Makefile (gen-libm-calls): Add s_fdim.
4028         (libm-calls): Move to above.
4030         * math/s_fdim.c: Renamed and refactored into to ...
4031         * math/s_fdim_template.c: New file.
4032         * math/s_fdiml.c: Removed.
4033         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4034         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4036         * sysdeps/generic/math-type-macros-double.h:
4037         (declare_mgen_alias): Don't declare if already declared.
4038         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4039         Likewise.
4041         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4042         (declare_mgen_alias): Don't declare if already declared.
4043         (M_LIBM_NEED_COMPAT): Likewise.
4044         (declare_mgen_libm_compat): Likewise.
4045         (LDOUBLE_fdiml_libm_version): New macro.
4047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4048         Include math/s_fdim.c now that ldbl-opt version is not needed.
4049         (declare_mgen_alias): New macro to disable aliasing.
4051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4052         (declare_mgen_alias): Likewise.
4053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4054         (declare_mgen_alias): Likewise.
4055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4056         (declare_mgen_alias): Likewise.
4057         (M_LIBM_NEED_COMPAT): Likewise.
4059 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4061         [BZ #20525]
4062         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4063         Include <linux/quota.h>.
4064         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4065         and btodb.
4066         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4067         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4068         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4069         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4070         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4071         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4072         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4073         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4074         types.
4075         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4076         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4078 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4080         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4081         (gammal_positive): Fix spacing.
4082         (__ieee754_gammal_r): Likewise.
4084 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4086         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4087         (_Float128): Define as long double, always.
4088         (L): Apply long double type suffix, always.
4090         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4091         _Float128, excepting comments.
4093         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4095         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4098         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4099         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4100         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4101         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4102         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4103         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4105         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4107         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4108         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4109         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4110         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4111         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4112         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4113         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4114         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4115         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4128         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4129         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4131         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4132         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4133         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4134         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4135         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4136         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4137         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4138         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4139         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4140         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4141         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4142         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4143         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4144         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4146         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4147         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4148         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4149         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4150         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4153         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4154         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4155         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4156         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4157         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4159         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4160         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4162         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4163         _Float128, and include math_private.h.
4164         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4166         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4167         long double semantics.
4168         (_Float128): Likewise.
4169         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4170         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4171         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4172         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4174 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4176         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4177         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4178         * sysdeps/s390/configure: Regenerated.
4179         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4180         instruction for raising over-/underflow if z196 zarch is supported
4181         by default.
4182         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4184 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4186         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4187         it point to a dumb buffer for RPC to fill it.
4189 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4191         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4192         instead of if/else.
4193         (do_sin_slow): Likewise.
4194         (do_sincos_1): Use fabs instead of if/else.
4195         (do_sincos_2): Likewise.
4196         (__sin): Likewise.
4197         (__cos): Likewise.
4198         (slow2): Likewise.
4199         (sloww): Likewise.
4200         (sloww1): Likewise.  Drop argument M.
4201         (sloww2): Use fabs instead of if/else.
4202         (bsloww): Likewise.
4203         (bsloww1): Likewise.
4204         (bsloww2): Likewise.
4206         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4207         fall through comment.
4208         (do_sincos_1): Likewise.
4210         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4211         Consolidate switch cases 0 and 2.
4213 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4215         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4216         (libm-calls): Remove the above.
4218         * math/s_cexp_template.c: Update using type-generic macros.
4219         * math/s_clog10_template.c: Likewise.
4220         * math/s_cpow_template.c: Likewise.
4221         * math/s_clog_template.c: Likewise.
4222         * math/s_cproj_template.c: Likewise.
4223         * math/s_csqrt_template.c: Likewise.
4225         * math/s_cexp.c: Removed.
4226         * math/s_cexpf.c: Removed.
4227         * math/s_cexpl.c: Removed.
4228         * math/s_clog10.c: Removed.
4229         * math/s_clog10f.c: Removed.
4230         * math/s_clog10l.c: Removed.
4231         * math/s_cpow.c: Removed.
4232         * math/s_cpowf.c: Removed.
4233         * math/s_cpowl.c: Removed.
4234         * math/s_clog.c: Removed.
4235         * math/s_clogf.c: Removed.
4236         * math/s_clogl.c: Removed.
4237         * math/s_cproj.c: Removed.
4238         * math/s_cprojf.c: Removed.
4239         * math/s_cprojl.c: Removed.
4240         * math/s_csqrt.c: Removed.
4241         * math/s_csqrtf.c: Removed.
4242         * math/s_csqrtl.c: Removed.
4244         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4245         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4246         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4247         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4248         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4249         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4251         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4252         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4253         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4254         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4255         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4256         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4257         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4258         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4259         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4260         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4261         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4263         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4264         version.
4266         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4267         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4268         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4269         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4271 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4273         * s_cexp_template.c: Copy of s_cexp.c.
4274         * s_clog_template.c: Copy of s_clog.c.
4275         * s_clog10_template.c: Copy of s_clog10.c.
4276         * s_cpow_template.c: Copy of s_cpow.c.
4277         * s_cproj_template.c: Copy of s_cproj.c.
4278         * s_csqrt_template.c: Copy of s_csqrt.c.
4280 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4282         [BZ #20517]
4283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4284         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4285         exported.
4287 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4289         * math/fetestexceptflag.c: New file.
4290         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4291         Stefan Liebler.
4292         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4293         (fetestexceptflag): New function declaration.
4294         * manual/arith.texi (fetestexceptflag): Document function.
4295         * math/Versions (fetestexceptflag): New libm symbol at version
4296         GLIBC_2.25.
4297         * math/Makefile (libm-support): Add fetestexceptflag.
4298         (tests): Add test-fetestexceptflag.
4299         * math/test-fetestexceptflag.c: New file.
4300         * sysdeps/nacl/libm.abilist: Update.
4301         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4302         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4303         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4304         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4305         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4306         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4307         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4308         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4309         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4310         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4311         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4312         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4314         Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4316         Likewise.
4317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4318         Likewise.
4319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4320         Likewise.
4321         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4322         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4323         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4324         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4325         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4327         Likewise.
4328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4329         Likewise.
4330         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4331         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4332         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4334 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4336         [BZ #20432]
4337         Avoid strong references to malloc-internal symbols when linking
4338         statically, to support statically interposed mallocs.
4339         * include/libc-symbols.h (call_function_static_weak): New macro.
4340         * malloc/Makefile (tests): Add tst-interpose-nothread,
4341         tst-interpose-thread, tst-interpose-static-nothread,
4342         tst-interpose-static-thread.
4343         (tests-static): Add tst-interpose-static-nothread,
4344         tst-interpose-static-thread.
4345         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4346         tst-interpose-aux-thread.o.
4347         (test-extras): Add tst-interpose-aux-nothread,
4348         tst-interpose-aux-thread.
4349         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4350         tst-interpose-aux-nothread.o.
4351         (tst-interpose-thread, tst-interpose-static-thread): Link with
4352         tst-interpose-aux-thread.o and libthread.
4353         * malloc/tst-interpose-aux-nothread.c: New file.
4354         * malloc/tst-interpose-aux-thread.c: Likewise.
4355         * malloc/tst-interpose-aux.c: Likewise.
4356         * malloc/tst-interpose-aux.h: Likewise.
4357         * malloc/tst-interpose-nothread.c: Likewise.
4358         * malloc/tst-interpose-skeleton.c: Likewise.
4359         * malloc/tst-interpose-static-nothread.c: Likewise.
4360         * malloc/tst-interpose-static-thread.c: Likewise.
4361         * malloc/tst-interpose-thread.c: Likewise.
4362         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4363         * sysdeps/mach/hurd/fork.c (__fork): Only call
4364         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4365         __malloc_fork_unlock_child if defined.
4366         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4368 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4370         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4371         timespec C99 designated initialization.
4373 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4375         [BZ #19946]
4376         Avoid expected SIGALRM signals.
4377         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4378         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4379         (xpthread_create, xpthread_detach, xpthread_join)
4380         (delayed_exit_thread, delayed_exit): New functions.
4381         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4382         (tf): Use xpthread_cond_wait.
4383         (do_test): Likewise.  Replace alarm with delayed_exit.
4384         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4385         (do_test): Call delayed_exit.  Report failure.
4386         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4387         (do_test): Call delayed_exit.
4388         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4389         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4390         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4391         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4392         error.
4393         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4394         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4395         error.
4396         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4397         (do_test): Call delayed_exit.
4398         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4399         (do_test): Call delayed_exit.
4400         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4401         (do_test): Call delayed_exit instead of alarm.  Use
4402         xpthread_mutex_lock.
4403         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4404         (do_test): Call delayed_exit instead of alarm.  Use
4405         xpthread_mutex_lock.
4406         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4407         (do_test): Call delayed_exit instead of alarm.
4408         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4409         (do_test): Call delayed_exit instead of alarm.  Use
4410         xpthread_spin_lock.
4411         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4412         (do_test): Call delayed_exit instead of alarm.  Use
4413         xpthread_join.
4415 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4417         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4418         adjust CFA when allocating register save area on re-aligned
4419         stack.
4421 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4423         * string/tst-cmp.c: New test.
4424         * string/Makefile (tests): Add it.
4426 2016-08-25  Mark Wielaard  <mark@klomp.org>
4428         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4429         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4430         (check_tree_recurse): Use newly defined accessors.
4431         (check_tree): Likewise.
4432         (maybe_split_for_insert): Likewise.
4433         (__tfind): Likewise.
4434         (__tdelete): Likewise.
4435         (trecurse): Likewise.
4436         (tdestroy_recurse): Likewise.
4437         (__tsearch): Likewise. And add asserts for malloc alignment.
4438         (__twalk): Cast root to node in case CHECK_TREE is defined.
4440 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4442         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4444 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4446         * math/Makefile (libm-gen-calls): Add
4447         catan, catanh, ctan, ctanh.
4448         (libm-calls): Remove the above.
4450         * math/s_catan_template.c: Update using type-generic macros.
4451         * math/s_catanh_template.c: Likewise.
4452         * math/s_ctan_template.c: Likewise.
4453         * math/s_ctanh_template.c: Likewise.
4455         * math/s_catanf.c: Removed.
4456         * math/s_catan.c: Removed.
4457         * math/s_catanl.c: Removed.
4458         * math/s_catanhf.c: Removed.
4459         * math/s_catanh.c: Removed.
4460         * math/s_catanhl.c: Removed.
4461         * math/s_ctanf.c: Removed.
4462         * math/s_ctan.c: Removed.
4463         * math/s_ctanl.c: Removed.
4464         * math/s_ctanhf.c: Removed.
4465         * math/s_ctanh.c: Removed.
4466         * math/s_ctanhl.c: Removed.
4468         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4469         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4470         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4471         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4472         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4473         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4475         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4476         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4477         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4478         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4480 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4482         * s_catan_template.c: Copy of s_catan.c.
4483         * s_catanh_template.c: Copy of s_catanh.c.
4484         * s_ctan_template.c: Copy of s_ctan.c.
4485         * s_ctanh_template.c: Copy of s_ctanh.c.
4487 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4489         * math/Makefile (gen-libm-calls): Move
4490         casin, casinh, csin, csinh here.
4491         (libm-calls): Remove the above.
4493         * math/s_casin_template.c: Update using type-generic macros.
4494         * math/s_casinh_template.c: Likewise.
4495         * math/s_csin_template.c: Likewise.
4496         * math/s_csinh_template.c: Likewise.
4497         * math/k_casinh_template.c: Likewise.
4499         * math/s_casinf.c: Removed.
4500         * math/s_casin.c: Removed.
4501         * math/s_casinl.c: Removed.
4502         * math/s_casinh.c: Removed.
4503         * math/s_casinhf.c: Removed.
4504         * math/s_casinhl.c: Removed.
4505         * math/s_csin.c: Removed.
4506         * math/s_csinf.c: Removed.
4507         * math/s_csinl.c: Removed.
4508         * math/s_csinh.c: Removed.
4509         * math/s_csinhf.c: Removed.
4510         * math/s_csinhl.c: Removed.
4511         * math/k_casinh.c: Removed.
4512         * math/k_casinhf.c: Removed.
4513         * math/k_casinhl.c: Removed.
4515         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4516         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4517         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4518         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4520         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4521         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4522         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4523         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4524         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4525         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4526         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4527         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4529         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4530         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4531         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4532         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4534         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4535         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4536         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4537         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4539 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4541         * s_casin_template.c: Copy of s_casin.c.
4542         * s_casinh_template.c: Copy of s_casinh.c.
4543         * s_csin_template.c: Copy of s_csin.c.
4544         * s_csinh_template.c: Copy of s_csinh.c.
4545         * k_casinh_template.c: Copy of k_casinh.c.
4547 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4549         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4551 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4553         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4554         (mul_split) Remove, rename as mul_splitl, remove
4555         redundant float.h include, and include via mul_splitl.h
4557         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4558         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4559         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4560         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4561         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4563         * math/mul_splitl.h: New file.
4565         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4566         Move into mul_split.h, and remove redundant float.h include.
4568         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4569         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4571         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4573         * math/mul_split.h: New file.
4575 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4577         * math/Makefile (libm-gen-calls): Move
4578         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4579         (libm-calls): Remove above.
4581         * math/s_cacos_template.c: Update using type-generic macros.
4582         * math/s_cacosh_template.c: Likewise.
4583         * math/s_ccos_template.c: Likewise.
4584         * math/s_ccosh_template.c: Likwise.
4586         * math/s_cacosf.c: Removed.
4587         * math/s_cacos.c: Removed.
4588         * math/s_cacosl.c: Removed.
4589         * math/s_cacoshf.c: Removed.
4590         * math/s_cacosh.c: Removed.
4591         * math/s_cacoshl.c: Removed.
4592         * math/s_ccosf.c: Removed.
4593         * math/s_ccos.c: Removed.
4594         * math/s_ccosl.c: Removed.
4595         * math/s_ccoshf.c: Removed.
4596         * math/s_ccosh.c: Removed.
4597         * math/s_ccoshl.c: Removed.
4599         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4600         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4601         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4602         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4603         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4604         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4606         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4607         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4608         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4609         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4611         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4612         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4613         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4614         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4616 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4618         * s_cacos_template.c: Copy of s_cacos.c.
4619         * s_cacosh_template.c: Copy of s_cacosh.c.
4620         * s_ccos_template.c: Copy of s_ccos.c.
4621         * s_ccosh_template.c: Copy of s_ccosh.c.
4623 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4625         * stdlib/tst-strtod-round-skeleton.c:
4626         Refactored from tst-strtod-round.c.
4628         (L_): New macro to apply literal modifier.
4629         (FNPFX): New macro to select str or wcs prefix.
4630         (CHAR): New macro to choose wchar_t or char.
4631         (STRM): New macro to choose printf for tested character type.
4633         (STRTO): New macro to choose appropriate string -> real function.
4634         (FNPFXS): Stringitized version of FNPFX.
4635         (STR): Support for above macro.
4636         (STRX): Likewise.
4638         (TEST): Update with above macros.
4639         (test): Likewise.
4640         (GEN_ONE_TEST): Likewise.
4641         (test_in_one_mode): Likewise.
4643         * stdlib/tst-strtod-round.c: New file.
4644         * wcsmbs/tst-wcstod-round.c: New file.
4646         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4647         (tst-wcstod-round): Add libm depencency for fesetround.
4649 2016-08-19  Zack Weinberg  <zackw@panix.com>
4651         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4653 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4655         [BZ #20477]
4656         * resolv/res_hconf.c (do_init): Use atomic access.
4657         * resolv/res_hconf.h: Add comments.
4658         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4659         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4662 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4665         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4667         Likewise.
4669 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4671         [BZ #16907]
4672         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4673         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4674         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4675         (__attribute__): Remove definition.
4677 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4679         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4680         Remove unused sqrtl declaration.
4682 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4684         * math/Makefile: (gen-libm-templates.stmp): New rule.
4685         (libm-calls): Move carg conj cimag and cabs into ...
4686         (gen-libm-calls): New variable.
4687         (generated): Inform Make objects from gen-libm-calls
4688         may be generated.
4690         * sysdeps/generic/math-type-macros.h: New file.
4691         * sysdeps/generic/math-type-macros-float.h: Likewise.
4692         * sysdeps/generic/math-type-macros-double.h: Likewise.
4693         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4694         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4695         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4697         * math/cabs.c: Refactor into
4698         * math/cabs_template.c: new file.
4699         * math/cabsf.c: Removed.
4700         * math/cabsl.c: Removed.
4701         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4702         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4704         * math/carg.c: Refactor into
4705         * math/carg_template.c: new file.
4706         * math/cargf.c: Removed.
4707         * math/cargl.c: Removed.
4708         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4709         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4711         * math/conj.c: Refactor into
4712         * math/conj_template.c: new file.
4713         * math/conjf.c: Removed.
4714         * math/conjl.c: Removed.
4715         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4716         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4718         * math/cimag.c: Refactor into
4719         * math/cimag_template.c: new file.
4720         * math/cimagf.c: Removed.
4721         * math/cimagl.c: Removed.
4722         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4723         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4725         * math/cimag.c: Refactor into
4726         * math/cimag_template.c: new file.
4727         * math/cimagf.c: Removed.
4728         * math/cimagl.c: Removed.
4729         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4730         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4732 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4734         Reduce time to expected nptl/tst-once5 failure.
4735         * nptl/tst-once5.cc (TIMEOUT): Define.
4737 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4739         [BZ #20452]
4740         Avoid additional copies of objects in libc.a in static libraries.
4741         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4742         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4743         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4744         rt-sysdep.
4745         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4746         Add nptl-sysdep.
4747         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4748         Add ptw-sysdep.
4749         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4750         rt-sysdep.
4751         * sysdeps/unix/sysv/linux/alpha/Makefile
4752         (libpthread-shared-only-routines): Add ptw-sysdep,
4753         ptw-sigprocmask, ptw-rt_sigaction.
4754         * sysdeps/unix/sysv/linux/ia64/Makefile
4755         (librt-shared-only-routines): Add rt-sysdep.
4756         * sysdeps/unix/sysv/linux/i386/Makefile
4757         (libpthread-shared-only-routines): Add libc-do-syscall.
4758         * sysdeps/unix/sysv/linux/microblaze/Makefile
4759         (libpthread-shared-only-routines): Add sysdep.
4760         * sysdeps/unix/sysv/linux/powerpc/Makefile
4761         (librt-shared-only-routines): Add rt-sysdep.
4762         (libpthread-shared-only-routines): Add sysdep.
4763         * sysdeps/unix/sysv/linux/s390/Makefile
4764         (librt-shared-only-routines): Add rt-sysdep.
4765         * sysdeps/unix/sysv/linux/sparc/Makefile
4766         (librt-shared-only-routines): Add rt-sysdep.
4767         (libpthread-shared-only-routines): Add sysdep.
4768         * sysdeps/unix/sysv/linux/tile/Makefile
4769         (libpthread-shared-only-routines): Likewise.
4771 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4773         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4774         Mask implicit bit out of unpacked value.
4775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4779         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4781         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4783         * sysdeps/s390/fpu/fesetexcept.c: New file.
4785         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4786         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4787         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4789         * sysdeps/mips/fpu/fesetexcept.c: New file.
4791         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4793         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4795         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4797         * sysdeps/arm/fesetexcept.c: New file.
4799         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4801         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4803         * math/fesetexcept.c: New file.
4804         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4805         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4806         * math/fenv.h: Define
4807         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4808         <bits/libc-header-start.h> instead of including <features.h>.
4809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4810         declaration.
4811         * manual/arith.texi (fesetexcept): Document function.
4812         * math/Versions (fesetexcept): New libm symbol at version
4813         GLIBC_2.25.
4814         * math/Makefile (libm-support): Add fesetexcept.
4815         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4816         * math/test-fesetexcept.c: New file.
4817         * math/test-fesetexcept-traps.c: Likewise.
4818         * sysdeps/nacl/libm.abilist: Update.
4819         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4829         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4830         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4832         Likewise.
4833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4834         Likewise.
4835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4845         Likewise.
4846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4847         Likewise.
4848         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4849         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4850         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4852 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4854         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4855         New.
4856         (do_test): Apply default_stack_size_in_mb if not set.
4857         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4859 2016-08-15  Andreas Schwab  <schwab@suse.de>
4861         [BZ #20435]
4862         CVE-2016-6323
4863         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4864         as .cantunwind.
4866 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4868         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4869         comment from fraiseexcpt.c.
4871         * math/test-fexcept.c (feraiseexcept_exact): New function.
4872         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4873         (test_except): Likewise.
4875 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4877         [BZ #20455]
4878         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4879         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4880         to be restored.
4882         * math/test-fexcept-traps.c: New file.
4883         * math/test-fexcept.c: Likewise.
4884         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4885         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4886         macro.
4887         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4888         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4890 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4892         * include/atomic.h (atomic_fetch_and_relaxed,
4893         atomic_fetch_and_release, atomic_fetch_or_release,
4894         atomic_fetch_xor_release): New.
4896 2016-08-06  Christian Seiler  <christian@iwakd.de>
4898         [BZ #20444]
4899         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4900         MACH_PORT_NULL.
4902 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4904         * math/s_fdim.c: Avoid alias renamed.
4905         * math/s_fdimf.c: Likewise.
4906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4907         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4908         Add s_fdimf-vis3, s_fdim-vis3.
4909         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4910         (CFLAGS-s_fdim-vis3.c): Likewise.
4911         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4912         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4914 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4917         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4918         Remove s_fdimf-vis3, s_fdim-vis3.
4919         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4920         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4927         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4928         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4930 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4932         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4933         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4934         -Wa,-Av9a -mvis.
4936 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4938         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4939         LIT() to individual constants in simple expressions
4940         after splitting on spaces.
4941         (_apply_lit): Rename replaced version, and use it to
4942         apply to what appears to be a token.
4944         * math/libm-test.inc: Fix many, many issues with
4945         spacing.
4947 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4949         * math/math.h: Move comment about <bits/mathdef.h> definitions
4950         above inclusion of <bits/mathdef.h>.  Do not mention
4951         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4953 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4955         * include/atomic.h (atomic_exchange_relaxed): New.
4957 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4959         * math/e_scalb.c: Do not include <fenv.h>.
4960         (invalid_fn): Do calculation resulting in NaN instead of raising
4961         FE_INVALID and returning a NaN explicitly.
4962         * math/e_scalbf.c: Do not include <fenv.h>.
4963         (invalid_fn): Do calculation resulting in NaN instead of raising
4964         FE_INVALID and returning a NaN explicitly.
4965         * math/e_scalbl.c: Do not include <fenv.h>.
4966         (invalid_fn): Do calculation resulting in NaN instead of raising
4967         FE_INVALID and returning a NaN explicitly.
4969 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4971         * po/de.po: Updated from Translation Project.
4972         * po/fi.po: Likewise.
4973         * po/sv.po: Likewise.
4975 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4977         [BZ #20452]
4978         Use sysdep.o from libc.a in static libraries.
4979         * sysdeps/unix/sysv/linux/i386/Makefile
4980         (libpthread-shared-only-routines): Add sysdep.
4981         (librt-shared-only-routines): Likewise.
4983 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4985         * math/tgmath.h (nextdown): Define if
4986         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4987         (nextup): Likewise.
4989         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4990         macro.
4991         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4992         Document.
4993         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4994         Document macro.
4995         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4996         (exp10f): Likewise.
4997         (exp10l): Likewise.
4998         * math/bits/mathcalls.h (exp10): Declare if
4999         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5001         * manual/arith.texi (nextup): Fix typo in last change.
5003 2016-08-03  Zack Weinberg  <zackw@panix.com>
5005         [BZ #19239]
5006         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5007         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5008         define major, minor, and makedev to issue deprecation warnings on use.
5009         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5010         previously-activated deprecation warnings for these macros and prevent
5011         subsequent inclusions of this header from having any effect.
5012         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5013         including <sys/sysmacros.h>, and undefine it again afterward.
5015 2016-08-03  Zack Weinberg  <zackw@panix.com>
5017         * sysdeps/generic/sys/sysmacros.h: Delete file.
5018         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5019         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5020         * bits/sysmacros.h: ... here; this encoding is now the generic
5021         encoding.  Now defines only the following macros:
5022         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5023         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5024         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5026         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5027         bits/sysmacros.h and the above new macros to generate the
5028         public implementations of major, minor, and makedev.
5029         * misc/tst-makedev.c: New test.
5030         * include/sys/sysmacros.h: New wrapper.
5032         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5033         (routines): Add makedev.
5034         (tests): Add tst-makedev.
5035         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5036         gnu_dev_makedev.
5037         * posix/Makefile (headers): Remove sys/sysmacros.h.
5038         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5040         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5041         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5042         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5043         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5044         * sysdeps/unix/sysv/linux/arm/libc.abilist
5045         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5046         * sysdeps/unix/sysv/linux/i386/libc.abilist
5047         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5048         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5049         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5050         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5051         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5052         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5053         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5054         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5055         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5060         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5061         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5062         * sysdeps/unix/sysv/linux/sh/libc.abilist
5063         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5064         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5067         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5068         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5069         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5070         Add GLIBC_2.25.
5072         * include/features.h (__glibc_clang_prereq): New macro.
5073         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5074         (__attribute_deprecated_msg__): New macros.
5076 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5078         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5079         macro.
5080         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5081         * manual/arith.texi (issignaling): Document as ISO from TS
5082         18661-1:2014.
5083         (nextup): Likewise.
5084         (nextupf): Likewise.
5085         (nextupl): Likewise.
5086         (nextdown): Likewise.
5087         (nextdownf): Likewise.
5088         (nextdownl): Likewise.
5089         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5090         macro.
5091         * math/math.h: Define
5092         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5093         <bits/libc-header-start.h> instead of including <features.h>.
5094         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5095         [__USE_GNU].
5096         * math/bits/mathcalls.h (nextdown): Declare if
5097         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5098         (nextup): Likewise.
5099         (__issignaling): Likewise.
5101 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5103         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5104         check, and remove __glibc_likely hint
5105         from FP_INFINITE check.
5106         * s_csinhf.c (__csinhf): Likewise.
5108         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5109         hint from FP_INFINITE check.
5110         * s_csinhl.c (__csinhl): Likewise.
5112 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5114         * math/Makefile (libm-calls): Insert F placeholder into
5115         object names.  Move w_lgamma_compat* routines into
5116         (libm-compat-calls): New variable.
5117         (libm-compat-calls-ldouble-yes): New variable.
5118         (calls): Insert F placeholder.
5119         (generated): Redefine using new type-foreach macro call.
5120         (routines): Likewise.
5122         (types): New variable to hold a list of symbolic names
5123         for each type supported by the target machine.
5124         (libm-routines): Redefine using new types variable.
5125         (type-foreach): macro to replace fooF with the
5126         appropriately suffixed foo for each types.
5128         (type-ldouble-suffix): New variable.
5129         (type-ldouble-routines): Likewise.
5130         (type-ldouble-yes): Likewise.
5131         (type-double-suffix): Likewise.
5132         (type-double-routines): Likewise.
5133         (type-float-suffix): Likewise.
5134         (type-float-routines): Likewise.
5136         (dbl-only-routines): Remove.
5137         (long-c-yes): Likewise.
5138         (long-m-routines): Likewise.
5139         (long-m-support): Likewise.
5140         (long-m-yes): Likewise.
5141         (test-longdouble-yes): Likewise.
5143         (test-float.o): Simplify by increasing the scope of the
5144         recipe which adds libm-test.stmp to the vector types.
5145         (test-ifloat.o): Likewise.
5146         (test-float-finite.o): Likewise.
5147         (test-double.o): Likewise
5148         (test-idouble.o): Likewise.
5149         (test-double-finite.o): Likewise.
5150         (test-ldouble.o): Likewise
5151         (test-ildoubl.o): Likewise.
5152         (test-ldouble-finite.o): Likewise.
5154         (libm-tests): Redefine type tests using foreach and the
5155         list of types in types.
5157         (CPPFLAGS-test-ildoubl.c): Rename to
5158         (CPPFLAGS-test-ildouble.c): New variable
5160         * math/test-ildoubl.c: Rename to
5161         * math/test-ildouble.c: New file.
5163 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5165         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5166         Use fabsl instead of fabs.
5167         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5168         Likewise.
5169         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5170         Add long double suffix to constant to ensure proper
5171         promotion to long double.
5173 2016-08-03  Tom Tromey  <tom@tromey.com>
5175         [BZ #20311]
5176         * nptl_db/Makefile (headers): Add proc_service.h.
5177         * nptl_db/proc_service.h: Add include guard.  Use
5178         __BEGIN/__END_DECLS.
5179         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5180         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5181         arguments.
5184 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5186         [BZ #17730]
5187         Avoid using memalign for TCB allocations.
5188         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5189         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5190         Avoid alignment gap in the TLS_DTV_AT_TP case.
5191         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5192         determine the pointer to free.
5193         * nptl/tst-tls3-malloc.c: New test.
5194         * nptl/Makefile (tests): Add it.
5195         (tst-tls3-malloc): Link with libdl, libpthread.
5196         (LDFLAGS-tst-tls3-malloc): Set.
5197         (tst-tls3-malloc.out): Depend on DSO used in test.
5199 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5201         [BZ #17730]
5202         Avoid using memalign for TLS allocations.
5203         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5204         is_static member with to_free member.
5205         (union dtv): Use struct dtv_pointer.
5206         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5207         dtv_pointer instead of is_static.
5208         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5209         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5210         instead of val.
5211         (allocate_dtv_entry): New function.
5212         (allocate_and_init): Return struct dtv_pointer.  Call
5213         allocate_dtv_entry instead of __libc_memalign.
5214         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5215         instead of val.
5216         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5217         instead of is_static.  Adjust call to allocate_and_init.
5218         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5219         struct dtv_pointer instead of val.
5221 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5223         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5224         (MALLOC_ALIGN_MASK): Move ...
5225         * malloc/malloc-internal.h: ... to here.
5226         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5228 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5230         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5231         (UDP_ENCAP_GTP1U): Likewise.
5233         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5234         (PF_MAX): Update value.
5235         (AF_QIPCRTR): New macro.
5237 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5239         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5240         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5241         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5242         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5243         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5244         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5245         s_truncf-vis3, s_trunc-vis3.
5246         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5247         (CFLAGS-s_ceil-vis3.c): Likewise.
5248         (CFLAGS-s_floorf-vis3.c): Likewise.
5249         (CFLAGS-s_floor-vis3.c): Likewise.
5250         (CFLAGS-s_truncf-vis3.c): Likewise.
5251         (CFLAGS-s_trunc-vis3.c): Likewise.
5252         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5260         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5261         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5262         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5263         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5265 2016-08-02  David S. Miller  <davem@davemloft.net>
5267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5268         (__nearbyint_vis3): Don't check for sNaN before float register is
5269         loaded with the incoming argument.
5270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5271         (__nearbyintf_vis3): Likewise.
5272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5273         Likewise.
5274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5275         Likewise.
5277         * string/test-strncmp.c (do_test_limit): Make sure the test data
5278         stream is aligned as required for the type "CHAR".
5279         (do_test): Likewise.
5281 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5283         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5284         by beq instructions jumping to the end of the function.
5285         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5286         clobber list. Use "i" constraint instead of "X".
5287         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5288         of "X".
5290 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5292         * bits/libc-header-start.h: New file.
5293         * Makefile (headers): Add bits/libc-header-start.h.
5294         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5295         (__GLIBC_USE): New macro.
5296         * libio/stdio.h: Define
5297         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5298         <bits/libc-header-start.h> instead of including <features.h>.
5299         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5300         (open_memstream): Likewise.
5301         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5302         (__asprintf): Likewise.
5303         (asprintf): Likewise.
5304         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5305         (getdelim): Likewise.
5306         (getline): Likewise.
5307         * string/string.h: Define
5308         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5309         <bits/libc-header-start.h> instead of including <features.h>.
5310         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5311         (strndup): Likewise.
5312         * wcsmbs/wchar.h: Define
5313         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5314         <bits/libc-header-start.h> instead of including <features.h>.
5315         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5316         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5318 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5320         Support linking against compatibility symbols, for use in tests.
5321         * include/libc-symbols.h (symbol_version_reference): New macro.
5322         (symbol_version): Use it.
5323         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5324         (compat_symbol): Use compat_symbol_reference.
5325         (compat_symbol_1, compat_symbol_2): Remove.
5326         (compat_symbol_reference, compat_symbol_reference_1)
5327         (compat_symbol_reference_2): New macro.  Use
5328         symbol_version_reference.
5330 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5332         [BZ #19469]
5333         * malloc/Makefile (CPPFLAGS): Compile tests with
5334         -DTEST_NO_MALLOPT.
5335         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5337 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5339         [BZ #20033]
5340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5341         finite version.
5342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5344         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5345         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5350         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5353         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5354         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5356         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5357         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5359         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5360         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5361         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5362         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5363         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5364         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5365         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5366         in zero power.
5368 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5370         [BZ #20370]
5371         * malloc/arena.c (get_free_list): Update comment.  Assert that
5372         arenas on the free list have no attached threads.
5373         (remove_from_free_list): New function.
5374         (reused_arena): Call it.
5376 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5378         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5379         when it is a NaN.
5380         [_IEEE_FP_INEXACT] Remove.
5381         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5382         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5383         when it is a NaN.
5384         [_IEEE_FP_INEXACT] Remove.
5385         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5386         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5387         when it is a NaN.
5388         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5389         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5390         when its absolute value is greater than 0x1.0p52.
5391         [_IEEE_FP_INEXACT] Remove.
5392         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5393         when its absolute value is greater than 0x1.0p23.
5394         [_IEEE_FP_INEXACT] Remove.
5396 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5398         * version.h (RELEASE): Set to "development"
5399         (VERSION): Set to 2.24.90.
5400         * NEWS: Add 2.25 section.
5402         * version.h (RELEASE): Set to "stable"
5403         (VERSION): Set to 2.24.
5404         * include/features.h (__GLIBC_MINOR__): Set to 24.
5406         * NEWS: Add 2.24 fixed bugs.
5407         * po/libc.pot: Regenerate.
5409 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5412         [$(subdir) = math] (libm-sysdep_routines): Remove.
5413         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5414         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5415         s_truncf-vis3, s_trunc-vis3.
5416         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5418         file.
5419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5452         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5453         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5454         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5455         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5456         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5457         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5458         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5459         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5460         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5461         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5463 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5465         [BZ #20384]
5466         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5467         test-double-libmvec-sincos-avx-main.o,
5468         test-double-libmvec-sincos-avx2-main.o,
5469         test-double-libmvec-sincos-main.o,
5470         test-float-libmvec-sincosf-avx-main.o,
5471         test-float-libmvec-sincosf-avx2-main.o and
5472         test-float-libmvec-sincosf-main.o.
5473         test-float-libmvec-sincosf-avx512-main.o.
5474         ($(objpfx)test-double-libmvec-sincos): Also link with
5475         $(objpfx)test-double-libmvec-sincos-main.o.
5476         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5477         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5478         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5479         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5480         ($(objpfx)test-float-libmvec-sincosf): Also link with
5481         $(objpfx)test-float-libmvec-sincosf-main.o.
5482         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5483         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5484         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5485         test-double-libmvec-sincos-avx512-main.o and
5486         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5487         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5488         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5489         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5490         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5491         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5492         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5493         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5494         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5495         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5496         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5497         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5498         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5499         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5500         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5501         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5502         -DREQUIRE_AVX2.
5503         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5504         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5505         -DREQUIRE_AVX512F.
5506         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5507         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5508         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5509         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5510         file.
5511         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5512         Likewise.
5513         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5514         Likewise.
5515         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5516         Likewise.
5517         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5518         Likewise.
5519         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5520         Likewise.
5521         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5522         Likewise.
5523         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5524         Likewise.
5526 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5528         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5530 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5532         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5533         and typo in a comment about AT_HWCAP entry.
5535 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5537         * sysdeps/aarch64/libm-test-ulps: Updated.
5539 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5541         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5542         of r13 as it is not restored in mvcle case.
5544 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5546         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5547         Rename "ret" to "__ret".
5548         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5549         inline_syscall5, inline_syscall6): Likewise.
5551 2016-07-19   Will Newton  <will.newton@gmail.com>
5553         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5554         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5555         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5556         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5557         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5559 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5561         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5562         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5563         -mfpmath=387 with $(rtld-CFLAGS).
5564         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5565         $(rtld-CFLAGS).
5567 2016-07-18   Ross Burton  <ross.burton@intel.com>
5568              Khem Raj  <raj.khem@gmail.com>
5570         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5571         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5572         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5573         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5574         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5575         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5576         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5577         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5578         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5579         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5580         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5581         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5582         R_METAG_TLS_DTPOFF): New.
5584 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5585             Matt Clay  <mclay@lycos.com>
5587         [BZ #20357]
5588         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5589         to call __mpsin/__mpcos and to negate values.
5590         * math/auto-libm-test-in: Add test.
5591         * math/auto-libm-test-out: Regenerate.
5593 2016-07-18  Zack Weinberg  <zackw@panix.com>
5595         * grp/Makefile: Don't install the internal header grp-merge.h.
5597 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5599         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5601 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5603         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5605 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5607         [BZ #15368]
5608         * sysdeps/unix/sysv/linux/nptl-signals.h
5609         (__nptl_clear_internal_signals): New function.
5610         (__libc_signal_block_all): Likewise.
5611         (__libc_signal_block_app): Likewise.
5612         (__libc_signal_restore_set): Likewise.
5613         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5614         implementation.
5615         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5616         the cached pid/tid value in pthread structure.
5618 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5620         [BZ #20347]
5621         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5623 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5625         [BZ #20348]
5626         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5627         preadv64, pwrite64 and pwritev64.
5629 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5631         [BZ #20350]
5632         * posix/tst-preadwrite.c: Renamed to ...
5633         * posix/tst-preadwrite-common.c: This.
5634         (PREAD): Removed.
5635         (PWRITE): Likewise.
5636         (STRINGIFY): Likewise.
5637         (STRINGIFY2): Likewise.
5638         (do_prepare): Make it static and remove function arguments.
5639         (do_test): Likewise.
5640         (PREPARE): Updated.
5641         (TEST_FUNCTION): New.
5642         (name): Make it static.
5643         (fd): Likewise.
5644         (do_prepare): Use create_temp_file.
5645         (do_test): Renamed to ...
5646         (do_test_with_offset): This.  Make it static and accept offset.
5647         Properly check return value of PWRITE and PREAD.  Return bytes
5648         read.  Don't close fd nor unlink name.
5649         * posix/tst-preadwrite.c: Rewrite.
5650         * posix/tst-preadwrite64.c: Likewise.
5652 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5654         [BZ #20309]
5655         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5656         -mtls-dialect=gnu2 works.
5657         * configure: Regenerated.
5658         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5659         (tests): Add tst-gnu2-tls1.
5660         (modules-names): Add tst-gnu2-tls1mod.
5661         ($(objpfx)tst-gnu2-tls1): New.
5662         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5663         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5664         * elf/tst-gnu2-tls1.c: New file.
5665         * elf/tst-gnu2-tls1mod.c: Likewise.
5666         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5667         bytes for push in the PLT entry to align the stack.
5669 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5671         [BZ #20349]
5672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5674 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5676         [BZ #18707]
5677         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5678         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5680 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5682         * sysdeps/unix/sysv/linux/sysdep.h
5683         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5684         guards.
5685         * misc/tst-preadvwritev-common.c: New file.
5686         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5687         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5688         a check for files larger than 2GB.
5690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5691         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5692         * sysdeps/unix/sysv/linux/pread.c
5693         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5694         __OFF_T_MATCHES_OFF64_T.
5695         * sysdeps/unix/sysv/linux/pread64.c
5696         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5697         * sysdeps/unix/sysv/linux/preadv.c
5698         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5699         * sysdeps/unix/sysv/linux/preadv64.c
5700         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5701         * sysdeps/unix/sysv/linux/pwrite.c
5702         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5703         * sysdeps/unix/sysv/linux/pwrite64.c
5704         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5705         * sysdeps/unix/sysv/linux/pwritev.c
5706         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5707         * sysdeps/unix/sysv/linux/pwritev64.c
5708         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5710 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5712         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5713         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5715 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5717         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5719 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5721         [BZ #20240]
5722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5723         (CFLAGS-s_modf-ppc32.c): New variable.
5724         (CFLAGS-s_modff-ppc32.c): Likewise.
5725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5726         (CFLAGS-s_modf-ppc64.c): Likewise.
5727         (CFLAGS-s_modff-ppc64.c): Likewise.
5729 2016-07-07  Andreas Schwab  <schwab@suse.de>
5731         [BZ #20263]
5732         * nptl/tst-robust10.c: New test.
5733         * nptl/Makefile (tests): Add tst-robust10.
5735 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5737         [BZ #20263]
5738         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5740 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5742         * sysdeps/s390/linkmap.h (struct link_map_machine):
5743         Remove member gotplt and add member jmprel.
5744         * sysdeps/s390/s390-32/dl-machine.h
5745         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5746         instead of gotplt with &got[3].
5747         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5748         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5750 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5752         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5754 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5756         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5757         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5758         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5759         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5760         * libio/vtables.c (_IO_vtable_check)
5761         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5762         * libio/libioP.h (IO_set_accept_foreign_vtables)
5763         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5765 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5767         [BZ #20314]
5768         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5769         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5770         $(common-objpfx)cmath.
5771         ($(common-objpfx)cstdlib): New target.
5772         ($(common-objpfx)cmath): Likewise.
5774 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5776         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5778 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5780         [BZ #20327]
5781         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5782         are not part of the string.
5784 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5786         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5787         * nptl/tst-cancel4-common.h (fifoname): New variable.
5788         (fifofd): Likewise.
5789         (cl_fifo): New function.
5790         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5791         SIGINT.
5792         (tf_open): Add early cancel test.
5794 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5796         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5798 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5800         * sysdeps/generic/ldsodefs.h
5801         (dl_symbol_visibility_binds_local_p): New inline function.
5802         * elf/dl-addr.c (determine_info): Treat hidden and internal
5803         symbols as local.
5804         * elf/dl-lookup.c (do_lookup_x): Likewise.
5805         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5807 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5809         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5810         invalid exception for a sNaN input.
5811         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5812         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5813         (__nearbyint_vis3): Likewise
5814         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5815         (__nearbyintf_vis3): Likewise
5816         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5817         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5818         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5819         Likewise.
5820         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5821         Likewise.
5823 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5825         [BZ #20139]
5826         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5827         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5828         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5829         2.24 or above.
5830         (HAVE_AVX512_ASM_SUPPORT): Removed.
5831         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5832         * sysdeps/x86_64/configure: Regenerated.
5833         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5834         check unconditional.
5835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5836         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5837         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5838         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5839         Likewise.
5840         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5841         Likewise.
5842         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5843         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5844         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5845         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5846         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5847         Likewise.
5848         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5849         Likewise.
5850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5852         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5853         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5854         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5855         Likewise.
5856         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5857         Likewise.
5858         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5859         Likewise.
5860         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5861         Likewise.
5862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5863         Likewise.
5864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5865         Likewise.
5866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5867         Likewise.
5868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5869         Likewise.
5870         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5871         Likewise.
5872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5873         Likewise.
5874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5875         Likewise.
5877 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5879         [BZ #20024]
5880         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5882         of this implementation of vector function.
5883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5886         Likewise.
5887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5889         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5890         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5891         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5892         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5893         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5894         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5895         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5896         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5897         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5898         for testing vector sincos with fixed ABI.
5899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5901         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5902         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5903         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5904         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5905         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5906         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5907         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5908         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5909         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5910         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5911         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5912         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5913         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5914         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5916 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5918         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5920 2016-06-30  Anton Blanchard  <anton@samba.org>
5922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5923         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5924         s_sinf-ppc64.
5925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5928         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5930 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5934         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5935         e_expf-ppc64.
5936         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5937         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5939         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5941 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5943         [BZ #20277]
5944         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5945         when SHARED is defined.
5947 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5949         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5950         (index_arch_Prefer_ERMS): Likewise.
5951         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5952         __memcpy_erms for Prefer_ERMS.
5953         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5954         (__memmove_erms): Enabled for libc.a.
5955         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5956         __memmove_erms or Prefer_ERMS.
5957         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5958         __mempcpy_erms for Prefer_ERMS.
5959         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5960         __memset_erms for Prefer_ERMS.
5962 2016-06-30  Andreas Schwab  <schwab@suse.de>
5964         [BZ #20262]
5965         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5966         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5967         of memory.
5969 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5971         [BZ #18645]
5972         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5973         (test-extras): Add tst-cleanupx4aux.
5974         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5975         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5976         tst-cleanupx4aux.o.
5977         * nptl/tst-cleanupx4aux.c: New file.
5979 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5981         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5983 2016-06-29  Andreas Schwab  <schwab@suse.de>
5985         [BZ #20260]
5986         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5987         address before the beginning of the string as an integer to avoid
5988         array-bounds warning.
5990 2016-06-28  Richard Henderson  <rth@redhat.com>
5992         * elf/elf.h (EM_BPF): New.
5993         (EM_NUM): Update.
5994         (R_BPF_NONE, R_BPF_MAP_FD): New.
5996         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5997         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5998         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5999         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6000         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6001         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6002         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6003         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6004         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6005         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6006         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6007         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6008         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6009         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6010         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6011         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6012         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6013         (EM_NUM): Update.
6015 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6017         [BZ #18960]
6018         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6019         Set _nl_current_LC_CATEGORY_used to two instead of one.
6021 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6023         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6024         (do_test): ... this.
6025         (TEST_FUNCTION): New macro.
6026          Include test-skeleton.c.
6027         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6028         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6030 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6032         [BZ #15479]
6033         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6034         floating-point environment rather than just control word.
6035         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6036         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6037         floating-point environment, with "invalid" exceptions merged in,
6038         rather than just control word.
6039         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6040         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6041         "inexact" exceptions.
6043         [BZ #15479]
6044         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6045         floating-point environment rather than just control word.
6046         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6047         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6048         floating-point environment, with "invalid" exceptions merged in,
6049         rather than just control word.
6050         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6051         * math/libm-test.inc (floor_test_data): Do not allow spurious
6052         "inexact" exceptions.
6054         [BZ #15479]
6055         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6056         floating-point environment rather than just control word.
6057         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6058         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6059         floating-point environment, with "invalid" exceptions merged in,
6060         rather than just control word.
6061         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6062         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6063         "inexact" exceptions.
6065 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6067         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6068         __libc_vfork.
6069         (__vfork) [IS_IN (libc)]: Remove alias.
6070         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6071         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6072         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6074 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6076         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6077         of atomic_compare_and_exchange_bool_rel.
6078         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6079         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6080         catomic_compare_and_exchange_bool_rel): Remove.
6081         * sysdeps/aarch64/atomic-machine.h
6082         (atomic_compare_and_exchange_bool_rel): Likewise.
6083         * sysdeps/alpha/atomic-machine.h
6084         (atomic_compare_and_exchange_bool_rel): Likewise.
6085         * sysdeps/arm/atomic-machine.h
6086         (atomic_compare_and_exchange_bool_rel): Likewise.
6087         * sysdeps/mips/atomic-machine.h
6088         (atomic_compare_and_exchange_bool_rel): Likewise.
6089         * sysdeps/microblaze/atomic-machine.h
6090         ( __arch_compare_and_exchange_bool_8_rel,
6091         __arch_compare_and_exchange_bool_16_rel): Likewise.
6092         * sysdeps/powerpc/atomic-machine.h
6093         ( __arch_compare_and_exchange_bool_8_rel,
6094         __arch_compare_and_exchange_bool_16_rel): Likewise.
6095         * sysdeps/powerpc/powerpc32/atomic-machine.h
6096         ( __arch_compare_and_exchange_bool_32_rel,
6097         __arch_compare_and_exchange_bool_64_rel): Likewise.
6098         * sysdeps/powerpc/powerpc64/atomic-machine.h
6099         ( __arch_compare_and_exchange_bool_32_rel,
6100         __arch_compare_and_exchange_bool_64_rel): Likewise.
6101         * sysdeps/tile/atomic-machine.h
6102         (atomic_compare_and_exchange_bool_rel): Likewise.
6104 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #20296]
6107         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6108         when either argument is a NaN.
6109         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6110         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6112         * math/libm-test.inc (snan_value_ld): New macro.
6113         (isgreater_test_data): Add sNaN tests.
6114         (isgreaterequal_test_data): Likewise.
6115         (isless_test_data): Likewise.
6116         (islessequal_test_data): Likewise.
6117         (islessgreater_test_data): Likewise.
6118         (isunordered_test_data): Likewise.
6119         (nextafter_test_data): Likewise.
6120         (nexttoward_test_data): Likewise.
6121         (remainder_test_data): Likewise.
6122         (remquo_test_data): Likewise.
6123         (significand_test_data): Likewise.
6124         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6126 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6128         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6129         environment macros are defined.
6130         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6132 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6134         [BZ #20191]
6135         Implement vtable verification in libio.
6136         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6137         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6138         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6139         _IO_new_file_init_internal instead of _IO_file_init.
6140         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6141         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6142         * libio/Makefile (routines): Add vtables.
6143         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6144         (_IO_init): Remove, not for internal use.
6145         (_IO_init_internal): Declare, internal replacement for _IO_init.
6146         (_IO_file_init): Remove, not for internal use.
6147         (_IO_new_file_init): Remove, not for internal use.
6148         (_IO_new_file_init_internal): Declare, internal replacement for
6149         _IO_new_file_init.
6150         (_IO_old_file_init): Remove, not for internal use.
6151         (_IO_old_file_init_internal): Declare, internal replacement for
6152         _IO_old_file_init.
6153         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6154         internal use.
6155         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6156         Declare.
6157         (libio_vtable): New macro.
6158         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6159         functions.
6160         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6161         _IO_new_file_init.
6162         (_IO_new_file_init): New externally visible wrapper which disables
6163         vtable verification.
6164         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6165         Define as vtables.
6166         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6167         (_IO_init): New externally visible wrapper which disables
6168         vtable verification.
6169         * libio/iofdopen.c (_IO_new_fdopen): Call
6170         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6171         comment.
6172         * libio/iofopen.c (__fopen_internal): Call
6173         _IO_new_file_init_internal instead of _IO_file_init.
6174         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6175         Define as vtables.
6176         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6177         _IO_new_file_init_internal instead of _IO_file_init.
6178         * libio/iopopen.c (_IO_new_popen): Likewise.
6179         (_IO_proc_jumps): Define as vtable.
6180         * libio/iovdprintf.c (_IO_vdprintf): Call
6181         _IO_new_file_init_internal instead of _IO_file_init.
6182         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6183         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6184         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6185         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6186         _IO_old_file_init.
6187         (_IO_old_file_init): New externally visible wrapper which disables
6188         vtable verification.
6189         (_IO_old_file_jumps): Define as vtable.
6190         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6191         _IO_old_file_init_internal instead of _IO_old_file_init.
6192         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6193         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6194         (_IO_old_proc_jumps): Define as vtable.
6195         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6196         Define as vtables.
6197         * libio/vtables.c: New file.
6198         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6199         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6200         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6201         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6202         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6203         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6204         instead of _IO_init.
6206 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6208         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6210 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6212         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6213         potentially unused.
6215 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6217         * test-skeleton.c (write_message): New function.
6218         * malloc/tst-mallocfork2.c (write_message): Remove.
6219         * debug/tst-longjmp_chk2.c (write_indented): New function.
6220         (write_message): Remove.
6221         (stackoverflow_handler): Call write_indented.
6223 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6225         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6226         "inexact" exceptions after fnstenv.
6227         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6228         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6229         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6231 2015-06-22  Zack Weinberg  <zackw@panix.com>
6233         * sysdeps/generic/bits/hwcap.h: Moved to ...
6234         * bits/hwcap.h: Here.
6236 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6238         * sysdeps/aarch64/memcpy.S (memcpy):
6239         Further tuning for performance.
6241 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6243         [BZ #20284]
6244         * malloc/arena.c (reused_arena): Do not return NULL if we start
6245         out with a non-corrupted arena.
6247 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6249         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6250         * misc/tst-preadvwritev.c: New file.
6251         * misc/tst-preadvwritev64.c: Likewise.
6252         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6253         usage.
6254         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6255         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6256         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6257         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6259 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6261         [BZ #19654]
6262         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6263         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6264         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6265         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6266         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6267         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6268         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6269         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6270         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6271         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6272         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6273         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6274         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6275         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6276         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6277         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6278         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6279         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6280         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6281         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6282         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6283         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6284         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6285         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6286         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6287         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6289 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6291         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6292         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6294 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6296         * sysdeps/aarch64/memcpy.S (memcpy):
6297         Rewrite of optimized memcpy and memmove.
6298         * sysdeps/aarch64/memmove.S (memmove): Remove
6299         memmove code (merged into memcpy.S).
6301 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6303         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6304         * sysdeps/generic/dl-dtv.h: New file.
6305         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6306         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6307         (dtv_t): Remove.
6308         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6309         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6310         (dtv_t): Remove.
6311         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6312         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6313         (dtv_t): Remove.
6314         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6315         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6316         (dtv_t): Remove.
6317         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6318         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6319         (dtv_t): Remove.
6320         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6321         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6322         (dtv_t): Remove.
6323         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6324         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6325         (dtv_t): Remove.
6326         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6327         (dtv_t): Remove.
6328         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6329         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6330         (dtv_t): Remove.
6331         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6332         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6333         (dtv_t): Remove.
6334         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6335         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6336         (dtv_t): Remove.
6337         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6338         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6339         (dtv_t): Remove.
6340         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6341         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6342         (dtv_t): Remove.
6343         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6344         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6345         (dtv_t): Remove.
6346         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6347         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6348         (dtv_t): Remove.
6349         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6350         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6351         (dtv_t): Remove.
6353 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6355         Revert symbol poisoning of  __malloc_initialize_hook.
6356         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6357         poisoning.
6358         * malloc/Makefile: Remove un-poisoning.
6359         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6360         instead of old__malloc_initialize_hook.
6361         * malloc/malloc-hooks.h: Likewise.
6362         * malloc/malloc.c: Likewise.
6363         * malloc/mcheck-init.c: Likewise.
6365 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6367         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6369 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6371         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6372         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6373         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6374         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6376 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6378         * NEWS: Mention addition of nextup and nextdown.
6379         * manual/arith.texi: Document nextup and nextdown.
6380         * manual/libm-err-tab.pl: Add nextup and nextdown.
6381         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6382         * math/Versions (libm): Add GLIBC_2.24.
6383         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6384         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6385         Add new test.
6386         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6387         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6388         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6389         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6390         (nextup_test_data): Likewise.
6391         (nextdown_test_data): Likewise.
6392         * math/s_nextdown.c: New file.
6393         * math/s_nextdownf.c: Likewise.
6394         * math/s_nextdownl.c: Likewise.
6395         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6396         F(nextup): New function.
6397         F(nextdown): Likewise.
6398         * math/tgmath.h: Add nextup and nextdown.
6399         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6400         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6401         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6402         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6404         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6405         Add nextup and nextdown.
6406         (CFLAGS-nldbl-nextup.c): New variable.
6407         (CFLAGS-nldbl-nextdown.c): Likewise.
6408         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6409         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6410         * sysdeps/nacl/libm.abilist: Update.
6411         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6412         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6413         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6415         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6416         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6417         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6422         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6425         Likewise.
6426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6428         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6429         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6435         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6436         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6437         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6438         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6440 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6442         * manual/pattern.texi: Fix typos & grammar errors.
6444 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6446         * manual/search.texi: Fix typos & grammar errors.
6448 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6450         * manual/message.texi: Fix typos & grammar errors.
6452 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6454         * manual/contrib.texi: Fix spelling typos.
6455         * manual/crypt.texi: Likewise.
6456         * manual/filesys.texi: Likewise.
6457         * manual/locale.texi: Likewise.
6458         * manual/message.texi: Likewise.
6459         * manual/nss.texi: Likewise.
6460         * manual/string.texi: Likewise.
6462 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6464         * manual/locale.texi: Fix typos & grammar errors.
6466 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6468         * manual/charset.texi: Fix typos & grammar errors.
6470 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6472         * manual/string.texi: Fix typos.
6474 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6476         * manual/ctype.texi: Fix typos.
6478 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6480         * manual/memory.texi: Fix various typos & grammar errors.
6482 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6484         [BZ #20255]
6485         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6486         * math/libm-test.inc (fdim_test_data): Add another test.
6488         [BZ #6796]
6489         [BZ #20255]
6490         [BZ #20256]
6491         * math/s_fdim.c: Include <math_private.h>.
6492         (__fdim): Use math_narrow_eval on result.
6493         * math/s_fdimf.c: Include <math_private.h>.
6494         (__fdimf): Use math_narrow_eval on result.
6495         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6496         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6497         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6498         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6499         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6500         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6501         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6502         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6503         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6504         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6505         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6506         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6507         overflow.  Add sNaN tests.
6509         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6510         fpclassify.
6511         * math/s_fdimf.c (__fdimf): Likewise.
6512         * math/s_fdiml.c (__fdiml): Likewise.
6514 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6516         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6517         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6519         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6520         ifunc'ed strcasecmp/strncasecmp.
6521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6522         [EALIGN]: Removed.
6523         [END]: Likewise.
6524         [__strcasecmp]: Define instead of the above to control symbol name.
6525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6526         for __strcasecmp_power8.
6527         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6528         for __strncasecmp_power8.
6529         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6531         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6532         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6533         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6534         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6536 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #20252]
6539         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6540         arguments when second argument is a NaN.
6541         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6542         qNaN tests.
6544         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6545         (conj_test_data): Likewise.
6546         (copysign_test_data): Likewise.
6547         (creal_test_data): Likewise.
6548         (fma_test_data): Likewise.
6549         (fmod_test_data): Likewise.
6551         [BZ #20250]
6552         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6553         itself.
6554         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6555         zero input to itself.
6556         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6557         Likewise.
6558         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6559         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6560         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6561         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6562         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6564 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6566         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6567         * nptl/tst-cancel4-common.c: New file.
6568         * nptl/tst-cancel4-common.h: Likewise.
6569         * nptl/tst-cancel4.c: Move common definitions to
6570         tst-cancel4-common.{c,h} file.
6571         * nptl/tst-cancel4_1.c: New test.
6572         * nptl/tst-cancel4_2.c: New test.
6574 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6576         [BZ #20248]
6577         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6578         (write_message): New function.
6579         (stackoverflow_handler): Call it instead of printf, to avoid
6580         excessive stack usage by printf.
6581         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6583 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6585         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6586         (prio_inherit_missing): Remove define.
6587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6588         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6589         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6590         Likewise.
6591         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6592         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6593         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6594         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6595         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6596         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6598 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6600         [BZ #19670]
6601         [BZ #19672]
6603         * io/test-lfs.c (do_prepare): Use xmalloc.
6604         * io/tst-fcntl.c (do_prepare): Likewise.
6605         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6606         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6607         * login/tst-utmp.c (do_prepare): Likewise.
6608         * posix/tst-exec.c (do_prepare): Likewise.
6609         * posix/tst-pathconf.c (prepare): Likewise.
6610         * posix/tst-spawn.c (do_prepare): Likewise.
6611         * posix/tst-truncate.c (do_prepare): Likewise.
6612         * rt/tst-aio.c (do_prepare): Likewise.
6613         * rt/tst-aio64.c (do_prepare): Likewise.
6615 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6617         [BZ #20237]
6618         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6619         (get*ent): Set entidx to NULL during initialization.  If entidx is
6620         NULL, start iteration from the beginning.
6622 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6624         * malloc/malloc.c (musable): Return correct size for dumped fake
6625         mmapped chunk.
6627 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6629         [BZ #20222]
6630         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6631         (_IO_cookie_write): Likewise.
6632         (_IO_cookie_seek): Likewise.
6633         (_IO_cookie_close): Likewise.
6634         (_IO_old_cookie_seek): Likewise.
6635         (set_callbacks): New function.
6636         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6638 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6640         * locale/programs/localedef.c (oldstyle_tables): Remove.
6641         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6643 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6645         [BZ #20240]
6646         * math/Makefile (CFLAGS-s_modf.c): New variable.
6647         (CFLAGS-s_modff.c): Likewise.
6648         (CFLAGS-s_modfl.c): Likewise.
6649         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6651 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6653         [BZ #20215]
6654         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6655         [!__GNUC_PREREQ (3,2)]: Likewise.
6657 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6659         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6660         (msghdr.msg_controllen): Likewise.
6661         (cmsghdr.cmsg_len): Likewise.
6662         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6663         ptw-oldsendmsg.
6664         (CFLAGS-oldrecvmsg.c): Remove rule.
6665         (CFLAGS-oldsendmsg.c): Likewise.
6666         (CFLAGS-recvmsg.c): Add rule.
6667         (CFLAGS-sendmsg.c): Likewise.
6668         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6669         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6670         (CFLAGS-recvmsg.c): Remove rule.
6671         (CFLAGS-sendmsg.c): Likewise.
6672         (CFLAGS-oldrecvmsg.c): Likewise.
6673         (CFLAGS-oldsendmsg.c): Likewise.
6674         (CFLAGS-recvmmsg.c): Likewise.
6675         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6676         to kernel defined interfaces.
6677         (msghdr.msg_controllen): Likewise.
6678         (cmsghdr.cmsg_len): Likewise.
6679         (msghdr.__glibc_reserved1): Remove member.
6680         (msghdr.__glibc_reserved2): Likewise.
6681         (cmsghdr.__glibc_reserved1): Likewise.
6682         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6683         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6684         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6685         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6686         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6687         version.
6688         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6689         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6690         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6691         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6692         Remove recvmsg and sendmsg.
6693         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6694         Likewise.
6695         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6696         Likewise.
6697         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6698         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6699         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6702         Likewise.
6703         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6704         [libc] (GLIBC_2.24): Likewise.
6705         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6706         Likewise.
6707         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6708         Likewise.
6709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6710         [libc] (GLIBC_2.24): Likewise.
6711         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6712         Likewise.
6713         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6716         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6717         Likewise.
6718         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6719         Likewise.
6720         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6721         Likewise.
6722         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6723         Likewise.
6724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6725         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6727         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6728         version for {recv,send,recm,sendm}msg.
6729         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6730         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6731         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6732         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6733         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6734         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6735         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6736         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6737         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6738         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6739         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6740         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6742         Likewise.
6743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6744         Likewise.
6745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6747         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6748         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6749         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6750         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6751         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6752         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6755         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6756         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6757         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6759 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6761         [BZ #19564]
6762         Remove __malloc_initialize_hook from the API.
6763         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6764         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6765         #pragma GCC poison.
6766         * malloc/malloc-hooks.h: New file.
6767         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6768         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6769         (old__malloc_initialize_hook): Rename from
6770         __malloc_initialize_hook to evade poisoning.  Turn into compat
6771         symbol.
6772         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6773         __malloc_initialize_hook.
6774         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6775         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6776         * manual/memory.texi (Hooks for Malloc): Remove
6777         __malloc_initialize_hook.  Adjust hook example.
6779 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6781         [BZ #20235]
6782         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6783         itself.
6784         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6785         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6787         [BZ #20234]
6788         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6789         infinity or NaN input to itself.
6791         [BZ #20233]
6792         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6793         to itself.
6795         [BZ #20232]
6796         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6797         itself.
6799 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6801         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6802         __libc_start_main via GOT.
6804 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6806         * sysdeps/x86_64/memcopy.h: New file.
6807         * sysdeps/x86_64/wordcopy.c: Likewise.
6809 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6811         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6812         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6813         <cstdlib>.
6814         (optimization_barrier): New.
6815         (do_test): Use it.  Call quick_exit in the global namespace.
6816         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6817         instead of <cstdlib>, <thread>.
6818         (optimization_barrier): New.
6819         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6820         Call quick_exit in the global namespace.
6821         (do_test): Call optimization_barrier.  Use pthread_create,
6822         pthread_join instead of std::thread.
6824 2016-06-09  Andreas Schwab  <schwab@suse.de>
6826         [BZ #19755]
6827         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6828         new entries in auto-propagate mode.
6829         * nscd/grpcache.c (cache_addgr): Likewise.
6831 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6833         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6834         New functions.
6835         (add_temp_file): Use them.
6837 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6839         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6841 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6843         [BZ #20229]
6844         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6845         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6846         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6848         [BZ #20228]
6849         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6850         itself.
6851         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6852         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6854         [BZ #20227]
6855         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6856         itself.
6857         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6858         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6859         * math/libm-test.inc (log_test_data): Add sNaN tests.
6861         [BZ #20226]
6862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6863         itself.
6864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6865         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6866         (exp10_test_data): Likewise.
6867         (expm1_test_data): Likewise.
6869         [BZ #20225]
6870         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6871         itself.
6872         * math/s_ldexpf.c (__ldexpf): Likewise.
6873         * math/s_ldexpl.c (__ldexpl): Likewise.
6874         * math/w_scalbln.c (__w_scalbln): Likewise.
6875         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6876         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6877         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6878         (scalbln_test_data): Likewise.
6880         [BZ #20224]
6881         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6882         argument to itself.
6883         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6885 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6887         [BZ #19776]
6888         * sysdeps/x86_64/memcpy.S: Make it dummy.
6889         * sysdeps/x86_64/mempcpy.S: Likewise.
6890         * sysdeps/x86_64/memmove.S: New file.
6891         * sysdeps/x86_64/memmove_chk.S: Likewise.
6892         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6893         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6894         * sysdeps/x86_64/memmove.c: Removed.
6895         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6896         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6897         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6898         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6899         Likewise.
6900         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6901         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6903         memcpy-sse2-unaligned, memmove-avx-unaligned,
6904         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6906         (__libc_ifunc_impl_list): Replace
6907         __memmove_chk_avx512_unaligned_2 with
6908         __memmove_chk_avx512_unaligned.  Remove
6909         __memmove_chk_avx_unaligned_2.  Replace
6910         __memmove_chk_sse2_unaligned_2 with
6911         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6912         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6913         with __memmove_avx512_unaligned.  Replace
6914         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6915         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6916         with __memcpy_chk_avx512_unaligned.  Remove
6917         __memcpy_chk_avx_unaligned_2.  Replace
6918         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6919         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6920         Replace __memcpy_avx512_unaligned_2 with
6921         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6922         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6923         with __mempcpy_chk_avx512_unaligned.  Remove
6924         __mempcpy_chk_avx_unaligned_2.  Replace
6925         __mempcpy_chk_sse2_unaligned_2 with
6926         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6927         Replace __mempcpy_avx512_unaligned_2 with
6928         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6929         Replace __mempcpy_sse2_unaligned_2 with
6930         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6931         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6932         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6933         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6934         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6935         (ENTRY): Removed.
6936         (END): Likewise.
6937         (ENTRY_CHK): Likewise.
6938         (libc_hidden_builtin_def): Likewise.
6939         Don't include ../memcpy.S.
6940         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6941         __memcpy_chk_avx512_unaligned_erms and
6942         __memcpy_chk_avx512_unaligned.  Use
6943         __memcpy_chk_avx_unaligned_erms and
6944         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6945         Default to __memcpy_chk_sse2_unaligned.
6946         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6947         Change function suffix from unaligned_2 to unaligned.
6948         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6949         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6950         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6951         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6952         (ENTRY): Removed.
6953         (END): Likewise.
6954         (ENTRY_CHK): Likewise.
6955         (libc_hidden_builtin_def): Likewise.
6956         Don't include ../mempcpy.S.
6957         (mempcpy): New.  Add a weak alias.
6958         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6959         __mempcpy_chk_avx512_unaligned_erms and
6960         __mempcpy_chk_avx512_unaligned.  Use
6961         __mempcpy_chk_avx_unaligned_erms and
6962         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6963         Default to __mempcpy_chk_sse2_unaligned.
6965 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6967         [BZ #19881]
6968         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6969         into ...
6970         * sysdeps/x86_64/memset.S: This.
6971         (__bzero): Removed.
6972         (__memset_tail): Likewise.
6973         (__memset_chk): Likewise.
6974         (memset): Likewise.
6975         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6976         defined.
6977         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6978         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6979         (__memset_zero_constant_len_parameter): Check SHARED instead of
6980         PIC.
6981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6982         memset-avx2 and memset-sse2-unaligned-erms.
6983         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6984         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6985         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6986         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6987         (__bzero): Enabled.
6988         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6989         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6990         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6991         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6992         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6993         (memset): Removed.
6994         (__memset_chk): Likewise.
6995         (MEMSET_SYMBOL): New.
6996         (libc_hidden_builtin_def): Replace __memset_sse2 with
6997         __memset_sse2_unaligned.
6998         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6999         __memset_chk_sse2 and __memset_chk_avx2 with
7000         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7001         Use __memset_chk_sse2_unaligned_erms or
7002         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7003         __memset_chk_avx512_unaligned_erms and
7004         __memset_chk_avx512_unaligned.
7006 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7008         * math/gen-auto-libm-test.c (fp_format_desc): remove
7009         suffix member.
7010         (output_generic_value): Remove usage of suffix member,
7011         and the resulting unuse of the fp_format argument.
7012         (output_for_one_input_case): Remove unused fp_format
7013         parameter.
7015         * math/auto-libm-test-out: Regenerate.
7017         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7018         usage with TEST_COND_ibm128.
7019         (TEST_COND_flt_32): Remove.
7020         (TEST_COND_dbl_64): Remove.
7021         (TEST_COND_ldbl_96_intel): Remove.
7022         (TEST_COND_ldbl_96_m68k): Remove.
7023         (TEST_COND_ldbl_128): Remove.
7025 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7027         * auto-libm-test-in:
7028         Replace flt-32 usage with binary32.
7029         Replace dbl-64 usage with binary64.
7030         Replace ldbl-intel-96 usage with intel96.
7031         Replace ldbl-m68k-96 usage with m68k96.
7032         Replace ldbl-128ibm usage with ibm128.
7033         Replace ldbl-128 usage with binary128.
7035         * auto-libm-test-out: Regenerate.
7037 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7039         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7040         (parse_ulps): Dynamically generate type name matching
7041         string from all_floats.
7042         (get_ulps): Generate the ulps as an array instead.
7043         (output_ulps): Dynamically compose the type based
7044         on the number of supported formats, and print
7045         the indices as type specific helper macros.
7047         * math/libm-test.inc: Remove comment about CHOOSE.
7048         (ulp_data): Generate the type in libm-test-ulps.h.
7049         (ULP_IDX): New macro.
7050         (find_ulps): Update usage of max_ulp.
7052         * math/test-double-vlen2.h (CHOOSE): Remove.
7053         * math/test-double-vlen4.h (CHOOSE): Likewise.
7054         * math/test-double-vlen8.h (CHOOSE): Likewise.
7055         * math/test-float.c (CHOOSE): Likewise.
7056         * math/test-float-finite.c (CHOOSE): Likewise.
7057         * math/test-double.c (CHOOSE): Likewise.
7058         * math/test-double-finite.c (CHOOSE): Likewise.
7059         * math/test-idouble.c (CHOOSE): Likewise.
7060         * math/test-ifloat.c (CHOOSE): Likewise.
7061         * math/test-ildoubl.c (CHOOSE): Likewise.
7062         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7063         * math/test-ldouble.c (CHOOSE): Likewise.
7065         * math/test-float.h (TEST_FLOAT): Remove.
7066         * math/test-double.h (TEST_DOUBLE): Likewise.
7067         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7069 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7071         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7072         (parse_args): Strip C suffix from floating point literals
7073         typed with 'f' and wrap them with LIT().
7075         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7076         (test_ff_f_data_nexttoward): Rename to
7077         (test_fj_f_data): New struct.
7078         (nexttoward_test_data): Relabel tests as
7079         TEST_fj_f instead of TEST_ff_f.
7081 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7083         Emacs bug 23726.
7084         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7085         (__libc_realloc): Correct size computation for dumped fake mmapped
7086         chunks.
7088 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7090         [BZ #20219]
7091         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7092         to itself.
7093         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7095         [BZ #20218]
7096         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7097         to itself.
7098         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7100 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7102         [BZ #20195]
7103         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7104         check to ...
7105         (init_cpu_features): Here.
7107 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7109         [BZ #20214]
7110         * sysdeps/unix/sysv/linux/bits/in.h
7111         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7112          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7113         Define to 1.
7114         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7115          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7116         Define to 0.
7117         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7118         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7120 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7122         [BZ #20198]
7123         * stdlib/Makefile (tests): Add tst-quick_exit, and
7124         tst-thread-quick_exit.
7125         [ifeq ($(have-cxx-thread_local),yes)]
7126         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7127         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7128         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7129         (LDLIBS-tst-thread-quick_exit): Likewise.
7130         [ifneq ($(have-cxx-thread_local),yes)]
7131         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7132         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7133         If run_dtors is true call __call_tls_dtors.
7134         (exit): Call __run_exit_handlers with run_dtors set to true.
7135         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7136         definition.
7137         * stdlib/quick_exit.c (quick_exit): Remove function.
7138         (__new_quick_exit): New function.
7139         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7140         function.
7141         * stdlib/tst-quick_exit.cc: New file.
7142         * stdlib/tst-thread-quick_exit.cc: New file.
7143         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7144         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7145         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7146         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7147         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7148         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7149         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7150         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7151         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7152         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7153         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7154         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7156         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7157         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7158         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7163         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7164         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7165         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7166         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7167         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7170         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7171         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7172         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7174 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7176         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7177         a typo in comments.
7179 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7181         [BZ #20213]
7182         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7183         argument to itself.
7184         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7186 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7188         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7189         required flags.
7190         (CFLAGS-pwritev64.c): Likewise.
7191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7193         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7194         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7195         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7196         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7197         syscall from auto-generation.
7198         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7199         [WORDSIZE == 64] (pwritev64): Remove macro.
7200         [!PWRITEV] (PWRITEV): Likewise.
7201         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7202         [!PWRITEV] (PWRITE): Likewise.
7203         [!PWRITEV] (OFF_T): Likewise.
7204         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7205         (LO_HI_LONG): Remove macro.
7206         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7207         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7208         (PWRITEV): Remove macro.
7209         (PWRITEV_REPLACEMENTE): Likewise.
7210         (PWRITE): Likewise.
7211         (OFF_T): Likewise.
7212         (pwritev64): New function.
7213         * nptl/tst-cancel4.c (tf_writev): Add test.
7215         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7216         required flags.
7217         (CFLAGS-preadv64.c): Likewise.
7218         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7219         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7220         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7221         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7222         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7224         syscall from auto-generation.
7225         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7226         [WORDSIZE == 64] (preadv64): Remove macro.
7227         [!PREADV] (PREADV): Likewise.
7228         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7229         [!PREADV] (PREAD): Likewise.
7230         [!PREADV] (OFF_T): Likewise.
7231         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7232         (LO_HI_LONG): Remove macro.
7233         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7234         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7235         (PREADV): Remove macro.
7236         (PREADV_REPLACEMENTE): Likewise.
7237         (PREAD): Likewise.
7238         (OFF_T): Likewise.
7239         (preadv64): New function.
7240         * nptl/tst-cancel4.c (tf_preadv): Add test.
7242 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7244         [BZ #20212]
7245         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7246         argument to itself.
7247         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7249 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7251         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7252         New symbol defined as libc_hidden_def.
7253         (strcasestr): Became a weak alias to __strcasestr.
7254         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7255         according to multi-arch support.  Move __stpncpy hidden
7256         definition from here to...
7257         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7258         symbol stpncpy.
7259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7260         libc_hidden_builtin_def.
7261         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7262         memset symbol to use when multi-arch support is available.
7264 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7266         * dlfcn/tst-rec-dlopen.c: Include string.h.
7268 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7270         * manual/install.texi: Remove mention of --without-tls
7271         * INSTALL: Regenerate.
7273 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7275         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7276         Remove.
7277         (call_function, interposed_malloc_called): New variables.
7278         (malloc): New function.
7279         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7280         and clear call_function as needed.
7282 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7284         * include/wchar.h (__wmemset): Use __typeof.
7286 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7288         * include/wchar.h (__wmemset): Declare function without typeof.
7290 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7292         [BZ #20205]
7293         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7294         exponent when incrementing negative subnormal with low mantissa
7295         word zero.
7296         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7297         Add another test.
7299 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7301         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7302         __wmemset instead of wmemset.
7304 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7306         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7307         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7308         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7309         __USE_KERNEL_IPV6_DEFS to 0.
7310         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7311         Update comment.
7313 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7315         [BZ #19861]
7316         Do not use IFUNC resolver with potentially unrelocated symbol.
7317         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7318         (DEFINE_FORK): Remove macro and inline definition.
7319         (fork_alias): Renamed from fork_ifunc.
7320         (__fork_alias): Renamed from __fork_ifunc.
7322 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7324         [BZ 19653]
7325         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7326         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7328 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7330         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7331         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7332         i386-linux-gnu).
7333         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7334         Set to no.
7335         * sysdeps/mach/hurd/configure: Refresh.
7337 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7339         [BZ #20178]
7340         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7341         on failure instead of exit.
7343 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7345         [BZ #3629]
7346         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7347         of POSIX.1-2008.
7349 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7351         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7352           Use PLT entry for calling _hurd_self_sigstate.
7354 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7356         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7357         available logical processors with SMT level type sharing L2
7358         cache for Intel processors.
7360 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7362         [BZ #20160]
7363         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7364         argument to itself before returning the result.
7365         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7366         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7367         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7368         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7369         Likewise.
7370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7371         Likewise.
7372         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7373         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7374         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7375         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7376         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7377         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7379         [BZ #20160]
7380         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7381         argument to itself before returning the result.
7382         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7383         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7384         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7385         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7386         Likewise.
7387         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7388         Likewise.
7389         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7390         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7391         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7392         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7393         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7394         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7396 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7398         * libm-test.inc: Replace usage of M_El with
7399         (lit_e): New macro.
7401 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7403         * libm-test.inc: Replace usage of M_PI_4l with
7404         (lit_pi_4_d): New macro.
7406 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7408         * libm-test.inc: Replace usage of M_PIl with
7409         (lit_pi): New macro.
7411 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7413         * libm-test.inc: Replace usage of M_PI2l with
7414         (lit_pi_2_d): New macro.
7416         * math/test-double.h (LITM): New macro.
7417         * math/test-float.h (LITM): Likewise.
7418         * math/test-ldouble.h (LITM): Likewise.
7420 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7422         * libm-test.inc (M_PI_34l): Rename to
7423         (lit_pi_3_m_4_d): New Macro.
7424         (M_PI_34_LOG10El): Rename to
7425         (lit_pi_3_m_4_ln10_m_d): New Macro.
7426         (M_PI2_LOG10El): Rename to
7427         (lit_pi_2_ln10_m_d):  New Macro.
7428         (M_PI4_LOG10El): Rename to
7429         (lit_pi_4_ln10_m_d):  New Macro.
7430         (M_PI_LOG10El): Rename to
7431         (lit_pi_ln10_d):  New Macro.
7433 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7435         [BZ #20157]
7436         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7437         determine whether to negate low half if [_ARCH_PPCGR], and integer
7438         comparison otherwise.
7439         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7440         determine whether to negate low half.
7442         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7443         (NO_TEST_INLINE_DOUBLE): Likewise.
7444         (TEST_COND_x86_64): Likewise.
7445         (TEST_COND_x86): Likewise.
7446         (M_PI_6l): Likewise.
7448 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7450         * math/libm-test.inc:
7451         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7452         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7453         (TEST_LDOUBLE): Update usage to evaluate as true if
7454         the guarded tests match the property being tested.
7455         (LDBL_MAX_EXP): Change to MAX_EXP.
7456         (LDBL_MIN_EXP): Change to MIN_EXP.
7457         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7458         nexttoward tests.
7460 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7462         * math/libm-test.inc:
7463         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7464         (TYPE_MIN): Likewise.
7465         (TYPE_TRUE_MIN): Likewise.
7466         (TYPE_MAX): Likewise.
7467         (MIN_EXP): Likewise.
7468         (MAX_EXP): Likewise.
7469         (MANT_DIG): Likewise.
7471         (FSTR_MAX): New macro.
7472         (__CONCATX): Likewise.
7473         (QTYPE_STR): Likewise.
7474         (TEST_COND_binary32): Likewise.
7475         (TEST_COND_binary64): Likewise.
7476         (TEST_COND_binary128): Likewise.
7477         (TEST_COND_ibm128): Likewise.
7478         (TEST_COND_intel96): Likewise.
7479         (TEST_COND_m68k96): Likewise.
7481         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7482         (TEST_COND_dbl_64): Likewise.
7483         (TEST_COND_ldbl_96_intel): Likewise.
7484         (TEST_COND_ldbl_96_m68k): Likewise.
7485         (TEST_COND_ldbl_128): Likewise.
7486         (TEST_COND_ldbl_128ibm): Likewise.
7488         (plus_zero): Redefine using LIT macro.
7489         (minus_zero): Likewise.
7490         (plus_infty): Redefine as (INF).
7491         (minux_infty): Redefine as (-INF).
7492         (max_value): Redefine as TYPE_MAX.
7493         (min_value): Redefine as TYPE_MIN.
7494         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7496         (print_float): Refactor to use snprintf to convert FLOAT values
7497         to string. This brings it closer to dropin replacement of strtof
7498         for the TS 18661 defined types.
7499         (update_stats): Likewise.
7500         (print_complex_function_ulps): Likewise.
7501         (print_max_error): Likewise.
7502         (print_complex_max_error): Likewise.
7503         (check_float_internal): Likewise.
7505         * math/test-float.h (PREFIX): New macro.
7506         (LIT): Likewise.
7507         (TYPE_STR): Likewise.
7508         (FTOSTR): Likewise.
7510         * math/test-double.h (PREFIX): New macro.
7511         (LIT): Likewise.
7512         (TYPE_STR): Likewise.
7513         (FTOSTR): Likewise.
7515         * math/test-ldouble.h (PREFIX): New macro.
7516         (LIT): Likewise.
7517         (TYPE_STR): Likewise.
7518         (FTOSTR): Likewise.
7520 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7522         [BZ #20156]
7523         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7524         to itself when zero or not finite.
7525         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7526         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7527         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7528         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7530 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7532         [BZ #20153]
7533         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7534         x * x + x for infinities and NaNs.
7536         [BZ #20151]
7537         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7538         argument to itself before returning result.
7539         (__ieee754_y0l): Likewise.
7540         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7541         (__ieee754_y1l).
7543         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7544         (atan_test_data): Likewise.
7545         (ceil_test_data): Likewise.
7546         (cos_test_data): Likewise.
7547         (cosh_test_data): Likewise.
7548         (erf_test_data): Likewise.
7549         (exp2_test_data): Likewise.
7550         (fabs_test_data): Likewise.
7551         (floor_test_data): Likewise.
7552         (ilogb_test_data): Likewise.
7553         (j0_test_data): Likewise.
7554         (j1_test_data): Likewise.
7555         (jn_test_data): Likewise.
7556         (lgamma_test_data): Likewise.
7557         (lrint_test_data): Likewise.
7558         (llrint_test_data): Likewise.
7559         (logb_test_data): Likewise.
7560         (lround_test_data): Likewise.
7561         (llround_test_data): Likewise.
7562         (nearbyint_test_data): Likewise.
7563         (rint_test_data): Likewise.
7564         (round_test_data): Likewise.
7565         (sin_test_data): Likewise.
7566         (sincos_test_data): Likewise.
7567         (sinh_test_data): Likewise.
7568         (sqrt_test_data): Likewise.
7569         (tan_test_data): Likewise.
7570         (tanh_test_data): Likewise.
7571         (tgamma_test_data): Likewise.
7572         (trunc_test_data): Likewise.
7573         (y0_test_data): Likewise.
7574         (y1_test_data): Likewise.
7575         (yn_test_data): Likewise.
7577         * math/libm-test.inc: Update comment about NaN testing.
7578         (TEST_SNAN): New macro.
7579         (snan_value): Likewise.
7580         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7581         (fpclassify_test_data): Add sNaN tests.
7582         (isfinite_test_data): Likewise.
7583         (isinf_test_data): Likewise.
7584         (isnan_test_data): Likewise.
7585         (isnormal_test_data): Likewise.
7586         (issignaling_test_data): Likewise.
7587         (signbit_test_data): Likewise.
7588         * math/gen-libm-test.pl (%beautify): Add snan_value.
7589         (show_exceptions): Add argument $test_snan.
7590         (parse_args): Handle snan_value as non-finite.  Update call to
7591         show_exceptions.
7592         * math/Makefile (libm-test-no-inline-cflags): Add
7593         -fsignaling-nans.
7595 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7597         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7598         (CFLAGS-oldsendmsg.c): Add rule.
7599         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7600         Correct recvmsg symbol name.
7601         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7602         Likewise.
7604 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7606         * sysdeps/unix/sysv/linux/Makefile
7607         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7608         oldsendmmsg.
7609         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7610         sendmmsg.
7611         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7612         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7613         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7614         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7617         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7619         Likewise.
7620         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7621         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7622         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7623         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7624         iovlen and controllen fields to adjust to POSIX specification.
7625         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7627         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7628         and change to correct expected type.
7629         (msghdr.msg_controllen): Likewise.
7630         (cmsghdr.cmsg_len): Likewise.
7631         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7632         expected POSIX assumption about the size.
7633         (msghdr.msg_controllen): Likewise.
7634         (msghdr.__glibc_reserved1): Likewise.
7635         (msghdr.__glibc_reserved2): Likewise.
7636         (cmsghdr.cmsg_len): Likewise.
7637         (cmsghdr.__glibc_reserved1): Likewise.
7638         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7639         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7640         (CFLAGS-sendmsg.c): Remove rule.
7641         (CFLAGS-recvmsg.c): Likewise.
7642         (CFLAGS-oldsendmsg.c): Add rule.
7643         (CFLAGS-oldrecvmsg.c): Likewise.
7644         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7645         recvmsg and sendmsg.
7646         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7647         Likewise.
7648         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7649         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7650         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7651         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7652         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7653         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7654         Likewise.
7655         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7656         Likewise.
7657         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7658         Likewise.
7659         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7660         Likewise.
7661         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7662         Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7664         Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7666         (GLIBC_2.24): Likewise.
7667         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7668         Likewise.
7669         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7670         Likewise.
7671         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7672         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7673         Likewise.
7674         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7675         Likewise.
7676         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7677         Likewise.
7678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7679         (GLIBC_2.24): Likewise.
7680         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7681         Likewise.
7682         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7683         Likewise.
7684         * sysdeps/unix/sysv/linux/Makefile
7685         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7686         (CFLAGS-sendmsg.c): Add rule.
7687         (CFLAGS-recvmsg.c): Likewise.
7688         (CFLAGS-oldsendmsg.c): Likewise.
7689         (CFLAGS-oldrecvmsg.c): Likewise.
7690         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7691         initialization.
7692         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7693         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7694         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7695         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7696         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7697         iovlen and controllen fields to adjust to POSIX specification.
7698         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7699         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7700         added recvmsg and sendmsg.
7701         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7702         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7703         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7704         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7705         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7706         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7708         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7709         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7710         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7711         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7712         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7714         Likewise.
7715         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7717         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7718         Likewise.
7719         Likewise.
7720         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7721         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7729         Likewise.
7730         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7733         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7734         from auto-generation.
7735         (sendmsg): Likewise.
7736         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7737         (sendmsg): Likewise.
7738         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7739         (sendmsg): Likewise.
7740         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7741         (sendmsg): Likewise.
7742         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7743         (sendmsg): Likewise.
7744         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7745         (sendmsg): Likewise.
7746         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7747         Likewise.
7748         (sendmsg): Likewise.
7749         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7750         (sendmsg): Likewise.
7751         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7752         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7753         Remove.
7754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7755         Likewise.
7756         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7757         Undefine.
7758         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7759         Likewise.
7760         * sysdeps/unix/sysv/linux/kernel-features.h
7761         (__ASSUME_SENDMSG_SYSCALL): Define.
7762         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7763         * sysdeps/unix/sysv/linux/m68k/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/s390/kernel-features.h
7773         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7774         Remove.
7775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7776         Likewise.
7777         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7778         Undefine.
7779         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7782         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7783         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7784         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7785         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7786         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7787         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7788         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7789         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7791 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7793         * stdlib/gen-tst-strtod-round.c: Add backslash to
7794         compile command in comment.
7795         (printfp): Remove the literal suffix, and define an infinite
7796         value as INF to avoid expansion clash with INFINITY.
7797         (round_str): Remove the literal suffix.
7798         (round_for_all): Likewise, remove the now duplicate ldbl-64
7799         entry, and remove some magic constants.
7801         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7802         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7803         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7804         (_CONCAT): New macro.
7805         (CONCAT): Likewise.
7806         (CHOOSE_ld): Likewise.
7807         (CHOOSE_f): Likewise.
7808         (CHOOSE_d): Likewise.
7809         (FTYPE_MEMBER): Likewise.
7810         (BOOL_MEMBER): Likewise.
7811         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7812         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7813         (_XNTRY): Likewise.
7814         (XNTRY): Likewise.
7815         (_ENTRY): Likewise.
7816         (ENTRY): Likewise.
7817         (test_exactness): Generate members via macro.
7818         (test_results): Likewise.
7819         (test): Update members.
7820         (TEST): Redefine using new macros.
7821         (INF): New macro.
7822         (fetestmodes): New structure.
7823         (do_test): Refactor to be type generic.
7824         (test_in_one_mode): Refactor duplicate code into
7825         (GEN_ONE_TEST): New macro.
7827         * stdlib/tst-strtod-round-data.h: Regenerate.
7829         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7830         Extend to pass additional arbitrary parameters to
7831         generators.
7833 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7835         [BZ #15479]
7836         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7837         floating-point state after first floating-point operation on
7838         input.  Restore full floating-point state instead of just rounding
7839         mode.
7840         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7841         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7842         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7843         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7844         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7846         [BZ #15479]
7847         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7848         floating-point state after first floating-point operation on
7849         input.  Restore full floating-point state instead of just rounding
7850         mode.
7851         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7852         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7853         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7854         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7855         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7857 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7859         [BZ #19727]
7860         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7861         valid high surrogate.
7862         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7863         of an utf16 surrogate.
7864         * iconv/gconv_simple.c (BODY): Likewise.
7865         * iconvdata/bug-iconv12.c: New file.
7866         * iconvdata/Makefile (tests): Add bug-iconv12.
7868 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7870         [BZ #19726]
7871         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7872         outptrp in case of an illegal input.
7873         * iconv/tst-iconv6.c: New file.
7874         * iconv/Makefile (tests): Add tst-iconv6.
7876 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7878         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7879         an error in case of a value in range of an utf16 low surrogate.
7881 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7883         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7884         an error in case of a value in range of an utf16 low surrogate.
7886 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7888         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7889         Move to ...
7890         * sysdeps/s390/Makefile: ... here.
7891         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7892         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7893         (BRANCH_ON_COUNT): New define.
7894         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7895         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7896         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7897         run on s390-32, too.
7898         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7899         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7900         run on s390-32, too.
7901         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7902         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7903         run on s390-32, too.
7905 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7907         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7908         etf3eh or new vector loop-variant.
7910 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7912         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7913         etf3eh or new vector loop-variant.
7915 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7917         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7918         or new vector loop-variant.
7920 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7922         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7923         Rename to TR_LOOP and usage of tr instead of troo instruction.
7925 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7927         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7930 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7932         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7933         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7934         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7935         New override define.
7936         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7938 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7940         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7941         * sysdeps/s390/configure.ac: Add test for S390 vector register
7942         support in gcc.
7943         * sysdeps/s390/configure: Regenerated.
7945 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7948         Install file from $(objpfx)gconv-modules.
7949         ($(objpfx)gconv-modules): Concatenate architecture specific file
7950         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7951         * sysdeps/s390/gconv-modules: New file.
7952         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7953         Deleted.
7954         ($(objpfx)gconv-modules-s390): Deleted.
7955         (sysdeps-gconv-modules): New variable.
7957 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7959         [BZ #15479]
7960         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7961         of immediate operand to rounding instruction.
7962         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7963         Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7965         Likewise.
7966         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7967         Likewise.
7969 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7971         * math/libm-test.inc (MIN_EXP): Directly define as
7972         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7974 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7976         * math/libm-test.inc (MANT_DIG): Directly define as
7977         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7979 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7981         * stdlib/gen-tst-strtod-round.c (main):
7982           Change usage to more closely match the generated
7983           output.  Add usage and compilation instructions.
7984           (string_to_fp): Add and use FILE* parameter as
7985           output target.
7986           (print_fp): Likewise.
7987           (round_str): Likewise.
7988           (round_for_all): Likewise.
7989         * stdlib/tst-strtod-round.c (tests): Move into
7990         * stdlib/tst-strtod-round-data.h: New file.
7992 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7994         [BZ #15479]
7995         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7996         (__round): Do not force "inexact" exception.
7997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7998         variable.
7999         (__round): Do not force "inexact" exception.
8000         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8001         (__roundf): Do not force "inexact" exception.
8002         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8003         (__roundl): Do not force "inexact" exception.
8004         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8005         (__roundl): Do not force "inexact" exception.
8006         * math/libm-test.inc (round_test_data): Do not allow spurious
8007         "inexact" exceptions.
8009         [BZ #15479]
8010         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8011         exception in comment.
8012         (huge): Remove variable.
8013         (__floor): Do not force "inexact" exception.
8014         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8015         "inexact" exception in comment.
8016         (huge): Remove variable.
8017         (__floor): Do not force "inexact" exception.
8018         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8019         exception in comment.
8020         (huge): Remove variable.
8021         (__floorf): Do not force "inexact" exception.
8022         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8023         exception in comment.
8024         (huge): Remove variable.
8025         (__floorl): Do not force "inexact" exception.
8027         [BZ #15479]
8028         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8029         exception in comment.
8030         (huge): Remove variable.
8031         (__ceil): Do not force "inexact" exception.
8032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8033         "inexact" exception in comment.
8034         (huge): Remove variable.
8035         (__ceil): Do not force "inexact" exception.
8036         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8037         (__ceilf): Do not force "inexact" exception.
8038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8039         exception in comment.
8040         (huge): Remove variable.
8041         (__ceill): Do not force "inexact" exception.
8043 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8045         * config.h.in (BIND_NOW): New.
8046         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8047         * configure: Regenerated.
8048         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8049         indirect branch via the GOT slot.
8051 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8053         [BZ #19765]
8054         * sysdeps/s390/mempcpy.S: New File.
8055         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8056         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8057         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8058         Add mempcpy variants.
8059         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8060         (memcpy): Adjust to be usable from mempcpy entry point.
8061         (__memcpy_mvcle): Likewise.
8062         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8063         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8064         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8065         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8066         (__memcpy_z10): Likewise.
8067         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8069 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8071         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8072         Remove __GI_ symbol.
8073         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8074         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8075         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8076         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8077         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8078         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8080 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8082         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8083         Use cghi instead of chi to compare 64bit value.
8085 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8087         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8088         Jump to 1MB check before executing mvc-loop.
8090 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8092         [BZ #6527]
8093         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8094         unconditionally.
8095         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8097 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8099         * stdlib/tst-strtod6.c (do_test): Use new type generic
8100         invocation of the test function.
8101         (test): Refactor into ...
8102         (TEST_STRTOD): New macro base function.
8104 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8106         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8107         (TEST_STRTOD): New macro.
8108         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8110 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8112         * stdlib/tst-strtod6.c (do_test): Use new type generic
8113         invocation of the test function.
8114         (test): Refactor into ...
8115         (TEST_STRTOD): New macro base function.
8117 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8119         CVE-2016-4429
8120         [BZ #20112]
8121         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8122         payload.
8124 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8126         [BZ #20111]
8127         * bits/sockaddr.h (_SS_SIZE): Define.
8128         * 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/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8133         (_SS_PADSIZE): Adjust to account for all padding.
8134         (struct sockaddr_storage): Update comment.  Avoid implicit
8135         padding.
8136         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8137         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8138         (_SS_PADSIZE): Adjust to account for all padding.
8139         (struct sockaddr_storage): Update comment.  Avoid implicit
8140         padding.
8141         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8142         __SS_SIZE is 126 in this version.
8143         * inet/tst-sockaddr.c: New file.
8144         * inet/Makefile (tests): Add tst-sockaddr.c
8145         (tst-sockaddr.c): Compile with non-strict aliasing.
8147 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8149         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8150         [XPG3 || XPG4].
8151         (NL_ARGMAX): Also expect for [XPG3].
8152         (NL_LANGMAX): Likewise.
8153         (NL_MSGMAX): Likewise.
8154         (NL_NMAX): Likewise.
8155         (NL_SETMAX): Likewise.
8156         (NL_TEXTMAX): Likewise.
8157         (NZERO): Likewise.
8158         (TMP_MAX): Likewise.
8159         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8160         variable.
8162         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8163         (PF_MAX): Update value.
8164         (AF_KCM): New macro.
8165         (SOL_NETBEUI): Likewise.
8166         (SOL_LLC): Likewise.
8167         (SOL_DCCP): Likewise.
8168         (SOL_NETLINK): Likewise.
8169         (SOL_TIPC): Likewise.
8170         (SOL_RXRPC): Likewise.
8171         (SOL_PPPOL2TP): Likewise.
8172         (SOL_BLUETOOTH): Likewise.
8173         (SOL_PNPIPE): Likewise.
8174         (SOL_RDS): Likewise.
8175         (SOL_IUCV): Likewise.
8176         (SOL_CAIF): Likewise.
8177         (SOL_ALG): Likewise.
8178         (SOL_NFC): Likewise.
8179         (SOL_KCM): Likewise.
8180         (MSG_BATCH): New enum value and macro.
8182 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8184         [BZ #18185]
8185         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8186         sharing L2 cache to 2 for Knights Landing.
8188 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8190         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8191         (FTW_DP): Do not expect for [XPG3 || XPG4].
8192         (FTW_SL): Do not expect for [XPG3].
8193         (FTW_SLN): Likewise.
8194         (FTW_PHYS): Likewise.
8195         (FTW_MOUNT): Likewise.
8196         (FTW_DEPTH): Likewise.
8197         (FTW_CHDIR): Likewise.
8198         (nftw): Likewise.
8199         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8200         variable.
8202 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8204         * manual/errno.texi: Fix various typos & grammar errors.
8206 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8208         * manual/intro.texi: Fix duplicated typo.
8210 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8212         [BZ #13304]
8213         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8214         <float.h>, <math_private.h> and <stdlib.h>.
8215         (add_split): New function.
8216         (mul_split): Likewise.
8217         (ext_val): New typedef.
8218         (store_ext_val): New function.
8219         (mul_ext_val): New function.
8220         (compare): New function.
8221         (add_split_ext): New function.
8222         (__fmal): After checking for Inf, NaN and zero, compute result as
8223         an exact sum of scaled double values in round-to-nearest before
8224         adding those up and adjusting for other rounding modes.
8225         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8226         tests of fma.
8227         * math/auto-libm-test-out: Regenerated.
8229 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8231         [BZ #20119]
8232         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8233         processor level type mask for CPUID with EAX == 11.
8235 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8237         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8238         logical threads if the HTT bit is 0.
8239         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8240         (index_cpu_HTT): Likewise.
8241         (reg_HTT): Likewise.
8243 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8245         [BZ #20115]
8246         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8247         Remove alignments on jump targets.
8249 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8251         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8252         (getpwent): Likewise.
8253         (setpwent): Likewise.
8254         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8255         variable.
8257         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8258         (remque): Likewise.
8259         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8260         variable.
8262 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8264         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8265         not being tested.
8267 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8269         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8270         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8271         call.
8272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8273         (__condvar_cleanup1): Likewise.
8275 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8277         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8278         New
8279         (__pthread_unwind): Renamed to ...
8280         (PTHREAD_UNWIND): This.
8281         (__pthread_enable_asynccancel): Replace
8282         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8284 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8286         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8287         (CLONE_NEWCGROUP): New macro.
8289         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8290         (Q_GETNEXTQUOTA): New macro.
8292 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8294         [BZ #19907]
8295         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8296         buffer updated by the previous run.
8297         * string/test-memcpy.c (do_one_test): Likewise.
8298         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8299         * string/test-memmove.c (do_one_test): Likewise.
8301 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8303         [BZ #20094]
8304         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8305         not [__USE_XOPEN].
8306         (unlockpt): Likewise.
8307         (ptsname): Likewise.
8308         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8309         variable.
8311         [BZ #20076]
8312         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8313         instead of [__USE_UNIX98].
8314         (S_ISSOCK): Likewise.
8315         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8316         variable.
8318         [BZ #20074]
8319         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8320         [__USE_POSIX].
8321         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8322         variable.
8324         [BZ #20051]
8325         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8326         (ttyslot): Do not declare.
8327         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8328         (ttyslot): New prototype.
8329         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8330         variable.
8331         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8333 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8335         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8337 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8339         Fix race condition in tst-mallocfork2, use fewer resources.
8340         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8341         to current process group.
8342         (signal_sender): Yield in the non-sleeping case.
8344 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8346         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8347         (ecvt): Likewise.
8348         (fcvt): Likewise.
8349         (gcvt): Likewise.
8350         (getsubopt): Likewise.
8351         (grantpt): Likewise.
8352         (initstate): Likewise.
8353         (l64a): Likewise.
8354         (mktemp): Likewise.
8355         (mkstemp): Likewise.
8356         (ptsname): Likewise.
8357         (random): Likewise.
8358         (realpath): Likewise.
8359         (setstate): Likewise.
8360         (srandom): Likewise.
8361         (ttyslot): Likewise.
8362         (unlockpt): Likewise.
8363         (valloc): Likewise.
8365         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8366         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8367         variable.
8369 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8371         [BZ #20072]
8372         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8373         init_cpu_features only if SHARED is defined.
8374         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8376 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8378         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8379         non-inclusive caches on Intel processors.
8381 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8383         * malloc/malloc.c (dumped_main_arena_start)
8384         (dumped_main_arena_end): New variables.
8385         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8386         (do_check_chunk): Skip dumped fake mmapped chunks.
8387         (munmap_chunk): Likewise.
8388         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8389         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8390         mmapped chunks.
8391         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8392         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8393         and dumped_main_arena_end to cover the dumped heap.
8395 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8397         * conform/data/time.h-data (getdate_err): Do not expect for
8398         [XPG3].
8399         (getdate): Likewise.
8400         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8401         variable.
8403         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8404         (F_ULOCK): Likewise.
8405         (F_TEST): Likewise.
8406         (F_TLOCK): Likewise.
8407         (useconds_t): Likewise.
8408         (intptr_t): Do not expect for [XPG3] or [XPG4].
8409         (brk): Do not expect for [XPG3]
8410         (fchown): Likewise.
8411         (fchdir): Likewise.
8412         (ftruncate): Likewise.
8413         (getdtablesize): Likewise.
8414         (gethostid): Likewise.
8415         (getpagesize): Likewise.
8416         (getpgid): Likewise.
8417         (getsid): Likewise.
8418         (getwd): Likewise.
8419         (lchown): Likewise.
8420         (lockf): Likewise.
8421         (readlink): Likewise.
8422         (sbrk): Likewise.
8423         (setpgrp): Likewise.
8424         (setregid): Likewise.
8425         (setreuid): Likewise.
8426         (symlink): Likewise.
8427         (sync): Likewise.
8428         (truncate): Likewise.
8429         (ualarm): Likewise.
8430         (usleep): Likewise.
8431         (vfork): Likewise.
8432         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8433         variable.
8435         [BZ #20054]
8436         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8437         not [__USE_UNIX98].
8438         * conform/data/unistd.h-data (gethostname): Do not expect for
8439         [XPG3].
8441         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8442         [!POSIX] (S_IFBLK): Likewise.
8443         [!POSIX] (S_IFCHR): Likewise.
8444         [!POSIX] (S_IFIFO): Likewise.
8445         [!POSIX] (S_IFREG): Likewise.
8446         [!POSIX] (S_IFDIR): Likewise.
8447         [!POSIX] (S_IFLNK): Likewise.
8448         [!POSIX] (S_IFSOCK): Likewise.
8449         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8450         variable.
8451         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8453 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8455         * sysdeps/aarch64/memset.S (__memset):
8456         Rewrite of optimized memset.
8458 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8460         [BZ #19703]
8461         Partially async-signal-safe fork for single-threaded processes.
8462         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8463         variable.  Do not acquire and reset/release malloc and libio locks
8464         in single-threaded processes.
8465         * malloc/tst-mallocfork2.c: New file.
8466         * malloc/Makefile (tests): Add it.
8468 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8470         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8471         argument.  Use scratch buffer instead of extend_alloca.
8472         (gethosts): Use scratch buffer instead of extend_alloca.
8473         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8474         extend_alloca.
8475         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8477 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8479         [BZ #20055]
8480         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8481         instead of [__USE_UNIX98].
8482         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8483         [__USE_UNIX98].
8484         * conform/data/termios.h-data (tcgetsid): Do not expect for
8485         [XPG3].
8486         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8487         variable.
8488         (test-xfail-XPG4/termios.h/conform): Likewise.
8490 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8492         Do not use mcheck in localedef.
8493         * locale/programs/localedef.c (turn_on_mcheck)
8494         (__malloc_initialize_hook): Remove.
8496 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8498         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8499         * sysdeps/s390/s390-64/Makefile: Likewise.
8501 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8503         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8504         Remove ifunc-defines.sym.
8505         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8506         Likewise.
8507         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8508         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8509         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8510         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8511         rtld-global-offsets.sym.
8512         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8513         * sysdeps/x86/cpu-features-offsets.sym: This.
8514         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8515         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8517 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8519         [BZ #20073]
8520         * io/sys/stat.h (fchmod): Declare for
8521         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8522         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8523         variable.
8525         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8526         [XPG3] (S_IFSOCK): Likewise.
8527         [XPG3] (S_ISVTX): Likewise.
8528         [XPG3] (S_ISLNK): Likewise.
8529         [XPG3] (S_ISSOCK): Likewise.
8530         [XPG3] (fchmod): Likewise.
8531         [XPG3] (lstat): Likewise.
8532         [XPG3] (mknod): Likewise.
8534         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8535         [XPG3].  Expect type long and XFAIL for [XPG4].
8536         (st_blocks): Likewise.
8538         [BZ #20044]
8539         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8540         (pthread_atfork): New prototype.
8541         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8542         variable.
8544         [BZ #20043]
8545         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8546         prototype.
8548 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8550         [BZ #20017]
8551         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8552         gmtime.
8554 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8556         [BZ #19994]
8557         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8558         flag in _res.options.
8560 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8562         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8563         [XPG3 || XPG4].
8564         (blksize_t): Likewise.
8565         (clockid_t): Likewise.
8566         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8567         variable.
8568         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8570 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8572         * sysdeps/unix/sysv/linux/s390/init-first.c:
8573         Add VDSO_SYMBOL(getcpu).
8574         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8575         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8576         Add VDSO_SYMBOL(getcpu).
8577         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8578         New define HAVE_GETCPU_VSYSCALL.
8579         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8581 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8583         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8584         instead of <sysdeps/x86_64/cacheinfo.c>.
8585         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8586         * sysdeps/x86/cacheinfo.c: Here.
8588 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8590         * malloc/malloc-internal.h: Adjust header file guard.
8592 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8594         [BZ #19787]
8595         * inet/getnameinfo.c (check_sprintf_result): New function.
8596         (CHECKED_SNPRINTF): New macro.
8597         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8598         to the host buffer.
8599         (gni_host_local): Use checked_copy to copy the host name.
8600         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8601         (gni_serv_local): Use checked_copy to copy the service name.
8602         (getnameinfo): Remove unnecessary truncation of result buffers.
8604 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8606         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8607         in case of inet_ntop failure.
8609 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8611         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8612         avoid long lines.
8613         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8614         variables.
8615         (gni_host_inet, gni_host_local): Add comment.
8616         (gni_host): Add comment.  Use temporary to avoid long lines.
8618 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8620         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8621         registers specifiers where general purpose registers specifiers should
8622         have been used.
8624 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8626         [BZ #19779]
8627         CVE-2016-1234
8628         Avoid copying names of directory entries.
8629         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8630         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8631         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8632         (struct readdir_result): New type.
8633         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8634         (GL_READDIR): New macros.
8635         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8636         (convert_dirent, convert_dirent64): New functions.
8637         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8638         convert_dirent64.  Adjust references to the readdir result.
8639         * sysdeps/unix/sysv/linux/i386/glob64.c:
8640         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8641         * posix/bug-glob2.c (LONG_NAME): Define.
8642         (filesystem): Add LONG_NAME.
8643         (my_DIR): Increase the size of room_for_dirent.
8645 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8647         [BZ #20041]
8648         * misc/sys/select.h (__need_timespec): Only define if
8649         [__USE_XOPEN2K].
8650         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8651         variable.
8652         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8653         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8654         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8656 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8657             Segher Boessenkool  <segher@gcc.gnu.org>
8659         [BZ #20004]
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8661         (__novec_swapcontext): Add missing load.
8663 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8665         [BZ #20023]
8666         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8667         <time.h>.
8668         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8669         variable.
8670         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8672 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8675         flags CLONE_VM compare.
8677 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8679         [BZ #20031]
8680         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8681         completely empty.
8683 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8685         [BZ #19573]
8686         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8687         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8688         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8689         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8690         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8691         (hesiod_free_list): Mark as hidden.
8692         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8693         res_set, res_get.
8694         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8695         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8696         (hesiod_init): Remove obsolete res_ninit call.
8697         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8698         (hesiod_bind): Do not call init.
8699         (get_txt_records): Use res_mkquery, res_send instead of
8700         res_nmkquery, res_nsend.
8701         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8702         instead of _nss_hesiod_init.
8703         (_nss_hesiod_initgroups_dyn): Likewise.
8704         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8705         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8706         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8708 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8710         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8711         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8713 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8715         * hesiod/hesiod.h: Remove RCS keyword.
8716         * hesiod/hesiod_p.h: Likewise.
8718         * hesiod/hesiod.c: Likewise.
8720 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8722         [BZ #12450]
8723         * locale/iso-639.def: Add Samogitian/sgs.
8725 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8727         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8729         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8731 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8732             Carlos O'Donell  <carlos@redhat.com>
8734         [BZ #19072]
8735         * grp/Makefile (headers): Add grp-merge.h
8736         (routines): Add grp-merge.
8737         * grp/getgrgid_r.c: Include grp-merge.h.
8738         (DEEPCOPY_FN): Define.
8739         (MERGE_FN): Define.
8740         * grp/getgrname_r.c: Include grp-merge.h.
8741         (DEEPCOPY_FN): Define.
8742         (MERGE_FN): Define.
8743         * grp/grp-merge.c: New file.
8744         * grp/grp-merge.h: New file.
8745         * include/grp-merge.h: New file.
8746         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8747         __copy_grp@GLIBC_PRIVATE.
8748         * manual/nss.texi (Actions in the NSS configuration): Describe
8749         return, continue, and merge.
8750         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8751         (DEEPCOPY_FN): Define.
8752         (MERGE_FN): Define.
8753         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8754         (DEEPCOPY_FN): Define.
8755         (MERGE_FN): Define.
8756         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8757         [!MERGE_FN]: Define __merge_einval.
8758         (CHECK_MERGE): Define.
8759         (REENTRANT_NAME): Process merge if do_merge is true.
8760         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8761         (__nss_getent_r): Likewise.
8762         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8763         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8765 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8767         [BZ #20012]
8768         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8769         length to calculate the buffer to read.
8770         (fmemopen_write): Set the buffer position based on bytes written.
8771         (fmemopen_seek): Return EINVAL for invalid whence modes.
8773         [BZ #19957]
8774         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8775         tst-getpid2.
8776         (test): Add tst-clone2.
8777         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8778         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8779         pid/tid fields for CLONE_VM.
8780         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8781         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8782         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8783         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8784         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8785         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8786         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8787         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8789         Likewise.
8790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8791         Likewise.
8792         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8793         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8794         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8795         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8796         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8797         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8798         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8799         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8801 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8803         [BZ #19642]
8804         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8805         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8806         (gni_serv_local, gni_serv): New functions extracted from
8807         getnameinfo.
8808         (getnameinfo): Call gni_host and gni_serv to perform the
8809         processing.  Always free scratch buffer.
8811 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8813         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8814         remaining bytes in the dest string, with zeros.
8816 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8818         [BZ #20010]
8819         CVE-2016-3706
8820         * sysdeps/posix/getaddrinfo.c
8821         (convert_hostent_to_gaih_addrtuple): New function.
8822         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8823         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8824         AF_INET data.
8826 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8828         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8829         callback function gl_readdir.
8830         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8831         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8832         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8833         memcpy to copy the name.
8834         * manual/pattern.texi (Calling Glob): Document requirements for
8835         implementations of the gl_readdir callback function.
8836         * manual/examples/mkdirent.c: New example.
8837         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8838         per the manual guidance.
8839         * posix/tst-gnuglob.c (my_readdir): Likewise.
8841 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8843         [BZ #20014]
8844         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8845         not [__USE_POSIX].
8846         (getchar_unlocked): Likewise.
8847         (putc_unlocked): Likewise.
8848         (putchar_unlocked): Likewise.
8849         (flockfile): Likewise.
8850         (ftrylockfile): Likewise.
8851         (funlockfile): Likewise.
8852         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8853         variable.
8854         (test-xfail-XPG4/stdio.h/conform): Likewise.
8856         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8857         Expect constant.
8858         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8859         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8860         variable.
8861         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8862         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8864         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8865         [__USE_LARGEFILE64] (off64_t): Likewise.
8866         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8867         variable.
8869 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8871         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8873 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8875         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8876         * resolv/res_init.c: Likewise.
8877         * resolv/res_mkquery.c: Likewise.
8879 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8881         * resolv/res_init.c (isascii): Do not define.  Use definition in
8882         <ctype.h>.
8883         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8884         (LOG_AUTH): Remove.
8885         (SPRINTF): Remove, adjust caller.
8886         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8888 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8890         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8891         SUNSECURITY conditional.
8892         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8894 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8896         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8897         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8898         Remove BSD-related preprocessor conditionals.
8899         * conf/portability.h: Remove.
8901 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8903         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8904         * resolv/res_data.c: Likewise.
8906 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8908         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8909         * resolv/res_data.c: Remove code conditional on ultrix.
8911 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8913         * resolv/res_init.c (RFC1535): Do not define.  Remove
8914         RFC1535 preprocessor conditionals.
8915         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8916         because there configuration options which make the resolver
8917         behavior different.
8919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8921         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8922         RESOLVSORT preprocessor conditionals.
8923         * resolv/nss_dns/dns-host.c: Likewise.
8924         * resolv/res_init.c: Likewise.
8926 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8928         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8929         is never defined.
8931 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8933         * inet/inet_lnaof.c: Remove SCSS keyword.
8934         * inet/inet_mkadr.c: Likewise.
8935         * inet/inet_net.c: Likewise.
8936         * inet/inet_netof.c: Likewise.
8937         * inet/rcmd.c: Likewise.
8938         * inet/rexec.c: Likewise.
8939         * inet/ruserpass.c: Likewise.
8941 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8943         * resolv/inet_addr.c: Remove _LIBC conditionals.
8944         * resolv/res_data.c: Likewise.
8945         * resolv/res_init.c: Likewise.
8946         * resolv/res_mkquery.c: Likewise.
8947         * resolv/res_libc.c: Update comment.
8948         * resolv/README: Update.
8950 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8952         * resolv/gethnamaddr.c: Remove SCSS keyword.
8953         * resolv/herror.c: Likewise.
8954         * resolv/inet_addr.c: Likewise.
8955         * resolv/inet_net_ntop.c: Likewise.
8956         * resolv/inet_net_pton.c: Likewise.
8957         * resolv/inet_neta.c: Likewise.
8958         * resolv/inet_ntop.c: Likewise.
8959         * resolv/inet_pton.c: Likewise.
8960         * resolv/ns_date.c: Remove RCS keyword.
8961         * resolv/ns_name.c: Likewise.
8962         * resolv/ns_netint.c: Likewise.
8963         * resolv/ns_parse.c: Likewise.
8964         * resolv/ns_print.c: Likewise.
8965         * resolv/ns_samedomain.c: Likewise.
8966         * resolv/ns_ttl.c: Likewise.
8967         * resolv/nsap_addr.c: Likewise.
8968         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8969         * resolv/res_data.c: Remove RCS keyword.
8970         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8971         * resolv/res_init.c: Likewise.
8972         * resolv/res_mkquery.c: Likewise.
8973         * resolv/res_query.c: Likewise.
8974         * resolv/res_send.c: Likewise.
8976 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8978         * conform/data/stdio.h-data (fdopen): Expect also for
8979         [XPG3 || XPG4].
8981         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8982         (fseeko): Likewise.
8983         (ftello): Likewise.
8984         (ftrylockfile): Likewise.
8985         (funlockfile): Likewise.
8986         (getc_unlocked): Likewise.
8987         (getchar_unlocked): Likewise.
8988         (putc_unlocked): Likewise.
8989         (putchar_unlocked): Likewise.
8991 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8993         [BZ #19868]
8994         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8995         DNS packet syntax checks (which were not needed before).  Skip
8996         over non-PTR records.
8998 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9000         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9001         definition.  Include <stddef.h> instead.
9003 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9005         [BZ #19831]
9006         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9007         function.
9008         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9009         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9011 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9013         [BZ #19862]
9014         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9015         (getanswer_r): Do not call syslog.
9016         (gaih_getanswer_slice): Likewise.
9017         * resolv/gethnamaddr.c (AskedForGot): Remove.
9018         (getanswer): Do not call syslog.
9019         (gethostbyaddr): Likewise.
9021 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9023         * conform/data/signal.h-data (union sigval): Expect also if
9024         [XOPEN2K].
9025         (struct sigevent): Likewise.
9026         (SIGEV_NONE): Likewise.
9027         (SIGEV_SIGNAL): Likewise.
9028         (SIGEV_THREAD): Likewise.
9029         (SIGRTMIN): Likewise.
9030         (SIGRTMAX): Likewise.
9031         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9032         variable.
9033         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9035 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9037         [BZ #19830]
9038         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9039         (gaih_getanswer_slice): Likewise.
9040         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9041         Also check for availability of RR metadata.
9043 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9045         [BZ #19825]
9046         * resolv/res_send.c (send_vc): Remove early *resplen2
9047         initialization.  Set *resplen2 on socket error.  Call
9048         close_and_return_error for other errors.
9050 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9052         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9053         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9054         (SCM_IUCV_TRGCLS): New define.
9056 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9058         [BZ #20005]
9059         * libio/fmemopen.c (fmemopen_write): Update internal position after
9060         write.
9061         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9062         * stdio-common/tst-fmemopen4.c: New file..
9064 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9066         [BZ #19996]
9067         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9068         not [__USE_XOPEN2K].
9069         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9070         variable.
9072         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9073         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9074         variable.
9076         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9077         [__USE_XOPEN2K8].
9078         [__USE_LARGEFILE64] (off64_t): Likewise.
9079         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9080         variable.
9082 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9084         [BZ #19989]
9085         * libio/stdio.h (cuserid): Do not declare if
9086         [__USE_XOPEN2K && !__USE_GNU].
9087         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9088         variable.
9090 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9092         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9093         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9095         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9096         ifunc'ed strcspn.
9097         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9098         [EALIGN]: Removed.
9099         [END]: Likewise
9100         [STRSPN]: Define instead of the above to control symbol name.
9101         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9102         New file.
9103         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9104         Likewise.
9105         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9106         Likewise.
9107         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9108         Likewise.
9109         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9110         [INITIAL_MASK]: New macro.
9111         [STRCSPN]: Likewise.
9112         [UPDATE_MASK]: Likewise.
9113         [USE_AS_STRCSPN]: Lisewise.
9115 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9117         [BZ #19931]
9118         * stdio-common/tst-vfprintf-width-prec.c: New file.
9119         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9120         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9121         (generated): Add mtrace-related files.
9122         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9123         (tst-%-mem.out): New pattern rule, replaces
9124         tst-printf-bz18872-mem.out.
9125         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9126         specifier, deallocate any previously allocated work buffer.
9128 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9130         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9131         Add nop before __startcontext, add explaining comments.
9133 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9135         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9136         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9137         completely different API.
9139         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9140         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9141         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9142         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9143         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9144         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9145         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9146         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9147         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9148         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9150 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9152         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9154 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9156         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9157         when it is the default of 0.
9159 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9161         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9162         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9163         (sysdep_routines): Add new strcasestr targets.
9164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9165         (__libc_ifunc_impl_list): Likewise.
9166         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9167         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9168         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9169         * sysdeps/powerpc/powerpc64/power8/Makefile:
9170         New file to add strcasestr-ppc64 to sysdep_routines.
9171         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9172         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9174 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9176         * benchtests/Makefile (wcsmbs-benchset): Include only for
9177         native builds and runs.
9178         (LOCALES): Likewise.
9179         (bench-build): Build timing-type here instead of the bench
9180         target.  Generate locale only for native builds.
9181         * benchtests/README: Add note for cross-building.
9183         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9185         * benchtests/README: Update README to include instructions on
9186         using bench-build.
9188         * Makefile.in (bench-build): New target.
9189         * Rules (PHONY): Add bench-build target.
9190         * benchtests/Makefile (bench): Depend on bench-build.
9191         (bench-build): New target.
9193 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9195         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9196         profil_reply_port.
9197         (profile_waiter): Do not initialize profil_reply_port.
9198         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9199         frequency instead of tick length in us.
9201 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9203         [BZ #18712]
9204         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9205         (__old_mempcpy_small): Likewise.
9206         (__old_strcpy_small): Likewise.
9207         (__old_stpcpy_small): Likewise.
9208         (__old_strpbrk_c2): Fix compat symbol name.
9209         (__old_strpbrk_c3): Likewise.
9210         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9211         (__mempcpy_small): Remove.
9212         (__strcpy_small): Remove.
9213         (__stpcpy_small): Remove.
9215 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9217         [BZ #19400]
9218         * locale/iso-639.def: Add the Talossan/tzl language.
9220 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9222         [BZ #16983]
9223         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9224         comment.  Add "ln" to strchr check on postal_fmt.
9226 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9228         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9229         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9230         tel_dom_fmt.
9232 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9234         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9235         (sysdep_routines): Added __strlen_power8.
9236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9237         __strlen_power8 entry.
9238         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9239         Implementation for POWER8.
9240         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9241         for __strlen_power8.
9242         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9243         Implementation for POWER8.
9245 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9247         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9249 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9251         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9252         Goldmont and Airmont processors.
9254 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9256         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9257         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9258         (__STRING2_SMALL_GET32): Remove.
9259         (memset): Remove.
9260         (__memset_1): Remove.
9261         (__memset_gc): Remove.
9262         (__mempcpy): Remove.
9263         (mempcpy): Remove.
9264         (__mempcpy_args): Remove.
9265         (strchr): Remove.
9266         (strcpy): Remove.
9267         (strcpy_args): Remove.
9268         (__stpcpy_args): Remove.
9269         (__strcmp_cc): Remove.
9270         (__strcmp_gc): Remove.
9271         (strstr): Remove.
9273 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9275         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9276         * nis/nis_call.c (nis_server_cache_add): Likewise.
9278 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9280         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9282 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9284         * malloc/arena.c (__malloc_fork_lock_parent)
9285         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9286         internal_function attribute.
9288 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9290         * stdio-common/printf_fp.c (__printf_fp_l):
9291         Rename ___printf_fp_l to __printf_fp_l and
9292         remove strong alias. Use libc_hidden_def instead
9293         of ldbl_hidden_def macro.
9295 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9297         Remove malloc hooks from fork handler.  They are no longer needed
9298         because malloc runs right before fork, and no malloc calls from
9299         other fork handlers are not possible anymore.
9300         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9301         declarations.
9302         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9303         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9304         (atfork_recursive_cntr): Remove.
9305         (__malloc_fork_lock_parent): Do not override malloc hooks and
9306         thread_arena.
9307         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9308         thread_arena.
9309         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9310         thread_arena instead of save_arena.
9312 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9314         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9315         (thread_atfork, thread_atfork_static): Remove.
9316         * sysdeps/mach/hurd/malloc-machine.h:
9317         (thread_atfork, thread_atfork_static): Remove.
9319 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9321         [BZ #19431]
9322         Run the malloc fork handler as late as possible to avoid deadlocks.
9323         * malloc/malloc-internal.h: New file.
9324         * malloc/malloc.c: Include it.
9325         * malloc/arena.c (ATFORK_MEM): Remove.
9326         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9327         Update comment.
9328         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9329         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9330         Remove outdated comment.
9331         (ptmalloc_init): Do not call thread_atfork.  Remove
9332         thread_atfork_static.
9333         * malloc/tst-malloc-fork-deadlock.c: New file.
9334         * Makefile (tests): Add tst-malloc-fork-deadlock.
9335         (tst-malloc-fork-deadlock): Link against libpthread.
9336         * manual/memory.texi (Aligned Memory Blocks): Update safety
9337         annotation comments.
9338         * sysdeps/nptl/fork.c (__libc_fork): Call
9339         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9340         __malloc_fork_unlock_child.
9341         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9343 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9345         [BZ #19613]
9346         Remove union wait.
9347         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9348         (w_stopsig, w_stopval): Remove.
9349         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9350         stat_loc argument.
9351         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9352         (__WAIT_STATUS_DEFN): Remove.
9353         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9354         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9355         (wait, wait3, wait4): Use int * for the stat_loc argument.
9356         * posix/wait.c (__wait): Likewise.
9357         * posix/wait3.c (__wait3): Likewise.
9358         * posix/wait4.c (__wait4): Likewise.
9359         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9360         (__WAIT_STATUS_DEFN): Remove.
9361         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9362         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9363         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9364         argument.
9365         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9366         * sysdeps/posix/wait3.c (__wait3): Likewise.
9367         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9368         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9369         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9370         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9371         stat_loc argument.
9372         * manual/process.texi (BSD Wait Functions): Remove union wait.
9374 2016-04-13  Andreas Schwab  <schwab@suse.de>
9376         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9377         (test-extras): Add tst-tlsalign-vars.
9378         * math/Makefile: Wrap long lines.
9379         (libm-vec-test-wrappers): Define.
9380         (test-extras): Add $(libm-vec-test-wrappers).
9381         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9382         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9383         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9384         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9385         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9386         (extra-test-objs): Add corresponding objects.
9388 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9390         [BZ #19928]
9391         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9392         New.
9393         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9394         times of shared cache size.
9395         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9396         (VMOVNT): New.
9397         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9398         (VMOVNT): Likewise.
9399         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9400         (VMOVNT): Likewise.
9401         (VMOVU): Changed to movups for smaller code sizes.
9402         (VMOVA): Changed to movaps for smaller code sizes.
9403         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9404         comments.
9405         (PREFETCH): New.
9406         (PREFETCH_SIZE): Likewise.
9407         (PREFETCHED_LOAD_SIZE): Likewise.
9408         (PREFETCH_ONE_SET): Likewise.
9409         Rewrite to use forward and backward loops, which move 4 vector
9410         registers at a time, to support overlapping addresses and use
9411         non temporal store if size is above the threshold and there is
9412         no overlap between destination and source.
9414 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9416         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9417         Include dl-vdso.
9418         * sysdeps/unix/sysv/linux/mips/Versions: Add
9419         __vdso_clock_gettime.
9420         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9421         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9422         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9423         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9424         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9425         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9426         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9427         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9428         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9430 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9432         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9433         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9435         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9436         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9437         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9440         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9441         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9442         syscalls generation.
9443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9444         [__NR_pwrite64] (__NR_write): Remove define.
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9446         [__NR_pwrite64] (__NR_write): Remove define.
9447         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9448         Remove define.
9449         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9450         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9451         Remove define.
9452         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9453         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9454         Linux implementation as base.
9455         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9457         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9458         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9463         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9464         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9465         syscall generation.
9466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9467         [__NR_pread64] (__NR_pread): Remove define.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9469         [__NR_pread64] (__NR_pread): Likewise.
9470         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9471         define.
9472         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9473         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9474         Remove define.
9475         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9476         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9477         Linux implementation as base.
9478         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9479         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9480         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9482         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9483         definition.
9484         (__ALIGNMENT_COUNT): Likewise.
9485         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9486         (__ALIGNMENT_COUNT): Likewise.
9487         (SYSCALL_LL): New define.
9488         (SYSCALL_LL64): Likewise.
9489         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9490         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9491         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9492         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9495         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9497         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9498         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9499         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9501 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9503         [BZ #19865]
9504         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9505         original buffer before retry.
9507 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9509         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9510         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9511         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9512         GLRO(dl_auxv) list.
9513         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9514         including <ldsodefs.h>.
9515         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9517 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9519         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9520         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9521         $(CPPFLAGS).
9523 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9525         [BZ #17950]
9526         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9527         Add -mfpmath=387.
9529 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9531         * sysdeps/i386/configure.ac: Change == to = when calling test.
9532         * sysdeps/x86_64/configure.ac: Likewise.
9533         * sysdeps/i386/configure: Regenerated.
9534         * sysdeps/x86_64/configure: Likewise.
9536 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9538         [BZ #16137]
9539         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9540         * benchtests/bench-strcoll.c (input_files): Likewise.
9541         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9542         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9543         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9545 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9547         [BZ #19929]
9548         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9549         [__USE_XOPEN2K8 && !__USE_GNU].
9550         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9551         variable.
9553         [BZ #19925]
9554         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9555         define if [!__USE_MISC && __USE_XOPEN2K].
9556         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9557         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9558         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9559         Likewise.
9560         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9561         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9562         variable.
9563         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9565 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9567         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9568         (sysdep_routines): Add new strspn targets.
9569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9570         (__libc_ifunc_impl_list): Add strspn.
9571         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9572         New file.
9573         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9574         Likewise.
9575         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9576         Likewise.
9577         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9578         Likewise.
9580 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9582         * misc/hsearch_r.c: Include <limits.h>.
9584 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9586         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9588 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9590         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9591         (MEMCPY_SYMBOL): New.
9592         (MEMPCPY_SYMBOL): Likewise.
9593         (MEMMOVE_CHK_SYMBOL): Likewise.
9594         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9595         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9596         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9597         Provide alias for memcpy in libc.a and ld.so.
9599 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9601         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9602         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9603         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9604         Disabled fro now.
9605         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9606         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9608 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9610         * benchtests/Makefile (string-benchset): Add memcpy-large,
9611         memmove-large and memset-large.
9612         * benchtests/bench-memcpy-large.c: New file.
9613         * benchtests/bench-memmove-large.c: Likewise.
9614         * benchtests/bench-memmove-large.c: Likewise.
9615         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9617 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9619         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9620         32-bit displacement to avoid long nop between instructions.
9622 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9624         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9625         a comment on VMOVU and VMOVA.
9627 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9629         [BZ #19633]
9630         Use specified locale for number formatting in strfmon_l.
9631         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9632         (__nl_lookup_word): New inline functions.
9633         * include/printf.h (__print_fp_l): Declare.
9634         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9635         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9636         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9637         (___printf_fp): New function.
9638         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9639         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9640         * stdlib/tst-strfmon_l.c (do_test): New test.
9641         * stdlib/Makefile (tests): Add kt.
9642         (LOCALES): Build additional locales.
9643         (tst-strfmon_l.out): Require locales.
9645 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9647         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9648         if not in libc.
9649         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9650         Likewise.
9651         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9652         Likewise.
9653         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9654         Likewise.
9656 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9658         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9659         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9660         with unaligned_erms.
9661         (__memmove_erms): Skip if source == destination.
9662         (__memmove_unaligned_erms): Don't check source == destination
9663         first.
9665 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9667         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9668         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9670 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9672         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9673         * string/strspn.c (strspn): Likewise.
9675 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9677         * benchtests/bench-memset.c (do_test): Support 64-byte
9678         alignment.
9679         (test_main): Test 64-byte alignment.
9681 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9683         * benchtests/bench-memmove.c (test_main): Test 64-byte
9684         alignment.
9686 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9688         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9690 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9692         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9693         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9694         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9696         * string/strpbrk.c (strpbrk): Rewrite function.
9697         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9698         (__strpbrk_c2): Likewise.
9699         (__strpbrk_c3): Likewise.
9700         * string/string-inlines.c
9701         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9702         Likewise.
9703         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9704         Likewise.
9706         * string/strspn.c (strcspn): Rewrite function.
9707         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9708         (__strspn_c1): Remove inline function.
9709         (__strspn_c2): Likewise.
9710         (__strspn_c3): Likewise.
9711         * string/string-inlines.c
9712         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9713         compatibility symbol.
9714         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9715         Likewise.
9716         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9717         Likewise.
9718         * string/string-inlines.c: Include generic version.
9720 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9721             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9723         * string/Version (libc): Add GLIBC_2.24.
9724         * string/strcspn.c (strcspn): Rewrite function.
9725         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9726         (__strcspn_c1): Remove inline function.
9727         (__strcspn_c2): Likewise.
9728         (__strcspn_c3): Likewise.
9729         * string/string-inline.c
9730         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9731         compatibility symbol.
9732         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9733         Likewise.
9734         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9735         Likewise.
9736         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9738 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9740         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9741         Use ahi instead of aghi to adjust stack pointer.
9743 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9745         [BZ #19853]
9746         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9747         TEST to take significant digits as second parameter.
9748         [TEST]: Redefine in terms of TEST_N taking 30
9749         significant digits.
9750         (do_test): Add test case to demonstrate precision
9751         failure in the ldbl-128ibm printf.
9752         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9753         (__mpn_extract_long_double): Carry 7 extra intermediate
9754         bits of precision to aide computing difference when
9755         signs differ.
9757 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9759         [BZ #19881]
9760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9761         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9762         memset-avx512-unaligned-erms.
9763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9764         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9765         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9766         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9767         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9768         __memset_sse2_unaligned_erms, __memset_erms,
9769         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9770         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9771         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9772         file.
9773         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9774         Likewise.
9775         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9776         Likewise.
9777         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9778         Likewise.
9780 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9782         [BZ #19776]
9783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9784         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9785         memmove-avx512-unaligned-erms.
9786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9787         (__libc_ifunc_impl_list): Test
9788         __memmove_chk_avx512_unaligned_2,
9789         __memmove_chk_avx512_unaligned_erms,
9790         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9791         __memmove_chk_sse2_unaligned_2,
9792         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9793         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9794         __memmove_avx512_unaligned_erms, __memmove_erms,
9795         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9796         __memcpy_chk_avx512_unaligned_2,
9797         __memcpy_chk_avx512_unaligned_erms,
9798         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9799         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9800         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9801         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9802         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9803         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9804         __mempcpy_chk_avx512_unaligned_erms,
9805         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9806         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9807         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9808         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9809         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9810         __mempcpy_erms.
9811         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9812         file.
9813         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9814         Likwise.
9815         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9816         Likwise.
9817         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9818         Likwise.
9820 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9822         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9823         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9824         (La_s390_64_regs): Likewise.
9825         (La_s390_32_retval): Append vector register lrv_v24.
9826         (La_s390_64_retval): Likeweise.
9827         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9828         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9829         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9830         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9832 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9834         [BZ #19916]
9835         * sysdeps/s390/s390-32/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-32/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         if _dl_call_pltexit is called.
9842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9843         Choose the correct resolver function if running on a machine with vx.
9844         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9845         to create a non-vector/vector version for _dl_runtime_resolve and
9846         _dl_runtime_profile. Move implementation to ...
9847         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9848         (_dl_runtime_resolve) Save and restore fpr/vrs.
9849         (_dl_runtime_profile) Save and restore vrs and fix some issues
9850         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9851         Choose the correct resolver function if running on a machine with vx.
9853 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9855         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9857 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9859         [BZ #19509]
9860         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9861         skip_map != NULL.
9862         * elf/tst-dlsym-error.c: New file.
9863         * elf/Makefile (tests): Add tst-dlsym-error.
9864         (tst-dlsym-error): Link against libdl.
9866 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9868         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9869         (__ASSUME_FUTIMESAT): Remove macro.
9870         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9872 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9874         [BZ #19879]
9875         CVE-2016-3075
9876         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9877         copy name.
9879 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9881         [BZ #19837]
9882         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9883         error if parse_line fails.
9885 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9887         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9888         (index_cpu_ERMS): Likewise.
9889         (reg_ERMS): Likewise.
9891 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9893         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9894         PER_LINUX_FDPIC): Add.
9896 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9899         memcpy-avx512-no-vzeroupper.
9900         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9901         to ...
9902         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9903         (MEMCPY): Don't define.
9904         (MEMCPY_CHK): Likewise.
9905         (MEMPCPY): Likewise.
9906         (MEMPCPY_CHK): Likewise.
9907         (MEMPCPY_CHK): Renamed to ...
9908         (__mempcpy_chk_avx512_no_vzeroupper): This.
9909         (MEMPCPY_CHK): Renamed to ...
9910         (__mempcpy_chk_avx512_no_vzeroupper): This.
9911         (MEMCPY_CHK): Renamed to ...
9912         (__memmove_chk_avx512_no_vzeroupper): This.
9913         (MEMCPY): Renamed to ...
9914         (__memmove_avx512_no_vzeroupper): This.
9915         (__memcpy_avx512_no_vzeroupper): New alias.
9916         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9918 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9920         [BZ #18858]
9921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9922         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9923         and mempcpy-avx512-no-vzeroupper.
9924         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9925         New.
9926         (MEMPCPY): Likewise.
9927         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9928         (MEMPCPY_CHK): New.
9929         (MEMPCPY): Likewise.
9930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9931         (MEMPCPY): Likewise.
9932         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9933         (MEMPCPY): Likewise.
9934         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9935         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9936         Likewise.
9937         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9938         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9940 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9941              Amit Pawar  <Amit.Pawar@amd.com>
9943         [BZ #19583]
9944         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9945         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9946         processors.  Set Fast_Copy_Backward for AMD Excavator
9947         processors.
9948         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9949         New.
9950         (index_arch_Fast_Unaligned_Copy): Likewise.
9951         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9952         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9954 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9956         [BZ #19791]
9957         * resolv/res_send.c (close_and_return_error): New function.
9958         (send_dg): Initialize *resplen2 after reopen failure.  Call
9959         close_and_return_error for error returns.  On error paths without
9960         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9961         successful return.
9963 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9965         [BZ# 19860]
9966         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9967         zero if the compiler does not provide the AVX512F bit.
9969 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9971         [BZ #19848]
9972         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9973         from 8 to 4.
9974         (__ieee754_powl): Compare integer exponent against 4 not 8.
9975         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9976         from 8 to 4.
9977         (__ieee754_powl): Compare integer exponent against 4 not 8.
9978         * math/auto-libm-test-in: Add more tests of pow.
9979         * math/auto-libm-test-out: Regenerated.
9980         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9983 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9985         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9986         Make code unconditional.
9987         [!__NR_utimensat]: Remove conditional code.
9988         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9989         Make code unconditional.
9990         [!__NR_utimensat]: Remove conditional code.
9991         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9992         Make code unconditional.
9993         [!__NR_utimensat]: Remove conditional code.
9995 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9997         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9998         Make code unconditional.
10000 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10002         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10003         call-clobbered %eax on retry path.
10004         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10006 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10008         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10009         Don't set %rcx twice before "rep movsb".
10011 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10013         [BZ #19583]
10014         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10015         inline.  Check family before setting family, model and
10016         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10017         bits here.
10018         (init_cpu_features): Replace HAS_CPU_FEATURE and
10019         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10020         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10021         for Intel processors with usable AVX2.  Call get_common_indeces
10022         for other processors with family == NULL.
10023         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10024         (CPU_FEATURES_ARCH_P): Likewise.
10025         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10026         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10028 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10030         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10031         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10032         $(shared-thread-library) instead of hardcoding the path to libpthread.
10034 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10036         * sysdeps/unix/sysv/linux/kernel-features.h
10037         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10038         * sysdeps/unix/sysv/linux/getdents.c
10039         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10040         [!have_no_getdents64_defined]: Likewise.
10041         (__GETDENTS): Remove __have_no_getdents64 conditional.
10043 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10045         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10046         Remove macro.
10047         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10048         <kernel-features.h>.
10049         (signalfd) [__NR_signalfd4]: Make code unconditional.
10050         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10052 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10054         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10055         style.
10057 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10059         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10060         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10061         __pthread_unwind.
10062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10063         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10065         (__condvar_cleanup1): Likewise.
10067 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10069         [BZ #19822]
10070         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10071         move it to the final $@ location.
10073 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10075         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10076         access where posix_spawn success and pid argument is null.
10077         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10078         success case.
10080 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10082         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10084         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10086         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10087         and __fcntl.
10088         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10089         __fcntl only.
10090         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10091         adding attribute_hidden to __open and __fcntl.
10093         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10094         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10095         depend on libc-modules.h,
10096         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10098 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10101         Remove macro.
10102         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10103         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10104         entry.
10106         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10107         Remove macro.
10108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10109         include <kernel-features.h>.
10110         [!__ASSUME_FALLOCATE]: Remove conditional code.
10111         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10113 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10116         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10118         (_ZGVdN4v_cos_avx2): Likewise.
10119         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10120         (_ZGVdN4v_cos): Likewise.
10121         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10122         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10124         (_ZGVdN4v_exp_avx2): Likewise.
10125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10126         (_ZGVdN4v_exp): Likewise.
10127         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10128         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10129         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10130         (_ZGVdN4v_log_avx2): Likewise.
10131         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10132         (_ZGVdN4v_log): Likewise.
10133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10134         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10136         (_ZGVdN4vv_pow_avx2): Likewise.
10137         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10138         (_ZGVdN4vv_pow): Likewise.
10139         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10140         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10141         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10142         (_ZGVdN4v_sin_avx2): Likewise.
10143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10144         (_ZGVdN4v_sin): Likewise.
10145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10146         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10148         (_ZGVdN4vvv_sincos_avx2): Likewise.
10149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10150         (_ZGVdN4vvv_sincos): Likewise.
10151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10152         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10154         (_ZGVbN4v_cosf_sse4): Likewise.
10155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10156         (_ZGVdN8v_cosf_avx2): Likewise.
10157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10158         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10159         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10160         (_ZGVbN4v_expf_sse4): Likewise.
10161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10162         (_ZGVdN8v_expf_avx2): Likewise.
10163         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10164         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10166         (_ZGVbN4v_logf_sse4): Likewise.
10167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10168         (_ZGVdN8v_logf_avx2): Likewise.
10169         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10170         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10172         (_ZGVbN4vv_powf_sse4): Likewise.
10173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10174         (_ZGVdN8vv_powf_avx2): Likewise.
10175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10176         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10178         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10180         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10182         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10184         (_ZGVbN4v_sinf_sse4): Likewise.
10185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10186         (_ZGVdN8v_sinf_avx2): Likewise.
10187         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10188         Use JUMPTARGET to call callee.
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         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10197         Likewise.
10198         (WRAPPER_IMPL_SSE2_ff): Likewise.
10199         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10200         (WRAPPER_IMPL_AVX): Likewise.
10201         (WRAPPER_IMPL_AVX_ff): Likewise.
10202         (WRAPPER_IMPL_AVX_fFF): Likewise.
10203         (WRAPPER_IMPL_AVX512): Likewise.
10204         (WRAPPER_IMPL_AVX512_ff): Likewise.
10205         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10207 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10209         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10210         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10211         qualifier.
10212         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10213         internal_function qualifiers.
10215 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10217         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10218         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10219         * math/atest-exp.c (exp_mpn): Mark chk unused.
10220         * math/atest-exp2.c (exp_mpn): Likwise.
10221         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10222         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10224 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10226         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10227         Remove macro.
10228         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10229         <kernel-features.h>.
10230         [__NR_ppoll]: Make code unconditional.
10231         [!__ASSUME_PPOLL]: Remove conditional code.
10233         * sysdeps/unix/sysv/linux/kernel-features.h
10234         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10235         (__ASSUME_ACCEPT4): Likewise.
10236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10237         Define.
10238         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10239         Likewise.
10240         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10241         Likewise.
10242         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10243         Likewise.
10244         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10245         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10246         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10247         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10248         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10249         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10251         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10252         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10253         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10254         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10255         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10256         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10257         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10258         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10259         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10260         Likewise.
10261         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10262         Likewise.
10263         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10264         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10265         0x040300].
10266         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10267         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10269         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10270         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10271         0x030300].
10272         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10273         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10274         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10275         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10276         0x040300].
10277         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10280         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10282         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10283         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10284         0x030300].
10285         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10286         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10287         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10288         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10289         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10290         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10292         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10293         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10294         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10295         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10296         0x040300].
10297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10298         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10299         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10300         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10301         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10302         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10303         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10304         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10305         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10306         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10307         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10308         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10309         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10310         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10311         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10312         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10314         Likewise.
10315         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10316         Likewise.
10318 2016-03-15  Andreas Schwab  <schwab@suse.de>
10320         [BZ #19257]
10321         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10322         statp->_u._ext.nscount as loop count.
10324 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10326         * math/test-signgam-finite-c99.c: Also #undef
10327         __LIBC_INTERNAL_MATH_INLINES.
10328         * math/test-signgam-main.c: Likewise.
10330 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10332         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10333         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10334         (MADV_FREE): Likewise.
10335         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10336         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10337         EPOLLEXCLUSIVE.
10339 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10341         * timezone/README: Remove mention of checktab.awk. Mention wiki
10342         SharedSourceFiles.
10344 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10346         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10347         WUNTRACED.
10349 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10351         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10352         order to match the type of p when calling atomic_exchange_acq().
10354 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10356         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10357         cfi_offset calls.
10358         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10359         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10360         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10361         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10362         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10364 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10366         * timezone/checktab.awk: Removed.
10368 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10370         * manual/math.texi (Errors in Math Functions): Document relaxed
10371         accuracy goals for IBM long double.
10372         * math/libm-test.inc (test_exceptions): Always allow spurious
10373         "underflow" and "inexact" exceptions for IBM long double.
10375 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10377         [BZ #19762]
10378         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10379         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10380         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10381         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10382         (bit_arch_*): This for feature array.
10383         (bit_*): Renamed to ...
10384         (bit_cpu_*): This for cpu array.
10385         (index_*): Renamed to ...
10386         (index_arch_*): This for feature array.
10387         (index_*): Renamed to ...
10388         (index_cpu_*): This for cpu array.
10389         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10390         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10391         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10392         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10393         bit_##name with index_cpu_##name and bit_cpu_##name.
10394         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10395         bit_##name with index_arch_##name and bit_arch_##name.
10397 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10399         [BZ #19792]
10400         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10401         Terminate FDE before return label.
10403 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10405         [BZ #19790]
10406         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10407         (rintl): Define as macro.
10408         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10409         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10410         of fesetround.  Ensure results are evaluated before end of scope.
10411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10412         USE_AS_NEARBYINTL and include s_rintl.c.
10413         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10414         Disable exception traps in new environment.
10415         (libc_feholdsetround_ppc_ctx): Likewise.
10417 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10419         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10420         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10421         (tst_audit10_aux) [__AVX512F__]: ... here.
10423 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10425         * include/sys/auxv.h: New file.
10427 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10429         [BZ #19759]
10430         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10432 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10434         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10435         operand modifier.
10436         (feclearexcept): Likewise.
10438 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10441         to reflect the entire 32-bit HWCAP.
10442         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10443         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10445 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10447         [BZ #19783]
10448         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10449         $(test-via-rtld-prefix).
10450         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10452 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10454         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10455         union wait.  Report any non-zero exit status as error.
10457 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10459         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10460         configured with --enable-hardcoded-path-in-tests.
10462 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10464         [BZ #19677]
10465         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10466         (__ieee754_remainderl): Put zero low parts in canonical form.
10467         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10468         file.  Based on
10469         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10470         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10471         with wrapper round test-fmodrem-ldbl-128ibm.c.
10472         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10473         file.
10474         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10475         Likewise.
10476         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10477         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10479 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10481         [BZ #19610]
10482         * elf/ldconfig.c (opt_link): Update comment.
10483         (options): Update help string for option -X.
10484         (search_dir): Unlink stale symbolic link only if updating symbolic
10485         links.
10486         * elf/tst-ldconfig-X.sh: New file.
10487         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10488         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10490 2016-03-07  Andreas Schwab  <schwab@suse.de>
10492         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10493         needed arguments.
10495 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10497         [BZ #15333]
10498         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10499         to lstat64.
10501 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10503         * libio/filedoalloc.c (isatty): Remove.
10504         (local_isatty): Add comment.  Call __isatty directly.
10505         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10506         * libio/wfiledoalloc.c (isatty): Remove.
10507         (_IO_wfile_doallocate): Update comment.
10509 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10511         [BZ #19269]
10512         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10513         tst-audit4-aux.o.
10514         (tst-audit10): Depend on tst-audit10-aux.o.
10515         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10516         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10517         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10518         instead of inline AVX code.
10519         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10520         instead of inline AVX512 code.
10521         * sysdeps/x86_64/tst-audit4-aux.c: New file
10522         * sysdeps/x86_64/tst-audit10-aux.c: New file
10524         [BZ #19648]
10525         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10527 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10529         [BZ #14750]
10530         [BZ #10354]
10531         [BZ #18433]
10532         * include/sched.h (__clone): Add hidden prototype.
10533         (__clone2): Likewise.
10534         * include/unistd.h (__dup): Likewise.
10535         * posix/Makefile (tests): Add tst-spawn2.
10536         * posix/tst-spawn2.c: New file.
10537         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10538         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10539         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10540         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10541         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10542         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10543         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10544         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10545         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10546         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10547         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10549         Likewise.
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10551         Likewise.
10552         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10553         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10554         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10555         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10556         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10557         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10558         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10559         * sysdeps/unix/sysv/linux/nptl-signals.h
10560         (____nptl_is_internal_signal): New function.
10561         * sysdeps/unix/sysv/linux/spawni.c: New file.
10563         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10564         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10565         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10566         * posix/tst-execvp2.c (do_test): Likewise.
10567         * posix/tst-execvp3.c (do_test): Likewise.
10568         * posix/tst-execvp4.c (do_test): Likewise.
10569         * posix/tst-execvpe1.c: New file.
10570         * posix/tst-execvpe2.c: Likewise.
10571         * posix/tst-execvpe3.c: Likewise.
10572         * posix/tst-execvpe4.c: Likewise.
10573         * posix/tst-execvpe5.c: Likewise.
10574         * posix/tst-execvpe6.c: Likewise.
10576         [BZ #19534]
10577         * posix/execl.c (execl): Remove dynamic memory allocation.
10578         * posix/execle.c (execle): Likewise.
10579         * posix/execlp.c (execlp): Likewise.
10581 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10583         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10584         Replace .text with .text.avx512.
10585         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10586         Likewise.
10588 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10590         * sysdeps/generic/libnsl.abilist: New file.
10591         * sysdeps/generic/libutil.abilist: New file.
10593 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10595         [BZ #19762]
10596         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10597         HAS_ARCH_FEATURE with Fast_Rep_String.
10598         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10599         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10600         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10601         Likewise.
10602         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10603         Likewise.
10604         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10605         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10606         Likewise.
10607         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10608         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10609         Likewise.
10611 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10613         [BZ #19745]
10614         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10615         with *%rax in call.
10617 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10619         [BZ #19745]
10620         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10621         with *__libc_start_main@GOTPCREL(%rip) in call.
10623 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10625         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10626         inside conditional for nonempty $(CXX).
10628         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10629         nonempty.
10631         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10632         to test for empty $(CXX) rather than $(CXX) of "no".
10634 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10636         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10638 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10639             H.J. Lu  <hongjiu.lu@intel.com>
10641         [BZ #18880]
10642         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10643         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10644         enable __memcpy_ssse3_back.
10646 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10648         [BZ #19758]
10649         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10650         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10652 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10654         [BZ #19490]
10655         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10656         (__fentry__): Likewise.
10658 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10660         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10661         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10663 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10665         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10666         __mcount_internal directly.
10667         (C_LABEL(__fentry__)): Likewise.
10668         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10669         directly.
10671 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10673         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10674         (__start_context): Call __setcontext directly.
10676 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10679         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10680         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10681         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10682         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10683         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10684         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10685         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10686         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10687         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10688         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10689         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10690         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10691         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10692         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10693         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10694         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10696         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10697         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10698         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10699         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10700         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10701         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10702         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10703         Remove conditional code.
10704         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10705         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10706         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10707         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10708         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10709         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10710         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10711         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10712         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10713         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10715         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10717 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10719         * NEWS (2.23): Fix typo in bug 19048 text.
10721 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10723         [BZ #14259]
10724         * Makeconfig: Rename msgcatdir to localedir.
10725         Rename inst_msgcatdir to inst_localedir.
10726         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10727         * config.make.in: Add localedir.
10728         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10729         (ldd-rewrite): Likewise.
10730         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10731         (install-others): Use inst_localedir.
10732         (CPPFLAGS): Use localedir.
10733         * locale/Makefile (locale-CPPFLAGS): Likewise.
10734         * po/Makefile (mo-installed): Use inst_localedir.
10736         [BZ #19575]
10737         * localedata/charmaps/GB18030: Update comments regarding PAU to
10738         non-PUA mappings.
10740 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10742         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10743         test for header.
10744         * sysdeps/unix/sysv/linux/configure: Regenerated.
10745         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10746         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10747         Remove conditional code.
10748         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10750         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10751         Define to 3.2.0.
10752         (arch_minimum_kernel): Likewise.
10753         * sysdeps/unix/sysv/linux/configure: Regenerated.
10754         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10755         Define to 2.6.32.
10756         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10757         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10758         (arch_minimum_kernel): Define to 2.6.32.
10759         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10760         * README: Document Linux 3.2 requirement.
10761         * manual/install.texi (Linux): Document Linux 3.2 headers
10762         requirement.
10763         * INSTALL: Regenerated.
10765 2016-02-24  Andreas Schwab  <schwab@suse.de>
10767         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10768         if !NO_LONG_DOUBLE.
10770 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10772         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10773         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10775 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10777         [BZ #19512]
10778         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10780 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10782         * posix/tst-dir.c: Include libc-internal.h.
10784 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10786         [BZ #19056]
10787         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10788         * manual/filesys.texi (Reading/Closing Directory): Mention
10789         deprecaion.
10790         * posix/tst-dir.c (main): Disable deprecation warning in test.
10792 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10794         [BZ #19679]
10795         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10796         Renamed to ...
10797         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10798         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10799         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10800         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10801         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10802         * sysdeps/x86_64/dl-trampoline.h
10803         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10804         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10806 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10808         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10810 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10812         * elf/elf.h (R_386_GOT32X): New.
10813         (R_386_NUM): Update.
10814         (R_X86_64_GOTPCRELX: New.
10815         (R_X86_64_REX_GOTPCRELX): New.
10816         (R_X86_64_NUM): Update.
10818 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10820         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10822 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10824         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10825         assign attr->stackaddr to it, and adjust it down when
10826         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10827         [_STACK_GROWS_UP]: Delete assert.
10828         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10829         Implement stack grows up logic.
10830         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10831         stack grows up logic.
10833 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10835         * NEWS: Update with 2.24 template.
10837 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10839         [BZ #19678]
10840         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10841         Ensure +0.0 is returned when taking the next value below the least
10842         positive value.
10844 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10846         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10847         available.  Do not define NO_THREADS.
10848         * malloc/malloc.c: Do not check NO_THREADS.
10849         * malloc/arena.c: Likewise.
10851 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10853         * malloc/malloc.c (__libc_mallinfo): Update comment.
10854         (struct malloc_par): Remove max_total_mem member, it was always 0.
10855         (int_mallinfo): Store 0 into usmblks (no functional change).
10856         * malloc/hooks.c (struct malloc_state): Document that
10857         max_total_mem is always 0.
10858         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10859         always 0.
10860         * manual/memory.texi (Statistics of Malloc): Likewise.
10862 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10864         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10865         * malloc/arena.c (arena_max): Remove.
10866         (heap_trim, _int_new_arena): Do not update arena_max.
10868 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10870         * resolv/res_init.c (res_ninit): Update comment.
10872 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10874         [BZ #19505]
10875         * posix/spawn_int.h: Add headers and include guard.
10876         (__spawn_valid_fd): New function.
10877         * posix/spawn_faction_addopen.c
10878         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10879         * posix/spawn_faction_addclose.c
10880         (posix_spawn_file_actions_addclose): Likewise.
10881         * posix/spawn_faction_adddup2.c
10882         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10883         second file descriptor.
10884         * posix/spawn_valid_fd.c: New file.
10885         * posix/tst-posix_spawn-fd.c: New file.
10886         * posix/Makefile (routines): Add spawn_valid_fd.
10887         (tests): Add tst-posix_spawn-fd.
10889 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10891         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10892         (do_test): Limit the number of arenas, so that we can use fewer
10893         outer threads.  Limit timeout to 3 seconds, in preparation for a
10894         larger TIMEOUT value.
10896 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10898         [BZ #19674]
10899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10900         sign in overflowing and underflowing results when overflow or
10901         underflow is detected early.  Include sign in result before rather
10902         than after scaling.
10904         [BZ #19603]
10905         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10906         (__ieee754_remainderl): Adjust sign of integer version of low part
10907         when taking absolute value of high part.
10908         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10909         * math/libm-test.inc (remainder_test_data): Add another test.
10910         (remquo_test_data): Likewise.
10912 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10914         [BZ #19602]
10915         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10916         equal high parts and both low parts zero specially.
10917         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10918         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10919         Add test-fmodl-ldbl-128ibm.
10921         [BZ #19595]
10922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10923         common logic for all cases of shifting subnormal results.  Do not
10924         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10925         exponent to ldbl_insert_mantissa in subnormal case.
10927         [BZ #19594]
10928         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10929         on high and low parts then adjust result and use
10930         ldbl_canonicalize_int if needed.
10932         [BZ #19593]
10933         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10934         on high part and __floor or __ceil on low part then use
10935         ldbl_canonicalize_int if needed.
10937         [BZ #19592]
10938         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10939         high and low parts then use ldbl_canonicalize_int if needed.
10941         [BZ #17899]
10942         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10943         New function.
10944         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10945         on high and low parts then use ldbl_canonicalize_int if needed.
10947 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10949         * configure: Regenerated.
10951         * po/libc.pot: Regenerated.
10953         * po/be.po: Updated translation.
10954         * po/bg.po: Likewise.
10955         * po/ca.po: Likewise.
10956         * po/cs.po: Likewise.
10957         * po/da.po: Likewise.
10958         * po/el.po: Likewise.
10959         * po/eo.po: Likewise.
10960         * po/es.po: Likewise.
10961         * po/fi.po: Likewise.
10962         * po/fr.po: Likewise.
10963         * po/gl.po: Likewise.
10964         * po/hr.po: Likewise.
10965         * po/hu.po: Likewise.
10966         * po/ia.po: Likewise.
10967         * po/id.po: Likewise.
10968         * po/it.po: Likewise.
10969         * po/ja.po: Likewise.
10970         * po/lt.po: Likewise.
10971         * po/nb.po: Likewise.
10972         * po/nl.po: Likewise.
10973         * po/pt_BR.po: Likewise.
10974         * po/rw.po: Likewise.
10975         * po/sk.po: Likewise.
10976         * po/sl.po: Likewise.
10977         * po/sv.po: Likewise.
10978         * po/tr.po: Likewise.
10979         * po/zh_CN.po: Likewise.
10980         * po/zh_TW.po: Likewise.
10982         * version.h (RELEAES): Set to "development".
10983         (VERSION): Set to 2.23.90.
10985         * version.h (RELEASE): Set to "stable".
10986         (VERSION): Set to 2.23.
10987         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10989         * NEWS: Updated fixed bugs.
10991 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10992             Wilco Dijkstra  <wdijkstr@arm.com>
10994         [BZ #19462]
10995         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10996         (_STRING_INLINE_unaligned): This.
10997         * include/string.h: Include <string_private.h>.
10998         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10999         _STRING_INLINE_unaligned.
11000         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11001         (_STRING_INLINE_unaligned): New.
11002         * sysdeps/aarch64/string_private.h: New file.
11003         * sysdeps/generic/string_private.h: Likewise.
11004         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11005         * sysdeps/s390/string_private.h: Likewise.
11006         * sysdeps/x86/string_private.h: Likewise.
11007         * sysdeps/m68k/m680x0/m68020/bits/string.h
11008         (_STRING_ARCH_unaligned): Renamed to ...
11009         (_STRING_INLINE_unaligned): This.
11010         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11011         to ...
11012         (_STRING_INLINE_unaligned): This.
11013         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11014         to ...
11015         (_STRING_INLINE_unaligned): This.
11016         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11017         to ...
11018         (_STRING_INLINE_unaligned): This.
11020 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11021             H.J. Lu  <hongjiu.lu@intel.com>
11023         [BZ #19590]
11024         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11025         relocation.
11027 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11029         [BZ #18665]
11030         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11031         *herrno_p.
11032         (gaih_getanswer): Document functional behviour. Return tryagain
11033         if any result is tryagain.
11034         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11035         when freed.
11036         * resolv/res_send.c: Add copyright text.
11037         (__libc_res_nsend): Document that MAXPACKET is expected.
11038         (send_vc): Document. Remove buffer reuse.
11039         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11040         size of the buffer. Add Dprint for truncated UDP buffer.
11042 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11044         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11045         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11046         * INSTALL: Regenerate.
11048 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11049             Jonathan Wakely  <jwakely@redhat.com>
11050             Carlos O'Donell  <carlos@redhat.com>
11052         [BZ 19439]
11053         * math/Makefile (tests): Add test-math-isinff.
11054         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11055         * math/bits/mathcalls.h [__USE_MISC]: Use
11056         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11057         functions not in C++11 and which don't conflict e.g. isinff,
11058         isinfl etc.
11059         * math/test-math-isinff.cc: New file.
11061 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11063         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11065 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11067         [BZ #19529]
11068         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11070 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11072         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11074 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11076         [BZ #19550]
11077         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11078         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11079         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11080         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11081         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11082         New syscall entry.
11083         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11084         New syscall entry.
11085         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11086         syscall entry.
11088 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11090         [BZ #18240]
11091         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11092         unsigned int wraparound.
11094 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11096         [BZ #18240]
11097         * misc/bug18240.c: New test.
11098         * misc/Makefile (tests): Add it.
11100 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11101             Joseph Myers  <joseph@codesourcery.com>
11103         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11104         load in branch delay slot when less than a word of input left.
11106 2016-01-27  Andreas Schwab  <schwab@suse.de>
11108         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11109         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11110         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11111         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11113 2016-01-26  David S. Miller  <davem@davemloft.net>
11115         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11117 2016-01-25  David S. Miller  <davem@davemloft.net>
11119         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11120         __sqrtl_finite.
11121         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11122         instead using versioned_symbol.
11123         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11124         of entries.
11126         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11127         __sqrtl_finite to GLIBC_2.23
11129 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11131         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11133 2016-01-25  Andreas Schwab  <schwab@suse.de>
11135         [BZ #17514]
11136         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11137         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11138         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11139         * nptl/tst-mutex-errorcheck.c: New file.
11141 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11143         [BZ #18560]
11144         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11145         (IPCOP_semop): Likewise.
11146         (IPCOP_semget): Likewise.
11147         (IPCOP_semctl): Likewise.
11148         (IPCOP_msgsnd): Likewise.
11149         (IPCOP_msgrcv): Likewise.
11150         (IPCOP_msgget): Likewise.
11151         (IPCOP_msgctl): Likewise.
11152         (IPCOP_shmat): Likewise.
11153         (IPCOP_shmdt): Likewise.
11154         (IPCOP_shmget): Likewise.
11155         (IPCOP_shmctl): Likewise.
11157 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11159         * string/tst-endian.c: Include <libc-internal.h>.
11160         (do_test): Ignore tautological-compare warnings around
11161         "htobeXX (beXXtoh (i)) != i" and
11162         "htoleXX (leXXtoh (i)) != i" if-statements.
11164 2016-01-24  David S. Miller  <davem@davemloft.net>
11166         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11167         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11168         alias.
11169         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11170         __sqrtl_finite.
11172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11174 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11176         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11177         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11178         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11180 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11182         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11183         (thread_func): Use new function to simplify barrier check.
11184         (do_test): Use new function to simplify checking barrier exit
11185         code, and actually join the child thread.
11187 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11189         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11190         semicolon.
11191         (__libc_tend): Likewise.
11192         (__libc_tabort): Likewise.
11194 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11196         * sysdeps/nios2/libm-test-ulps: Update.
11197         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11198         (__gtsf2): Likewise.
11199         (__unorddf2): Likewise.
11200         (__unordsf2): Likewise.
11201         (__ledf2): Likewise.
11203 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11205         * nis/nis_table.c (__follow_path): Disable diagnostic for
11206         uninitialized variable that is a false positive for gcc 4.7.
11207         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11209 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11211         * sysdeps/nacl/lowlevellock-futex.h
11212         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11213         Always evaluate PRIVATE argument.
11215 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11217         [BZ #19490]
11218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11219         (pthread_cond_broadcast): Use ENTRY/END
11220         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11221         (pthread_cond_signal): Likewise.
11222         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11223         Likewise.
11224         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11225         Likewise.
11226         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11227         Likewise.
11229 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11231         * sysdeps/ieee754/dbl-64/s_finite.c
11232         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11233         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11234         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11235         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11236         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11239         (__gtsf2): Add as optional for libc.so.
11240         (__unordsf2): Likewise.
11241         (__signbit): Remove for libc.so.
11242         (__signbitl): Likewise.
11244 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11246         * iconvdata/bug-iconv11.c (test_ibm93x):
11247         Use %zu printf format specifier for size_t argument.
11249 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11251         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11252         already-recorded ulps.
11253         * sysdeps/arm/libm-test-ulps: Regenerated.
11254         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11255         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11256         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11258 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11259             Paul Pluzhnikov  <ppluzhnikov@google.com>
11261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11262         assembler not supporting AVX-512.
11264 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11266         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11268 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11270         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11273         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11275         * sysdeps/arm/libm-test-ulps: Regenerated.
11277 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11279         [BZ #19451]
11280         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11282 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11284         [BZ #19486]
11285         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11286         * sysdeps/generic/fix-fp-int-convert-overflow.h
11287         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11288         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11289         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11290         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11291         Likewise.
11292         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11293         Avoid conversions to long int where inexact exceptions
11294         could be raised.
11295         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11296         Likewise.
11297         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11298         Avoid conversions to long long int where inexact exceptions
11299         could be raised.
11300         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11301         Likewise.
11303 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11305         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11306         * configure: Regenerated.
11308 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11310         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11312 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11314         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11315         outside of comment.
11317 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11319         * nptl/tst-barrier1.c: Add description on first line.
11320         * nptl/tst-barrier2.c: Likewise.
11321         * nptl/tst-barrier3.c: Likewise.
11322         * nptl/tst-barrier4.c: Likewise.
11323         * nptl/tst-barrier5.c: Likewise.
11325 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11327         [BZ #18868]
11328         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11330 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11334         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11335         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11336         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11337         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11339         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11340         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11341         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11342         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11344 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11346         [BZ #13065]
11347         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11348         new implementation.
11349         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11350         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11351         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11352         (BARRIER_IN_THRESHOLD): New macro.
11353         * nptl/pthread_barrierattr_setpshared.c
11354         (pthread_barrierattr_setpshared): Clean up.
11355         * nptl/tst-barrier4.c: Correct comment.
11356         * nptl/tst-barrier5.c: New file.
11357         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11358         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11359         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11360         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11361         * nptl/lowlevelbarrier.sym: Remove.
11362         * nptl/DESIGN-barrier.txt: Remove.
11363         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11364         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11365         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11366         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11367         error.
11368         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11369         implementation.
11371 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11373         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11374         (do_child): Mask SIGRTMIN while thr is running.
11376 2016-01-15  Martin Sebor  <msebor@redhat.com>
11378         [BZ #19432]
11379         * iconvdata/Makefile: Add bug-iconv11.
11380         * iconvdata/bug-iconv11.c: New test.
11381         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11382         * iconvdata/ibm933.c: Same.
11383         * iconvdata/ibm935.c: Same.
11384         * iconvdata/ibm937.c: Same.
11385         * iconvdata/ibm939.c: Same.
11387 2016-01-15  Martin Sebor  <msebor@redhat.com>
11389         [BZ #19443]
11390         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11391         [DEBUG] (_ufc_set_bits): Declare used.
11392         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11393         [DEBUG] (print_all): Declare used.
11394         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11395         operands of the ternary ?: expression to target type.
11396         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11397         calling the undeclared abort.
11398         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11400 2016-01-15  Martin Sebor  <msebor@redhat.com>
11402         [BZ #18755]
11403         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11404         warnings.
11405         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11406         (__gai_create_helper_thread): Same.
11407         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11408         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11409         to suppress -Wmaybe-uninitialized warnings.
11411 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11413         [BZ #19465]
11414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11415         inside if.
11416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11418         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11420 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11422         [BZ #19466]
11423         * time/tst-mktime2.c (time_t_max): Removed.
11424         (time_t_min): Likewise.
11425         (TYPE_SIGNED): New.
11426         (TYPE_MINIMUM): Likewise.
11427         (TYPE_MAXIMUM): Likewise.
11428         (TIME_T_MIN): Likewise.
11429         (TIME_T_MAX): Likewise.
11430         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11431         and TIME_T_MIN.
11432         (do_test): Likewise.
11434 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11436         [BZ #19467]
11437         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11438         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11440 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11442         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11444 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11446         * benchtests/Makefile (PYTHON): Define.
11447         (bench-func): Use $(PYTHON) to run python scripts.
11448         ($(objpfx)bench-%.c): Likewise.
11450 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11452         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11453         leading slash when `file_name' is "/".
11455 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11457         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11458         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11459         Likewise.
11460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11461         Likewise.
11462         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11463         Likewise.
11464         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11465         enum constant and macro.
11466         (PTRACE_SETSIGMASK): Likewise.
11467         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11468         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11469         (PTRACE_GETSIGMASK): Likewise.
11470         (PTRACE_SETSIGMASK): Likewise.
11471         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11472         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11473         Likewise.
11474         (PTRACE_SETSIGMASK): Likewise.
11475         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11477         (PTRACE_GETSIGMASK): Likewise.
11478         (PTRACE_SETSIGMASK): Likewise.
11479         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11481         Likewise.
11482         (PTRACE_SETSIGMASK): Likewise.
11483         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11484         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11485         Likewise.
11486         (PTRACE_SETSIGMASK): Likewise.
11487         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11488         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11489         Likewise.
11490         (PTRACE_SETSIGMASK): Likewise.
11491         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11493 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11494             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11496         [BZ #19439]
11497         * math/bits/mathcalls.h
11498         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11499         prototype.
11500         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11502 2016-01-11  Andreas Schwab  <schwab@suse.de>
11504         [BZ #19253]
11505         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11506         cache when TZDEFRULES was used.
11507         * time/tst-tzname.c: New file.
11508         * time/Makefile (test): Add tst-tzname.
11509         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11510         * timezone/Makefile (test-zones): Add $(posixrules-file).
11511         ($(testdata)/$(posixrules-file)): New rule.
11513 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11515         Fix doc quoting problems with Texinfo 5
11516         Without this change, in the info file output, Texinfo 5 quotes code
11517         in text with undirected single quotes 'like this' and generates
11518         code examples that with many PDF readers cannot be cut out of PDFs
11519         and pasted into code.
11520         * manual/libc.texinfo: Configure the libc manual like the GNU
11521         Emacs manual, by using @documentencoding and setting
11522         txicodequoteundirected and txicodequotebacktick.  This way,
11523         Texinfo 5 quotes code in text with directed single quotes ‘like
11524         this’ and produces examples that can be cut out of PDFs.  This
11525         change causes Texinfo 5 to generate info files that contain UTF-8
11526         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11527         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11529 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11531         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11532         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11533         barriers to their respective compiler built-ins.
11534         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11535         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11536         * sysdeps/powerpc/sysdep.h: Likewise.
11537         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11538         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11539         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11541 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11543         * scripts/config.guess: Revert previous shebang change.
11544         * scripts/config.sub: Likewise.
11545         * scripts/mkinstalldirs: Likewise.
11547 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11549         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11550         PPC_FEATURE2_HAS_IEEE128.
11551         * sysdeps/powerpc/dl-procinfo.c:
11552         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11554 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11556         [BZ #19415]
11557         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11558         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11559         (_dl_lookup_address): Rewrite using function resolver trampoline.
11560         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11561         two bits in address.
11563 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11565         * longlong.h: Change !__SHMEDIA__ to
11566         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11567         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11569 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11570             Joseph Myers  <joseph@codesourcery.com>
11571             Mark Shinwell  <shinwell@codesourcery.com>
11572             Andrew Stubbs  <ams@codesourcery.com>
11573             Rich Felker <dalias@libc.org>
11575         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11577 2016-01-07  Richard Henderson  <rth@redhat.com>
11579         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11581 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11583         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11584         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11585         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11586         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11587         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11589 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11590             Joseph Myers  <joseph@codesourcery.com>
11592         * timezone/private.h: Update from tzcode 2015g.
11593         * timezone/tzfile.h: Likewise.
11594         * timezone/tzselect.ksh: Likewise.
11595         * timezone/zdump.c: Likewise.
11596         * timezone/zic.c: Likewise.
11597         * timezone/ialloc.c: Remove file.
11598         * timezone/scheck.c: Likewise.
11599         * timezone/Makefile (extra-objs): Remove variable.
11600         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11601         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11602         -Wno-maybe-uninitialized.
11603         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11604         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11605         (CFLAGS-ialloc.c): Remove variable.
11606         (CFLAGS-scheck.c): Likewise.
11607         * timezone/README: Update list of files from tzcode.
11609 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11611         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11612         instead of __fxprintf when _LIBC is undefined.
11614 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11616         * catgets/test-gencat.sh: Remove space after shebang.
11617         * conform/GlibcConform.pm: Likewise.
11618         * conform/check-header-lists.sh: Likewise.
11619         * conform/conformtest.pl: Likewise.
11620         * conform/linknamespace.pl: Likewise.
11621         * conform/list-header-symbols.pl: Likewise.
11622         * debug/catchsegv.sh: Likewise.
11623         * elf/genrtldtbl.awk: Likewise.
11624         * elf/tst-pathopt.sh: Likewise.
11625         * elf/tst-rtld-load-self.sh: Likewise.
11626         * grp/tst_fgetgrent.sh: Likewise.
11627         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11628         * iconvdata/gen-8bit-gap.sh: Likewise.
11629         * iconvdata/gen-8bit.sh: Likewise.
11630         * iconvdata/run-iconv-test.sh: Likewise.
11631         * intl/tst-gettext.sh: Likewise.
11632         * intl/tst-gettext2.sh: Likewise.
11633         * intl/tst-gettext4.sh: Likewise.
11634         * intl/tst-gettext6.sh: Likewise.
11635         * intl/tst-translit.sh: Likewise.
11636         * io/ftwtest-sh: Likewise.
11637         * libio/test-freopen.sh: Likewise.
11638         * locale/gen-translit.pl: Likewise.
11639         * malloc/tst-mtrace.sh: Likewise.
11640         * manual/check-safety.sh: Likewise.
11641         * manual/libc-texinfo.sh: Likewise.
11642         * manual/tsort.awk: Likewise.
11643         * manual/xtract-typefun.awk: Likewise.
11644         * nptl/tst-cancel-wrappers.sh: Likewise.
11645         * nptl/tst-tls6.sh: Likewise.
11646         * posix/globtest.sh: Likewise.
11647         * posix/tst-getconf.sh: Likewise.
11648         * posix/wordexp-tst.sh: Likewise.
11649         * scripts/check-c++-types.sh: Likewise.
11650         * scripts/check-local-headers.sh: Likewise.
11651         * scripts/config.guess: Likewise.
11652         * scripts/config.sub: Likewise.
11653         * scripts/cpp: Likewise.
11654         * scripts/cross-test-ssh.sh: Likewise.
11655         * scripts/documented.sh: Likewise.
11656         * scripts/evaluate-test.sh: Likewise.
11657         * scripts/gen-libc-abis: Likewise.
11658         * scripts/gen-sorted.awk: Likewise.
11659         * scripts/list-fixed-bugs.py: Likewise.
11660         * scripts/merge-test-results.sh: Likewise.
11661         * scripts/mkinstalldirs: Likewise.
11662         * scripts/rellns-sh: Likewise.
11663         * scripts/test-installation.pl: Likewise.
11664         * scripts/update-copyrights: Likewise.
11665         * stdio-common/tst-printf.sh: Likewise.
11666         * stdio-common/tst-unbputc.sh: Likewise.
11667         * stdlib/tst-fmtmsg.sh: Likewise.
11668         * stdlib/tst-setcontext3.sh: Likewise.
11669         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11670         * sysdeps/unix/make-syscalls.sh: Likewise.
11672 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11674         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11675         asm stw with atomic_exchange_rel.  Add explanatory comment.
11676         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11677         Likewise.
11679 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11681         [BZ #19122]
11682         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11683         * sysdeps/generic/dl-unistd.h: New file.
11684         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11686 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11688          [BZ #19122]
11689          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11690          * sysdeps/generic/dl-mman.h: New file.
11691          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11693 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11695         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11696         trailing whitespace removed.
11697         * scripts/config.guess: Update to version 2016-01-01.
11698         * scripts/config.sub: Update to version 2016-01-01.
11699         * scripts/move-if-change: Update from gnulib.
11701 2016-01-04  Anton Blanchard  <anton@samba.org>
11703         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11704         for array indices.
11705         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11707 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11709         * NEWS: Update copyright dates.
11710         * catgets/gencat.c (print_version): Likewise.
11711         * csu/version.c (banner): Likewise.
11712         * debug/catchsegv.sh: Likewise.
11713         * debug/pcprofiledump.c (print_version): Likewise.
11714         * debug/xtrace.sh (do_version): Likewise.
11715         * elf/ldconfig.c (print_version): Likewise.
11716         * elf/ldd.bash.in: Likewise.
11717         * elf/pldd.c (print_version): Likewise.
11718         * elf/sotruss.sh: Likewise.
11719         * elf/sprof.c (print_version): Likewise.
11720         * iconv/iconv_prog.c (print_version): Likewise.
11721         * iconv/iconvconfig.c (print_version): Likewise.
11722         * locale/programs/locale.c (print_version): Likewise.
11723         * locale/programs/localedef.c (print_version): Likewise.
11724         * login/programs/pt_chown.c (print_version): Likewise.
11725         * malloc/memusage.sh (do_version): Likewise.
11726         * malloc/memusagestat.c (print_version): Likewise.
11727         * malloc/mtrace.pl: Likewise.
11728         * manual/libc.texinfo: Likewise.
11729         * nptl/version.c (banner): Likewise.
11730         * nscd/nscd.c (print_version): Likewise.
11731         * nss/getent.c (print_version): Likewise.
11732         * nss/makedb.c (print_version): Likewise.
11733         * posix/getconf.c (main): Likewise.
11734         * scripts/test-installation.pl: Likewise.
11735         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11737         * All files with FSF copyright notices: Update copyright dates
11738         using scripts/update-copyrights.
11739         * intl/plural.c: Regenerated.
11740         * locale/programs/charmap-kw.h: Likewise.
11741         * locale/programs/locfile-kw.h: Likewise.
11743 2016-01-02  Helge Deller  <deller@gmx.de>
11745         [BZ #19285]
11746         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11747         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11748         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11749         (MADV_xxK_PAGES): Remove.
11751 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11753         [BZ #15421]
11754         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11755         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11756         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11757         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11759 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11761         [BZ #19408]
11762         * sysdeps/unix/sysv/linux/personality.c: New file.
11763         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11764         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11765         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11766         (sysdep_routines): Add personality.
11767         (tests): Add tst-personality.
11768         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11769         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11770         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11771         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11772         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11773         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11774         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11775         Likewise.
11776         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11777         Likewise.
11778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11779         Likewise.
11780         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11781         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11782         Likewise.
11784 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11786         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11787         (PATH_ARM_SYSTYPE): Remove.
11788         (PATH_CPUINFO): Likewise.
11789         (IO_BASE_FOOTBRIDGE): Likewise.
11790         (IO_SHIFT_FOOTBRIDGE): Likewise.
11791         (struct platform): Likewise.
11792         (init_iosys): Remove compatibility code for 2.4 kernels.
11793         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11795 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11797         * malloc/tst-malloc-thread-fail.c: New file.
11798         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11799         (tst-malloc-thread-fail): Link against libpthread.
11801 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11803         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11804         (get_parser): New function.
11805         (main): New function.
11807 2015-12-29  Rob Wu  <rob@robwu.nl>
11809         [BZ #19369]
11810         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11812 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11814         [BZ #19270]
11815         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11817 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11819         [BZ #15421]
11820         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11822 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11824         [BZ #13690]
11825         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11826         after releasing it.
11827         (__lll_robust_unlock): Likewise.
11828         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11829         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11830         (lll_robust_unlock): Likewise.
11831         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11832         Prevent warnings in callers.
11834 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11836         * malloc/arena.c (list_lock): Update comment.
11838 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11840         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11841         __parse_hwcap_and_convert_at_platform to libc.a.
11843 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11845         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11846         platform and feature support for POWER9.
11847         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11848         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11849         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11850         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11851         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11852         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11853         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11854         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11856 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11858         Harmonize generic stdio-lock support with nptl
11860         This fixes build when _IO_funlockfile is a macro, fixes build where
11861         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11862         stack unwind.
11864         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11865         _IO_release_lock ): Use cleanup attribute on new
11866         _IO_acquire_lock_file variable instead of assuming that
11867         _IO_release_lock will be called.
11868         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11869         _IO_acquire_lock_needs_exceptions_enabled.
11870         (_IO_acquire_lock_clear_flags2): New macro.
11872 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11874         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11876 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11878         [BZ #19182]
11879         * malloc/arena.c (list_lock): Document lock ordering requirements.
11880         (free_list_lock): New lock.
11881         (ptmalloc_lock_all): Comment on free_list_lock.
11882         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11883         (detach_arena): Update comment.  free_list_lock is now needed.
11884         (_int_new_arena): Use free_list_lock around detach_arena call.
11885         Acquire arena lock after list_lock.  Add comment, including FIXME
11886         about incorrect synchronization.
11887         (get_free_list): Switch to free_list_lock.
11888         (reused_arena): Acquire free_list_lock around detach_arena call
11889         and attached threads counter update.  Add two FIXMEs about
11890         incorrect synchronization.
11891         (arena_thread_freeres): Switch to free_list_lock.
11892         * malloc/malloc.c (struct malloc_state): Update comments to
11893         mention free_list_lock.
11895 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11897         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11898         Remove functions.
11899         (sloww, sloww1): Accept argument to offset quadrant.
11900         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11901         quadrant.
11902         (__sin, __cos): Consolidate common code into new functions.
11903         (reduce_sincos_1, do_sincos_1): New functions.
11904         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11906         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11907         code to new functions.
11908         (reduce_sincos_2, do_sincos_2): New functions.
11909         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11911         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11912         common code for sincos.
11913         (__cos) [!IN_SINCOS]: Likewise.
11914         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11915         New function.
11916         (__sincos): Use it.
11918 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11920         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11921         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11922         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11924 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11926         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11929         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11930         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11931         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11932         index_Prefer_No_VZEROUPPER): New feature.
11933         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11934         Prefer_No_VZEROUPPER for Knights Landing.
11936 015-12-18  Torvald Riegel  <triegel@redhat.com>
11938         * math/atest-exp2.c (mp_exp_m1): Remove.
11940 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11942         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11943         syscalls.
11944         (__SYSCALL0): New macro.
11945         (__SYSCALL1): Likewise.
11946         (__SYSCALL2): Likewise.
11947         (__SYSCALL3): Likewise.
11948         (__SYSCALL4): Likewise.
11949         (__SYSCALL5): Likewise.
11950         (__SYSCALL6): Likewise.
11951         (__SYSCALL_CONCAT_X): Likewise.
11952         (__SYSCALL_CONCAT): Likewise.
11953         (__SYSCALL_DIST): Likewise.
11954         (__SYSCALL_CALL): Likewise.
11956 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11958         [BZ #19363]
11959         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11961 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11963         [BZ #19375]
11964         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11965         negative subnormals.
11967 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11970         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11971         (INTERNAL_SYSCALL_NCS): Use it.
11972         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11974 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11976         [BZ #19243]
11977         * malloc/arena.c (get_free_list): Remove assert and adjust
11978         reference count handling.  Add comment about reused_arena
11979         interaction.
11980         (reused_arena): Add comments abount get_free_list interaction.
11981         * malloc/tst-malloc-thread-exit.c: New file.
11982         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11983         (tst-malloc-thread-exit): Link against libpthread.
11985 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11987         [BZ #19367]
11988         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11989         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11990         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11991         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11992         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11994 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11996         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11997         Silvermont optimizations for Knights Landing.
11999 2015-12-15  Andreas Schwab  <schwab@suse.de>
12001         [BZ #17197]
12002         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12003         immediately after emitting SI.
12004         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12005         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12006         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12007         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12008         * iconvdata/bug-iconv10.c: New file.
12009         * iconvdata/Makefile (tests): Add bug-iconv10.
12010         ($(objpfx)bug-iconv10.out): New rule.
12012 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12014         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12015         aliasing violation.
12017 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12019         [BZ #18472]
12020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12021         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12022         conditionals for them.
12023         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12024         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12026         sys/kdaemon.h.
12027         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12028         compat-only syscall, obsoleted in glibc 2.23.
12029         (create_module): Likewise.
12030         (get_kernel_syms): Likewise.
12031         (query_module): Likewise.
12032         (uselib): Likewise.
12033         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12035 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12037         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12038         <linux/version.h>.
12039         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12040         conditional code.
12041         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12042         and ioshift_name initialization.
12044 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12047         Fix indentation.
12049 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12051         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12053 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12055         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12057 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12058             Jakub Wilk  <jwilk@debian.org>
12060         [BZ #19347]
12061         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12062         to change the group of the device to the tty group.
12064 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12066         Split large string section; add truncation advice
12067         * manual/examples/strncat.c: Remove.
12068         This example was misleading, as the code would have undefined
12069         behavior if "hello" was longer than SIZE.  Anyway, the manual
12070         shouldn't encourage strncpy+strncat for this sort of thing.
12071         * manual/string.texi (Copying Strings and Arrays): Split into
12072         three sections Copying Strings and Arrays, Concatenating Strings,
12073         and Truncating Strings, as this section was way too long.  All
12074         cross-referenced changed.  Add advice about string-truncation
12075         functions.  Remove misleading strncat example.
12077 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12079         * manual/nss.texi (NSS Modules Interface): Document
12080         NSS_STATUS_NOTFOUND and SUCCESS.
12082 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12084         [BZ 18568]
12085         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12086         201505L, for Unicode 8.
12088 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12090         * locale/C-translit.h: Regenerate.
12092 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12094         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12095         and U+0153.
12097 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #19351]
12100         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12101         expanding log(1+z), compare z rather than its square with epsilon
12102         to determine when to avoid evaluating the expansion.
12104         [BZ #19350]
12105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12106         Increase overflow threshold.
12108         [BZ #19349]
12109         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12110         when small.
12112         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12114         New macro.
12115         [__LINUX_KERNEL_VERSION >= 0x040300]
12116         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12117         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12118         Likewise.
12119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12120         Likewise.
12121         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12122         Likewise.
12123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12124         Likewise.
12125         [__LINUX_KERNEL_VERSION >= 0x040300]
12126         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12127         [__LINUX_KERNEL_VERSION >= 0x040300]
12128         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12129         [__LINUX_KERNEL_VERSION >= 0x040300]
12130         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12131         [__LINUX_KERNEL_VERSION >= 0x040300]
12132         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12133         [__LINUX_KERNEL_VERSION >= 0x040300]
12134         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12136         Likewise.
12137         [__LINUX_KERNEL_VERSION >= 0x040300]
12138         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12140         Likewise.
12141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12142         Likewise.
12143         [__LINUX_KERNEL_VERSION >= 0x040300]
12144         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12146         Likewise.
12147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12151         Likewise.
12152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12153         Likewise.
12154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12155         Likewise.
12156         [__LINUX_KERNEL_VERSION >= 0x040300]
12157         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12159         Likewise.
12160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12161         Likewise.
12162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12163         Likewise.
12164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12165         Likewise.
12166         [__LINUX_KERNEL_VERSION >= 0x040300]
12167         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12168         [__LINUX_KERNEL_VERSION >= 0x040300]
12169         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12170         [__LINUX_KERNEL_VERSION >= 0x040300]
12171         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12172         [__LINUX_KERNEL_VERSION >= 0x040300]
12173         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12174         [__LINUX_KERNEL_VERSION >= 0x040300]
12175         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12177         Likewise.
12178         [__LINUX_KERNEL_VERSION >= 0x040300]
12179         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12181         Likewise.
12182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12183         Likewise.
12184         [__LINUX_KERNEL_VERSION >= 0x040300]
12185         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12187         Likewise.
12188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12189         Likewise.
12190         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12191         (__ASSUME_SOCKET_SYSCALL): Likewise.
12192         (__ASSUME_BIND_SYSCALL): Likewise.
12193         (__ASSUME_CONNECT_SYSCALL): Likewise.
12194         (__ASSUME_LISTEN_SYSCALL): Likewise.
12195         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12196         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12197         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12198         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12199         (__ASSUME_SEND_SYSCALL): Likewise.
12200         (__ASSUME_SENDTO_SYSCALL): Likewise.
12201         (__ASSUME_RECV_SYSCALL): Likewise.
12202         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12203         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12204         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12205         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12206         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12207         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12208         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12209         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12210         Likewise.
12211         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12212         Likewise.
12213         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12214         Likewise.
12215         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12216         Likewise.
12217         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12218         Likewise.
12219         [__LINUX_KERNEL_VERSION >= 0x020625]
12220         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12221         [__LINUX_KERNEL_VERSION >= 0x020625]
12222         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12223         [__LINUX_KERNEL_VERSION >= 0x020625]
12224         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12225         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12226         Likewise.
12227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12228         Likewise.
12229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12230         Likewise.
12231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12232         Likewise.
12233         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12234         Likewise.
12235         [__LINUX_KERNEL_VERSION >= 0x020625]
12236         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12237         [__LINUX_KERNEL_VERSION >= 0x020625]
12238         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12239         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12240         Likewise.
12241         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12242         Likewise.
12244 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12246         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12247         record the current if the current ABI and CPU support the FP64
12248         extension.
12249         (has-modd-spreg): Define to record the current if the current ABI and
12250         CPU support 32-bit floating point values in odd FPU registers.
12251         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12252         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12253         $(has-modd-spreg) equals yes.
12254         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12255         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12256         $(has-modd-spreg) equal yes.
12258 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12260         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12261         basename.
12263 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12265         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12266         (bench-string): ... here.
12267         (bench): Add bench-string.
12268         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12269         to *-benchset to reflect what they are.
12270         (benchset): Adjust.
12272         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12273         cos-inputs.
12275 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12277         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12278         __attribute__ ((__simd__)) for vector math function declarations.
12280 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12282         Fix typo in strncat, wcsncat manual entries
12283         * manual/string.texi (Copying and Concatenation): Fix typos in
12284         sample implementations of strncat and wcsncat, by having them use
12285         the old value of the destination length, not the new one.
12287 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #16961]
12290         [BZ #16962]
12291         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12292         string on the stack for strtod.
12293         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12294         a string on the stack for strtof.
12295         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12296         constructing a string on the stack for strtold.
12297         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12298         __strtold_nan to GLIBC_PRIVATE.
12299         * math/test-nan-overflow.c: New file.
12300         * math/test-nan-payload.c: Likewise.
12301         * math/Makefile (tests): Add test-nan-overflow and
12302         test-nan-payload.
12304 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12306         Consistency about byte vs character in string.texi
12307         * manual/string.texi (String and Array Utilities):
12308         Distinguish more carefully among bytes, multibyte characters,
12309         and wide characters.  Use "byte" when talking about C 'char',
12310         to distinguish it more clearly from multibyte characters.
12311         Say "wide character" or "multibyte character" instead of
12312         "character", when a wide or multibyte character is intended.
12313         Similarly for "multibyte string" versus "string".
12314         Define these terms more carefully.
12316 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12318         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12319         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12320         Likewise.
12321         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12322         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12323         * sysdeps/sh/math_private.h: New file.
12324         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12325         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12326         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12327         long double function name.
12328         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12329         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12334         Remove __finitel, __isinfl, and __isnanl.
12335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12339         Remove __finitel.
12340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12341         Likewise.
12342         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12344 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12346         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12347         installed libmvec_nonshared.a.
12349 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12351         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12352         (sysdep_routines): Likewise.
12353         (sysdep-rtld-routines): Likewise.
12354         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12355         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12356         * sysdeps/powerpc/Versions: Added new
12357         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12358         * sysdeps/powerpc/hwcapinfo.c: New file.
12359         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12360         and parse hwcap, hwcap2 and platform number information.
12361         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12362         to store HWCAP+HWCAP2 and platform number.
12363         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12364         for HWCAP+HWCAP2 and platform number in the TCB.
12365         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12366         the HWCAP, HWCAP2 and platform number in the TCB.
12367         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12368         (TLS_INIT_TP): Included calls to add the hwcap and
12369         at_platform values in the TCB in TP initialization.
12370         (TLS_DEFINE_INIT_TP): Likewise.
12371         (THREAD_GET_HWCAP): New macro.
12372         (THREAD_SET_HWCAP): Likewise.
12373         (THREAD_GET_AT_PLATFORM): Likewise.
12374         (THREAD_SET_AT_PLATFORM): Likewise.
12375         * sysdeps/powerpc/powerpc32/dl-machine.h:
12376         (dl_platform_init): New function that calls
12377         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12378         powerpc32.
12379         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12380         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12381         this functionality, static linking case.
12382         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12383         linking case.
12384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12385         __parse_hwcap_and_convert_at_platform for the static linking case.
12386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12387         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12388         ABI list for GLIBC 2.23.
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12390         Likewise.
12391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12392         Likewise.
12394 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12396         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12397         * configure: Regenerate.
12398         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12399         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12401 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12403         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12404         * iconvdata/ibm933.c: Likewise.
12405         * iconvdata/ibm935.c: Likewise.
12406         * iconvdata/ibm937.c: Likewise.
12407         * iconvdata/ibm939.c: Likewise.
12409 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12411         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12412         pthread_join.
12413         * nptl/tst-cancel21.c (tf): Likewise.
12415 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12417         [BZ #19313]
12418         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12419         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12420         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12421         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12422         Likewise.
12423         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12424         Likewise.
12425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12426         Likewise.
12427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12428         Likewise.
12429         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12430         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12431         unsigned long int with __CPU_MASK_TYPE.
12433 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12435         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12437 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12439         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12440         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12441         t512.x.
12442         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12444 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12446         [BZ #19214]
12447         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12448         argument to return extended model.  Update family and model
12449         with extended family and model when family == 0x0f.
12450         (init_cpu_features): Updated.
12452 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12454         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12455         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12457         * sysdeps/mach/hurd/mmap64.c: New file.
12459 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12461         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12462         rights for its main user thread in NEWTASK.
12464 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12466         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12467         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12469 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12471         [BZ #14259]
12472         * Makeconfig: Rename localedir to complocaledir.
12473         Rename inst_localedir to inst_complocaledir.
12474         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12475         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12476         * configure.ac: Use libc_cv_complocaledir.
12477         * configure: Regenerate.
12478         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12479         -DCOMPLOCALEDIR.
12480         * locale/findlocale.c: Use COMPLOCALEDIR.
12481         * locale/loadarchive.c: Likewise.
12482         * locale/programs/locale.c: Likewise.
12483         * locale/programs/localedef.c: Likewise.
12484         * locale/programs/locarchive.c: Likewise.
12485         * localedata/Makefile: Use inst_complocaledir.
12486         * sysdeps/gnu/configure: Regenerate.
12487         * sysdeps/hppa/configure: Regenerate.
12488         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12489         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12491         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12492         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12493         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12494         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12496 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12498         [BZ #19058]
12499         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12500         AS_NEEDED.
12501         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12502         workaround.
12503         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12504         libmvec-static-only-routines): Added new file.
12505         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12507 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12509         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12510         of interrupted RPC instead of restoring it.
12512         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12513         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12514         libc_hidden_def.
12515         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12516         into initialized data instead of common. Define rtld_hidden_data_def.
12517         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12518         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12519         libc_hidden_def.
12520         (if_freenameindex): Add libc_hidden_weak.
12521         (if_nameindex): Add libc_hidden_weak.
12522         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12523         __open64.
12524         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12525         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12526         * sysdeps/mach/nanosleep.c: Include <time.h>
12527         (__nanosleep): Rename to __libc_nanosleep.
12528         (__nanosleep): Add weak_alias.
12529         (nanosleep): Update alias.
12531 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12533         * stdlib/strtod_nan.c: New file.
12534         * stdlib/strtod_nan_double.h: Likewise.
12535         * stdlib/strtod_nan_float.h: Likewise.
12536         * stdlib/strtod_nan_main.c: Likewise.
12537         * stdlib/strtod_nan_narrow.h: Likewise.
12538         * stdlib/strtod_nan_wide.h: Likewise.
12539         * stdlib/strtof_nan.c: Likewise.
12540         * stdlib/strtold_nan.c: Likewise.
12541         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12542         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12543         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12544         * wcsmbs/wcstod_nan.c: Likewise.
12545         * wcsmbs/wcstof_nan.c: Likewise.
12546         * wcsmbs/wcstold_nan.c: Likewise.
12547         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12548         strtold_nan.
12549         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12550         wcstof_nan.
12551         * include/stdlib.h (__strtof_nan): Declare and use
12552         libc_hidden_proto.
12553         (__strtod_nan): Likewise.
12554         (__strtold_nan): Likewise.
12555         (__wcstof_nan): Likewise.
12556         (__wcstod_nan): Likewise.
12557         (__wcstold_nan): Likewise.
12558         * include/wchar.h (____wcstoull_l_internal): Declare.
12559         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12560         (____strtoull_l_internal): Remove declaration.
12561         (STRTOF_NAN): Define macro.
12562         (SET_MANTISSA): Remove macro.
12563         (STRTOULL): Likewise.
12564         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12565         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12566         (STRTOF_NAN): Define macro.
12567         (SET_MANTISSA): Remove macro.
12568         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12569         (SET_MANTISSA): Remove macro.
12570         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12571         macro.
12572         (SET_MANTISSA): Remove macro.
12573         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12574         macro.
12575         (SET_MANTISSA): Remove macro.
12576         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12577         (SET_MANTISSA): Remove macro.
12578         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12579         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12580         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12582         [BZ #19266]
12583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12584         upper case and lower case letters inside NAN(), not using TOLOWER.
12585         * stdlib/tst-strtod-nan-locale-main.c: New file.
12586         * stdlib/tst-strtod-nan-locale.c: Likewise.
12587         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12588         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12589         Depend on $(gen-locales).
12590         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12591         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12592         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12593         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12594         Depend on $(gen-locales).
12595         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12597 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12599         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12601         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12603         __finitel, __isinfl, and __isnanl.
12604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12605         Likewise.
12606         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12608         __finitel.
12609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12610         Likewise.
12611         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12613 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12615         * malloc/memusage.c (me): Remove redundant getenv call.
12617 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12619         [BZ #19143]
12620         [BZ #19164]
12621         * nptl/check-cpuset.h: Remove.
12622         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12623         Remove CPU set size check.
12624         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12625         Likewise.
12626         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12627         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12628         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12629         (__pthread_setaffinity_new): Remove CPU set size check.
12630         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12631         (__kernel_cpumask_size): Remove.
12632         (__sched_setaffinity_new): Remove CPU set size check.
12633         * manual/threads.texi (Default Thread Attributes): Remove stale
12634         reference to check_cpuset_attr, determine_cpumask_size in comment.
12635         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12636         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12637         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12638         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12639         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12640         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12641         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12642         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12643         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12644         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12645         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12646         skeleton test file.
12647         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12648         tst-affinity-pid.
12650 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12652         * scripts/update-abilist.sh: New file.
12653         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12654         * Makerules (update-all-abi-%, update-all-abi)
12655         (subdir_update-all-abi): New targets.
12656         * elf/Makefile (update-all-abi): New target.
12658 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12660         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12661         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12662         (__libc_lock_define_initialized): Use it.
12663         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12664         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12665         * malloc/malloc.c (main_arena): Likewise.
12666         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12667         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12669 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12671         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12672         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12673         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12674         (PTRACE_O_MASK): Update value.
12675         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12676         New value in enum __ptrace_setoptions.
12677         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12678         (PTRACE_O_MASK): Update value.
12679         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12680         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12681         (PTRACE_O_MASK): Update value.
12682         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12683         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12684         (PTRACE_O_MASK): Update value.
12685         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12686         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12687         (PTRACE_O_MASK): Update value.
12688         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12689         New value in enum __ptrace_setoptions.
12690         (PTRACE_O_MASK): Update value.
12691         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12692         New value in enum __ptrace_setoptions.
12693         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12694         (PTRACE_O_MASK): Update value.
12696         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12697         New macro.
12698         (PACKET_AUXDATA): Likewise.
12699         (PACKET_ORIGDEV): Likewise.
12700         (PACKET_VERSION): Likewise.
12701         (PACKET_HDRLEN): Likewise.
12702         (PACKET_RESERVE): Likewise.
12703         (PACKET_TX_RING): Likewise.
12704         (PACKET_LOSS): Likewise.
12705         (PACKET_VNET_HDR): Likewise.
12706         (PACKET_TX_TIMESTAMP): Likewise.
12707         (PACKET_TIMESTAMP): Likewise.
12708         (PACKET_FANOUT): Likewise.
12709         (PACKET_TX_HAS_OFF): Likewise.
12710         (PACKET_QDISC_BYPASS): Likewise.
12711         (PACKET_ROLLOVER_STATS): Likewise.
12712         (PACKET_FANOUT_DATA): Likewise.
12713         (PACKET_MR_UNICAST): Likewise.
12715         [BZ #19242]
12716         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12717         (TOUPPER): Likewise.
12718         * stdlib/tst-strtol-locale-main.c: New file.
12719         * stdlib/tst-strtol-locale.c: Likewise.
12720         * stdlib/Makefile (tests): Add tst-strtol-locale.
12721         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12722         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12723         Depend on $(gen-locales).
12724         * wcsmbs/tst-wcstol-locale.c: New file.
12725         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12726         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12727         tr_TR.ISO-8859-9.
12728         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12729         Depend on $(gen-locales).
12731 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12733         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12734         __glibc_likely instead of __builtin_expect.  After falling back to
12735         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12736         system interface to register the code pages as occupied.
12738 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12740         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12741         [!ARM_MATH_PRIVATE_H].
12742         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12743         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12744         [!HPPA_MATH_PRIVATE_H].
12745         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12746         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12747         to [!I386_MATH_PRIVATE_H].
12748         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12749         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12750         Change guard to [!M68K_MATH_PRIVATE_H].
12751         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12752         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12753         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12754         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12755         macro.
12756         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12757         [!MIPS_MATH_PRIVATE_H].
12758         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12759         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12760         [!NIO2_MATH_PRIVATE_H].
12761         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12762         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12763         [!TILE_MATH_PRIVATE_H].
12764         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12766         [BZ #15421]
12767         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12768         initialize with 0 and define as weak alias of __signgam.
12769         * include/math.h [!_ISOMAC] (__signgam): Declare.
12770         * math/Makefile (libm-calls): Add w_lgamma_compat.
12771         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12772         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12773         test-signgam-ullong-init.
12774         (tests-static): Add test-signgam-uchar-static,
12775         test-signgam-uchar-init-static, test-signgam-uint-static,
12776         test-signgam-uint-init-static, test-signgam-ullong-static and
12777         test-signgam-ullong-init-static.
12778         (CFLAGS-test-signgam-uchar.c): New variable.
12779         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12780         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12781         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12782         (CFLAGS-test-signgam-uint.c): Likewise.
12783         (CFLAGS-test-signgam-uint-init.c): Likewise.
12784         (CFLAGS-test-signgam-uint-static.c): Likewise.
12785         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12786         (CFLAGS-test-signgam-ullong.c): Likewise.
12787         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12788         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12789         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12790         * math/Versions (libm): Add GLIBC_2.23.
12791         * math/lgamma-compat.h: New file.
12792         * math/test-signgam-main.c: Likewise.
12793         * math/test-signgam-uchar-init-static.c: Likewise.
12794         * math/test-signgam-uchar-init.c: Likewise.
12795         * math/test-signgam-uchar-static.c: Likewise.
12796         * math/test-signgam-uchar.c: Likewise.
12797         * math/test-signgam-uint-init-static.c: Likewise.
12798         * math/test-signgam-uint-init.c: Likewise.
12799         * math/test-signgam-uint-static.c: Likewise.
12800         * math/test-signgam-uint.c: Likewise.
12801         * math/test-signgam-ullong-init-static.c: Likewise.
12802         * math/test-signgam-ullong-init.c: Likewise.
12803         * math/test-signgam-ullong-static.c: Likewise.
12804         * math/test-signgam-ullong.c: Likewise.
12805         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12806         wrapper of w_lgamma_main.c.
12807         * math/w_lgamma_compat.c: New file.
12808         * math/w_lgamma_compatf.c: Likewise.
12809         * math/w_lgamma_compatl.c: Likewise.
12810         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12811         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12812         defining compatibility symbols.
12813         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12814         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12815         wrapper of w_lgammaf_main.c.
12816         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12817         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12818         defining compatibility symbols.
12819         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12820         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12821         wrapper of w_lgammal_main.c.
12822         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12823         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12824         defining compatibility symbols.
12825         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12826         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12827         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12828         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12829         <lgamma-compat.h>.
12830         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12831         (__ieee754_gamma): Define as alias.
12832         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12833         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12834         <lgamma-compat.h>.
12835         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12836         (__ieee754_gammaf): Define as alias.
12837         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12838         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12839         <lgamma-compat.h>.
12840         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12841         (__ieee754_gammal): Define as alias.
12842         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12843         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12844         <math/w_lgamma_compat.c>.
12845         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12846         Define as alias of __lgamma_compat and use in defining lgammal.
12847         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12848         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12849         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12850         (USE_AS_COMPAT): New macro.
12851         (LGAMMA_OLD_VER): Undefine and redefine.
12852         (lgammal): Do not define here.
12853         (gammal): Only define here if [GAMMA_ALIAS].
12854         * conform/linknamespace.pl (@whitelist): Remove signgam.
12855         * sysdeps/nacl/libm.abilist: Update.
12856         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12857         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12858         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12859         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12860         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12861         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12862         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12863         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12864         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12865         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12866         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12867         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12869         Likewise.
12870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12871         Likewise.
12872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12873         Likewise.
12874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12875         Likewise.
12876         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12877         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12878         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12882         Likewise.
12883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12884         Likewise.
12885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12886         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12887         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12889 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12891         [BZ #16364]
12892         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12893         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12895 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12897         * sysdeps/s390/fpu/bits/mathinline.h:
12898         Use __asm__ [__volatile__] instead of asm [volatile].
12899         * sysdeps/s390/abort-instr.h: Likewise.
12900         * sysdeps/s390/atomic-machine.h: Likewise.
12901         * sysdeps/s390/bits/string.h: Likewise.
12902         * sysdeps/s390/dl-tls.h: Likewise.
12903         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12904         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12905         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12906         * sysdeps/s390/fpu/fesetround.c: Likewise.
12907         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12908         * sysdeps/s390/fpu/s_fma.c: Likewise.
12909         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12910         * sysdeps/s390/memusage.h: Likewise.
12911         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12912         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12913         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12914         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12915         * sysdeps/s390/nptl/tls.h: Likewise.
12916         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12917         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12918         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12919         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12920         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12921         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12922         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12923         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12924         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12925         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12926         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12927         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12928         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12929         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12930         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12931         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12932         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12933         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12934         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12936         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12938         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12940 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12941             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12943         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12944         Add lwarx hint, and use macro for acquire instruction.
12945         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12946         Likewise.
12947         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12948         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12949         update to use new atomic macros.
12951 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12953         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12954         (__lll_trylock_elision): Fix setting of adapt_count.
12955         * sysdeps/unix/sysv/linux/powerpc/htm.h
12956         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12957         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12958         (_ABORT_SYSCALL): Renumber, and clarify definition.
12959         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12961 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12963         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12964         after system headers to prevent MIN/MAX redefinition.  Define
12965         HAVE_ALLOCA to preserve builtin alloca usage.
12967 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12970         static and don't set or restore rounding.
12971         (__cos)[IN_SINCOS]: Likewise.
12972         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12973         (__sincos): Set and restore rounding mode.  Remove check for infinite
12974         or NaN input.
12976         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12978         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12979         as used.
12981 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12983         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12985 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12987         * config.make.in (have-glob-dat-reloc): New.
12988         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12989         target supports GLOB_DAT relocaton. AC_SUBST.
12990         * configure: Regenerated.
12991         * elf/Makefile (tests): Add tst-prelink.
12992         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12993         (tst-prelink-ENV): New.
12994         ($(objpfx)tst-prelink-conflict.out): Likewise.
12995         ($(objpfx)tst-prelink-cmp.out): Likewise.
12996         * sysdeps/x86/tst-prelink.c: Moved to ...
12997         * elf/tst-prelink.c: Here.
12998         * sysdeps/x86/tst-prelink.exp: Moved to ...
12999         * elf/tst-prelink.exp: Here.
13000         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13001         (tst-prelink-ENV): Removed.
13002         ($(objpfx)tst-prelink-conflict.out): Likewise.
13003         ($(objpfx)tst-prelink-cmp.out): Likewise.
13004         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13006 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13008         [BZ #14551]
13009         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13010         (__mpn_construct_long_double): If high part overflows to infinity,
13011         set errno and recompute overflowed result of the correct sign.
13012         * sysdeps/ieee754/ldbl-128ibm/Makefile
13013         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13014         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13015         $(libm).
13016         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13018 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13020         [BZ #15479]
13021         [BZ #19238]
13022         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13023         floating-point state after first operation on input.  Restore full
13024         state rather than just rounding mode.
13025         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13026         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13027         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13029         [BZ #19235]
13030         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13031         add 0.5 to integer arguments.
13032         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13033         Likewise.
13034         (.LC2): New object.
13036 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13038         * scripts/pylintrc (reports): Set to no.
13040 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13042         * elf/dl-load.c (open_verify): Take new argument FD.
13043         Skip __open call if passed FD is not -1.
13044         (_dl_map_object, open_path): Update callers.
13045         * elf/dl-sysdep-open.h: New file.
13046         * elf/dl-load.c: Include it.
13047         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13048         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13049         * sysdeps/nacl/dl-sysdep-open.h: New file.
13050         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13051         from libc to rtld.
13053 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13055         [BZ #19228]
13056         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13057         and restore full floating-point state.
13058         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13059         Likewise.
13060         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13061         Likewise.
13062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13063         Likewise.
13064         * math/test-nearbyint-except-2.c: New file.
13065         * math/Makefile (tests): Add test-nearbyint-except-2.
13067 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13069         [BZ #19178]
13070         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13071         (tst-prelink-ENV): New.
13072         ($(objpfx)tst-prelink-conflict.out): Likewise.
13073         ($(objpfx)tst-prelink-cmp.out): Likewise.
13074         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13075         * sysdeps/x86/tst-prelink.c: New file.
13076         * sysdeps/x86/tst-prelink.exp: Likewise.
13078 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13080         * math/auto-libm-test-in: Add another test of pow.
13081         * math/auto-libm-test-out: Regenerated.
13082         * math/libm-test.inc (pow_test_data): Add another test.
13084 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13086         [BZ #19219]
13087         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13088         weak_alias to nearbyintl.
13090 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13092         * sysdeps/aarch64/bits/string.h: New file.
13093         (_STRING_ARCH_unaligned): Define.
13095 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13097         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13098         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13099         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13100         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13103 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13105         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13106         for original name of the DSO.  Add it to the name list of the DSO
13107         if it is actually given.
13108         (_dl_map_object): Keep track of whether an audit module rewrote
13109         the file name.  If yes, pass the original name to
13110         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13111         debugging is enabled, log the change of the file name.
13112         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13113         _dl_map_object_from_fd.
13114         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13115         * elf/tst-audit11.c: New file
13116         * elf/tst-auditmod11.c: New file.
13117         * elf/tst-audit11mod1.c: New file.
13118         * elf/tst-audit11mod2.c: New file.
13119         * elf/tst-audit11mod2.map: New file.
13120         * elf/tst-audit12.c: New file
13121         * elf/tst-auditmod12.c: New file.
13122         * elf/tst-audit12mod1.c: New file.
13123         * elf/tst-audit12mod2.c: New file.
13124         * elf/tst-audit12mod2.map: New file.
13125         * elf/tst-audit12mod3.c: New file.
13127 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13129         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13130         Don't create weak aliases,
13131         because versioned symbols are created later.
13132         * sysdeps/s390/s390-32/setjmp.S
13133         (setjmp, _setjmp): Remove weak and rename to an unique name
13134         in SHARED case due to existing versioned symbols.
13135         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13136         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13137         (getcontext): Create weak alias only in non SHARED case.
13138         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13140 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13142         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13143         (__ASSUME_*_SYSCALL) Define new macros.
13144         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13145         Remove socketcall syscalls.
13146         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13147         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13148         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13149         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13150         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13151         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13153 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13155         [BZ #12926]
13156         Terminate process on invalid netlink response.
13157         * sysdeps/unix/sysv/linux/netlinkaccess.h
13158         (__netlink_assert_response): Declare.
13159         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13160         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13161         (sysdep_routines): Add netlink_assert_response.
13162         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13163         __netlink_assert_response.
13164         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13165         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13166         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13167         __netlink_assert_response.
13169 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13171         [BZ #19178]
13172         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13173         (RTYPE_CLASS_PLT): Likewise.
13174         (RTYPE_CLASS_COPY): Likewise.
13175         (RTYPE_CLASS_TLS): Likewise.
13176         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13177         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13178         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13179         DL_DEBUG_PRELINK.
13181 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13183         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13184         calls with argument -0.5.
13185         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13187         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13188         (libc_cv_z_nodlopen): Likewise.
13189         (libc_cv_z_initfirst): Likewise.
13190         * configure: Regenerated.
13192 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13194         Simplify abilist format to be line-based.
13195         * scripts/abilist.awk: Collect descriptors in the descs variable.
13196         (emit): Write descs variable and sort it
13197         externally, with sort.
13198         * sysdeps/**/*.abilist: Convert to new format.
13200 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13202         [BZ #11460]
13203         * io/Makefile (routines): Add fts64.
13204         (tests): Add tst-fts and tst-fts-lfs.
13205         (CFLAGS-fts64.c): New.
13206         * io/Versions (GLIBC_2.23): New.
13207         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13208         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13209         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13210         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13211         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13212         (FTSENT64): Likewise.
13213         (fts64_children): Likewise.
13214         (fts64_close): Likewise.
13215         (fts64_open): Likewise.
13216         (fts64_read): Likewise.
13217         (fts64_set): Likewise.
13218         * io/fts64.c: New file.
13219         * io/tst-fts.c: New test.
13220         * io/tst-fts-lfs.c: Likewise.
13221         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13222         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13223         fts64_set.
13224         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13225         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13226         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13227         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13228         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13229         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13230         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13231         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13232         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13233         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13234         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13235         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13236         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13238         Likewise.
13239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13240         Likewise.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13243         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13244         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13245         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13246         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13247         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13250         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13251         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13252         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13253         * sysdeps/wordsize-64/fts.c: New file.
13254         * sysdeps/wordsize-64/fts64.c: Likewise.
13255         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13256         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13257         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13258         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13260 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13262         * math/libm-test.inc (NON_FINITE): New macro.
13263         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13264         * math/gen-libm-test.pl (show_exceptions): Add argument
13265         $non_finite.
13266         (parse_args): Update call to show_exceptions.
13267         * math/test-math-finite.h: New file.
13268         * math/test-math-no-finite.h: Likewise.
13269         * math/test-double-finite.c: Likewise.
13270         * math/test-float-finite.c: Likewise.
13271         * math/test-ldouble-finite.c: Likewise.
13272         * math/test-double.c: Include "test-math-no-finite.h".
13273         * math/test-float.c: Include "test-math-no-finite.h".
13274         * math/test-ldouble.c: Include "test-math-no-finite.h".
13275         * math/test-math-inline.h (TEST_FINITE): New macro.
13276         * math/test-math-vector.h (TEST_FINITE): Likewise.
13277         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13278         (libm-tests): Add test-float-finite and test-double-finite.
13279         ($(objpfx)test-float-finite.o): New dependency on
13280         $(objpfx)libm-test.stmp.
13281         ($(objpfx)test-double-finite.o): Likewise.
13282         ($(objpfx)test-ldouble-finite.o): Likewise.
13283         (libm-test-no-inline-cflags): New variable.
13284         (libm-test-finite-cflags): Likewise.
13285         (CFLAGS-test-float-finite.c): Likewise.
13286         (CFLAGS-test-double-finite.c): Likewise.
13287         (CFLAGS-test-ldouble-finite.c): Likewise.
13288         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13289         (CFLAGS-test-double.c): Likewise.
13290         (CFLAGS-test-ldouble.c): Likewise.
13292 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13294         * io/fcntl.c (__fcntl): Add ... to prototype.
13295         * misc/ioctl.c (__ioctl): Likewise.
13296         * misc/syscall.c (syscall): Likewise.
13298 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13300         * scripts/list-fixed-bugs.py: New file.
13302         [BZ #19213]
13303         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13304         returned for argument 1.
13305         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13306         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13307         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13308         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13309         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13310         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13312         [BZ #19211]
13313         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13314         __USE_XOPEN], not if [!__USE_ISOC99].
13315         (lgammaf): Likewise.
13316         (lgammal): Likewise.
13317         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13318         (gammaf): Likewise.
13319         (gammal): Likewise.
13320         * math/test-signgam-finite-c11.c: New file.
13321         * math/test-signgam-finite-c99.c: Likewise.
13322         * math/test-signgam-finite.c: Likewise.
13323         * math/Makefile (tests): Add test-signgam-finite,
13324         test-signgam-finite-c99 and test-signgam-finite-c11.
13325         (CFLAGS-test-signgam-finite.c): New variable.
13326         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13327         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13329         [BZ #19212]
13330         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13331         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13332         500].
13333         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13334         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13335         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13336         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13337         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13338         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13339         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13340         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13341         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13342         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13344         [BZ #19209]
13345         * math/bits/math-finite.h (ldexp): Remove declaration.
13346         (ldexpf): Likewise.
13347         (ldexpl): Likewise.
13349         [BZ #19205]
13350         * math/bits/math-finite.h (acosf): Condition declaration on
13351         [__USE_ISOC99].
13352         (acosl): Likewise.
13353         (acoshf): Likewise.
13354         (acoshl): Likewise.
13355         (asinf): Likewise.
13356         (asinl): Likewise.
13357         (atan2f): Likewise.
13358         (atan2l): Likewise.
13359         (atanhf): Likewise.
13360         (atanhl): Likewise.
13361         (coshf): Likewise.
13362         (coshl): Likewise.
13363         (expf): Likewise.
13364         (expl): Likewise.
13365         (fmodf): Likewise.
13366         (fmodl): Likewise.
13367         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13368         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13369         (j0l): Likewise.
13370         (y0f): Likewise.
13371         (y0l): Likewise.
13372         (j1f): Likewise.
13373         (j1l): Likewise.
13374         (y1f): Likewise.
13375         (y1l): Likewise.
13376         (jnf): Likewise.
13377         (jnl): Likewise.
13378         (ynf): Likewise.
13379         (ynl): Likewise.
13380         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13381         (lgammal_r): Likewise.
13382         (__lgamma_r_finite): New declaration.
13383         (__lgammaf_r_finite): Likewise.
13384         (__lgammal_r_finite): Likewise.
13385         (lgamma): Use __lgamma_r_finite.
13386         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13387         __lgammaf_r_finite.
13388         (lgammal): Condition definition on [__USE_ISOC99].  Use
13389         __lgammal_r_finite.
13390         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13391         __lgamma_r_finite.
13392         (gammaf): Condition definition on [__USE_ISOC99].  Use
13393         __lgammaf_r_finite.
13394         (gammal): Condition definition on [__USE_ISOC99].  Use
13395         __lgammal_r_finite.
13396         (logf): Condition declaration on [__USE_ISOC99].
13397         (logl): Likewise.
13398         (log10f): Likewise.
13399         (log10l): Likewise.
13400         (ldexpf): Likewise.
13401         (ldexpl): Likewise.
13402         (powf): Likewise.
13403         (powl): Likewise.
13404         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13405         __USE_ISOC99].
13406         (remainderf): Condition declaration on [__USE_ISOC99].
13407         (remainderl): Likewise.
13408         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13409         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13410         (scalbl): Likewise.
13411         (sinhf): Condition declaration on [__USE_ISOC99].
13412         (sinhl): Likewise.
13413         (sqrtf): Likewise.
13414         (sqrtl): Likewise.
13416 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13418         * sysdeps/arm/atomic-machine.h
13419         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13420         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13421         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13422         Remove conditional code.
13423         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13424         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13425         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13426         Change conditional to [__ASSEMBLER__].
13427         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13428         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13429         [!__ASSEMBLER__].
13430         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13431         code.
13432         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13433         conditional macro definitions.
13434         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13435         (__arch_compare_and_exchange_val_16_acq): Likewise.
13436         (__arch_compare_and_exchange_val_32_acq): Likewise.
13437         (atomic_exchange_and_add): Likewise.
13438         (atomic_add): Likewise.
13439         (atomic_add_negative): Likewise.
13440         (atomic_add_zero): Likewise.
13441         (atomic_bit_set): Likewise.
13442         (atomic_bit_test_set): Likewise.
13443         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13444         code unconditional.
13445         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13447         * math/test-math-errno.h: New file.
13448         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13449         empty.
13450         (TEST_ERRNO): New macro.
13451         (TEST_EXCEPTIONS): Likewise.
13452         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13453         (TEST_EXCEPTIONS): Likewise.
13454         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13455         * math/test-double.c: Include "test-math-errno.h".
13456         * math/test-float.c: Likewise.
13457         * math/test-ldouble.c: Likewise.
13458         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13459         code unconditional.
13460         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13461         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13462         unconditional.
13463         (test_errno): Only run code if TEST_ERRNO.
13464         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13466 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13468         * nptl/tst-once5.cc: Remove attribution.
13470 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13472         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13473         sqrt, tan, tanh, y0, y1 and yn.
13474         * math/auto-libm-test-out: Regenerated.
13475         * math/libm-test.inc (scalb_test_data): Add more tests.
13476         (scalbn_test_data): Likewise.
13477         (scalbln_test_data): Likewise.
13478         (signbit_test_data): Likewise.
13479         (sin_test_data): Likewise.
13480         (sincos_test_data): Likewise.
13481         (sinh_test_data): Likewise.
13482         (sqrt_test_data): Likewise.
13483         (tan_test_data): Likewise.
13484         (tanh_test_data): Likewise.
13485         (tgamma_test_data): Likewise.
13486         (y0_test_data): Likewise.
13487         (y1_test_data): Likewise.
13488         (yn_test_data): Likewise.
13489         (significand_test_data): Likewise.
13490         * sysdeps/i386/fpu/libm-test-ulps: Update.
13492 2015-11-03  David Kastrup  <dak@gnu.org>
13494         [BZ #18604]
13495         * assert/assert.h (assert): Don't macro-expand failed assertion
13496         expression in error message.
13497         * malloc/malloc.c (assert): Likewise.
13499 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13501         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13502         test.
13503         * configure: Regenerated.
13505 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13507         * math/libm-test.inc (modf_test_data): Add more tests.
13508         (nearbyint_test_data): Likewise.
13509         (nextafter_test_data): Likewise.
13510         (nexttoward_test_data): Likewise.
13511         (pow_test_data): Likewise.
13512         (remainder_test_data): Likewise.
13513         (remquo_test_data): Likewise.
13514         (rint_test_data): Likewise.
13516         [BZ #19201]
13517         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13518         Check for zero remainder in case of large exponents and ensure
13519         correct sign of result in that case.
13520         * math/libm-test.inc (remainder_test_data): Add more tests.
13522         [BZ #6799]
13523         * math/s_nextafter.c: Include <errno.h>.
13524         (__nextafter): Set errno on overflow and underflow.
13525         * math/s_nexttowardf.c: Include <errno.h>.
13526         (__nexttowardf): Set errno on overflow and underflow.
13527         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13528         (__nextafterl): Set errno on overflow and underflow.
13529         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13530         (__nexttoward): Set errno on overflow and underflow.
13531         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13532         (__nexttowardf): Set errno on overflow and underflow.
13533         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13534         (__nextafterf): Set errno on overflow and underflow.
13535         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13536         (__nextafterl): Set errno on overflow and underflow.
13537         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13538         (__nexttoward): Set errno on overflow and underflow.
13539         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13540         (__nexttowardf): Set errno on overflow and underflow.
13541         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13542         (__nextafterl): Set errno on overflow and underflow.
13543         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13544         (__nexttoward): Set errno on overflow and underflow.
13545         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13546         (__nexttowardf): Set errno on overflow and underflow.
13547         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13548         (__nexttoward): Set errno on overflow and underflow.
13549         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13550         (__nexttowardf): Set errno on overflow and underflow.
13551         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13552         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13553         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13554         (__nextafterl): Set errno on overflow and underflow.
13555         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13556         setting to be missing on overflow.  Add more tests.
13557         (nexttoward_test_data): Likewise.
13559         * configure.ac (libc_cv_initfini_array): Remove configure test.
13560         * configure: Regenerated.
13562 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13564         [BZ #19189]
13565         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13566         non-finite argument handle arguments with negative sign.
13568         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13569         result from infinite argument.
13570         (j1_test_data): Likewise.
13571         (jn_test_data): Likewise.
13572         (y0_test_data): Likewise.
13573         (y1_test_data): Likewise.
13574         (yn_test_data): Likewise.
13576         [BZ #16171]
13577         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13578         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13579         * math/w_remainderf.c (dremf): Define as weak alias of
13580         __remainderf.
13581         * math/w_remainderl.c (dreml): Define as weak alias of
13582         __remainderl.
13583         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13584         __remainder.
13585         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13586         __remainderf.
13587         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13588         __remainderl.
13589         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13590         weak alias of remainderl.
13591         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13592         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13593         alias of __remainder.
13594         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13595         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13596         strong alias of __remainderl.
13597         (dreml): Use long_double_symbol.
13598         * math/Makefile (libm-calls): Remove w_drem.
13599         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13600         (CFLAGS-nldbl-drem.c): Remove variable.
13601         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13602         * math/w_drem.c: Remove file.
13603         * math/w_dremf.c: Likewise.
13604         * math/w_dreml.c: Likewise.
13605         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13606         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13607         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13609         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13610         * sysdeps/i386/configure: Regenerated.
13611         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13612         * sysdeps/x86_64/configure: Regenerated.
13614         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13615         test.
13616         (libc_cv_visibility_attribute): Likewise.
13617         (libc_cv_protected_data): Test unconditionally.
13618         (libc_cv_broken_visibility_attribute): Remove configure test.
13619         (libc_cv_have_sdata_section): Test unconditionally.
13620         * configure: Regenerated.
13622         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13623         * include/scratch_buffer.h: Include <stddef.h> instead of
13624         <libc-internal.h>.
13625         (struct scratch_buffer): Use max_align_t instead of
13626         libc_max_align_t.
13628 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13630         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13631         instead of extend_alloca.  Change control flow to avoid a goto.
13632         Remove assert which is trivially always true.
13634 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13636         [BZ #16068]
13637         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13638         (FE_ALL_EXCEPT_X86): New macro.
13639         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13640         FE_ALL_EXCEPT.  Ensure precision control is included in
13641         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13642         handle "denormal operand exception" and clear FZ and DAZ bits.
13643         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13644         (FE_ALL_EXCEPT_X86): New macro.
13645         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13646         FE_ALL_EXCEPT.  Ensure precision control is included in
13647         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13648         handle "denormal operand exception" and clear FZ and DAZ bits.
13649         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13650         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13651         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13652         test-fenv-x87 and test-fenv-sse-2.
13653         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13655         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13656         * math/test-double.h (BUILD_COMPLEX): New macro.
13657         * math/test-float.h (BUILD_COMPLEX): Likewise.
13658         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13660         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13661         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13662         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13664         instead of DBL_DENORM_MIN in comment.
13665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13666         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13668         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13669         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13670         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13672 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13674         [BZ# 19048]
13675         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13676         attached_threads member.
13677         (main_arena): Initialize attached_threads.
13678         * malloc/arena.c (list_lock): Update comment.
13679         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13680         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13681         (deattach_arena): New function.
13682         (_int_new_arena): Initialize arena reference count and deattach
13683         replaced arena.
13684         (get_free_list, reused_arena): Update reference count and deattach
13685         replaced arena.
13686         (arena_thread_freeres): Update arena reference count and only put
13687         unreferenced arenas on the free list.
13689 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13691         [BZ #19181]
13692         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13693         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13694         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13695         * math/test-fenv-clear-main.c: New file.
13696         * math/test-fenv-clear.c: Likewise.
13697         * math/Makefile (tests): Add test-fenv-clear.
13698         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13699         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13700         test-fenv-clear-sse.
13701         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13703         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13704         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13705         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13707 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13709         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13710         static libc.
13712 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13714         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13715         test.
13716         * sysdeps/i386/configure: Regenerated.
13717         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13718         test.
13719         * sysdeps/x86_64/configure: Regenerated.
13720         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13722         memset-avx2 unconditionally instead of conditionally on
13723         [$(config-cflags-avx2) = yes].
13724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13725         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13726         unconditional.
13727         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13728         * sysdeps/x86_64/multiarch/memset_chk.S
13729         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13730         to [IS_IN (libc) && SHARED].
13732 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13734         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13735         configure test.
13736         * sysdeps/arm/configure: Regenerated.
13737         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13738         Define variable if not already defined.
13740         [BZ #17404]
13741         * sysdeps/mips/atomic-machine.h
13742         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13743         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13744         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13746         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13747         unconditional.
13748         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13749         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13750         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13751         unconditional.
13752         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13753         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13754         unconditional.
13755         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13756         * stdlib/setenv.c
13757         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13758         code unconditional.
13759         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13760         Remove conditional code.
13761         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13762         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13763         unconditional.
13764         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13765         code.
13766         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13767         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13768         unconditional.
13769         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13770         code.
13771         * sysdeps/ieee754/ldbl-128/k_tanl.c
13772         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13773         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13774         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13775         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13776         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13777         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13778         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13779         unconditional.
13780         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13781         code.
13782         * sysdeps/ieee754/ldbl-96/k_tanl.c
13783         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13784         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13786         * nptl/tst-initializers1-c11.c: New file.
13787         * nptl/tst-initializers1-gnu11.c: Likewise.
13788         * nptl/Makefile (tests): Add these new tests.
13789         (CFLAGS-tst-initializers1-c11.c): New variable.
13790         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13792         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13793         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13794         instead of -std=gnu99.
13795         * configure.ac (systemtap): Test with -std=gnu11 instead of
13796         -std=gnu99.
13797         * configure: Regenerated.
13798         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13799         in compilation command in comment.
13801         * sysdeps/nptl/configure.ac: Remove file.
13802         * sysdeps/nptl/configure: Remove generated file.
13803         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13804         * configure: Regenerated.
13805         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13806         * config.make.in (have-forced-unwind): Remove variable.
13807         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13808         unconditional.
13809         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13810         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13811         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13812         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13813         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13814         unconditional.
13816 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13818         [BZ #19174]
13819         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13820         .skip_lock_out_of_tbegin_retries.
13821         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13822         (__lll_lock_elision): Likewise, and respect a value of
13823         try_tbegin <= 0.
13825 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13827         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13828         statement.
13830 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13832         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13833         variable.
13834         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13835         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13837         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13838         of -std=c1x -D_ISOC11_SOURCE.
13840         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13841         * configure: Regenerated.
13842         * manual/install.texi (Tools for Compilation): Document
13843         requirement for GCC 4.7 or later.
13844         * INSTALL: Regenerated.
13846 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13848         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13849         on CNT to a conditional jump to 'puntdata'.
13851 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13853         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13854         (libc_cv_gcc_tls_model_attr): Likewise.
13855         * configure: Regenerated.
13857         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13858         * configure: Regenerated.
13859         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13861 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13863         * configure.ac (old_glibc_headers): Remove configure test.
13864         * configure: Regenerated.
13865         * config.make.in (old-glibc-headers): Remove variable.
13866         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13867         (install): Remove dependency on remove-old-headers.
13868         (headers2_0): Remove variable.
13869         (remove-old-headers): Remove rule.
13871         * configure.ac (libc_cv_dot_text): Remove configure test.
13872         (libc_cv_asm_set_directive): Use .text instead of
13873         ${libc_cv_dot_text} in configure test.
13874         * configure: Regenerated.
13876 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13878         [BZ #19168]
13879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13881 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13883         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13884         not support static linking.
13885         * configure: Regenerate.
13887 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13889         * math/libm-test.inc (check_float_internal): Do not special-case
13890         errors up to 0.5 ulp.
13892         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13893         log2.
13894         * math/auto-libm-test-out: Regenerated.
13895         * math/libm-test.inc (MAX_EXP): New macro.
13896         (ilogb_test_data): Add more tests.
13897         (isfinite_test_data): Likewise.
13898         (isgreater_test_data): Likewise.
13899         (isgreaterequal_test_data): Likewise.
13900         (isinf_test_data): Likewise.
13901         (isless_test_data): Likewise.
13902         (islessequal_test_data): Likewise.
13903         (islessgreater_test_data): Likewise.
13904         (isnan_test_data): Likewise.
13905         (isnormal_test_data): Likewise.
13906         (issignaling_test_data): Likewise.
13907         (isunordered_test_data): Likewise.
13908         (j0_test_data): Likewise.
13909         (j1_test_data): Likewise.
13910         (jn_test_data): Likewise.
13911         (lgamma_test_data): Likewise.
13912         (log_test_data): Likewise.
13913         (log10_test_data): Likewise.
13914         (log1p_test_data): Likewise.
13915         (log2_test_data): Likewise.
13916         (logb_test_data): Likewise.
13917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13919         [BZ #18611]
13920         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13921         avoid excess range and precision on underflow.
13922         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13923         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13924         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13925         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13926         underflow.
13927         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13928         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13929         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13930         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13931         * math/auto-libm-test-in: Do not allow missing errno setting for
13932         tests of j1 and jn.
13933         * math/auto-libm-test-out: Regenerated.
13935 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13937         [BZ #15491]
13938         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13939         floating-point environment instead of clearing all exceptions.
13940         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13941         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13942         merging in "invalid" exceptions from frndint.
13943         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13944         * math/test-nearbyint-except.c: New file.
13945         * math/Makefile (tests): Add test-nearbyint-except.
13947 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13949         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13951         * sysdeps/tile/libm-test-ulps: Regenerated.
13953 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13956         (__NR_sync_file_range2): Assume it is always defined.
13957         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13958         (__NR_sync_file_range): Assume it is always defined.
13960 2015-10-22  Andreas Schwab  <schwab@suse.de>
13962         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13963         INTERNAL_SYSCALL_ERRNO.
13964         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13965         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13966         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13967         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13968         Likewise.
13969         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13971 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13973         * io/tst-fcntl.c (fd): New static variable.
13974         (do_prepare): Open temporary file here....
13975         (do_test): ...not here.
13977         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13979 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13981         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13982         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13983         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13984         Moved before "#ifdef __ASSEMBLER__".
13986 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13988         [BZ #19156]
13989         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13990         arguments very close to 0.
13992 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13994         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13995         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13997 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13999         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14000         New.  Defined for GCC 5 and above when not compiling for
14001         profiling.
14002         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14004         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14005         Renamed to ...
14006         (CFLAGS-epoll_pwait.o): This.
14007         (CFLAGS-mmap.c): Renamed to ...
14008         (CFLAGS-mmap.o): This.
14009         (CFLAGS-mmap64.c): Renamed to ...
14010         (CFLAGS-mmap64.o): This.
14011         (CFLAGS-epoll_pwait.os): New.
14012         (CFLAGS-mmap.os): Likewise.
14013         (CFLAGS-mmap64.os): Likewise.
14014         (CFLAGS-semtimedop.os): Likewise.
14015         (CFLAGS-semtimedop.c): Renamed to ...
14016         (CFLAGS-semtimedop.o): This.
14018 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14020         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14021         warning message.
14023 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14025         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14026         * Makefile ($(objpfx)c++-types-check.out): Filter out
14027         $(+gccwarn-c) instead of -Wstrict-prototypes.
14029         * io/fts.c (fts_open): Convert to prototype-style function
14030         definition.
14031         * malloc/mcheck.c (mcheck): Likewise.
14032         (mcheck_pedantic): Likewise.
14033         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14034         internal_function.
14035         (re_search_internal): Likewise.
14036         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14037         prototype-style function definition.
14038         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14039         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14040         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14041         (xdr_utmpptr): Likewise.
14042         (xdr_utmparr): Likewise.
14043         (xdr_utmpidle): Likewise.
14044         (xdr_utmpidleptr): Likewise.
14045         (xdr_utmpidlearr): Likewise.
14047         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14048         log, log10 and log2.
14049         * math/auto-libm-test-out: Regenerated.
14050         * math/libm-test.inc (fmod_test_data): Add more tests.
14051         (fpclassify_test_data): Likewise.
14052         (frexp_test_data): Likewise.
14053         (hypot_test_data): Likewise.
14054         (ilogb_test_data): Likewise.
14056 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14058         * debug/fortify_fail.c (__fortify_fail): Convert to
14059         prototype-style function definition.  Use internal_function.
14060         * libio/genops.c (save_for_backup): Convert to prototype-style
14061         function definition.
14062         * libio/wgenops.c (save_for_wbackup): Likewise.
14063         * login/grantpt.c (grantpt): Likewise.
14064         * login/ptsname.c (ptsname): Likewise.
14065         (__ptsname_r): Likewise.
14066         * login/unlockpt.c (unlockpt): Likewise.
14067         * mach/msgserver.c (__mach_msg_server): Likewise.
14068         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14069         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14070         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14071         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14072         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14073         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14074         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14075         Likewise.
14076         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14077         internal_function.
14078         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14079         prototype-style function definition.
14080         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14081         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14082         (__pthread_create_2_0): Likewise.
14083         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14084         * nptl/register-atfork.c (__register_atfork): Likewise.
14085         * posix/glob.c (glob): Likewise.
14086         * posix/regcomp.c (re_comp): Likewise.
14087         * posix/regexec.c (re_exec): Likewise.
14088         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14089         [!__STDC__]: Remove conditional code.
14090         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14091         [!__STDC__]: Remove conditional code.
14092         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14093         [!__STDC__]: Remove conditional code.
14094         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14095         [!__STDC__]: Remove conditional code.
14096         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14097         [!__STDC__]: Remove conditional code.
14098         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14099         [!__STDC__]: Remove conditional code.
14100         * stdlib/mul.c [__STDC__]: Make code unconditional.
14101         [!__STDC__]: Remove conditional code.
14102         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14103         [!__STDC__]: Remove conditional code.
14104         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14105         [!__STDC__]: Remove conditional code.
14106         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14107         function definition.
14108         (STRTOF): Likewise.
14109         * stdlib/strtod_l.c (__STRTOF): Likewise.
14110         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14111         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14112         (__strtol_l): Likewise.
14113         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14114         [!__STDC__]: Remove conditional code.
14115         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14116         definition.
14117         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14118         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14119         type.
14120         (__strcasecmp): Convert to prototype-style function definition.
14121         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14122         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14123         type.
14124         (__strncasecmp): Convert to prototype-style function definition.
14125         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14126         * sunrpc/xdr.c (xdr_union): Likewise.
14127         * sunrpc/xdr_array.c (xdr_array): Likewise.
14128         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14129         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14130         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14131         Likewise.
14132         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14133         Likewise.
14134         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14135         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14136         Likewise.
14137         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14138         (LOCALE_PARAM_PROTO): Likewise.
14139         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14140         argument type.
14141         (ut_argument_spec): Remove macro.
14142         (ut_argument_spec_iso): Rename to ut_argument_spec.
14143         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14144         prototype-style function definition.
14145         (memcpy_uppcase): Likewise.
14146         (__strftime_internal): Likewise.
14147         (my_strftime): Likewise.
14148         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14149         (LOCALE_PARAM_DECL): Likewise.
14150         [_LIBC] (LOCALE_PARAM): Include argument type.
14151         (__strptime_internal): Convert to prototype-style function
14152         definition.
14153         (strptime): Likewise.
14154         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14155         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14156         type.
14157         (__wcscasecmp): Convert to prototype-style function definition.
14158         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14159         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14160         type.
14161         (__wcsncasecmp): Convert to prototype-style function definition.
14163         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14164         function definition.
14165         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14166         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14167         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14168         * elf/dl-minimal.c (_itoa): Likewise.
14169         * hurd/hurdmalloc.c (malloc): Likewise.
14170         (free): Likewise.
14171         (realloc): Likewise.
14172         * inet/inet6_option.c (inet6_option_space): Likewise.
14173         (inet6_option_init): Likewise.
14174         (inet6_option_append): Likewise.
14175         (inet6_option_alloc): Likewise.
14176         (inet6_option_next): Likewise.
14177         (inet6_option_find): Likewise.
14178         * io/ftw.c (FTW_NAME): Likewise.
14179         (NFTW_NAME): Likewise.
14180         (NFTW_NEW_NAME): Likewise.
14181         (NFTW_OLD_NAME): Likewise.
14182         * libio/iofwide.c (_IO_fwide): Likewise.
14183         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14184         (_IO_str_init_static): Likewise.
14185         (_IO_str_init_readonly): Likewise.
14186         (_IO_str_overflow): Likewise.
14187         (_IO_str_underflow): Likewise.
14188         (_IO_str_count): Likewise.
14189         (_IO_str_seekoff): Likewise.
14190         (_IO_str_pbackfail): Likewise.
14191         (_IO_str_finish): Likewise.
14192         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14193         (_IO_wstr_overflow): Likewise.
14194         (_IO_wstr_underflow): Likewise.
14195         (_IO_wstr_count): Likewise.
14196         (_IO_wstr_seekoff): Likewise.
14197         (_IO_wstr_pbackfail): Likewise.
14198         (_IO_wstr_finish): Likewise.
14199         * locale/programs/localedef.c (normalize_codeset): Likewise.
14200         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14201         (add_locales_to_archive): Likewise.
14202         (delete_locales_from_archive): Likewise.
14203         * malloc/malloc.c (__libc_mallinfo): Likewise.
14204         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14205         * misc/tsearch.c (__tfind): Likewise.
14206         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14207         * nptl/pthread_attr_getdetachstate.c
14208         (__pthread_attr_getdetachstate): Likewise.
14209         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14210         Likewise.
14211         * nptl/pthread_attr_getinheritsched.c
14212         (__pthread_attr_getinheritsched): Likewise.
14213         * nptl/pthread_attr_getschedparam.c
14214         (__pthread_attr_getschedparam): Likewise.
14215         * nptl/pthread_attr_getschedpolicy.c
14216         (__pthread_attr_getschedpolicy): Likewise.
14217         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14218         Likewise.
14219         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14220         Likewise.
14221         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14222         Likewise.
14223         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14224         Likewise.
14225         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14226         (__pthread_attr_init_2_0): Likewise.
14227         * nptl/pthread_attr_setdetachstate.c
14228         (__pthread_attr_setdetachstate): Likewise.
14229         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14230         Likewise.
14231         * nptl/pthread_attr_setinheritsched.c
14232         (__pthread_attr_setinheritsched): Likewise.
14233         * nptl/pthread_attr_setschedparam.c
14234         (__pthread_attr_setschedparam): Likewise.
14235         * nptl/pthread_attr_setschedpolicy.c
14236         (__pthread_attr_setschedpolicy): Likewise.
14237         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14238         Likewise.
14239         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14240         Likewise.
14241         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14242         Likewise.
14243         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14244         Likewise.
14245         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14246         Likewise.
14247         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14248         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14249         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14250         use internal_function.
14251         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14252         prototype-style function definition.
14253         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14254         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14255         internal_function.
14256         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14257         Convert to prototype-style function definition.
14258         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14259         Likewise.
14260         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14261         Likewise.
14262         (__pthread_mutex_unlock): Likewise.
14263         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14264         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14265         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14266         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14267         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14268         * nss/makedb.c (process_input): Likewise.
14269         * posix/fnmatch.c (__strchrnul): Likewise.
14270         (__wcschrnul): Likewise.
14271         (fnmatch): Likewise.
14272         * posix/fnmatch_loop.c (FCT): Likewise.
14273         * posix/glob.c (globfree): Likewise.
14274         (__glob_pattern_type): Likewise.
14275         (__glob_pattern_p): Likewise.
14276         * posix/regcomp.c (re_compile_pattern): Likewise.
14277         (re_set_syntax): Likewise.
14278         (re_compile_fastmap): Likewise.
14279         (regcomp): Likewise.
14280         (regerror): Likewise.
14281         (regfree): Likewise.
14282         * posix/regexec.c (regexec): Likewise.
14283         (re_match): Likewise.
14284         (re_search): Likewise.
14285         (re_match_2): Likewise.
14286         (re_search_2): Likewise.
14287         (re_search_stub): Likewise.  Use internal_function
14288         (re_copy_regs): Likewise.
14289         (re_set_registers): Convert to prototype-style function
14290         definition.
14291         (prune_impossible_nodes): Likewise.  Use internal_function.
14292         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14293         prototype-style function definition.
14294         (inet_net_pton_ipv4): Likewise.
14295         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14296         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14297         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14298         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14299         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14300         Make variadic.
14301         * time/strptime_l.c (localtime_r): Convert to prototype-style
14302         function definition.
14303         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14304         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14305         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14306         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14308         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14309         definition.
14310         (_ufc_doit_r): Likewise.
14311         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14312         (_ufc_output_conversion_r): Likewise.
14313         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14314         * inet/rcmd.c (rcmd_af): Likewise.
14315         (rcmd): Likewise.
14316         (ruserok_af): Likewise.
14317         (ruserok): Likewise.
14318         (ruserok2_sa): Likewise.
14319         (ruserok_sa): Likewise.
14320         (iruserok_af): Likewise.
14321         (iruserok): Likewise.
14322         (__ivaliduser): Likewise.
14323         (__validuser2_sa): Likewise.
14324         * inet/rexec.c (rexec_af): Likewise.
14325         (rexec): Likewise.
14326         * inet/ruserpass.c (ruserpass): Likewise.
14327         * locale/programs/xmalloc.c (xcalloc): Likewise.
14328         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14329         * math/w_drem.c (__drem): Likewise.
14330         * math/w_dremf.c (__dremf): Likewise.
14331         * math/w_dreml.c (__dreml): Likewise.
14332         * misc/daemon.c (daemon): Likewise.
14333         * resolv/res_debug.c (p_fqnname): Likewise.
14334         * stdlib/div.c (div): Likewise.
14335         * string/memcmp.c (memcmp_bytes): Likewise.
14336         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14337         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14339         * crypt/cert.c (main): Convert to prototype-style function
14340         definition.
14341         * io/pipe.c (__pipe): Likewise.
14342         * io/pipe2.c (__pipe2): Likewise.
14343         * misc/futimesat.c (futimesat): Likewise.
14344         * misc/utimes.c (__utimes): Likewise.
14345         * posix/execve.c (__execve): Likewise.
14346         * posix/execvp.c (execvp): Likewise.
14347         * posix/execvpe.c (__execvpe): Likewise.
14348         * posix/fexecve.c (fexecve): Likewise.
14349         * socket/socketpair.c (socketpair): Likewise.
14350         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14351         * stdlib/erand48.c (erand48): Likewise.
14352         * stdlib/erand48_r.c (__erand48_r): Likewise.
14353         * stdlib/jrand48.c (jrand48): Likewise.
14354         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14355         * stdlib/lcong48.c (lcong48): Likewise.
14356         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14357         * stdlib/nrand48.c (nrand48): Likewise.
14358         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14359         * stdlib/seed48.c (seed48): Likewise.
14360         * stdlib/seed48_r.c (__seed48_r): Likewise.
14361         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14362         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14363         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14365 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14367         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14368         * configure: Regenerated.
14369         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14370         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14371         unconditional.
14372         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14373         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14374         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14375         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14376         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14377         unconditional.
14378         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14380         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14381         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14383         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14384         function definition.
14385         * crypt/crypt_util.c (__encrypt_r): Likewise.
14386         * libio/genops.c (_IO_no_init): Likewise.
14387         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14388         (_IO_old_fopencookie): Likewise.
14389         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14390         * libio/iogetline.c (_IO_getline): Likewise.
14391         (_IO_getline_info): Likewise.
14392         * libio/iogetwline.c (_IO_getwline): Likewise.
14393         (_IO_getwline_info): Likewise.
14394         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14395         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14396         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14397         (find_entry): Likewise.
14398         (iterate_table): Likewise.
14399         (lookup): Likewise.
14400         * login/forkpty.c (forkpty): Likewise.
14401         * misc/hsearch_r.c (__hsearch_r): Likewise.
14402         * misc/select.c (__select): Likewise.
14403         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14404         Likewise.
14405         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14406         Likewise.
14407         * nptl/old_pthread_cond_timedwait.c
14408         (__pthread_cond_timedwait_2_0): Likewise.
14409         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14410         * nptl/pthread_barrierattr_getpshared.c
14411         (pthread_barrierattr_getpshared): Likewise.
14412         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14413         Likewise.
14414         * nptl/pthread_mutex_setprioceiling.c
14415         (pthread_mutex_setprioceiling): Likewise.
14416         * nptl/pthread_mutexattr_getprioceiling.c
14417         (pthread_mutexattr_getprioceiling): Likewise.
14418         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14419         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14420         Likewise.
14421         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14422         Likewise.
14423         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14424         Likewise.
14425         * socket/recvfrom.c (__recvfrom): Likewise.
14426         * socket/sendto.c (__sendto): Likewise.
14427         * socket/setsockopt.c (__setsockopt): Likewise.
14428         * stdio-common/_itoa.c (_itoa): Likewise.
14429         * stdio-common/_itowa.c (_itowa): Likewise.
14430         * stdio-common/reg-printf.c (__register_printf_specifier):
14431         Likewise.
14432         (__register_printf_function): Likewise.
14433         * stdio-common/tempname.c (__path_search): Likewise.
14434         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14435         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14436         * stdlib/random_r.c (__initstate_r): Likewise.
14437         * stdlib/setenv.c (__add_to_environ): Likewise.
14438         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14439         * streams/getpmsg.c (getpmsg): Likewise.
14440         * streams/putmsg.c (putmsg): Likewise.
14441         * streams/putpmsg.c (putpmsg): Likewise.
14442         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14443         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14444         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14445         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14446         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14447         * sunrpc/svc_udp.c (cache_get): Likewise.
14448         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14449         * sysdeps/mach/hurd/getcwd.c
14450         (__canonicalize_directory_name_internal): Likewise.
14451         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14452         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14453         * sysdeps/mach/hurd/select.c (__select): Likewise.
14454         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14455         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14456         * sysdeps/sparc/nptl/pthread_barrier_init.c
14457         (__pthread_barrier_init): Likewise.
14458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14459         (__pthread_cond_timedwait): Likewise.
14460         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14461         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14462         Likewise.
14463         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14464         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14465         Likewise.
14466         * sysvipc/semtimedop.c (semtimedop): Likewise.
14467         * time/setitimer.c (__setitimer): Likewise.
14468         * time/strftime_l.c (emacs_strftime): Likewise.
14470 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14472         * config.make.in (have-ssp): Delete.
14473         (stack-protector): New variable.
14474         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14475         cache test for -fstack-protector-strong.  Export stack_protector to
14476         the best ssp flag.
14477         * configure: Regenerated.
14478         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14479         * nscd/Makefile (CFLAGS-nscd): Likewise.
14480         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14482 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14484         [BZ #19122]
14485         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14486         attribute_hidden.
14488 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14490         [BZ #18743]
14491         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14492         code to...
14493         (ELIDE_LOCK): ...here.
14494         (__get_new_count): New function with part of the code from
14495         __elide_lock that updates the value of adapt_count after a
14496         transaction abort.
14497         (__elided_trylock): Moved this code to...
14498         (ELIDE_TRYLOCK): ...here.
14500 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14502         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14503         * configure: Regenerate.
14504         * INSTALL: Regenerate.
14505         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14506         and tweak grammar.
14508 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14510         * login/programs/pt_chown.c: Include signal.h
14511         (main): Clear any signal mask from the parent process.
14513 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14515         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14516         * configure: Regenerated.
14517         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14518         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14519         $(gnu89-inline-CFLAGS).
14521         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14522         test.
14523         (libc_cv_asm_weakext_directive): Likewise.
14524         * configure: Regenerated.
14525         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14526         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14527         * include/libc-symbols.h
14528         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14529         #error.
14530         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14531         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14533         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14534         prototype-style function definition.
14535         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14536         * sysdeps/i386/ffs.c (__ffs): Likewise.
14537         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14538         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14539         Likewise.
14540         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14541         Likewise.
14542         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14543         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14544         Likewise.
14545         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14546         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14547         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14548         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14549         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14550         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14551         * sysdeps/mach/hurd/access.c (__access): Likewise.
14552         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14553         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14554         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14555         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14556         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14557         (cthread_getspecific): Likewise.
14558         (cthread_setspecific): Likewise.
14559         (__libc_getspecific): Likewise.
14560         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14561         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14562         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14563         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14564         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14565         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14566         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14567         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14568         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14569         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14570         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14571         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14572         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14573         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14574         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14575         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14576         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14577         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14578         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14579         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14580         * sysdeps/mach/hurd/link.c (__link): Likewise.
14581         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14582         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14583         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14584         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14585         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14586         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14587         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14588         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14589         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14590         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14591         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14592         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14593         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14594         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14595         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14596         * sysdeps/mach/hurd/send.c (__send): Likewise.
14597         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14598         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14599         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14600         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14601         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14602         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14603         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14604         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14605         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14606         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14607         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14608         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14609         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14610         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14611         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14612         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14613         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14614         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14615         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14616         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14617         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14618         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14619         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14620         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14621         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14622         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14623         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14624         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14625         * sysdeps/posix/alarm.c (alarm): Likewise.
14626         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14627         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14628         * sysdeps/posix/dup.c (__dup): Likewise.
14629         * sysdeps/posix/dup2.c (__dup2): Likewise.
14630         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14631         (main): Likewise.
14632         * sysdeps/posix/flock.c (__flock): Likewise.
14633         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14634         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14635         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14636         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14637         * sysdeps/posix/isatty.c (__isatty): Likewise.
14638         * sysdeps/posix/killpg.c (killpg): Likewise.
14639         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14640         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14641         * sysdeps/posix/raise.c (raise): Likewise.
14642         * sysdeps/posix/remove.c (remove): Likewise.
14643         * sysdeps/posix/rename.c (rename): Likewise.
14644         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14645         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14646         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14647         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14648         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14649         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14650         * sysdeps/posix/sigset.c (sigset): Likewise.
14651         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14652         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14653         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14654         * sysdeps/posix/time.c (time): Likewise.
14655         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14656         (ttyname): Likewise.
14657         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14658         * sysdeps/posix/utime.c (utime): Likewise.
14659         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14660         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14661         Likewise.
14662         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14663         (pthread_spin_trylock): Likewise.
14664         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14665         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14666         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14667         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14668         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14669         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14670         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14671         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14672         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14673         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14674         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14675         * sysdeps/s390/ffs.c (__ffs): Likewise.
14676         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14677         Likewise.
14678         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14679         Likewise.
14680         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14681         Likewise.
14682         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14683         (pthread_barrier_destroy): Likewise.
14684         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14685         (__pthread_barrier_wait): Likewise.
14686         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14687         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14688         (__pthread_barrier_wait): Likewise.
14689         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14690         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14691         (memcmp_not_common_alignment): Likewise.
14692         (MEMCMP): Likewise.
14693         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14694         (_wordcopy_fwd_dest_aligned): Likewise.
14695         (_wordcopy_bwd_aligned): Likewise.
14696         (_wordcopy_bwd_dest_aligned): Likewise.
14697         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14698         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14699         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14700         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14701         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14702         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14703         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14704         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14705         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14706         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14707         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14708         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14709         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14710         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14711         * sysdeps/unix/stime.c (stime): Likewise.
14712         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14713         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14714         Likewise.  Use internal_function.
14715         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14716         Convert to prototype-style function definition.
14717         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14718         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14719         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14720         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14721         Likewise.  Use internal_function.
14722         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14723         prototype-style function definition
14724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14725         Likewise.
14726         (__getlogin_r): Likewise.
14727         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14728         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14729         (__pthread_cond_broadcast): Likewise.
14730         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14731         (__pthread_cond_destroy): Likewise.
14732         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14733         (__pthread_cond_init): Likewise.
14734         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14735         (__pthread_cond_signal): Likewise.
14736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14737         (__pthread_cond_wait): Likewise.
14738         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14739         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14740         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14743         Likewise.
14744         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14745         Likewise.
14746         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14747         Likewise.
14748         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14750         (__ftruncate64): Likewise.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14752         (truncate64): Likewise.
14753         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14754         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14755         (pthread_getcpuclockid): Likewise.
14756         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14757         Likewise.
14758         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14759         Likewise.
14760         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14761         Likewise.
14762         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14763         Likewise.
14764         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14765         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14766         (__libc_sigaction): Likewise.
14767         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14770         (__sigprocmask): Likewise.
14771         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14772         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14773         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14774         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14775         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14776         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14777         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14778         Likewise.
14779         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14780         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14781         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14782         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14783         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14784         Likewise.
14785         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14786         (__sigprocmask): Likewise.
14787         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14788         (cfgetispeed): Likewise.
14789         (cfsetospeed): Likewise.
14790         (cfsetispeed): Likewise.
14791         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14792         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14793         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14794         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14795         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14796         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14797         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14798         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14799         Likewise.
14800         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14803         Likewise.
14804         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14805         Likewise.
14806         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14808 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14810         sunrpc: Rewrite with explicit TLS access using __thread.
14811         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14812         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14813         directly.
14814         (__rpc_thread_variables): Access thread_rpc_vars directly.
14815         Eliminate redundant assignment of the tvp variable.
14817 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14819         malloc: Rewrite with explicit TLS access using __thread.
14820         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14821         (tsd_setspecific, tsd_getspecific): Remove.
14822         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14823         (tsd_setspecific, tsd_getspecific): Likewise.
14824         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14825         (tsd_setspecific, tsd_getspecific): Likewise.
14826         * malloc/arena.c (thread_arena): New TLS variable.
14827         (arena_key): Remove variable.
14828         (arena_get): Use thread_arena.
14829         (arena_lookup): Remove macro.
14830         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14831         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14832         (_int_new_arena, get_free_list, reused_arena)
14833         (arena_thread_freeres): Use thread_arena.
14834         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14835         tsd_getspecific, tsd_setspecific from safety annotations.
14836         (Allocating Cleared Space): Remove arena_lookup from safety
14837         annotations.
14839 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14841         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14842         struct scratch_buffer instead of extend_alloca.
14844 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14846         * sysdeps/unix/sysv/linux/kernel-features.h
14847         (__ASSUME_SOCK_CLOEXEC): Remove.
14848         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14849         (__have_paccept): Remove unused macro.
14850         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14851         * misc/syslog.c (openlog_internal): Remove fallback code for
14852         !__ASSUME_SOCK_CLOEXEC.
14853         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14854         missing SOCK_CLOEXEC.
14855         * nscd/connections.c (have_sock_cloexec): Remove definition.
14856         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14857         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14858         !__ASSUME_SOCK_CLOEXEC.
14859         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14860         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14861         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14862         definition.
14863         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14864         code for !__ASSUME_SOCK_CLOEXEC.
14866 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14868         [BZ #18982]
14869         * manual/stdio.texi (Variable Arguments Output): Add portability
14870         note, explaining that vfprintf clobbers the va_list pointer.
14872 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14874         * math/libm-test.inc (fabs_test_data): Add more tests.
14875         (fdim_test_data): Likewise.
14876         (fma_test_data): Likewise.
14877         (fmax_test_data): Likewise.
14878         (fmin_test_data): Likewise.
14879         (fmod_test_data): Likewise.
14881 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14883         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14884         data.
14886 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14888         * math/libm-test.inc (ceil_test_data): Add more tests and more
14889         expectations for "inexact".
14890         (floor_test_data): Add more tests.
14891         (round_test_data): Likewise.
14892         (trunc_test_data): Likewise.
14894         * crypt/cert.c (good_bye): Convert to prototype-style function
14895         definition.
14896         (get8): Likewise.
14897         (put8): Likewise.
14898         * crypt/crypt-entry.c (crypt): Likewise.
14899         (__fcrypt): Likewise.
14900         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14901         (_ufc_set_bits): Likewise.
14902         (_ufc_clearmem): Likewise.
14903         (__init_des_r): Likewise.
14904         (shuffle_sb): Likewise.
14905         (shuffle_sb): Likewise.
14906         (_ufc_setup_salt_r): Likewise.
14907         (_ufc_mk_keytab_r): Likewise.
14908         (_ufc_dofinalperm_r): Likewise.
14909         (encrypt): Likewise.
14910         (__setkey_r): Likewise.
14911         (setkey): Likewise.
14912         * crypt/md5.c (md5_init_ctx): Likewise.
14913         (md5_read_ctx): Likewise.
14914         (md5_finish_ctx): Likewise.
14915         (md5_stream): Likewise.
14916         (md5_buffer): Likewise.
14917         (md5_process_bytes): Likewise.
14918         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14919         (__sha256_finish_ctx): Likewise.
14920         (__sha256_process_bytes): Likewise.
14921         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14922         (__sha512_finish_ctx): Likewise.
14923         (__sha512_process_bytes): Likewise.
14924         * ctype/isctype.c (__isctype): Likewise.
14925         * debug/backtrace.c (__backtrace): Likewise.
14926         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14927         * debug/fgets_chk.c (__fgets_chk): Likewise.
14928         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14929         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14930         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14931         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14932         * debug/memset_chk.c (__memset_chk): Likewise.
14933         * debug/strcat_chk.c (__strcat_chk): Likewise.
14934         * debug/strncat_chk.c (__strncat_chk): Likewise.
14935         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14936         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14937         * dirent/dirfd.c (dirfd): Likewise.
14938         * dirent/getdents.c (__getdirentries): Likewise.
14939         * dirent/getdents64.c (getdirentries64): Likewise.
14940         * dirent/rewinddir.c (__rewinddir): Likewise.
14941         * dirent/seekdir.c (seekdir): Likewise.
14942         * dirent/telldir.c (telldir): Likewise.
14943         * elf/sln.c (makesymlinks): Likewise.
14944         (makesymlink): Likewise.
14945         * gmon/gmon.c (__moncontrol): Likewise.
14946         (__monstartup): Likewise.
14947         (write_hist): Likewise.
14948         (write_call_graph): Likewise.
14949         (write_bb_counts): Likewise.
14950         * grp/setgroups.c (setgroups): Likewise.
14951         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14952         * inet/inet_net.c (inet_network): Likewise.
14953         * inet/inet_netof.c (inet_netof): Likewise.
14954         * inet/rcmd.c (rresvport_af): Likewise.
14955         (rresvport): Likewise.
14956         * io/access.c (__access): Likewise.
14957         * io/chdir.c (__chdir): Likewise.
14958         * io/chmod.c (__chmod): Likewise.
14959         * io/chown.c (__chown): Likewise.
14960         * io/close.c (__close): Likewise.
14961         * io/creat.c (creat): Likewise.
14962         * io/creat64.c (creat64): Likewise.
14963         * io/dup.c (__dup): Likewise.
14964         * io/dup2.c (__dup2): Likewise.
14965         * io/dup3.c (__dup3): Likewise.
14966         * io/euidaccess.c (__euidaccess): Likewise.
14967         * io/faccessat.c (faccessat): Likewise.
14968         * io/fchmod.c (__fchmod): Likewise.
14969         * io/fchmodat.c (fchmodat): Likewise.
14970         * io/fchown.c (__fchown): Likewise.
14971         * io/fchownat.c (fchownat): Likewise.
14972         * io/fcntl.c (__fcntl): Likewise.
14973         * io/flock.c (__flock): Likewise.
14974         * io/fts.c (fts_load): Likewise.
14975         (fts_close): Likewise.
14976         (fts_read): Likewise.
14977         (fts_set): Likewise.
14978         (fts_children): Likewise.
14979         (fts_build): Likewise.
14980         (fts_stat): Likewise.
14981         (fts_sort): Likewise.
14982         (fts_alloc): Likewise.
14983         (fts_lfree): Likewise.
14984         (fts_palloc): Likewise.
14985         (fts_padjust): Likewise.
14986         (fts_maxarglen): Likewise.
14987         (fts_safe_changedir): Likewise.
14988         * io/getwd.c (getwd): Likewise.
14989         * io/isatty.c (__isatty): Likewise.
14990         * io/lchown.c (__lchown): Likewise.
14991         * io/link.c (__link): Likewise.
14992         * io/linkat.c (linkat): Likewise.
14993         * io/lseek.c (__libc_lseek): Likewise.
14994         * io/mkdir.c (__mkdir): Likewise.
14995         * io/mkdirat.c (mkdirat): Likewise.
14996         * io/mkfifo.c (mkfifo): Likewise.
14997         * io/mkfifoat.c (mkfifoat): Likewise.
14998         * io/open.c (__libc_open): Likewise.
14999         * io/open64.c (__libc_open64): Likewise.
15000         * io/readlink.c (__readlink): Likewise.
15001         * io/readlinkat.c (readlinkat): Likewise.
15002         * io/rmdir.c (__rmdir): Likewise.
15003         * io/symlink.c (__symlink): Likewise.
15004         * io/symlinkat.c (symlinkat): Likewise.
15005         * io/ttyname.c (ttyname): Likewise.
15006         * io/ttyname_r.c (__ttyname_r): Likewise.
15007         * io/umask.c (__umask): Likewise.
15008         * io/unlink.c (__unlink): Likewise.
15009         * io/unlinkat.c (unlinkat): Likewise.
15010         * io/utime.c (utime): Likewise.
15011         * libio/clearerr.c (clearerr): Likewise.
15012         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15013         * libio/feof.c (_IO_feof): Likewise.
15014         * libio/feof_u.c (feof_unlocked): Likewise.
15015         * libio/ferror.c (_IO_ferror): Likewise.
15016         * libio/ferror_u.c (ferror_unlocked): Likewise.
15017         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15018         * libio/fileno.c (__fileno): Likewise.
15019         * libio/fputc.c (fputc): Likewise.
15020         * libio/fputc_u.c (fputc_unlocked): Likewise.
15021         * libio/fputwc.c (fputwc): Likewise.
15022         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15023         * libio/freopen.c (freopen): Likewise.
15024         * libio/freopen64.c (freopen64): Likewise.
15025         * libio/fseek.c (fseek): Likewise.
15026         * libio/fseeko.c (fseeko): Likewise.
15027         * libio/fseeko64.c (fseeko64): Likewise.
15028         * libio/ftello.c (__ftello): Likewise.
15029         * libio/ftello64.c (ftello64): Likewise.
15030         * libio/fwide.c (fwide): Likewise.
15031         * libio/genops.c (_IO_un_link): Likewise.
15032         (_IO_link_in): Likewise.
15033         (_IO_least_marker): Likewise.
15034         (_IO_switch_to_main_get_area): Likewise.
15035         (_IO_switch_to_backup_area): Likewise.
15036         (_IO_switch_to_get_mode): Likewise.
15037         (_IO_free_backup_area): Likewise.
15038         (_IO_switch_to_put_mode): Likewise.
15039         (__overflow): Likewise.
15040         (__underflow): Likewise.
15041         (__uflow): Likewise.
15042         (_IO_setb): Likewise.
15043         (_IO_doallocbuf): Likewise.
15044         (_IO_default_underflow): Likewise.
15045         (_IO_default_uflow): Likewise.
15046         (_IO_default_xsputn): Likewise.
15047         (_IO_sgetn): Likewise.
15048         (_IO_default_xsgetn): Likewise.
15049         (_IO_sync): Likewise.
15050         (_IO_default_setbuf): Likewise.
15051         (_IO_default_seekpos): Likewise.
15052         (_IO_default_doallocate): Likewise.
15053         (_IO_init): Likewise.
15054         (_IO_old_init): Likewise.
15055         (_IO_default_sync): Likewise.
15056         (_IO_default_finish): Likewise.
15057         (_IO_default_seekoff): Likewise.
15058         (_IO_sputbackc): Likewise.
15059         (_IO_sungetc): Likewise.
15060         (_IO_set_column): Likewise.
15061         (_IO_set_column): Likewise.
15062         (_IO_adjust_column): Likewise.
15063         (_IO_get_column): Likewise.
15064         (_IO_init_marker): Likewise.
15065         (_IO_remove_marker): Likewise.
15066         (_IO_marker_difference): Likewise.
15067         (_IO_marker_delta): Likewise.
15068         (_IO_seekmark): Likewise.
15069         (_IO_unsave_markers): Likewise.
15070         (_IO_nobackup_pbackfail): Likewise.
15071         (_IO_default_pbackfail): Likewise.
15072         (_IO_default_seek): Likewise.
15073         (_IO_default_stat): Likewise.
15074         (_IO_default_read): Likewise.
15075         (_IO_default_write): Likewise.
15076         (_IO_default_showmanyc): Likewise.
15077         (_IO_default_imbue): Likewise.
15078         (_IO_iter_next): Likewise.
15079         (_IO_iter_file): Likewise.
15080         * libio/getc.c (_IO_getc): Likewise.
15081         * libio/getwc.c (_IO_getwc): Likewise.
15082         * libio/iofclose.c (_IO_new_fclose): Likewise.
15083         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15084         * libio/iofflush.c (_IO_fflush): Likewise.
15085         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15086         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15087         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15088         * libio/iofgets.c (_IO_fgets): Likewise.
15089         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15090         * libio/iofgetws.c (fgetws): Likewise.
15091         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15092         * libio/iofopen64.c (_IO_fopen64): Likewise.
15093         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15094         (_IO_cookie_write): Likewise.
15095         (_IO_cookie_seek): Likewise.
15096         (_IO_cookie_close): Likewise.
15097         (_IO_cookie_seekoff): Likewise.
15098         (_IO_old_cookie_seek): Likewise.
15099         * libio/iofputs.c (_IO_fputs): Likewise.
15100         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15101         * libio/iofputws.c (fputws): Likewise.
15102         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15103         * libio/iofread.c (_IO_fread): Likewise.
15104         * libio/iofread_u.c (__fread_unlocked): Likewise.
15105         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15106         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15107         * libio/ioftell.c (_IO_ftell): Likewise.
15108         * libio/iofwrite.c (_IO_fwrite): Likewise.
15109         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15110         * libio/iogets.c (_IO_gets): Likewise.
15111         * libio/iopadn.c (_IO_padn): Likewise.
15112         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15113         (_IO_new_popen): Likewise.
15114         (_IO_new_proc_close): Likewise.
15115         * libio/ioputs.c (_IO_puts): Likewise.
15116         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15117         (_IO_seekoff): Likewise.
15118         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15119         (_IO_seekpos): Likewise.
15120         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15121         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15122         * libio/ioungetc.c (_IO_ungetc): Likewise.
15123         * libio/ioungetwc.c (ungetwc): Likewise.
15124         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15125         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15126         * libio/iowpadn.c (_IO_wpadn): Likewise.
15127         * libio/libc_fatal.c (__libc_fatal): Likewise.
15128         * libio/memstream.c (__open_memstream): Likewise.
15129         (_IO_mem_sync): Likewise.
15130         (_IO_mem_finish): Likewise.
15131         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15132         (_IO_old_file_close_it): Likewise.
15133         (_IO_old_file_finish): Likewise.
15134         (_IO_old_file_fopen): Likewise.
15135         (_IO_old_file_attach): Likewise.
15136         (_IO_old_file_setbuf): Likewise.
15137         (_IO_old_do_write): Likewise.
15138         (old_do_write): Likewise.
15139         (_IO_old_file_underflow): Likewise.
15140         (_IO_old_file_overflow): Likewise.
15141         (_IO_old_file_sync): Likewise.
15142         (_IO_old_file_seekoff): Likewise.
15143         (_IO_old_file_write): Likewise.
15144         (_IO_old_file_xsputn): Likewise.
15145         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15146         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15147         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15148         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15149         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15150         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15151         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15152         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15153         (_IO_old_popen): Likewise.
15154         (_IO_old_proc_close): Likewise.
15155         * libio/oldpclose.c (__old_pclose): Likewise.
15156         * libio/pclose.c (__new_pclose): Likewise.
15157         * libio/peekc.c (_IO_peekc_locked): Likewise.
15158         * libio/putc.c (_IO_putc): Likewise.
15159         * libio/putc_u.c (putc_unlocked): Likewise.
15160         * libio/putchar.c (putchar): Likewise.
15161         * libio/putchar_u.c (putchar_unlocked): Likewise.
15162         * libio/putwc.c (putwc): Likewise.
15163         * libio/putwc_u.c (putwc_unlocked): Likewise.
15164         * libio/putwchar.c (putwchar): Likewise.
15165         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15166         * libio/rewind.c (rewind): Likewise.
15167         * libio/setbuf.c (setbuf): Likewise.
15168         * libio/setlinebuf.c (setlinebuf): Likewise.
15169         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15170         * libio/vscanf.c (_IO_vscanf): Likewise.
15171         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15172         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15173         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15174         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15175         (_IO_switch_to_main_wget_area): Likewise.
15176         (_IO_switch_to_wbackup_area): Likewise.
15177         (_IO_wsetb): Likewise.
15178         (_IO_wdefault_pbackfail): Likewise.
15179         (_IO_wdefault_finish): Likewise.
15180         (_IO_wdefault_uflow): Likewise.
15181         (__woverflow): Likewise.
15182         (__wuflow): Likewise.
15183         (__wunderflow): Likewise.
15184         (_IO_wdefault_xsputn): Likewise.
15185         (_IO_wdefault_xsgetn): Likewise.
15186         (_IO_wdoallocbuf): Likewise.
15187         (_IO_wdefault_doallocate): Likewise.
15188         (_IO_switch_to_wget_mode): Likewise.
15189         (_IO_free_wbackup_area): Likewise.
15190         (_IO_switch_to_wput_mode): Likewise.
15191         (_IO_sputbackwc): Likewise.
15192         (_IO_sungetwc): Likewise.
15193         (_IO_adjust_wcolumn): Likewise.
15194         (_IO_init_wmarker): Likewise.
15195         (_IO_wmarker_delta): Likewise.
15196         (_IO_seekwmark): Likewise.
15197         (_IO_unsave_wmarkers): Likewise.
15198         * libio/wmemstream.c (open_wmemstream): Likewise.
15199         (_IO_wmem_sync): Likewise.
15200         (_IO_wmem_finish): Likewise.
15201         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15202         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15203         * locale/programs/simple-hash.c (init_hash): Likewise.
15204         (delete_hash): Likewise.
15205         (insert_entry): Likewise.
15206         (set_entry): Likewise.
15207         (next_prime): Likewise.
15208         (is_prime): Likewise.
15209         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15210         (xmalloc): Likewise.
15211         (xrealloc): Likewise.
15212         * locale/programs/xstrdup.c (xstrdup): Likewise.
15213         * localedata/collate-test.c (xstrcoll): Likewise.
15214         * localedata/xfrm-test.c (xstrcmp): Likewise.
15215         * login/getlogin_r.c (__getlogin_r): Likewise.
15216         * login/getpt.c (__posix_openpt): Likewise.
15217         * login/login_tty.c (login_tty): Likewise.
15218         * login/setlogin.c (setlogin): Likewise.
15219         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15220         (mach_msg_destroy_port): Likewise.
15221         (mach_msg_destroy_memory): Likewise.
15222         * malloc/mcheck.c (flood): Likewise.
15223         * misc/acct.c (acct): Likewise.
15224         * misc/brk.c (__brk): Likewise.
15225         * misc/chflags.c (chflags): Likewise.
15226         * misc/chroot.c (chroot): Likewise.
15227         * misc/fchflags.c (fchflags): Likewise.
15228         * misc/fstab.c (getfsspec): Likewise.
15229         (getfsfile): Likewise.
15230         * misc/fsync.c (fsync): Likewise.
15231         * misc/ftruncate.c (__ftruncate): Likewise.
15232         * misc/ftruncate64.c (__ftruncate64): Likewise.
15233         * misc/getdomain.c (getdomainname): Likewise.
15234         (getdomainname): Likewise.
15235         * misc/gethostname.c (__gethostname): Likewise.
15236         * misc/getpass.c (getpass): Likewise.
15237         * misc/getttyent.c (skip): Likewise.
15238         (value): Likewise.
15239         * misc/gtty.c (gtty): Likewise.
15240         * misc/hsearch.c (hsearch): Likewise.
15241         (hcreate): Likewise.
15242         * misc/hsearch_r.c (__hcreate_r): Likewise.
15243         (__hdestroy_r): Likewise.
15244         * misc/ioctl.c (__ioctl): Likewise.
15245         * misc/mkdtemp.c (mkdtemp): Likewise.
15246         * misc/mkostemp.c (mkostemp): Likewise.
15247         * misc/mkostemp64.c (mkostemp64): Likewise.
15248         * misc/mkostemps.c (mkostemps): Likewise.
15249         * misc/mkostemps64.c (mkostemps64): Likewise.
15250         * misc/mkstemp.c (mkstemp): Likewise.
15251         * misc/mkstemp64.c (mkstemp64): Likewise.
15252         * misc/mkstemps.c (mkstemps): Likewise.
15253         * misc/mkstemps64.c (mkstemps64): Likewise.
15254         * misc/mktemp.c (__mktemp): Likewise.
15255         * misc/preadv.c (preadv): Likewise.
15256         * misc/preadv64.c (preadv64): Likewise.
15257         * misc/pwritev.c (pwritev): Likewise.
15258         * misc/pwritev64.c (pwritev64): Likewise.
15259         * misc/readv.c (__readv): Likewise.
15260         * misc/revoke.c (revoke): Likewise.
15261         * misc/setdomain.c (setdomainname): Likewise.
15262         * misc/setegid.c (setegid): Likewise.
15263         * misc/seteuid.c (seteuid): Likewise.
15264         * misc/sethostid.c (sethostid): Likewise.
15265         * misc/sethostname.c (sethostname): Likewise.
15266         * misc/setregid.c (__setregid): Likewise.
15267         * misc/setreuid.c (__setreuid): Likewise.
15268         * misc/sstk.c (sstk): Likewise.
15269         * misc/stty.c (stty): Likewise.
15270         * misc/syscall.c (syscall): Likewise.
15271         * misc/syslog.c (setlogmask): Likewise.
15272         * misc/truncate.c (__truncate): Likewise.
15273         * misc/truncate64.c (truncate64): Likewise.
15274         * misc/ualarm.c (ualarm): Likewise.
15275         * misc/usleep.c (usleep): Likewise.
15276         * misc/ustat.c (ustat): Likewise.
15277         * misc/writev.c (__writev): Likewise.
15278         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15279         * nptl/old_pthread_cond_broadcast.c
15280         (__pthread_cond_broadcast_2_0): Likewise.
15281         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15282         Likewise.
15283         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15284         Likewise.
15285         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15286         Likewise.
15287         * nptl/pt-raise.c (raise): Likewise.
15288         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15289         Likewise.
15290         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15291         * nptl/pthread_barrierattr_destroy.c
15292         (pthread_barrierattr_destroy): Likewise.
15293         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15294         Likewise.
15295         * nptl/pthread_barrierattr_setpshared.c
15296         (pthread_barrierattr_setpshared): Likewise.
15297         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15298         Likewise.
15299         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15300         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15301         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15302         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15303         Likewise.
15304         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15305         Likewise.
15306         * nptl/pthread_condattr_getpshared.c
15307         (pthread_condattr_getpshared): Likewise.
15308         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15309         Likewise.
15310         * nptl/pthread_condattr_setpshared.c
15311         (pthread_condattr_setpshared): Likewise.
15312         * nptl/pthread_detach.c (pthread_detach): Likewise.
15313         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15314         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15315         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15316         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15317         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15318         Likewise.
15319         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15320         Likewise.
15321         * nptl/pthread_mutex_getprioceiling.c
15322         (pthread_mutex_getprioceiling): Likewise.
15323         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15324         Likewise.
15325         * nptl/pthread_mutexattr_getprotocol.c
15326         (pthread_mutexattr_getprotocol): Likewise.
15327         * nptl/pthread_mutexattr_getpshared.c
15328         (pthread_mutexattr_getpshared): Likewise.
15329         * nptl/pthread_mutexattr_getrobust.c
15330         (pthread_mutexattr_getrobust): Likewise.
15331         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15332         Likewise.
15333         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15334         Likewise.
15335         * nptl/pthread_mutexattr_setprioceiling.c
15336         (pthread_mutexattr_setprioceiling): Likewise.
15337         * nptl/pthread_mutexattr_setprotocol.c
15338         (pthread_mutexattr_setprotocol): Likewise.
15339         * nptl/pthread_mutexattr_setpshared.c
15340         (pthread_mutexattr_setpshared): Likewise.
15341         * nptl/pthread_mutexattr_setrobust.c
15342         (pthread_mutexattr_setrobust): Likewise.
15343         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15344         Likewise.
15345         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15346         Likewise.
15347         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15348         Likewise.
15349         * nptl/pthread_rwlockattr_getkind_np.c
15350         (pthread_rwlockattr_getkind_np): Likewise.
15351         * nptl/pthread_rwlockattr_getpshared.c
15352         (pthread_rwlockattr_getpshared): Likewise.
15353         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15354         Likewise.
15355         * nptl/pthread_rwlockattr_setkind_np.c
15356         (pthread_rwlockattr_setkind_np): Likewise.
15357         * nptl/pthread_rwlockattr_setpshared.c
15358         (pthread_rwlockattr_setpshared): Likewise.
15359         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15360         Likewise.
15361         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15362         Likewise.
15363         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15364         Likewise.
15365         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15366         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15367         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15368         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15369         * nptl/sem_close.c (sem_close): Likewise.
15370         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15371         * nptl/sem_init.c (__old_sem_init): Likewise.
15372         * nptl/sigaction.c (__sigaction): Likewise.
15373         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15374         * posix/_exit.c (_exit): Likewise.
15375         * posix/alarm.c (alarm): Likewise.
15376         * posix/confstr.c (confstr): Likewise.
15377         * posix/fpathconf.c (__fpathconf): Likewise.
15378         * posix/getgroups.c (__getgroups): Likewise.
15379         * posix/getpgid.c (__getpgid): Likewise.
15380         * posix/group_member.c (__group_member): Likewise.
15381         * posix/pathconf.c (__pathconf): Likewise.
15382         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15383         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15384         * posix/setgid.c (__setgid): Likewise.
15385         * posix/setpgid.c (__setpgid): Likewise.
15386         * posix/setuid.c (__setuid): Likewise.
15387         * posix/sleep.c (__sleep): Likewise.
15388         * posix/sysconf.c (__sysconf): Likewise.
15389         * posix/times.c (__times): Likewise.
15390         * posix/uname.c (__uname): Likewise.
15391         * posix/waitid.c (__waitid): Likewise.
15392         * pwd/getpw.c (__getpw): Likewise.
15393         * resolv/base64.c (b64_pton): Likewise.
15394         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15395         * resolv/gethnamaddr.c (Dprintf): Likewise.
15396         (gethostbyname): Likewise.
15397         (gethostbyname2): Likewise.
15398         (gethostbyaddr): Likewise.
15399         (_sethtent): Likewise.
15400         (_gethtbyname): Likewise.
15401         (_gethtbyname2): Likewise.
15402         (_gethtbyaddr): Likewise.
15403         (map_v4v6_address): Likewise.
15404         (map_v4v6_hostent): Likewise.
15405         (addrsort): Likewise.
15406         (ht_sethostent): Likewise.
15407         (ht_gethostbyname): Likewise.
15408         (ht_gethostbyaddr): Likewise.
15409         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15410         (inet_net_ntop_ipv4): Likewise.
15411         * resolv/inet_neta.c (inet_neta): Likewise.
15412         * resolv/inet_ntop.c (inet_ntop): Likewise.
15413         (inet_ntop4): Likewise.
15414         (inet_ntop6): Likewise.
15415         * resolv/inet_pton.c (__inet_pton): Likewise.
15416         (inet_pton4): Likewise.
15417         (inet_pton6): Likewise.
15418         * resolv/res_debug.c (loc_aton): Likewise.
15419         (loc_ntoa): Likewise.
15420         * resource/getpriority.c (__getpriority): Likewise.
15421         * resource/getrusage.c (__getrusage): Likewise.
15422         * resource/nice.c (nice): Likewise.
15423         * resource/setpriority.c (__setpriority): Likewise.
15424         * resource/setrlimit64.c (setrlimit64): Likewise.
15425         * resource/vlimit.c (vlimit): Likewise.
15426         * resource/vtimes.c (vtimes): Likewise.
15427         * rt/aio_error.c (aio_error): Likewise.
15428         * rt/aio_return.c (aio_return): Likewise.
15429         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15430         * signal/kill.c (__kill): Likewise.
15431         * signal/killpg.c (killpg): Likewise.
15432         * signal/raise.c (raise): Likewise.
15433         * signal/sigaction.c (__sigaction): Likewise.
15434         * signal/sigaddset.c (sigaddset): Likewise.
15435         * signal/sigaltstack.c (sigaltstack): Likewise.
15436         * signal/sigandset.c (sigandset): Likewise.
15437         * signal/sigblock.c (__sigblock): Likewise.
15438         * signal/sigdelset.c (sigdelset): Likewise.
15439         * signal/sigempty.c (sigemptyset): Likewise.
15440         * signal/sigfillset.c (sigfillset): Likewise.
15441         * signal/sighold.c (sighold): Likewise.
15442         * signal/sigignore.c (sigignore): Likewise.
15443         * signal/sigintr.c (siginterrupt): Likewise.
15444         * signal/sigisempty.c (sigisemptyset): Likewise.
15445         * signal/sigismem.c (sigismember): Likewise.
15446         * signal/signal.c (signal): Likewise.
15447         * signal/sigorset.c (sigorset): Likewise.
15448         * signal/sigpause.c (__sigpause): Likewise.
15449         * signal/sigpending.c (sigpending): Likewise.
15450         * signal/sigprocmask.c (__sigprocmask): Likewise.
15451         * signal/sigrelse.c (sigrelse): Likewise.
15452         * signal/sigreturn.c (__sigreturn): Likewise.
15453         * signal/sigset.c (sigset): Likewise.
15454         * signal/sigsetmask.c (__sigsetmask): Likewise.
15455         * signal/sigstack.c (sigstack): Likewise.
15456         * signal/sigsuspend.c (__sigsuspend): Likewise.
15457         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15458         * signal/sysv_signal.c (__sysv_signal): Likewise.
15459         * socket/accept.c (accept): Likewise.
15460         * socket/accept4.c (__libc_accept4): Likewise.
15461         * socket/bind.c (__bind): Likewise.
15462         * socket/connect.c (__connect): Likewise.
15463         * socket/getpeername.c (getpeername): Likewise.
15464         * socket/getsockname.c (__getsockname): Likewise.
15465         * socket/getsockopt.c (getsockopt): Likewise.
15466         * socket/listen.c (__listen): Likewise.
15467         * socket/recv.c (__recv): Likewise.
15468         * socket/recvmsg.c (__recvmsg): Likewise.
15469         * socket/send.c (__send): Likewise.
15470         * socket/sendmsg.c (__sendmsg): Likewise.
15471         * socket/shutdown.c (shutdown): Likewise.
15472         * socket/sockatmark.c (sockatmark): Likewise.
15473         * socket/socket.c (__socket): Likewise.
15474         * stdio-common/ctermid.c (ctermid): Likewise.
15475         * stdio-common/cuserid.c (cuserid): Likewise.
15476         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15477         * stdio-common/remove.c (remove): Likewise.
15478         * stdio-common/rename.c (rename): Likewise.
15479         * stdio-common/renameat.c (renameat): Likewise.
15480         * stdio-common/tempname.c (__gen_tempname): Likewise.
15481         * stdio-common/xbug.c (InitBuffer): Likewise.
15482         (AppendToBuffer): Likewise.
15483         (ReadFile): Likewise.
15484         * stdlib/a64l.c (a64l): Likewise.
15485         * stdlib/drand48_r.c (drand48_r): Likewise.
15486         * stdlib/getcontext.c (getcontext): Likewise.
15487         * stdlib/getenv.c (getenv): Likewise.
15488         * stdlib/l64a.c (l64a): Likewise.
15489         * stdlib/llabs.c (llabs): Likewise.
15490         * stdlib/lldiv.c (lldiv): Likewise.
15491         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15492         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15493         * stdlib/putenv.c (putenv): Likewise.
15494         * stdlib/random.c (__srandom): Likewise.
15495         (__initstate): Likewise.
15496         (__setstate): Likewise.
15497         * stdlib/random_r.c (__srandom_r): Likewise.
15498         (__setstate_r): Likewise.
15499         (__random_r): Likewise.
15500         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15501         * stdlib/setcontext.c (setcontext): Likewise.
15502         * stdlib/setenv.c (setenv): Likewise.
15503         (unsetenv): Likewise.
15504         * stdlib/srand48.c (srand48): Likewise.
15505         * stdlib/srand48_r.c (__srand48_r): Likewise.
15506         * stdlib/swapcontext.c (swapcontext): Likewise.
15507         * stdlib/system.c (__libc_system): Likewise.
15508         * stdlib/tst-strtod.c (expand): Likewise.
15509         * stdlib/tst-strtol.c (expand): Likewise.
15510         * stdlib/tst-strtoll.c (expand): Likewise.
15511         * streams/fattach.c (fattach): Likewise.
15512         * streams/fdetach.c (fdetach): Likewise.
15513         * streams/getmsg.c (getmsg): Likewise.
15514         * streams/isastream.c (isastream): Likewise.
15515         * string/ffs.c (__ffs): Likewise.
15516         * string/ffsll.c (ffsll): Likewise.
15517         * string/memcmp.c (memcmp_common_alignment): Likewise.
15518         (memcmp_not_common_alignment): Likewise.
15519         (MEMCMP): Likewise.
15520         * string/memcpy.c (memcpy): Likewise.
15521         * string/memmove.c (MEMMOVE): Likewise.
15522         * string/memset.c (memset): Likewise.
15523         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15524         * string/strchrnul.c (STRCHRNUL): Likewise.
15525         * string/strerror.c (strerror): Likewise.
15526         * string/strndup.c (__strndup): Likewise.
15527         * string/strverscmp.c (__strverscmp): Likewise.
15528         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15529         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15530         (clnttcp_freeres): Likewise.
15531         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15532         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15533         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15534         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15535         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15536         (xdr_callhdr): Likewise.
15537         * sunrpc/rpcinfo.c (udpping): Likewise.
15538         (tcpping): Likewise.
15539         (pstatus): Likewise.
15540         (pmapdump): Likewise.
15541         (brdcst): Likewise.
15542         (deletereg): Likewise.
15543         (getprognum): Likewise.
15544         (getvers): Likewise.
15545         (get_inet_address): Likewise.
15546         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15547         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15548         (svcudp_stat): Likewise.
15549         (svcudp_recv): Likewise.
15550         (svcudp_reply): Likewise.
15551         (svcudp_getargs): Likewise.
15552         (svcudp_freeargs): Likewise.
15553         (svcudp_destroy): Likewise.
15554         * sunrpc/xdr.c (xdr_bytes): Likewise.
15555         (xdr_netobj): Likewise.
15556         (xdr_string): Likewise.
15557         (xdr_wrapstring): Likewise.
15558         * sunrpc/xdr_float.c (xdr_float): Likewise.
15559         (xdr_double): Likewise.
15560         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15561         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15562         * sysvipc/ftok.c (ftok): Likewise.
15563         * sysvipc/msgctl.c (msgctl): Likewise.
15564         * sysvipc/msgget.c (msgget): Likewise.
15565         * sysvipc/msgrcv.c (msgrcv): Likewise.
15566         * sysvipc/msgsnd.c (msgsnd): Likewise.
15567         * sysvipc/semget.c (semget): Likewise.
15568         * sysvipc/semop.c (semop): Likewise.
15569         * sysvipc/shmat.c (shmat): Likewise.
15570         * sysvipc/shmctl.c (shmctl): Likewise.
15571         * sysvipc/shmdt.c (shmdt): Likewise.
15572         * sysvipc/shmget.c (shmget): Likewise.
15573         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15574         * termios/speed.c (cfgetospeed): Likewise.
15575         (cfgetispeed): Likewise.
15576         (cfsetospeed): Likewise.
15577         (cfsetispeed): Likewise.
15578         * termios/tcflow.c (tcflow): Likewise.
15579         * termios/tcflush.c (tcflush): Likewise.
15580         * termios/tcgetattr.c (__tcgetattr): Likewise.
15581         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15582         * termios/tcgetsid.c (tcgetsid): Likewise.
15583         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15584         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15585         * time/adjtime.c (__adjtime): Likewise.
15586         * time/dysize.c (dysize): Likewise.
15587         * time/ftime.c (ftime): Likewise.
15588         * time/getitimer.c (__getitimer): Likewise.
15589         * time/gettimeofday.c (__gettimeofday): Likewise.
15590         * time/gmtime.c (__gmtime_r): Likewise.
15591         (gmtime): Likewise.
15592         * time/localtime.c (__localtime_r): Likewise.
15593         (localtime): Likewise.
15594         * time/offtime.c (__offtime): Likewise.
15595         * time/settimeofday.c (__settimeofday): Likewise.
15596         * time/stime.c (stime): Likewise.
15597         * time/strftime_l.c (tm_diff): Likewise.
15598         (iso_week_days): Likewise.
15599         * time/strptime.c (strptime): Likewise.
15600         * time/time.c (time): Likewise.
15601         * time/timespec_get.c (timespec_get): Likewise.
15602         * time/tzset.c (tzset_internal): Likewise.
15603         (compute_change): Likewise.
15604         (__tz_compute): Likewise.
15605         * wcsmbs/btowc.c (__btowc): Likewise.
15606         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15607         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15608         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15609         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15610         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15611         * wcsmbs/wcscat.c (__wcscat): Likewise.
15612         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15613         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15614         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15615         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15616         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15617         * wcsmbs/wcslen.c (__wcslen): Likewise.
15618         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15619         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15620         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15621         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15622         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15623         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15624         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15625         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15626         * wcsmbs/wcstok.c (wcstok): Likewise.
15627         * wcsmbs/wctob.c (wctob): Likewise.
15628         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15629         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15630         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15631         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15632         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15633         * wcsmbs/wmemset.c (__wmemset): Likewise.
15634         * wctype/wcfuncs.c (__towlower): Likewise.
15635         (__towupper): Likewise.
15637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15638         (lll_unlock_elision): Add adapt_count parameter.
15640 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15642         * sysdeps/nptl/configure.ac: Do not give errors based on the
15643         results of top-level configure tests.
15644         * sysdeps/nptl/configure: Regenerated.
15646         * configure.ac (libc_cv_Bgroup): Remove configure test.
15647         * configure: Regenerated.
15648         * config.make.in (have-Bgroup): Remove variable.
15650         * configure.ac (sizeof_long_double): Remove configure test.
15651         * configure: Regenerated.
15652         * config.make.in (sizeof-long-double): Remove variable.
15654         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15655         * configure: Regenerated.
15656         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15657         variable.
15658         (exceptions): Likewise.
15659         * sysdeps/arm/configure: Regenerated.
15660         * config.make.in (exceptions): Remove variable.
15661         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15662         $(exceptions).
15663         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15664         (CFLAGS-vdprintf_chk.c): Likewise.
15665         (CFLAGS-printf_chk.c): Likewise.
15666         (CFLAGS-fprintf_chk.c): Likewise.
15667         (CFLAGS-vprintf_chk.c): Likewise.
15668         (CFLAGS-vfprintf_chk.c): Likewise.
15669         (CFLAGS-gets_chk.c): Likewise.
15670         (CFLAGS-fgets_chk.c): Likewise.
15671         (CFLAGS-fgets_u_chk.c): Likewise.
15672         (CFLAGS-fread_chk.c): Likewise.
15673         (CFLAGS-fread_u_chk.c): Likewise.
15674         (CFLAGS-wprintf_chk.c): Likewise.
15675         (CFLAGS-fwprintf_chk.c): Likewise.
15676         (CFLAGS-vwprintf_chk.c): Likewise.
15677         (CFLAGS-vfwprintf_chk.c): Likewise.
15678         (CFLAGS-fgetws_chk.c): Likewise.
15679         (CFLAGS-fgetws_u_chk.c): Likewise.
15680         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15681         (CFLAGS-fputc.c): Likewise.
15682         (CFLAGS-fputwc.c): Likewise.
15683         (CFLAGS-freopen64.c): Likewise.
15684         (CFLAGS-freopen.c): Likewise.
15685         (CFLAGS-fseek.c): Likewise.
15686         (CFLAGS-fseeko64.c): Likewise.
15687         (CFLAGS-fseeko.c): Likewise.
15688         (CFLAGS-ftello64.c): Likewise.
15689         (CFLAGS-ftello.c): Likewise.
15690         (CFLAGS-fwide.c): Likewise.
15691         (CFLAGS-genops.c): Likewise.
15692         (CFLAGS-getc.c): Likewise.
15693         (CFLAGS-getchar.c): Likewise.
15694         (CFLAGS-getwc.c): Likewise.
15695         (CFLAGS-getwchar.c): Likewise.
15696         (CFLAGS-iofclose.c): Likewise.
15697         (CFLAGS-iofflush.c): Likewise.
15698         (CFLAGS-iofgetpos64.c): Likewise.
15699         (CFLAGS-iofgetpos.c): Likewise.
15700         (CFLAGS-iofgets.c): Likewise.
15701         (CFLAGS-iofgetws.c): Likewise.
15702         (CFLAGS-iofputs.c): Likewise.
15703         (CFLAGS-iofputws.c): Likewise.
15704         (CFLAGS-iofread.c): Likewise.
15705         (CFLAGS-iofsetpos64.c): Likewise.
15706         (CFLAGS-iofsetpos.c): Likewise.
15707         (CFLAGS-ioftell.c): Likewise.
15708         (CFLAGS-iofwrite.c): Likewise.
15709         (CFLAGS-iogetdelim.c): Likewise.
15710         (CFLAGS-iogetline.c): Likewise.
15711         (CFLAGS-iogets.c): Likewise.
15712         (CFLAGS-iogetwline.c): Likewise.
15713         (CFLAGS-ioputs.c): Likewise.
15714         (CFLAGS-ioseekoff.c): Likewise.
15715         (CFLAGS-ioseekpos.c): Likewise.
15716         (CFLAGS-iosetbuffer.c): Likewise.
15717         (CFLAGS-iosetvbuf.c): Likewise.
15718         (CFLAGS-ioungetc.c): Likewise.
15719         (CFLAGS-ioungetwc.c): Likewise.
15720         (CFLAGS-oldfileops.c): Likewise.
15721         (CFLAGS-oldiofclose.c): Likewise.
15722         (CFLAGS-oldiofgetpos64.c): Likewise.
15723         (CFLAGS-oldiofgetpos.c): Likewise.
15724         (CFLAGS-oldiofsetpos64.c): Likewise.
15725         (CFLAGS-oldiofsetpos.c): Likewise.
15726         (CFLAGS-peekc.c): Likewise.
15727         (CFLAGS-putc.c): Likewise.
15728         (CFLAGS-putchar.c): Likewise.
15729         (CFLAGS-putwc.c): Likewise.
15730         (CFLAGS-putwchar.c): Likewise.
15731         (CFLAGS-rewind.c): Likewise.
15732         (CFLAGS-wfileops.c): Likewise.
15733         (CFLAGS-wgenops.c): Likewise.
15734         (CFLAGS-oldiofopen.c): Likewise.
15735         (CFLAGS-iofopen.c): Likewise.
15736         (CFLAGS-iofopen64.c): Likewise.
15737         (CFLAGS-oldtmpfile.c): Likewise.
15738         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15739         (CFLAGS-fprintf.c): Likewise.
15740         (CFLAGS-printf.c): Likewise.
15741         (CFLAGS-vfwprintf.c): Likewise.
15742         (CFLAGS-vfscanf.c): Likewise.
15743         (CFLAGS-vfwscanf.c): Likewise.
15744         (CFLAGS-fscanf.c): Likewise.
15745         (CFLAGS-scanf.c): Likewise.
15746         (CFLAGS-isoc99_vfscanf.c): Likewise.
15747         (CFLAGS-isoc99_vscanf.c): Likewise.
15748         (CFLAGS-isoc99_fscanf.c): Likewise.
15749         (CFLAGS-isoc99_scanf.c): Likewise.
15750         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15751         (CFLAGS-isoc99_fwscanf.c): Likewise.
15752         (CFLAGS-isoc99_vwscanf.c): Likewise.
15753         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15755         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15756         after mkstemp64.
15757         * login/tst-utmp.c (do_prepare): Likewise.
15758         * rt/tst-aio.c (do_prepare): Likewise.
15759         * rt/tst-aio64.c (do_prepare): Likewise.
15761 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15763         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15764         (__lll_lock_elision): Remove adapt_count decrement...
15765         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15766         (__lll_trylock_elision): Likewise.
15767         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15768         (__lll_unlock_elision): ... to here. And utilize
15769         new adapt_count parameter.
15770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15771         (__lll_unlock_elision): Update to include adapt_count
15772         parameter.
15773         (lll_unlock_elision): Pass pointer to adapt_count
15774         variable.
15776 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15778         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15779         Add elision adapt_count parameter to list of arguments.
15780         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15781         (lll_unlock_elision): Update with new parameter list
15782         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15783         (lll_unlock_elision): Likewise.
15784         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15785         (lll_unlock_elision): Likewise.
15787 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15789         [BZ #19122]
15790         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15791         attribute_hidden.
15793         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15794         attribute_hidden.
15795         [IS_IN (rtld)] (__strdup): Likewise.
15796         [IS_IN (rtld)] (__strerror_r): Likewise.
15797         [IS_IN (rtld)] (__strsep_g): Likewise.
15798         [IS_IN (rtld)] (memchr): Likewise.
15799         [IS_IN (rtld)] (memcmp): Likewise.
15800         [IS_IN (rtld)] (memcpy): Likewise.
15801         [IS_IN (rtld)] (memmove): Likewise.
15802         [IS_IN (rtld)] (memset): Likewise.
15803         [IS_IN (rtld)] (rawmemchr): Likewise.
15804         [IS_IN (rtld)] (stpcpy): Likewise.
15805         [IS_IN (rtld)] (strchr): Likewise.
15806         [IS_IN (rtld)] (strcmp): Likewise.
15807         [IS_IN (rtld)] (strlen): Likewise.
15808         [IS_IN (rtld)] (strnlen): Likewise.
15809         [IS_IN (rtld)] (strsep): Likewise.
15811         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15812         attribute_hidden.
15813         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15815         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15816         attribute_hidden.
15817         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15819         * include/setjmp.h (__longjmp): Add attribute_hidden.
15820         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15822         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15823         Add attribute_hidden.
15825         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15826         [IS_IN (rtld)] (__open): Likewise.
15827         [IS_IN (rtld)] (__fcntl): Likewise.
15829         * include/dirent.h (__opendirat): Add attribute_hidden.
15830         (__getdents): Likewise.
15831         (__getdents64): Likewise.
15832         (__alloc_dir): Likewise.
15833         [IS_IN (rtld)] (__closedir): Likewise.
15834         [IS_IN (rtld)] (__fdopendir): Likewise.
15835         [IS_IN (rtld)] (__readdir): Likewise.
15836         [IS_IN (rtld)] (__readdir64): Likewise.
15837         [IS_IN (rtld)] (__rewinddir): Likewise.
15839         * include/dlfcn.h (_dl_catch_error): Moved to ...
15840         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15841         attribute_hidden.
15843         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15844         (_itoa_word): Likewise.
15846         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15847         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15848         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15849         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15850         (_dl_higher_prime_number): Likewise.
15851         (_dl_debug_printf_c): Likewise.
15852         (_dl_signal_cerror): Likewise.
15853         (_dl_receive_error): Likewise.
15854         (_dl_reloc_bad_type): Likewise.
15855         (_dl_resolve_conflicts): Likewise.
15856         (_dl_check_all_versions): Likewise.
15857         (_dl_check_map_versions): Likewise.
15858         (_dl_sort_fini): Likewise.
15859         (_dl_debug_initialize): Likewise.
15860         (_dl_init_paths): Likewise.
15861         (_dl_show_auxv): Likewise.
15862         (_dl_next_ld_env_entry): Likewise.
15863         (_dl_important_hwcaps): Likewise.
15864         (_dl_load_cache_lookup): Likewise.
15865         (_dl_update_slotinfo): Likewise.
15866         (_dl_show_scope): Likewise.
15868         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15869         attribute_hidden.
15870         (_wordcopy_fwd_dest_aligned): Likewise.
15871         (_wordcopy_bwd_aligned): Likewise.
15872         (_wordcopy_bwd_dest_aligned): Likewise.
15874         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15875         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15876         Likewise.
15877         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15878         Likewise.
15879         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15881 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15884         GCC 5 requirement.
15886 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15888         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15889         test.
15890         * sysdeps/i386/configure: Regenerated.
15891         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15892         code unconditional.
15894         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15895         test.
15896         (libc_cv_asm_popsection_directive): Likewise.
15897         * configure: Regenerated.
15898         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15899         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15900         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15901         (__make_section_unallocated): Make definition unconditional.
15902         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15903         Remove conditional definition.
15904         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15905         (__make_section_unallocated): Likewise.
15907         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15908         * configure: Regenerated.
15909         * config.make.in (static-libgcc): Remove variable.
15910         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15911         $(static-libgcc).
15912         (build-module-helper): Likewise.
15914         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15915         * configure: Regenerated.
15917 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15919         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15920         (struct char_buffer): New type.
15921         (char_buffer_start, char_buffer_size, char_buffer_error)
15922         (char_buffer_rewind, char_buffer_add): New functions.
15923         (ADDW): Remove macro, replaced by the char_buffer_add function.
15924         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15925         of extend_alloca.  Make control flow more explicit.
15927 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15929         [BZ #19137]
15930         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15931         Add -fomit-frame-pointer.
15932         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15934 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15936         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15937         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15939         only if !__GNUC_PREREQ (5,0).
15940         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15941         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15942         (INTERNAL_SYSCALL_NCS): Likewise.
15943         (LOADREGS_0): New macro for GCC 5.
15944         (ASMARGS_0): Likewise.
15945         (LOADREGS_1): Likewise.
15946         (ASMARGS_1): Likewise.
15947         (LOADREGS_2): Likewise.
15948         (ASMARGS_2): Likewise.
15949         (LOADREGS_3): Likewise.
15950         (ASMARGS_3): Likewise.
15951         (LOADREGS_4): Likewise.
15952         (ASMARGS_4): Likewise.
15953         (LOADREGS_5): Likewise.
15954         (ASMARGS_5): Likewise.
15955         (LOADREGS_6): Likewise.
15956         (ASMARGS_6): Likewise.
15958 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15960         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15961         -fomit-frame-pointer.
15962         (CFLAGS-mmap64.c): Likewise.
15963         (CFLAGS-semtimedop.c): Likewise.
15964         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15965         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15966         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15967         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15969 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15971         [BZ #18928]
15972         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15973         _dl_pointer_guard member.
15974         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15975         initializer.
15976         (security_init): Always set up pointer guard.
15977         (process_envvars): Do not process LD_POINTER_GUARD.
15979 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15981         [BZ #19134]
15982         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15983         (.LC2): Likewise.
15984         (.LC3): Likewise.
15985         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15987 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15989         [BZ #19129]
15990         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15991         r0 and r1.
15993 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15995         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15997 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15999         * include/stap-probe.h: Fix macro definition formatting.
16001 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16003         [BZ #19074]
16004         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16005         load and store num_ifs.
16007 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16009         [BZ #18822]
16010         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16011         (__sched_getaffinity_new): Add libc_hidden_proto and
16012         libc_hidden_def.
16014 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16016         [BZ #19007]
16017         * scripts/localplt.awk: Also allow GOT references.
16018         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16019         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16020         with "+ REL R_386_GLOB_DAT".
16021         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16022         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16024 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16026         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16027         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16028         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16029         Likewise.
16030         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16031         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16032         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16033         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16034         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16035         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16036         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16037         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16038         Likewise.
16039         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16041 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16043         [BZ #19125]
16044         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16045         <math_private.h> and <stdint.h>.
16046         (__llround): Avoid conversions to and from long long int, and
16047         subtractions, where those might raise spurious exceptions.
16048         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16049         <math_private.h> and <stdint.h>.
16050         (__llroundf): Avoid conversions to and from long long int, and
16051         subtractions, where those might raise spurious exceptions.
16053 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16055         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16056         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16057         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16058         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16059         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16060         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16061         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16062         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16063         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16064         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16065         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16066         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16067         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16068         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16069         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16070         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16071         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16072         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16073         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16074         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16076         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16077         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16078         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16079         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16080         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16081         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16082         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16083         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16084         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16085         (__xstat64_conv): Likewise.
16086         (__xstat32_conv): Likewise.
16088 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16090         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16091         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16092         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16093         <sysdeps/unix/sysv/linux/sysdep.h>.
16094         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16095         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16096         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16097         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16098         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16099         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16100         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16101         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16102         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16107         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16108         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16109         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16110         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16111         (sysdep-dl-routines): Add sysdep.
16112         [$(subdir) == nptl] (libpthread-routines): Likewise.
16113         [$(subdir) == rt] (librt-routines): Likewise.
16114         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16115         PIC when branching to SYSCALL_ERROR_LABEL.
16116         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16117         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16118         <sysdeps/unix/sysv/linux/sysdep.h>.
16119         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16120         (SYSCALL_ERROR_ERRNO): Removed.
16121         (SYSCALL_ERROR_HANDLER): Changed to empty.
16122         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16123         (__syscall_error): New prototype.
16124         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16125         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16127 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16129         [BZ #19124]
16130         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16131         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16132         _dl_runtime_resolve_avx.
16133         (_dl_runtime_profile_avx512): Make it a hidden alias of
16134         _dl_runtime_profile_avx.
16136 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16138         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16139         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16140         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16141         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16143         [BZ #16422]
16144         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16145         New configure test.
16146         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16147         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16148         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16149         <math_private.h> and <stdint.h>.
16150         (__llrint): Avoid conversions to long long int where those might
16151         raise spurious exceptions.
16152         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16153         <math_private.h> and <stdint.h>.
16154         (__llrintf): Avoid conversions to long long int where those might
16155         raise spurious exceptions.
16157 2015-10-12  Andreas Schwab  <schwab@suse.de>
16159         [BZ #18969]
16160         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16161         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16162         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16163         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16164         $(gen-locales).
16165         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16166         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16167         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16168         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16169         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16170         $(gen-locales).
16171         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16172         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16173         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16174         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16175         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16176         ($(objpfx)tst-ftell-active-handler.out)
16177         ($(objpfx)tst-ftell-append.out)
16178         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16179         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16180         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16181         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16182         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16183         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16184         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16185         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16186         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16187         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16188         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16189         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16190         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16191         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16192         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16193         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16194         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16195         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16196         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16197         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16198         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16199         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16200         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16201         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16202         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16203         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16204         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16205         $(gen-locales).
16206         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16207         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16208         $(gen-locales).
16209         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16210         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16211         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16212         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16213         $(gen-locales).
16214         * libio/tst_wprintf2.c (main): Use explicit locale.
16215         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16217 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16219         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16220         __msg_sig_post.
16221         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16223 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16225         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16226         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16228         * sysdeps/arm/libm-test-ulps: Regenerated.
16230         [BZ #15470]
16231         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16233         [BZ #16399]
16234         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16235         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16236         and <fix-fp-int-convert-overflow.h>.
16237         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16238         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16239         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16240         and <fix-fp-int-convert-overflow.h>.
16241         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16242         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16243         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16244         <fix-fp-int-convert-overflow.h>.
16245         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16246         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16247         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16248         <fix-fp-int-convert-overflow.h>.
16249         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16250         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16251         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16252         and <fix-fp-int-convert-overflow.h>.
16253         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16254         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16255         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16256         <limits.h> and <fix-fp-int-convert-overflow.h>.
16257         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16258         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16259         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16260         and <fix-fp-int-convert-overflow.h>.
16261         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16262         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16263         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16264         and <fix-fp-int-convert-overflow.h>.
16265         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16266         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16267         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16269 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16271         [BZ #18589]
16272         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16273         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16274         $(gen-locales).
16276 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16277             Phil Blundell <pb@pbcl.net>
16279         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16280         * nptl/tst-cancel26.c: New file.
16281         * nptl/tst-cancel27.c: Likewise.
16283 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16285         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16286         __ILP32__ isn't defined.
16287         (lrint): Likewise.
16288         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16289         (lrintf): Likewise.
16290         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16291         (lrintl): Likewise.
16292         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16293         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16294         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16296 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16298         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16301         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16302         file.
16303         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16304         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16306 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16308         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16309         configure test.
16310         * sysdeps/i386/configure: Regenerated.
16311         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16312         configure test.
16313         * sysdeps/x86_64/configure: Regenerated.
16314         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16315         Make code unconditional.
16317         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16318         test.
16319         * sysdeps/i386/configure: Regenerated.
16320         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16321         test.
16322         * sysdeps/x86_64/configure: Regenerated.
16323         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16324         Make code unconditional.
16325         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16326         Likewise.
16327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16328         Likewise.
16329         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16330         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16331         code unconditional.
16332         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16333         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16334         code unconditional.
16335         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16336         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16337         code unconditional.
16338         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16339         code unconditional.
16340         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16341         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16342         code unconditional.
16343         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16344         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16345         code unconditional.
16346         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16347         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16348         code unconditional.
16349         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16350         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16351         code unconditional.
16352         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16353         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16355         [BZ #19095]
16356         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16357         mantissa to long int before shifting left.
16359 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16361         [BZ #19094]
16362         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16363         <limits.h>.
16364         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16365         when result overflows but exception would not result from cast.
16366         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16367         <limits.h>.
16368         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16369         when result overflows but exception would not result from cast.
16370         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16371         <limits.h>.
16372         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16373         when result overflows but exception would not result from cast.
16374         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16375         <limits.h>.
16376         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16377         when result overflows but exception would not result from cast.
16378         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16379         <limits.h>.
16380         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16381         when result overflows but exception would not result from cast.
16382         * math/libm-test.inc (lrint_test_data): Add more tests.
16383         (llrint_test_data): Likewise.
16385 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16387         [BZ #18872]
16388         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16389         Move out from under [$(run-built-tests) = yes] conditional.
16390         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16391         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16393 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16395         [BZ #18589]
16396         * string/Makefile (tests): Add bug-strcoll2.
16397         (LOCALES): Add cs_CZ.UTF-8.
16398         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16400         [BZ #18589]
16401         * string/bug-strcoll2.c: New file.
16402         * locale/categories.def: Revert commit
16403         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16404         * locale/langinfo.h: Likewise.
16405         * locale/localeinfo.h: Likewise.
16406         * locale/C-collate.c: Likewise.
16407         * locale/programs/ld-collate.c (collate_output): Likewise.
16408         * string/strcoll_l.c (STRDIFF): Likewise.
16409         (STRCOLL): Likewise.
16410         * wcsmbs/wcscoll_l.c: Likewise.
16412 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16414         * math/libm-test.inc (lround_test_data): Do not expect the absence
16415         of "inexact" for some tests with non-integer arguments.
16416         (llround_test_data): Likewise.
16418         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16419         test.
16420         (libc_cv_cc_sse2avx): Likewise.
16421         * sysdeps/i386/configure: Regenerated.
16422         * sysdeps/i386/i686/multiarch/Makefile
16423         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16424         [$(subdir) = math].
16425         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16426         code unconditional.
16427         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16428         Likewise.
16429         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16430         Likewise.
16431         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16432         Likewise.
16433         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16434         test.
16435         (libc_cv_cc_sse2avx): Likewise.
16436         * sysdeps/x86_64/configure: Regenerated.
16437         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16438         unconditional.
16439         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16440         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16441         unconditional.
16442         (_dl_runtime_profile)
16443         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16444         conditional code.
16445         * sysdeps/x86_64/fpu/multiarch/Makefile
16446         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16447         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16448         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16449         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16450         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16451         * sysdeps/x86_64/fpu/multiarch/e_log.c
16452         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16453         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16454         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16455         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16456         Likewise.
16457         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16458         Likewise.
16459         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16460         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16461         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16463         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16464         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16465         (HAVE_SSE2AVX_SUPPORT): Likewise.
16467 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16469         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16470         instead of #pragma optimize.
16472 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16474         [BZ #17195]
16475         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16476         as is similarly done in systrim and _int_free already.
16478 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16480         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16482 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16484         [BZ #19088]
16485         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16486         <limits.h>.
16487         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16488         overflows but exception would not result from cast.
16489         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16490         and <limits.h>.
16491         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16492         overflows but exception would not result from cast.
16493         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16494         <limits.h>.
16495         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16496         overflows but exception would not result from cast.
16497         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16498         <limits.h>.
16499         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16500         overflows but exception would not result from cast.
16501         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16502         <limits.h>.
16503         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16504         overflows but exception would not result from cast.
16505         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16506         <limits.h>.
16507         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16508         overflows but exception would not result from cast.
16509         * math/libm-test.inc (lround_test_data): Add more tests.
16510         (llround_test_data): Likewise.
16512 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16514         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16515         (CFLAGS-ialloc.c): Ditto.
16516         (CFLAGS-scheck.c): Ditto.
16518 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16520         [BZ #19086]
16521         * manual/filesys.texi (Storage Allocation): Fix argument order for
16522         posix_fallocate64.
16524 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16526         [BZ #19085]
16527         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16528         exponent below 48 inside case for non-overflowing exponent.
16529         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16531 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16533         * iconvdata/cp737.h (from_idx): Add const.
16534         * iconvdata/cp775.h (from_idx): Likewise.
16536 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16538         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16539         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16540         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16542         [BZ #19079]
16543         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16544         file, conditioned on [!_LP64].
16545         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16546         [!_LP64] (__lround): Do not define as function or alias.
16547         [!_LP64] (lround): Likewise.
16548         [!_LP64] (__lroundl): Likewise.
16549         [!_LP64] (lroundl): Likewise.
16550         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16551         macro.
16552         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16553         Likewise.
16555 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16557         * math/libm-test.inc (lrint_test_data): Add more tests.
16558         (llrint_test_data): Likewise.
16559         (lround_test_data): Likewise.
16560         (llround_test_data): Likewise.
16562         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16563         (llrint_test_data): Add tests used for lrint.
16565         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16566         test.
16567         * sysdeps/i386/configure: Regenerated.
16568         * sysdeps/i386/i686/multiarch/Makefile
16569         [$(config-cflags-sse4) = yes]: Make code unconditional.
16570         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16571         Likewise.
16572         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16573         Likewise.
16574         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16575         test.
16576         * sysdeps/x86_64/configure: Regenerated.
16577         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16578         Make code unconditional.
16579         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16580         Likewise.
16581         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16582         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16584         * scripts/rpm2dynsym.sh: Remove file.
16586 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16588         * configure.ac (libc_cv_cxx_thread_local): Define.
16589         * configure: Regenerate.
16590         * config.make.in (have-cxx-thread_local): Define.
16591         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16592         (LDLIBS-tst-thread_local1): Define.
16593         (tests): Add tst-thread_local1.
16594         [have-cxx-thread_local != yes] (tests-unsupported): Add
16595         tst-thread_local1.
16596         * nptl/tst-thread_local1.cc: New file.
16598 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16600         [BZ #19078]
16601         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16602         (u_thres): Likewise.
16603         (__expl): Determine whether to call __kernel_standard_l based on
16604         value of result, not argument.
16606         * math/libm-test.inc (scalb_test_data): Add more expectations for
16607         the "inexact" exception.
16609         [BZ #19077]
16610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16611         0.0L for argument 1.0L.
16613         [BZ #19076]
16614         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16615         constant 0.0L when computing infinite result.
16617 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16619         [BZ #10432]
16620         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16621         malloc_usable_size.
16623 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16625         [BZ #19018]
16626         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16627         Mangle function pointer before storing it.
16628         (__call_tls_dtors): Demangle function pointer before calling it.
16630 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16632         [BZ #19012]
16633         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16634         Clean up on failure.
16636 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16638         [BZ #19071]
16639         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16640         long int variable to store possibly incremented high part of
16641         mantissa.
16642         * math/libm-test.inc (lround_test_data): Add tests used for
16643         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16644         for tests requiring 64-bit long.  Do not condition tests on
16645         [TEST_FLOAT] unnecessarily.
16646         (llround_test_data): Add tests used for lround.  Add another
16647         expectation for the "inexact" exception.  Do not condition tests
16648         on [TEST_FLOAT] unnecessarily.
16650         [BZ #887]
16651         [BZ #19049]
16652         [BZ #19050]
16653         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16654         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16655         <fix-int-fp-convert-zero.h>.
16656         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16657         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16658         <fix-int-fp-convert-zero.h>.
16659         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16660         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16661         <fix-int-fp-convert-zero.h>.
16662         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16663         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16664         <fix-int-fp-convert-zero.h>.
16665         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16666         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16667         <fix-int-fp-convert-zero.h>.
16668         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16669         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16670         <fix-int-fp-convert-zero.h>.
16671         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16672         * sysdeps/ieee754/flt-32/s_erff.c: Include
16673         <fix-int-fp-convert-zero.h>.
16674         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16675         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16676         <fix-int-fp-convert-zero.h>.
16677         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16679         <fix-int-fp-convert-zero.h>.
16680         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16681         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16682         <fix-int-fp-convert-zero.h>.
16683         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16684         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16685         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16686         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16687         file.
16688         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16690 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16692         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16694 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #19059]
16697         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16698         overflowing computation.
16699         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16700         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16701         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16702         Likewise.
16703         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16704         Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16706         Likewise.
16707         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16708         Likewise.
16709         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16710         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16711         Likewise.
16712         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16713         Likewise.
16714         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16716         * nss/rewrite_field.c (__nss_rewrite_field): Use
16717         internal_function.
16718         * nss/valid_field.c (__nss_valid_field): Likewise.
16719         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16721 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16723         [BZ #18724]
16724         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16725         (__nss_invalid_field_characters, __nss_valid_field)
16726         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16727         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16728         tst-field.c: New file.
16729         * nss/Makefile (routines): Add valid_field, rewrite_field.
16730         (tests-static): Define unconditionally.
16731         (tests): Include tests-static.
16732         [build-static-nss] (tests-static): Use append.
16733         [build-static-nss] (tests): Remove modification.
16734         * nss/getent.c (print_group): Call putgrent.  Report error.
16735         (print_gshadow): Call putsgent.  Report error.
16736         (print_passwd): Call putpwent.  Report error.
16737         (print_shadow): Call putspent.  Report error.
16738         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16739         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16740         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16741         name, password, directory, shell fields for valid syntax.  Rewrite
16742         GECOS field to match syntax.
16743         * pwd/Makefile (tests): Add tst-putpwent.
16744         * pwd/tst-putpwent.c: New file.
16745         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16746         Check grName, grpasswd, gr_mem fields for valid syntax.
16747         Change loop variable i to size_t.
16748         * grp/Makefile (tests): Add tst-putgrent.
16749         * grp/tst-putgrent.c: New file.
16750         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16751         valid syntax.
16752         * shadow/Makefile (tests): Add tst-putspent.
16753         * shadow/tst-putspent.c: New file.
16754         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16755         sg_mem fields for valid syntax.
16756         * gshadow/Makefile (tests): Add tst-putsgent.
16757         * gshadow/tst-putsgent.c: New file.
16759 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16761         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16762         assembly instructions.
16764 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16766         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16767         prefix from operands.
16769 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16771         [BZ #16347]
16772         [BZ #19046]
16773         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16774         <libc-internal.h>.
16775         (MAXLGM): Do not use diagnostic control macros.
16776         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16777         threshold for ldbl-128ibm.
16778         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16779         instead of multiplying by log then subtracting.
16780         * math/auto-libm-test-in: Add more tests of lgamma.
16781         * math/auto-libm-test-out: Regenerated.
16783         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16784         (TYPE_HEX_DIG): Likewise.
16785         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16786         precisions when printing floating-point numbers.
16787         (check_float_internal): Likewise.
16789 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16791         [BZ #16620]
16792         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16793         of log (10) rounded downward to 48 bits.
16794         (log10_low): Use corresponding low part of log (10).
16796         [BZ #19032]
16797         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16798         compute result as (x - x) / (x - x) not as 0 / 0.
16799         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16800         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16802         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16803         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16804         and expm1.
16805         * math/auto-libm-test-out: Regenerated.
16806         * math/libm-test.inc (acos_test_data): Add more tests.
16807         (asin_test_data): Likewise.
16808         (asinh_test_data): Likewise.
16809         (atan_test_data): Likewise.
16810         (atanh_test_data): Likewise.
16811         (atan2_test_data): Likewise.
16812         (cbrt_test_data): Likewise.
16813         (ceil_test_data): Likewise.
16814         (copysign_test_data): Likewise.
16815         (cos_test_data): Likewise.
16816         (cosh_test_data): Likewise.
16817         (erf_test_data): Likewise.
16818         (erfc_test_data): Likewise.
16819         (exp_test_data): Likewise.
16820         (exp10_test_data): Likewise.
16821         (exp2_test_data): Likewise.
16822         (expm1_test_data): Likewise.
16823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16825 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16827         [BZ #19006]
16828         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16829         to ...
16830         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16831         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16832         to ...
16833         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16834         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16835         to ...
16836         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16837         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16838         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16839         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16840         to ...
16841         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16842         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16843         Moved to ...
16844         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16845         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16846         Moved to ...
16847         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16848         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16849         to ...
16850         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16851         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16852         Moved to ...
16853         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16854         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16855         to ...
16856         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16857         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16858         Removed.
16859         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16864         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16865         Likewise.
16866         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16867         Likewise.
16868         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16869         Likewise.
16870         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16871         Likewise.
16872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16873         Likewise.
16874         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16875         Likewise.
16876         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16877         Likewise.
16878         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16879         Likewise.
16880         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16881         Likewise.
16882         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16883         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16884         Likewise.
16885         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16886         Likewise.
16887         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16888         Likewise.
16889         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16890         Likewise.
16891         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16892         Likewise.
16893         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16894         Replace ../i486/pthread_cond_timedwait.S with
16895         ../pthread_cond_timedwait.S.
16897 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16899         * math/libm-test.inc (acos_test_data): Refine expectations for
16900         errno and "inexact" exceptions.
16901         (acosh_test_data): Likewise.
16902         (asin_test_data): Likewise.
16903         (asinh_test_data): Likewise.
16904         (atan_test_data): Likewise.
16905         (atanh_test_data): Likewise.
16906         (atan2_test_data): Likewise.
16907         (cbrt_test_data): Likewise.
16908         (ceil_test_data): Likewise.
16909         (copysign_test_data): Likewise.
16910         (cosh_test_data): Likewise.
16911         (erf_test_data): Likewise.
16912         (erfc_test_data): Likewise.
16913         (exp_test_data): Likewise.
16914         (exp10_test_data): Likewise.
16915         (exp2_test_data): Likewise.
16916         (expm1_test_data): Likewise.
16917         (fabs_test_data): Likewise.
16918         (floor_test_data): Likewise.
16919         (fma_test_data): Likewise.
16920         (fmax_test_data): Likewise.
16921         (fmin_test_data): Likewise.
16922         (fmod_test_data): Likewise.
16923         (fpclassify_test_data): Likewise.
16924         (frexp_test_data): Likewise.
16925         (hypot_test_data): Likewise.
16926         (ilogb_test_data): Likewise.
16927         (isgreater_test_data): Likewise.
16928         (isgreaterequal_test_data): Likewise.
16929         (isinf_test_data): Likewise.
16930         (isless_test_data): Likewise.
16931         (islessequal_test_data): Likewise.
16932         (islessgreater_test_data): Likewise.
16933         (isnan_test_data): Likewise.
16934         (isnormal_test_data): Likewise.
16935         (issignaling_test_data): Likewise.
16936         (isunordered_test_data): Likewise.
16937         (j0_test_data): Likewise.
16938         (j1_test_data): Likewise.
16939         (jn_test_data): Likewise.
16940         (lgamma_test_data): Likewise.
16941         (lrint_test_data): Likewise.
16942         (llrint_test_data): Likewise.
16943         (log_test_data): Likewise.
16944         (log10_test_data): Likewise.
16945         (log1p_test_data): Likewise.
16946         (log2_test_data): Likewise.
16947         (logb_test_data): Likewise.
16948         (lround_test_data): Likewise.
16949         (llround_test_data): Likewise.
16950         (modf_test_data): Likewise.
16951         (nearbyint_test_data): Likewise.
16952         (nextafter_test_data): Likewise.
16953         (nexttoward_test_data): Likewise.
16954         (pow_test_data): Likewise.
16955         (remainder_test_data): Likewise.
16956         (remquo_test_data): Likewise.
16957         (rint_test_data): Likewise.
16958         (round_test_data): Likewise.
16959         (signbit_test_data): Likewise.
16960         (sinh_test_data): Likewise.
16961         (sqrt_test_data): Likewise.
16962         (tanh_test_data): Likewise.
16963         (tgamma_test_data): Likewise.
16964         (trunc_test_data): Likewise.
16965         (y0_test_data): Likewise.
16966         (y1_test_data): Likewise.
16967         (yn_test_data): Likewise.
16968         (significand_test_data): Likewise.
16970 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16972         * manual/filesys.texi (Storage Allocation): Document that
16973         posix_fallocate emulation fails when fd is open with O_WRONLY.
16975 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16977         [BZ #19016]
16978         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16979         allow more cases with X^2 + Y^2 >= 0.5.
16980         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16981         normal element in sum instead of special-casing based on values of
16982         arguments.
16983         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16984         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16985         -1 as normal element in sum instead of special-casing based on
16986         values of arguments.
16987         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16988         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16989         (__x2y2m1): Update comment.
16990         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16991         as normal element in sum instead of special-casing based on values
16992         of arguments.
16993         * math/s_clog.c (__clog): Handle more cases using log1p without
16994         hypot.
16995         * math/s_clog10.c (__clog10): Likewise.
16996         * math/s_clog10f.c (__clog10f): Likewise.
16997         * math/s_clog10l.c (__clog10l): Likewise.
16998         * math/s_clogf.c (__clogf): Likewise.
16999         * math/s_clogl.c (__clogl): Likewise.
17000         * math/auto-libm-test-in: Add more tests of clog and clog10.
17001         * math/auto-libm-test-out: Regenerated.
17002         * sysdeps/i386/fpu/libm-test-ulps: Update.
17003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17005 2015-09-28  Martin Sebor  <msebor@redhat.com>
17007         [BZ #18969]
17008         * string/Makefile (LOCALES): Define.
17009         (gen-locales.mk): Include.
17010         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17011         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17012         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17013         on setlocale failure.
17015 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17017         [BZ #18985]
17018         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17019         (__strftime_internal): Likewise.
17020         * time/tst-strftime.c (do_bz18985): New test.
17021         (do_test): Call it.
17023 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17025         [BZ #18956]
17026         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17027         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17028         extracting high part.
17029         * math/auto-libm-test-in: Add another test of pow.
17030         * math/auto-libm-test-out: Regenerated.
17031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17033 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17035         [BZ #18825]
17036         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17037         New macro.
17038         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17039         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17040         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17041         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17042         DBL_NARROW_EVAL, reloading the PIC register as needed.
17043         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17044         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17045         FLT_NARROW_EVAL.  Use separate return path for case when first
17046         argument is NaN.
17047         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17048         DEFINE_LDBL_MIN.
17049         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17050         PIC register.
17051         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17052         math_check_force_underflow_nonneg.
17053         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17054         underflow for subnormal result.
17055         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17056         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17057         math_check_force_underflow_nonneg.
17058         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17059         math_check_force_underflow.
17060         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17061         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17062         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17063         DEFINE_LDBL_MIN.
17064         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17065         * math/auto-libm-test-in: Add more tests of pow.
17066         * math/auto-libm-test-out: Regenerated.
17068 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17070         * nss/bug17079.c (init_test_items): Add diagnostic for
17071         inconsistent entries.
17072         (test_buffer_size): Skip inconsistent entries.
17074 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17076         [BZ #13304]
17077         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17078         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17079         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17081         [BZ #13304]
17082         * sysdeps/microblaze/s_fma.c: New file.
17083         * sysdeps/microblaze/s_fmaf.c: Likewise.
17084         * sysdeps/microblaze/sfp-machine.h: Likewise.
17086 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17088         [BZ #17250]
17089         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17090         member.
17092 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17094         [BZ #18803]
17095         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17096         (MO): New macro.
17097         (__ieee754_hypot) [PIC]: Load PIC register.
17098         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17099         DBL_NARROW_EVAL.
17100         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17101         math_check_force_underflow_nonneg in case where result might be
17102         tiny.
17103         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17104         Likewise.
17105         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17106         Likewise.
17107         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17108         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17109         * math/auto-libm-test-in: Add more tests of hypot.
17110         * math/auto-libm-test-out: Regenerated.
17112 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17114         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17116 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17118         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17119         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17120         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17121         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17122         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17123         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17124         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17126         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17127         LOAD_PIC_REG.
17129         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17130         (FLT_CHECK_FORCE_UFLOW): Likewise.
17131         (DBL_CHECK_FORCE_UFLOW): Likewise.
17132         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17133         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17134         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17135         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17136         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17137         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17138         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17139         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17140         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17141         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17142         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17143         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17144         (flt_min): Replace with use of DEFINE_FLT_MIN.
17145         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17146         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17147         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17148         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17149         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17150         (flt_min): Replace with use of DEFINE_FLT_MIN.
17151         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17152         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17153         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17154         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17155         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17156         (flt_min): Replace with use of DEFINE_FLT_MIN.
17157         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17158         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17159         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17160         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17161         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17162         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17163         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17164         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17165         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17166         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17167         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17168         (flt_min): Replace with use of DEFINE_FLT_MIN.
17169         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17170         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17171         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17172         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17173         main computation.
17174         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17175         (flt_min): Replace with use of DEFINE_FLT_MIN.
17176         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17177         main computation.
17178         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17179         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17180         (MO): New macro.
17181         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17182         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17183         (flt_min): Replace with use of DEFINE_FLT_MIN.
17184         (MO): New macro.
17185         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17186         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17187         (__log1pl): Use MO.
17189         [BZ #19003]
17190         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17191         $(config-cflags-nofma).
17193 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17195         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17197 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17199         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17200         (TWO127): Likewise.
17202         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17203         (min_of_type): Likewise.
17204         (math_check_force_underflow): Likewise.
17205         (math_check_force_underflow_nonneg): Likewise.
17206         (math_check_force_underflow_complex): Likewise.
17207         * math/e_exp2l.c (__ieee754_exp2l): Use
17208         math_check_force_underflow_nonneg.
17209         * math/k_casinh.c (__kernel_casinh): Likewise.
17210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17212         * math/s_catan.c (__catan): Use
17213         math_check_force_underflow_complex.
17214         * math/s_catanf.c (__catanf): Likewise.
17215         * math/s_catanh.c (__catanh): Likewise.
17216         * math/s_catanhf.c (__catanhf): Likewise.
17217         * math/s_catanhl.c (__catanhl): Likewise.
17218         * math/s_catanl.c (__catanl): Likewise.
17219         * math/s_ccosh.c (__ccosh): Likewise.
17220         * math/s_ccoshf.c (__ccoshf): Likewise.
17221         * math/s_ccoshl.c (__ccoshl): Likewise.
17222         * math/s_cexp.c (__cexp): Likewise.
17223         * math/s_cexpf.c (__cexpf): Likewise.
17224         * math/s_cexpl.c (__cexpl): Likewise.
17225         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17226         * math/s_clog10.c (__clog10): Likewise.
17227         * math/s_clog10f.c (__clog10f): Likewise.
17228         * math/s_clog10l.c (__clog10l): Likewise.
17229         * math/s_clogf.c (__clogf): Likewise.
17230         * math/s_clogl.c (__clogl): Likewise.
17231         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17232         * math/s_csinf.c (__csinf): Likewise.
17233         * math/s_csinh.c (__csinh): Likewise.
17234         * math/s_csinhf.c (__csinhf): Likewise.
17235         * math/s_csinhl.c (__csinhl): Likewise.
17236         * math/s_csinl.c (__csinl): Likewise.
17237         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17238         * math/s_csqrtf.c (__csqrtf): Likewise.
17239         * math/s_csqrtl.c (__csqrtl): Likewise.
17240         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17241         * math/s_ctanf.c (__ctanf): Likewise.
17242         * math/s_ctanh.c (__ctanh): Likewise.
17243         * math/s_ctanhf.c (__ctanhf): Likewise.
17244         * math/s_ctanhl.c (__ctanhl): Likewise.
17245         * math/s_ctanl.c (__ctanl): Likewise.
17246         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17247         instead of volatile.
17248         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17249         math_check_force_underflow.
17250         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17251         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17252         volatile when forcing underflow.
17253         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17254         math_check_force_underflow_nonneg.
17255         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17256         Likewise.
17257         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17258         math_check_force_underflow.
17259         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17260         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17261         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17262         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17263         math_check_force_underflow_nonneg.
17264         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17265         math_check_force_underflow.
17266         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17268         instead of volatile.
17269         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17270         math_check_force_underflow.
17271         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17272         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17273         math_check_force_underflow_nonneg.
17274         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17275         math_check_force_underflow.
17276         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17277         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17278         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17279         math_check_force_underflow_nonneg.
17280         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17281         Likewise.
17282         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17283         math_check_force_underflow.
17284         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17285         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17286         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17287         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17288         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17289         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17290         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17291         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17292         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17293         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17294         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17295         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17296         Likewise.
17297         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17298         math_check_force_underflow_nonneg.
17299         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17300         Likewise.
17301         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17302         math_check_force_underflow.
17303         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17304         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17305         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17306         Likewise.
17307         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17308         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17309         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17310         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17311         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17312         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17314         instead of volatile.
17315         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17316         math_check_force_underflow.
17317         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17318         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17319         math_check_force_underflow.
17320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17321         Likewise.
17322         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17323         Use math_check_force_underflow_nonneg.
17324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17325         math_check_force_underflow.
17326         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17327         Likewise.
17328         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17329         Likewise.
17330         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17332         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17334         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17335         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17336         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17337         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17338         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17339         math_check_force_underflow_nonneg.
17340         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17341         math_check_force_underflow.
17342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17343         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17344         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17345         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17346         math_check_force_underflow_nonneg.
17347         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17348         math_check_force_underflow.
17349         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17351         instead of volatile.
17352         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17353         math_check_force_underflow.
17355         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17356         * stdlib/strtod_l.c: Include <math_private.h>.
17357         (overflow_value): Use math_narrow_eval.
17358         (underflow_value): Likewise.
17359         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17360         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17361         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17362         (__ieee754_gamma_r): Likewise.
17363         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17364         Likewise.
17365         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17366         Likewise.
17367         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17368         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17369         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17370         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17371         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17372         (__ieee754_gammaf_r): Likewise.
17373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17374         Likewise.
17375         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17376         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17377         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17378         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17379         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17380         volatile.
17381         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17383         math_narrow_eval.
17384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17385         Likewise.
17386         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17387         Likewise.
17388         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17389         Likewise.
17390         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17391         volatile.
17392         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17393         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17394         math_narrow_eval.
17395         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17396         Likewise.
17397         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17398         Likewise.
17400 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17402         * nptl/Versions: Remove ignored symbols.
17404 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17406         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17407         * nss/Makefile (tests): Update.
17409 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17411         * nss/bug18287.c: New file.
17412         * nss/Makefile (tests): Add bug18287.
17414 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17416         * mach/Versions (__mach_host_self_): Add symbol.
17418 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17420         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17421         vm_page_size.
17423 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17425         Really fix sysdeps/i386/fpu/s_scalbn.S build
17427         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17428         (libc: GLIBC_2_22): Remove unused version set.
17430 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17432         * config.make.in (enable-timezone-tools): New variable.
17433         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17434         (enable_timezone_tools): Export to generated files.
17435         * configure: Regenerate.
17436         * INSTALL: Regenerate.
17437         * manual/install.texi (--disable-timezone-tools): Document new flag.
17438         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17439         ifeq ($(enable-timezone-tools),yes) check.
17441 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17443         * timezone/Makefile: Revert previous change.
17445         [BZ #18980]
17446         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17447         (DEFINE_DBL_MIN): Likewise.
17448         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17449         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17450         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17451         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17452         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17453         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17454         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17455         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17456         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17457         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17458         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17459         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17460         (flt_min): Replace with use of DEFINE_FLT_MIN.
17461         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17462         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17463         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17464         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17465         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17466         (flt_min): Replace with use of DEFINE_FLT_MIN.
17467         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17468         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17469         (flt_min): Replace with use of DEFINE_FLT_MIN.
17470         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17471         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17472         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17473         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17474         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17475         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17476         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17477         (__ieee754_pow): Use DBL_NARROW_EVAL.
17478         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17479         (__ieee754_powf): Use FLT_NARROW_EVAL.
17480         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17481         (__ieee754_expf_sse2): Convert double-precision result to single
17482         precision.
17483         * sysdeps/i386/fpu/libm-test-ulps: Update.
17485 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17487         * timezone/Makefile: Ignore unused variable errors due to private.h
17488         (time_t_min) and (time_t_max).
17489         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17490         Likewise.
17492 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17494         [BZ #18981]
17495         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17496         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17497         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17498         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17499         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17500         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17501         (__scalbn): Use DBL_NARROW_EVAL.
17502         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17503         (__scalbnf): Use FLT_NARROW_EVAL.
17505 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17507         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17508         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17509         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17510         * stdio-common/printf_fp.c (___printf_fp):
17511         Use signbit to get the sign. Use isinf macro to allow inlining.
17512         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17513         * stdio-common/printf_size.c (__printf_size): Likewise.
17515 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17517         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17519 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17521         [BZ #18980]
17522         * sysdeps/generic/math_private.h: Include <float.h>.
17523         (math_narrow_eval): New macro.
17524         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17525         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17526         math_narrow_eval on overflowing return value.
17527         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17528         Likewise.
17529         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17530         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17531         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17532         Likewise.
17533         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17535 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17537         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17538         * math/Makefile: Remove isinf_ns.c.
17539         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17540         * math/multc3.c (__multc3): Likewise.
17541         * math/s_casin.c (__casin): Likewise.
17542         * math/s_casinf.c (__casinf): Likewise.
17543         * math/s_casinl.c (__casinl): Likewise.
17544         * math/s_cproj.c (__cproj): Likewise.
17545         * math/s_cprojf.c (__cprojf): Likewise.
17546         * math/s_cprojl.c (__cprofl): Likewise.
17547         * math/s_ctan.c (__ctan): Likewise.
17548         * math/s_ctanf.c (__ctanf): Likewise.
17549         * math/s_ctanh.c (__ctanh): Likewise.
17550         * math/s_ctanhf.c (__ctanhf): Likewise.
17551         * math/s_ctanhl.c (__ctanhl): Likewise.
17552         * math/s_ctanl.c (__ctanl): Likewise.
17553         * math/w_fmod.c (__fmod): Likewise.
17554         * math/w_fmodf.c (__fmodf): Likewise.
17555         * math/w_fmodl.c (_fmodl): Likewise.
17556         * math/w_remainder.c (__remainder): Likewise.
17557         * math/w_remainderf.c (__remainderf): Likewise.
17558         * math/w_remainderl.c (__remainderl): Likewise.
17559         * math/w_scalb.c (__scalb): Likewise.
17560         * math/w_scalbf.c (__scalbf): Likewise.
17561         * math/w_scalbl.c (__scalbl): Likewise.
17562         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17563         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17564         with isinf.
17565         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17566         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17567         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17568         __isinf_nsf with isinf.
17569         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17570         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17571         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17572         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17573         with isinf.
17574         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17575         __isinf_nsl with isinf.
17576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17577         with isinf.
17578         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17579         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17580         __isinf_nsl with isinf.
17581         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17582         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17583         with isinf.
17585 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17587         * resolv/base64.c (rcsid): Remove unused static.
17588         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17589         static.  (tqpi1): Likewise.
17590         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17591         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17592         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17593         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17594         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17595         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17596         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17597         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17598         Likewise.
17600 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17602         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17603         <nptl/pthreadP.h>.
17604         (_longjmp_unwind): Use __libc_ptf_call.
17605         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17607 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17609         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17610         * sysdeps/arm/__longjmp.S: Likewise.
17612 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17614         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17615         Use __builtin_signbit.
17616         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17617         Use __builtin_signbitf.
17618         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17619         Use __builtin_signbitl.
17620         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17621         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17623 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17625         [BZ #15367]
17626         [BZ #17441]
17628         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17629         * math/math.h (fpclassify): Use __builtin_fpclassify when
17630         available.  (signbit): Use __builtin_signbit(f/l).
17631         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17632         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17633         (isinf): Use __builtin_isinf_sign.
17635 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17637         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17638         * benchtests/bench-math-inlines.c: New benchmark.
17639         * benchtests/bench-util.h: New file.
17640         * benchtests/bench-util.c: New file.
17641         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17643 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17645         * elf/tst-dlmopen1.c: Define TEST_SO.
17646         (do_test): Use TEST_SO.
17648         * elf/dl-load.c: Include libc-internal.h.
17649         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17651 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17653         [BZ #17887]
17654         * time/strptime_l.c (__strptime_internal): Make %z accept
17655         [+-]HH:MM time zones.
17657 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17659         [BZ #17886]
17660         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17661         valid time zone.
17663 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17665         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17666         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17667         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17668         (__ASSUME_FDATASYNC): Delete.
17670 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17672         * conform/linknamespace.pl: Require weak undefined symbols to be
17673         in the standard namespace.
17674         (%strong_syms): Rename to %seen_syms.
17675         (%strong_seen): Rename to %seen_where.
17677 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17679         [BZ #18970]
17680         * misc/error.c (error): Replace pthread_setcancelstate with
17681         __pthread_setcancelstate.
17682         (error_at_line): Likewise.
17683         * posix/wordexp.c (parse_comm): Likewise.
17684         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17685         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17686         (__pthread_setcancelstate): This.
17687         (pthread_setcancelstate): Add an alias.
17688         * nptl/nptl-init.c (pthread_functions): Replace
17689         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17690         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17691         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17692         hidden_proto.
17693         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17694         it with hidden_def.
17695         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17696         (pthread_setcancelstate): Renamed to ...
17697         (__pthread_setcancelstate): This.
17698         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17699         __libc_ptf_call with __pthread_setcancelstate.
17701 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17702             Andreas Schwab  <schwab@suse.de>
17704         [BZ #17118]
17705         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17706         result when imaginary part of argument is infinite using sine and
17707         cosine.
17708         * math/s_ctanf.c (__ctanf): Likewise.
17709         * math/s_ctanl.c (__ctanl): Likewise.
17710         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17711         of result when real part of argument is infinite using sine and
17712         cosine.
17713         * math/s_ctanhf.c (__ctanhf): Likewise.
17714         * math/s_ctanhl.c (__ctanhl): Likewise.
17715         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17716         (ctanh_test_data): Add more tests of ctanh.
17718 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17720         [BZ #15384]
17721         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17722         bit-mask as in subtraction.
17723         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17724         Likewise.
17725         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17726         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17727         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17729         [BZ #18951]
17730         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17731         underflow exception for small results.
17732         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17733         Likewise.
17734         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17735         Likewise.
17736         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17737         Likewise.
17738         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17739         Likewise.
17740         * math/auto-libm-test-in: Add more tests of tgamma.
17741         * math/auto-libm-test-out: Regenerated.
17743 2015-09-17  Andreas Schwab  <schwab@suse.de>
17745         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17747 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17749         [BZ #18977]
17750         * math/bits/mathcalls.h
17751         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17752         not declare.
17753         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17754         Likewise.
17755         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17756         Likewise.
17757         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17758         Likewise.
17759         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17760         Likewise.
17761         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17762         Likewise.
17763         * conform/data/math.h-data
17764         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17765         function.
17766         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17767         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17768         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17769         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17770         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17771         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17772         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17773         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17774         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17775         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17776         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17778         [BZ #6803]
17779         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17780         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17781         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17782         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17783         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17784         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17785         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17786         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17787         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17789         Likewise.
17790         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17791         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17792         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17794         long_double_symbol calls.
17795         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17796         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17797         strong alias of __ldexpl.
17798         (scalbnl): Define using long_double_symbol.
17799         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17800         Remove alias.
17801         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17802         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17803         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17804         (scalbln_test_data): Add more errno expectations.
17806 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17808         Cache the host port like we cache the task port.  This way we do not
17809         need to call the kernel just to get the port.  Furthermore, we no
17810         longer increase the reference count on every invocation of
17811         `mach_host_self'.
17813         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17814         Protect declarations against the macro expansion.
17815         * mach/mach_init.c (__mach_host_self_): New variable.
17816         (mach_init): Initialize `__mach_host_self_'.
17817         * mach/mach_init.h (__mach_host_self_): New declaration.
17818         (__mach_host_self, mach_host_self): New macros.
17819         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17820         Release reference.
17822 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17824         [BZ #4404]
17825         * po/de.po: Update from Translation Project.
17827         [BZ #16415]
17828         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17829         (__expm1l): Remove code to handle positive infinity and overflow.
17830         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17831         variable.
17832         (__expm1l): Remove code to handle positive infinity and overflow.
17834 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17835             Paul Pluzhnikov  <ppluzhnikov@google.com>
17837         [BZ #18872]
17838         * stdio-common/Makefile (tst-printf-bz18872): New test.
17839         (tst-printf-bz18872-mem.out): Likewise.
17840         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17841         * stdio-common/vfprintf.c: Fix memory leaks.
17843 2015-09-16  Andreas Schwab  <schwab@suse.de>
17845         [BZ #17244]
17846         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17847         Remove extra va_start/va_end calls.
17849         [BZ #17243]
17850         * posix/execl.c (execl): Add missing va_end.
17851         * posix/execle.c (execle): Likewise.
17852         * posix/execlp.c (execlp): Likewise.
17854 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17856         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17857         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17859 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17861         [BZ #18967]
17862         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17863         undefine around includes of <bits/mathcalls.h>.
17864         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17865         not declare function.
17866         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17867         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17868         (scalb): Likewise.
17869         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17870         not define macro.
17871         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17872         variable.
17873         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17874         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17875         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17877         [BZ #18857]
17878         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17879         return non-finite argument without doing ordered comparisons on
17880         it.
17882         [BZ #16296]
17883         * math/fenv.h (fegetround): Use __attribute_pure__.
17884         * include/fenv.h (__fegetround): Likewise.
17886         [BZ #18595]
17887         * math/s_ctan.c (__ctan): Force underflow exception for results
17888         whose real or imaginary part has small absolute value.
17889         * math/s_ctanf.c (__ctanf): Likewise.
17890         * math/s_ctanh.c (__ctanh): Likewise.
17891         * math/s_ctanhf.c (__ctanhf): Likewise.
17892         * math/s_ctanhl.c (__ctanhl): Likewise.
17893         * math/s_ctanl.c (__ctanl): Likewise.
17894         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17895         and ctanh.  Add more tests of ctan and ctanh.
17897         [BZ #15918]
17898         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17899         handling of cases where one argument is an infinity.
17901         [BZ #18875]
17902         [BZ #18966]
17903         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17904         (MO): New macro.
17905         (__ieee754_exp10): For small results, force underflow exception
17906         and remove excess range and precision from return value.
17907         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17908         (MO): New macro.
17909         (__ieee754_exp10f): For small results, force underflow exception
17910         and remove excess range and precision from return value.
17911         * math/auto-libm-test-in: Add more tests of exp10.
17912         * math/auto-libm-test-out: Regenerated.
17914 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17916         [BZ #18875]
17917         [BZ #18961]
17918         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17919         (MO): New macro.
17920         (__ieee754_exp): For small results, force underflow exception and
17921         remove excess range and precision from return value.
17922         (__exp_finite): Likewise.
17923         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17924         (MO): New macro.
17925         (__ieee754_expf): For small results, force underflow exception and
17926         remove excess range and precision from return value.
17927         (__expf_finite): Likewise.
17928         * math/auto-libm-test-in: Add more tests of exp.
17929         * math/auto-libm-test-out: Regenerated.
17931         [BZ #16521]
17932         [BZ #18875]
17933         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17934         small results.
17935         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17936         (MO): New macro.
17937         (__ieee754_exp2): For small results, force underflow exception and
17938         remove excess range and precision from return value.
17939         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17940         (MO): New macro.
17941         (__ieee754_exp2f): For small results, force underflow exception
17942         and remove excess range and precision from return value.
17943         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17944         (MO): New macro.
17945         (__ieee754_exp2l): Force underflow exception for small results.
17946         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17947         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17948         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17949         (MO): New macro.
17950         (__ieee754_exp2l): Force underflow exception for small results.
17951         * math/auto-libm-test-in: Add more tests or exp2.
17952         * math/auto-libm-test-out: Regenerated.
17954 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17956         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17958         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17959         /dev/null.
17961 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17963         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17964         io fs process)): Drop spurious backslash.
17966 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17969         Use sysinfo system call instead of parsing /proc/meminfo.
17970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17971         Likewise.
17973 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17975         [BZ #16985]
17976         * programs/localedef.c (main): Display argv[remaining] when
17977         output_path is NULL.
17979 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17981         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17982         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17983         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17984         tanh.
17985         * math/auto-libm-test-out: Regenerated.
17986         * sysdeps/i386/fpu/libm-test-ulps: Update.
17987         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17988         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17993         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17994         Use 'override' keyword to freeze the value here, preventing
17995         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17997 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17999         [BZ #14912]
18000         * sysdeps/aarch64/bits/atomic.h: Move to ...
18001         * sysdeps/aarch64/atomic-machine.h: ...here.
18002         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18003         _AARCH64_ATOMIC_MACHINE_H.
18004         * sysdeps/alpha/bits/atomic.h: Move to ...
18005         * sysdeps/alpha/atomic-machine.h: ...here.
18006         * sysdeps/arm/bits/atomic.h: Move to ...
18007         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18008         * bits/atomic.h: Move to ...
18009         * sysdeps/generic/atomic-machine.h: ...here.
18010         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18011         * sysdeps/i386/bits/atomic.h: Move to ...
18012         * sysdeps/i386/atomic-machine.h: ...here.
18013         * sysdeps/ia64/bits/atomic.h: Move to ...
18014         * sysdeps/ia64/atomic-machine.h: ...here.
18015         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18016         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18017         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18018         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18019         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18020         * sysdeps/microblaze/bits/atomic.h: Move to ...
18021         * sysdeps/microblaze/atomic-machine.h: ...here.
18022         * sysdeps/mips/bits/atomic.h: Move to ...
18023         * sysdeps/mips/atomic-machine.h: ...here.
18024         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18025         * sysdeps/powerpc/bits/atomic.h: Move to ...
18026         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18027         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18028         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18029         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18030         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18031         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18032         <atomic-machine.h> instead of <bits/atomic.h>.
18033         * sysdeps/s390/bits/atomic.h: Move to ...
18034         * sysdeps/s390/atomic-machine.h: ...here.
18035         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18036         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18037         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18038         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18039         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18040         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18041         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18042         * sysdeps/tile/bits/atomic.h: Move to ...
18043         * sysdeps/tile/atomic-machine.h: ...here.
18044         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18045         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18046         <sysdeps/tile/atomic-machine.h> instead of
18047         <sysdeps/tile/bits/atomic.h>.
18048         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18049         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18050         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18051         <sysdeps/tile/atomic-machine.h> instead of
18052         <sysdeps/tile/bits/atomic.h>.
18053         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18054         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18055         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18056         <sysdeps/arm/atomic-machine.h> instead of
18057         <sysdeps/arm/bits/atomic.h>.
18058         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18059         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18060         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18061         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18062         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18063         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18064         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18065         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18066         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18067         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18068         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18069         * sysdeps/x86_64/bits/atomic.h: Move to ...
18070         * sysdeps/x86_64/atomic-machine.h: ...here.
18071         * include/atomic.h: Include <atomic-machine.h> instead of
18072         <bits/atomic.h>.
18074         * sysdeps/mips/mips32/libm-test-ulps: Update.
18075         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18077         [BZ #18952]
18078         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18079         not convert non-integer negative arguments to int to determine the
18080         value of signgam.
18081         * math/auto-libm-test-in: Add more tests of lgamma.
18082         * math/auto-libm-test-out: Regenerated.
18084         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18085         cosh, csqrt, erfc, expm1 and lgamma.
18086         * math/auto-libm-test-out: Regenerated.
18087         * sysdeps/i386/fpu/libm-test-ulps: Update.
18088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18090 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18092         [BZ #2542]
18093         [BZ #2543]
18094         [BZ #2558]
18095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18096         __lgamma_neg for arguments from -28.0 to -2.0.
18097         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18098         __lgamma_negf for arguments from -15.0 to -2.0.
18099         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18100         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18101         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18102         Call __lgamma_negl for arguments from -33.0 to -2.0.
18103         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18104         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18105         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18106         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18107         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18108         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18109         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18110         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18111         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18112         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18113         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18114         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18115         (__lgamma_neg): Likewise.
18116         (__lgamma_negl): Likewise.
18117         (__lgamma_product): Likewise.
18118         (__lgamma_productl): Likewise.
18119         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18120         * math/auto-libm-test-in: Add more tests of lgamma.
18121         * math/auto-libm-test-out: Regenerated.
18122         * sysdeps/i386/fpu/libm-test-ulps: Update.
18123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18125 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18127         [BZ #18675]
18128         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18130 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18132         [BZ #14912]
18133         * bits/libc-lock.h: Move to ...
18134         * sysdeps/generic/libc-lock.h: ...here.
18135         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18136         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18137         * sysdeps/mach/hurd/libc-lock.h: ...here.
18138         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18139         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18140         * sysdeps/mach/bits/libc-lock.h: Move to ...
18141         * sysdeps/mach/libc-lock.h: ...here.
18142         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18143         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18144         * sysdeps/nptl/libc-lock.h: ...here.
18145         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18146         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18147         * sysdeps/nptl/libc-lockP.h: ...here.
18148         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18149         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18150         <bits/libc-lock.h>.
18151         * dirent/scandir-tail.c: Likewise.
18152         * dlfcn/dlerror.c: Likewise.
18153         * elf/dl-close.c: Likewise.
18154         * elf/dl-iteratephdr.c: Likewise.
18155         * elf/dl-lookup.c: Likewise.
18156         * elf/dl-open.c: Likewise.
18157         * elf/dl-support.c: Likewise.
18158         * elf/dl-writev.h: Likewise.
18159         * elf/rtld.c: Likewise.
18160         * grp/fgetgrent.c: Likewise.
18161         * gshadow/fgetsgent.c: Likewise.
18162         * gshadow/sgetsgent.c: Likewise.
18163         * iconv/gconv_conf.c: Likewise.
18164         * iconv/gconv_db.c: Likewise.
18165         * iconv/gconv_dl.c: Likewise.
18166         * iconv/gconv_int.h: Likewise.
18167         * iconv/gconv_trans.c: Likewise.
18168         * include/link.h: Likewise.
18169         * inet/getnameinfo.c: Likewise.
18170         * inet/getnetgrent.c: Likewise.
18171         * inet/getnetgrent_r.c: Likewise.
18172         * intl/bindtextdom.c: Likewise.
18173         * intl/dcigettext.c: Likewise.
18174         * intl/finddomain.c: Likewise.
18175         * intl/gettextP.h: Likewise.
18176         * intl/loadmsgcat.c: Likewise.
18177         * intl/localealias.c: Likewise.
18178         * intl/textdomain.c: Likewise.
18179         * libidn/idn-stub.c: Likewise.
18180         * libio/libioP.h: Likewise.
18181         * locale/duplocale.c: Likewise.
18182         * locale/freelocale.c: Likewise.
18183         * locale/newlocale.c: Likewise.
18184         * locale/setlocale.c: Likewise.
18185         * login/getutent_r.c: Likewise.
18186         * login/getutid_r.c: Likewise.
18187         * login/getutline_r.c: Likewise.
18188         * login/utmp-private.h: Likewise.
18189         * login/utmpname.c: Likewise.
18190         * malloc/mtrace.c: Likewise.
18191         * misc/efgcvt.c: Likewise.
18192         * misc/error.c: Likewise.
18193         * misc/fstab.c: Likewise.
18194         * misc/getpass.c: Likewise.
18195         * misc/mntent.c: Likewise.
18196         * misc/syslog.c: Likewise.
18197         * nis/nis_call.c: Likewise.
18198         * nis/nis_callback.c: Likewise.
18199         * nis/nss-default.c: Likewise.
18200         * nis/nss_compat/compat-grp.c: Likewise.
18201         * nis/nss_compat/compat-initgroups.c: Likewise.
18202         * nis/nss_compat/compat-pwd.c: Likewise.
18203         * nis/nss_compat/compat-spwd.c: Likewise.
18204         * nis/nss_nis/nis-alias.c: Likewise.
18205         * nis/nss_nis/nis-ethers.c: Likewise.
18206         * nis/nss_nis/nis-grp.c: Likewise.
18207         * nis/nss_nis/nis-hosts.c: Likewise.
18208         * nis/nss_nis/nis-network.c: Likewise.
18209         * nis/nss_nis/nis-proto.c: Likewise.
18210         * nis/nss_nis/nis-pwd.c: Likewise.
18211         * nis/nss_nis/nis-rpc.c: Likewise.
18212         * nis/nss_nis/nis-service.c: Likewise.
18213         * nis/nss_nis/nis-spwd.c: Likewise.
18214         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18215         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18216         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18217         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18218         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18219         * nis/nss_nisplus/nisplus-network.c: Likewise.
18220         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18221         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18222         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18223         * nis/nss_nisplus/nisplus-service.c: Likewise.
18224         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18225         * nis/ypclnt.c: Likewise.
18226         * nptl/libc_pthread_init.c: Likewise.
18227         * nss/getXXbyYY.c: Likewise.
18228         * nss/getXXent.c: Likewise.
18229         * nss/getXXent_r.c: Likewise.
18230         * nss/nss_db/db-XXX.c: Likewise.
18231         * nss/nss_db/db-netgrp.c: Likewise.
18232         * nss/nss_db/nss_db.h: Likewise.
18233         * nss/nss_files/files-XXX.c: Likewise.
18234         * nss/nss_files/files-alias.c: Likewise.
18235         * nss/nsswitch.c: Likewise.
18236         * posix/regex_internal.h: Likewise.
18237         * posix/wordexp.c: Likewise.
18238         * pwd/fgetpwent.c: Likewise.
18239         * resolv/res_hconf.c: Likewise.
18240         * resolv/res_libc.c: Likewise.
18241         * shadow/fgetspent.c: Likewise.
18242         * shadow/lckpwdf.c: Likewise.
18243         * shadow/sgetspent.c: Likewise.
18244         * socket/opensock.c: Likewise.
18245         * stdio-common/reg-modifier.c: Likewise.
18246         * stdio-common/reg-printf.c: Likewise.
18247         * stdio-common/reg-type.c: Likewise.
18248         * stdio-common/vfprintf.c: Likewise.
18249         * stdio-common/vfscanf.c: Likewise.
18250         * stdlib/abort.c: Likewise.
18251         * stdlib/cxa_atexit.c: Likewise.
18252         * stdlib/fmtmsg.c: Likewise.
18253         * stdlib/random.c: Likewise.
18254         * stdlib/setenv.c: Likewise.
18255         * string/strsignal.c: Likewise.
18256         * sunrpc/auth_none.c: Likewise.
18257         * sunrpc/bindrsvprt.c: Likewise.
18258         * sunrpc/create_xid.c: Likewise.
18259         * sunrpc/key_call.c: Likewise.
18260         * sunrpc/rpc_thread.c: Likewise.
18261         * sysdeps/arm/backtrace.c: Likewise.
18262         * sysdeps/generic/ldsodefs.h: Likewise.
18263         * sysdeps/generic/stdio-lock.h: Likewise.
18264         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18265         * sysdeps/i386/backtrace.c: Likewise.
18266         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18267         * sysdeps/m68k/backtrace.c: Likewise.
18268         * sysdeps/mach/hurd/cthreads.c: Likewise.
18269         * sysdeps/mach/hurd/dirstream.h: Likewise.
18270         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18271         * sysdeps/nptl/malloc-machine.h: Likewise.
18272         * sysdeps/nptl/stdio-lock.h: Likewise.
18273         * sysdeps/posix/dirstream.h: Likewise.
18274         * sysdeps/posix/getaddrinfo.c: Likewise.
18275         * sysdeps/posix/system.c: Likewise.
18276         * sysdeps/pthread/aio_suspend.c: Likewise.
18277         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18278         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18279         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18280         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18281         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18282         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18283         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18284         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18285         * sysdeps/unix/sysv/linux/system.c: Likewise.
18286         * sysdeps/x86_64/backtrace.c: Likewise.
18287         * time/alt_digit.c: Likewise.
18288         * time/era.c: Likewise.
18289         * time/tzset.c: Likewise.
18290         * wcsmbs/wcsmbsload.c: Likewise.
18291         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18292         instead of <bits/libc-lock.h> in comment.
18294 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18296         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18297         Only use .set mips2 if the current ISA is below mips2.
18298         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18299         Likewise.
18300         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18301         mips32r2 if the current ISA is below mips32r2.
18302         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18303         (TLS_IE): Updated to use the TLD_RDHWR macro.
18304         (TLS_LE): Likewise.
18305         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18306         __ASSEMBLER__ condition.
18308 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18310         Fix parallel build of before-compile targets.
18312         * sysdeps/mach/Makefile ($(patsubst
18313         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18314         mach-before-compile target.
18315         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18316         io fs process)): Move rule to dedicated hurd-before-compile target.
18318 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18320         Fix rules generating headers in hurd/ and mach/ when initial make call
18321         has subdir= explicitly set.
18323         * sysdeps/mach/Makefile ($(patsubst
18324         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18325         calling $(MAKE).
18326         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18327         io fs process)): Force subdir to hurd when calling $(MAKE).
18328         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18329         subdir to mach when calling $(MAKE).
18331 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18333         Check sysheaders when looking for Mach and Hurd headers
18335         * sysdeps/mach/configure.ac: Add sysheaders check.
18336         * sysdeps/mach/configure: Regenerate.
18337         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18338         * sysdeps/mach/hurd/configure: Regenerate.
18340 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18342         [BZ #18921]
18343         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18344         Fix inverted sense of test of 'o_directory_works' value.
18345         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18346         Bernhard Voelker <mail@bernhard-voelker.de>.
18348 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18350         [BZ #14912]
18351         * bits/linkmap.h: Move to ...
18352         * sysdeps/generic/linkmap.h: ...here.
18353         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18354         * sysdeps/aarch64/linkmap.h: ...here.
18355         * sysdeps/arm/bits/linkmap.h: Move to ...
18356         * sysdeps/arm/linkmap.h: ...here.
18357         * sysdeps/hppa/bits/linkmap.h: Move to ...
18358         * sysdeps/hppa/linkmap.h: ...here.
18359         * sysdeps/ia64/bits/linkmap.h: Move to ...
18360         * sysdeps/ia64/linkmap.h: ...here.
18361         * sysdeps/mips/bits/linkmap.h: Move to ...
18362         * sysdeps/mips/linkmap.h: ...here.
18363         * sysdeps/s390/bits/linkmap.h: Move to ...
18364         * sysdeps/s390/linkmap.h: ...here.
18365         * sysdeps/sh/bits/linkmap.h: Move to ...
18366         * sysdeps/sh/linkmap.h: ...here.
18367         * sysdeps/x86/bits/linkmap.h: Move to ...
18368         * sysdeps/x86/linkmap.h: ...here.
18369         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18371 2015-09-04  Andreas Schwab  <schwab@suse.de>
18373         [BZ #18635]
18374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18375         (__makecontext): Terminate FDE before return label.
18376         (__novec_makecontext): Likewise.
18378 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18380         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18381         first member of struct sv in syscall macro.
18383 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18385         [BZ #14912]
18386         * bits/stdio-lock.h: Move to ...
18387         * sysdeps/generic/stdio-lock.h: ...here.
18388         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18389         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18390         * sysdeps/nptl/stdio-lock.h: ...here.
18391         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18392         * include/libio.h: Include <stdio-lock.h> instead of
18393         <bits/stdio-lock.h>.
18394         * sysdeps/nptl/fork.c: Likewise.
18395         * sysdeps/pthread/flockfile.c: Likewise.
18396         * sysdeps/pthread/ftrylockfile.c: Likewise.
18397         * sysdeps/pthread/funlockfile.c: Likewise.
18399         [BZ #14912]
18400         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18401         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18402         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18403         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18404         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18405         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18406         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18408 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18410         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18411         (test-xfail-tst-protected1b): New variable.
18413 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18415         [BZ #14912]
18416         * bits/libc-tsd.h: Move to ...
18417         * sysdeps/generic/libc-tsd.h: ...here.
18418         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18419         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18420         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18421         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18422         * include/ctype.h: Include <libc-tsd.h> instead of
18423         <bits/libc-tsd.h>.
18424         * include/rpc/rpc.h: Likewise.
18425         * locale/localeinfo.h: Likewise.
18426         * sunrpc/rpc_thread.c: Likewise.
18427         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18428         * sysdeps/nptl/malloc-machine.h: Likewise.
18430         * Makefile (headers): Remove bits/libc-lock.h.
18431         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18433         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18434         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18435         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18436         <bits/stdio-lock.h>.
18437         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18438         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18440 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18442         [BZ #18757]
18443         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18444         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18445         BZ #18757.
18447 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18449         * malloc/mtrace.pl: Filter out NULL entries.
18451 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18453         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18454         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18455         macro.
18457         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18458         (TCP_CC_INFO): Likewise.
18459         (TCP_SAVE_SYN): Likewise.
18460         (TCP_SAVED_SYN): Likewise.
18462 2015-08-31  Brett Neumeier <brett@neumeier.us>
18464         [BZ #18870]
18465         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18467 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18469         [BZ #18873]
18470         Fix broken overflow check in posix_fallocate
18471         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18472         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18473         Fix parenthesization typo.
18475 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18477         [BZ #18887]
18478         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18479         tst-mntent-blank-passno.
18480         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18481         * misc/tst-mntent-blank-corrupt.c: New test.
18482         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18483         * misc/tst-mntent.c (do_test): ... here.
18485 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18487         [BZ #4404]
18488         * po/de.po: Fix SIGALRM typo.
18490 2015-08-28  James Perkins  <james@loowit.net>
18492         * time/tst-strptime2.c (tests): Replace short list of test
18493         strings for strptime %z specifier with code which exhaustively
18494         tests every combination of sign and 0 to 5 digits. Tests for
18495         rejection of invalid strings.
18497 2015-08-28  James Perkins  <james@loowit.net>
18499         [BZ #16141]
18500         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18501         calculation, removing incorrect decimal time rounding, so that
18502         all minute values result in a valid seconds value.
18503         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18504         offset range limits to UTC-99:59 through UTC+99:59 to parse
18505         current and historical use cases.
18506         * time/tst-strptime2.c (tests): Modify and add tests for the
18507         strptime %z input field descriptor, specifically conversion of
18508         minutes to seconds and validating an offset range of -9959 to
18509         +9959.
18511 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18512             Dmitry V. Levin  <ldv@altlinux.org>
18514         [BZ #18877]
18515         * posix/Makefile (tests): Add tst-mmap-offset.
18516         * posix/tst-mmap.c: New file.
18517         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18518         offset calculation for negative values.
18520 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18522         * sysdeps/i386/init-arch.h: New file.
18523         * sysdeps/i386/i586/init-arch.h: Likewise.
18524         * sysdeps/i386/i686/init-arch.h: Likewise.
18525         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18526         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18527         * sysdeps/x86/cpu-features.h (bit_I586): New.
18528         (bit_I686): Likewise.
18529         (bit_CX8): Likewise.
18530         (bit_CMOV): Likewise.
18531         (index_CX8): Likewise.
18532         (index_CMOV): Likewise.
18533         (index_I586): Likewise.
18534         (index_I686): Likewise.
18535         (reg_CX8): Likewise.
18536         (reg_CMOV): Likewise.
18537         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18538         available at compile-time.
18539         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18540         available at compile-time.
18541         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18542         (USE_I686): Likewise.
18544 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18546         * sysdeps/i386/bcopy.S: New file.
18547         * sysdeps/i386/bzero.S: Likewise.
18548         * sysdeps/i386/memcpy.S: Likewise.
18549         * sysdeps/i386/memmove.S: Likewise.
18550         * sysdeps/i386/mempcpy.S: Likewise.
18551         * sysdeps/i386/memset.S: Likewise.
18552         * sysdeps/i386/bzero.c: Removed.
18553         * sysdeps/i386/memset.c: Likewise.
18554         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18555         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18556         * sysdeps/i386/i586/memset_chk.S: Likewise.
18557         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18558         * sysdeps/i386/memcpy_chk.S: Here.
18559         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18560         * sysdeps/i386/memmove_chk.S: Here.
18561         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18562         * sysdeps/i386/mempcpy_chk.S: Likewise.
18563         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18564         * sysdeps/i386/memset_chk.S: Likewise.
18566 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18568         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18569         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18570         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18571         * soft-fp/fmadf4.c: Ditto.
18572         * soft-fp/fmatf4.c: Ditto.
18574 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18576         * sysdeps/i386/i586/Implies: Removed.
18577         * sysdeps/i386/i686/Implies: Likewise.
18579 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18581         * sysdeps/i386/i486/strlen.S: Moved to ...
18582         * sysdeps/i386/strlen.S: Here.
18584 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18586         * sysdeps/i386/i486/strcat.S: Moved to ...
18587         * sysdeps/i386/strcat.S: Here.
18589 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18591         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18592         * sysdeps/i386/pthread_spin_trylock.S: Here.
18593         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18594         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18598         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18599         * sysdeps/i386/string-inlines.c: Here.
18601 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18603         * sysdeps/i386/i486/htonl.S: Moved ...
18604         * sysdeps/i386/htonl.S: here.
18606 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18608         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18609         * sysdeps/i386/bits/atomic.h: Here.
18611 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18613         * sysdeps/i386/i486/Versions: Removed.
18615 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18617         [BZ #2898]
18618         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18619         Based on patch by Aurelien Jarno.
18621 2015-08-26  Stan Shebs  <stanshebs@google.com>
18623         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18624         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18626 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18628         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18629         * sysdeps/powerpc/dl-procinfo.c:
18630         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18631         feature so it shows when LD_SHOW_AUXV=1.
18633 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18635         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18636         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18637         definition.  ISA 2.07B no longer requires full sync.
18639 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18641         [BZ #18863]
18642         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18643         (si_call_addr): Define.
18644         (si_syscall): Define.
18645         (si_arch): Define.
18647 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18649         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18650         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18651         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18652         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18653         (__memset_zero_constant_len_parameter): New.
18654         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18655         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18656         (__memset_zero_constant_len_parameter): Don't define if
18657         __memset_chk or USE_AS_BZERO are defined.
18659         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18660         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18661         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18663         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18664         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18665         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18666         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18667         comments.
18668         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18669         -mno-mmx for $(all-rtld-routines).
18670         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18671         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18672         i386.
18674 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18676         * sysdeps/generic/unwind.h
18677         (_Unwind_Word): Use __mode__(__unwind_word__)
18678         instead of __mode__(__word__).
18679         (_Unwind_Sword): Likewise.
18681         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18682         (MAX_NEEDED_INPUT): New define.
18683         (MAX_NEEDED_OUTPUT): New define.
18685         * NEWS: New item for IBM z13 string optimizations.
18687         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18688         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18689         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18690         * sysdeps/s390/multiarch/Makefile
18691         (sysdep_routines): Add memrchr functions.
18692         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18693         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18695         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18696         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18697         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18698         * sysdeps/s390/multiarch/Makefile
18699         (sysdep_routines): Add wmemcmp functions.
18700         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18701         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18702         * benchtests/bench-wmemcmp.c: New File.
18703         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18705         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18706         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18707         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18708         * sysdeps/s390/multiarch/Makefile
18709         (sysdep_routines): Add wmemset functions.
18710         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18711         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18712         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18713         * string/test-memset.c: Add wmemset support.
18714         * wcsmbs/test-wmemset.c: New File.
18715         * wcsmbs/Makefile (strop-tests): Add wmemset.
18716         * benchtests/bench-memset.c: Add wmemset support.
18717         * benchtests/bench-wmemset.c: New File.
18718         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18720         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18721         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18722         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18723         * sysdeps/s390/multiarch/Makefile
18724         (sysdep_routines): Add memccpy functions.
18725         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18726         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18727         * string/memccpy.c: Use MEMCCPY if defined.
18729         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18730         * sysdeps/s390/multiarch/memchr.c: Likewise.
18731         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18732         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18733         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18734         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18735         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18736         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18737         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18738         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18739         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18740         and rawmemchr functions.
18741         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18742         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18743         and wmemchr.
18744         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18745         * string/test-memchr.c: Add wmemchr support.
18746         * wcsmbs/test-wmemchr.c: New File.
18747         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18748         * benchtests/bench-memchr.c: Add wmemchr support.
18749         * benchtests/bench-wmemchr.c: New File.
18750         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18752         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18753         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18754         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18755         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18756         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18757         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18758         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18759         wcscspn functions.
18760         * sysdeps/s390/multiarch/ifunc-impl-list.c
18761         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18762         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18763         * string/test-strcspn.c: Add wcscspn support.
18764         * wcsmbs/test-wcscspn.c: New File.
18765         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18766         * benchtests/bench-strcspn.c: Add wcscspn support.
18767         * benchtests/bench-wcscspn.c: New File.
18768         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18770         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18771         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18772         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18773         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18774         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18775         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18777         wcspbrk functions.
18778         * sysdeps/s390/multiarch/ifunc-impl-list.c
18779         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18780         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18781         * string/test-strpbrk.c: Add wcspbrk support.
18782         * wcsmbs/test-wcspbrk.c: New File.
18783         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18784         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18785         * benchtests/bench-wcspbrk.c: New File.
18786         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18788         * sysdeps/s390/multiarch/strspn-c.c: New File.
18789         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18790         * sysdeps/s390/multiarch/strspn.c: Likewise.
18791         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18792         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18793         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18794         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18795         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18796         wcsspn functions.
18797         * sysdeps/s390/multiarch/ifunc-impl-list.c
18798         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18799         * string/test-strspn.c: Add wcsspn support.
18800         * wcsmbs/test-wcsspn.c: New File.
18801         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18802         * benchtests/bench-strspn.c: Add wcsspn support.
18803         * benchtests/bench-wcsspn.c: New File.
18804         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18806         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18807         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18808         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18809         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18810         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18811         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18812         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18813         wcsrchr functions.
18814         * sysdeps/s390/multiarch/ifunc-impl-list.c
18815         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18816         * benchtests/bench-wcsrchr.c: New File.
18817         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18819         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18820         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18821         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18822         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18823         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18824         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18825         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18826         wcschrnul functions.
18827         * sysdeps/s390/multiarch/ifunc-impl-list.c
18828         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18829         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18830         * string/test-strchr.c: Add wcschrnul support.
18831         * wcsmbs/test-wcschrnul.c: New File.
18832         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18833         * benchtests/bench-strchr.c: Add wcschrnul support.
18834         * benchtests/bench-wcschrnul.c: New File.
18835         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18837         * sysdeps/s390/multiarch/strchr-c.c: New File.
18838         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18839         * sysdeps/s390/multiarch/strchr.c: Likewise.
18840         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18841         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18842         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18843         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18844         wcschr functions.
18845         * sysdeps/s390/multiarch/ifunc-impl-list.c
18846         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18847         * string/strchr.c (STRCHR): Define and use macro.
18848         * benchtests/bench-wcschr.c: New File.
18849         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18851         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18852         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18853         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18854         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18855         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18856         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18857         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18858         wcsncmp functions.
18859         * sysdeps/s390/multiarch/ifunc-impl-list.c
18860         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18861         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18862         * benchtests/bench-strncmp.c: Add wcsncmp support.
18863         * benchtests/bench-wcsncmp.c: New File.
18864         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18866         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18867         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18868         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18869         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18870         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18871         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18872         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18873         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18874         wcscmp functions.
18875         * sysdeps/s390/multiarch/ifunc-impl-list.c
18876         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18877         * string/strcmp.c (STRCMP): Define and use macro.
18878         * benchtests/bench-wcscmp.c: New File.
18879         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18880         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18881         instead of _HAVE_STRING_ARCH_memchr.
18883         * sysdeps/s390/multiarch/strncat-c.c: New File.
18884         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18885         * sysdeps/s390/multiarch/strncat.c: Likewise.
18886         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18887         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18888         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18889         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18890         wcsncat functions.
18891         * sysdeps/s390/multiarch/ifunc-impl-list.c
18892         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18893         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18894         * string/test-strncat.c: Add wcsncat support.
18895         * wcsmbs/test-wcsncat.c: New File.
18896         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18897         * benchtests/bench-strncat.c: Add wcsncat support.
18898         * benchtests/bench-wcsncat.c: New File.
18899         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18901         * sysdeps/s390/multiarch/strcat-c.c: New File.
18902         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18903         * sysdeps/s390/multiarch/strcat.c: Likewise.
18904         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18905         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18906         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18908         wcscat functions.
18909         * sysdeps/s390/multiarch/ifunc-impl-list.c
18910         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18911         * string/strcat.c (STRCAT): Define and use macro.
18912         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18913         * string/test-strcat.c: Add wcscat support.
18914         * wcsmbs/test-wcscat.c: New File.
18915         * wcsmbs/Makefile (strop-tests): Add wcscat.
18916         * benchtests/bench-strcat.c: Add wcscat support.
18917         * benchtests/bench-wcscat.c: New File.
18918         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18920         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18921         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18922         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18923         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18924         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18925         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18926         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18927         wcpncpy functions.
18928         * sysdeps/s390/multiarch/ifunc-impl-list.c
18929         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18930         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18931         * string/test-stpncpy.c: Add wcpncpy support.
18932         * wcsmbs/test-wcpncpy.c: New File.
18933         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18934         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18935         * benchtests/bench-wcpncpy.c: New File.
18936         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18938         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18939         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18940         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18941         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18942         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18943         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18944         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18945         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18946         wcsncpy functions.
18947         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18948         * sysdeps/s390/multiarch/ifunc-impl-list.c
18949         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18950         * string/test-strncpy.c: Add wcsncpy support.
18951         * wcsmbs/test-wcsncpy.c: New File.
18952         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18953         * benchtests/bench-strncpy.c: Add wcsncpy support.
18954         * benchtests/bench-wcsncpy.c: New File.
18955         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18957         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18958         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18959         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18960         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18961         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18962         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18963         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18964         wcpcpy functions.
18965         * string/stpcpy.c: Use STPCPY if defined.
18966         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18967         * sysdeps/s390/multiarch/ifunc-impl-list.c
18968         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18969         * string/test-stpcpy.c: Add wcpcpy support.
18970         * wcsmbs/test-wcpcpy.c: New File.
18971         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18972         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18973         * benchtests/bench-wcpcpy.c: New File.
18974         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18976         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18977         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18978         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18979         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18980         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18981         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18982         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18984         wcscpy functions.
18985         * sysdeps/s390/multiarch/ifunc-impl-list.c
18986         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18987         * benchtests/bench-wcscpy.c: New File.
18988         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18990         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18991         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18992         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18993         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18994         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18995         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18997         wcsnlen functions.
18998         * sysdeps/s390/multiarch/ifunc-impl-list.c
18999         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19000         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19001         * string/test-strnlen.c: Add wcsnlen support.
19002         * wcsmbs/test-wcsnlen.c: New File.
19003         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19004         * benchtests/bench-strnlen.c: Add wcsnlen support.
19005         * benchtests/bench-wcsnlen.c: New File.
19006         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19008         * sysdeps/s390/multiarch/Makefile: New File.
19009         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19010         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19011         * sysdeps/s390/multiarch/strlen.c: Likewise.
19012         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19013         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19014         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19015         * string/strlen.c (STRLEN): Define and use macro.
19016         * sysdeps/s390/multiarch/ifunc-impl-list.c
19017         (IFUNC_VX_IMPL): New macro function.
19018         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19019         * benchtests/Makefile (wcsmbs-bench): New variable.
19020         (string-bench-all): Added wcsmbs-bench.
19021         * benchtests/bench-wcslen.c: New File.
19023         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19024         s390_vx_libc_ifunc2): New macro function.
19026         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19027         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19028         assembler support.
19029         * sysdeps/s390/configure: Regenerated.
19031         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19032         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19034         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19035         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19036         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19038         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19039         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19041         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19042         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19043         (memcmp, bcmp): Use __memcmp_default as alias source.
19044         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19045         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19046         Rename to __memcmp_default.
19047         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19048         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19049         (memcpy): Use __memcpy_default as alias source.
19050         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19051         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19052         Rename to __memcpy_default.
19053         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19054         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19055         (memset): Use __memset_default as alias source.
19056         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19057         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19058         Rename to __memset_default.
19059         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19060         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19061         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19062         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19063         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19064         (memcmp, bcmp): Use __memcmp_default as alias source.
19065         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19066         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19067         Rename to __memcmp_default.
19068         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19069         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19070         (memcpy): Use __memcpy_default as alias source.
19071         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19072         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19073         Rename to __memcpy_default.
19074         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19075         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19076         (memset): Use __memset_default as alias source.
19077         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19078         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19079         Rename to __memset_default.
19080         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19081         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19083         [BZ #18610]
19084         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19085         __ieee_instruction_pointer to __unused.
19086         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19087         __ieee_instruction_pointer.
19088         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19089         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19090         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19091         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19092         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19093         Mark dxc-field as reserved.
19095 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19097         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19098         if the weak reference is not null.
19100 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19102         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19104         [BZ #11214]
19105         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19107 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19109         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19110         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19111         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19112         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19113         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19114         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19115         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19116         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19117         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19118         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19119         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19120         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19121         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19122         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19123         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19124         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19125         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19126         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19128 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19130         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19131         register other than r0 for tabort, it has special meaning.
19132         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19133         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19134         transaction before starting syscall.
19136 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19138         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19140 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19142         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19144         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19145         * sysdeps/x86_64/rtld-memset.S: Likewise.
19146         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19147         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19148         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19149         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19151         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19153 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19155         * debug/strcpy_chk.c: Improve performance.
19156         * debug/stpcpy_chk.c: Likewise.
19157         * sysdeps/x86_64/strcpy_chk.S: Remove.
19158         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19160         [BZ #18240]
19161         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19163 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19165         [BZ #15128]
19166         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19167         ifuncmain8.
19168         (modules-names): Add ifuncmod8.
19169         ($(objpfx)ifuncmain8): New rule.
19170         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19171         <cpuid.h>.
19172         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19173         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19174         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19175         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19176         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19177         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19178         * sysdeps/x86_64/ifuncmain8.c: New file.
19179         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19180         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19181         Removed.
19182         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19183         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19184         Change rtld_savespace_sse to __glibc_unused2.
19185         (RTLD_CHECK_FOREIGN_CALL): Removed.
19186         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19187         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19188         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19190 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19192         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19194 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19196         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19197         Unconditionally set __fpcr to avoid uninialized warning.
19198         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19200 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19202         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19203         is corrupt.
19205         * malloc/arena.c (arena_get2): Drop unused argument.
19206         (arena_lock): Adjust.
19207         (arena_get_retry): Likewise.
19209 2015-08-24  Andreas Schwab  <schwab@suse.de>
19211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19212         Don't define.
19213         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19214         (__ASSUME_IPC64): Don't undef.
19215         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19216         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19217         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19218         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19219         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19220         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19221         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19222         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19223         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19224         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19225         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19226         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19227         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19228         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19229         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19230         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19231         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19232         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19233         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19234         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19235         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19237 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19239         * manual/Makefile (install): Only build manual when perl is available.
19241 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19243         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19244         '#undef memcpy' by '#undef memchr'.
19246 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19248         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19249         memchr not point to the internal __GI_memchr implementation.
19251 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19253         * timezone/Makefile (CFLAGS-zdump.c): Remove
19254         -Wno-strict-prototypes.
19255         (CFLAGS-zic.c): Likewise.
19256         (CFLAGS-ialloc.c): Likewise.
19257         (CFLAGS-scheck.c): Likewise.
19259         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19260         -Wno-error=undef.
19262 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19264         * i386/i686/multiarch/strcasestr-c.c: Removed.
19265         * x86_64/multiarch/strcasestr.c: Likewise.
19266         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19267         Remove strcasestr.
19269 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19271         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19273         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19274         variables for high and low parts before possibly modifying them.
19276 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19278         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19279         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19280         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19281         of "multiarch/init-arch.h".
19282         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19283         * sysdeps/x86/init-arch.h: This.
19285 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19287         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19288         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19290 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19292         [BZ #17787]
19293         * manual/macros.texi: Add twoexp macro.
19294         * manual/filesys.texi: Fix exponents.
19295         * manual/llio.texi: Likewise.
19296         * manual/stdio.texi: Likewise.
19298 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19300         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19301         incorrect use.
19303 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19305         [BZ #18370]
19306         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19307         whose real or imaginary part has small absolute value.
19308         * math/s_csqrtf.c (__csqrtf): Likewise.
19309         * math/s_csqrtl.c (__csqrtl): Likewise.
19310         * math/auto-libm-test-in: Add more tests of csqrt.
19311         * math/auto-libm-test-out: Regenerated.
19312         * sysdeps/i386/fpu/libm-test-ulps: Update.
19314 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19316         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19317         __ppc_set_ppr_very_low): New functions.
19318         * manual/platform.texi: Add documentation about
19319         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19321 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19323         * string/stpncpy.c (stpncpy): Improve performance using
19324         __strnlen/memcpy/memset.
19326 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19328         [BZ #18796]
19329         * scripts/test-installation.pl: Don't add -lmvec to build options if
19330         libmvec wasn't built.
19332 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19334         [BZ #14341]
19335         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19336         case when there is a gap between DT_REL and DT_JMPREL sections.
19337         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19338         (LDFLAGS-tst-split-dynreloc): New.
19339         (tst-split-dynreloc-ENV): Likewise.
19340         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19341         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19343 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19345         [BZ #18822]
19346         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19347         attribute_hidden.
19348         (__xstat64_conv): Likewise.
19349         (__xstat32_conv): Likewise.
19351 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19353         [BZ #18822]
19354         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19355         Don't load %ebx when calling __setcontext.  Call __setcontext
19356         with HIDDEN_JUMPTARGET.
19357         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19358         libc_hidden_def.
19360 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19362         * sysdeps/i386/i686/Makefile
19363         [$(subdir) == string] (sysdep_routines): Moved to ...
19364         * sysdeps/i386/Makefile: Here.
19365         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19366         * sysdeps/i386/cacheinfo.c: Here.
19367         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19368         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19369         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19370         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19372 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19374         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19375         __i586__ is defined.
19376         (HAS_I686): Defined to 1 if __i686__ is defined.
19378 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19380         * elf/Makefile [$(have-z-execstack) = yes]
19381         (CPPFLAGS-tst-execstack.c): New variable.
19383         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19384         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19385         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19386         UTMPX || _HAVE_UT_TV].
19387         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19388         UTMPX || _HAVE_UT_TV - 0].
19390 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19392         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19393         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19394         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19396 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19398         * sysdeps/powerpc/dl-procinfo.c:
19399         (_dl_powerpc_cap_flags): Added missing strings for some
19400         hwcap features.
19401         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19403 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19405         Port the 0x7efe...feff pattern to GCC 6.
19406         See Steve Ellcey's bug report in:
19407         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19408         * string/memrchr.c (MEMRCHR):
19409         * string/rawmemchr.c (RAWMEMCHR):
19410         * string/strchr.c (strchr):
19411         * string/strchrnul.c (STRCHRNUL):
19412         Rewrite code to avoid issues with signed shift overflow.
19414 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19416         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19417         whether cpuid is available only if HAS_CPUID is 0.
19418         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19419         (HAS_I586): Likewise.
19420         (HAS_I686): Likewise.
19422 2015-08-18  Zack Weinberg  <zackw@panix.com>
19424         * misc/Versions (libc): Add GLIBC_2.23.
19426 2015-08-18  Alan Modra  <amodra@gmail.com>
19428         [BZ #18421]
19429         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19430         .Lp__global.
19431         (_start): Load %dp via .Lp__global.
19432         [!SHARED]: Use .section .rodata.
19434 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19436         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19437         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19439 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19441         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19442         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19444 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19446         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19447         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19449 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19451         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19452         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19454 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19456         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19457         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19459 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19461         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19462         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19464 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19466         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19468 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19470         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19471         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19472         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19473         (__ASSUME_LWS_CAS): Delete.
19475 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19477         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19478         * sysdeps/hppa/configure: Regenerated.
19479         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19480         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19481         * sysdeps/hppa/nptl/tls.h: Likewise.
19483 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19485         [BZ #18823]
19486         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19487         for scaling up small arguments.
19488         * math/s_csqrtf.c (__csqrtf): Likewise.
19489         * math/s_csqrtl.c (__csqrtl): Likewise.
19490         * math/auto-libm-test-in: Add more tests of csqrt.
19491         * math/auto-libm-test-out: Regenerated.
19493 2015-08-17  Andreas Schwab  <schwab@suse.de>
19495         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19496         version set GLIBC_2.19.
19498 2015-08-16  Zack Weinberg  <zackw@panix.com>
19500         [BZ #18681]
19501         * misc/regexp.h: This interface is no longer supported.
19502         Remove all contents, leaving only an #error directive.
19503         * misc/regexp.c (loc1, loc2, locs, step, advance):
19504         Demote to compatibility symbols.
19506 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19508         [BZ #18084]
19509         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19510         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19511         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19512         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19513         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19514         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19515         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19516         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19517         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19519 2015-08-15  Zack Weinberg  <zackw@panix.com>
19521         [BZ #18795]
19522         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19523         buffer length is known to be too large, not if it's known to be
19524         small enough.
19525         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19526         overflow at runtime, involving a length parameter, twice: once
19527         with a compile-time constant length parameter, once without.
19529 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19531         [BZ #18824]
19532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19533         scaling x * y up instead of down.
19534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19536         * math/auto-libm-test-in: Add more tests of fma.
19537         * math/auto-libm-test-out: Regenerated.
19539 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19541         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19543 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19545         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19546         unnecessary movq.
19547         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19548         Likewise.
19550 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19552         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19553         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19554         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19555         and tgamma.
19556         * math/auto-libm-test-out: Regenerated.
19557         * sysdeps/i386/fpu/libm-test-ulps: Update.
19558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19560         [BZ #16520]
19561         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19562         (__tanh): Force underflow exception for arguments with small
19563         absolute value.
19564         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19565         (__tanhf): Force underflow exception for arguments with small
19566         absolute value.
19567         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19568         (__tanhl): Force underflow exception for arguments with small
19569         absolute value.
19570         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19571         (__tanhl): Force underflow exception for arguments with small
19572         absolute value.
19573         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19574         (__tanhl): Force underflow exception for arguments with small
19575         absolute value.
19576         * math/auto-libm-test-in: Add more tests of tanh.
19577         * math/auto-libm-test-out: Regenerated.
19578         * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19582         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19583         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19585 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19587         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19588         <cpuid.h>.
19590 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19592         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19593         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19595 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19597         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19598         Remove $(objpfx)init-arch.o.
19599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19600         init-arch.
19601         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19602         (INIT_ARCH_EXT): Defined as empty.
19603         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19604         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19605         __init_cpu_features call.  Replace HAS_XXX with
19606         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19607         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19608         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19609         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19610         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19612         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19613         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19614         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19615         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19616         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19618         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19619         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19620         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19621         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19622         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19630         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19631         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19632         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19633         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19636         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19637         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19643 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19645         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19646         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19647         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19648         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19649         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19650         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19651         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19652         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19653         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19654         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19655         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19656         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19657         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19658         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19659         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19660         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19661         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19662         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19663         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19664         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19665         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19666         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19667         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19668         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19669         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19670         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19671         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19672         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19673         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19674         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19675         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19676         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19677         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19678         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19679         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19680         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19681         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19682         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19683         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19684         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19685         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19686         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19687         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19689 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19691         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19692         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19693         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19694         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19695         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19696         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19697         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19698         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19699         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19701         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19702         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19703         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19704         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19705         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19706         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19707         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19708         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19709         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19710         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19712         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19713         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19714         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19715         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19716         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19717         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19718         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19719         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19720         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19721         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19722         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19723         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19724         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19725         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19726         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19727         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19728         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19729         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19730         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19731         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19732         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19733         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19735 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19737         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19738         (dl_platform_init): Call init_cpu_features.
19739         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19740         * sysdeps/i386/i686/cacheinfo.c
19741         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19742         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19743         * sysdeps/i386/i686/multiarch/Versions: Removed.
19744         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19745         Removed.
19746         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19747         * sysdeps/unix/sysv/linux/x86/Makefile
19748         (libpthread-sysdep_routines): Remove init-arch.
19749         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19750         <sysdeps/x86_64/dl-procinfo.c> instead of
19751         sysdeps/generic/dl-procinfo.c>.
19752         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19753         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19754         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19755         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19756         [$(subdir) == elf] (tests-static): Add
19757         tst-get-cpu-features-static.
19758         * sysdeps/x86/Versions: New file.
19759         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19760         * sysdeps/x86/cpu-features.c: Likewise.
19761         * sysdeps/x86/cpu-features.h: Likewise.
19762         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19763         * sysdeps/x86/libc-start.c: Likewise.
19764         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19765         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19766         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19767         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19768         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19769         Assume USE_MULTIARCH is defined and don't check it.
19770         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19771         (is_amd): Likewise.
19772         (max_cpuid): Likewise.
19773         (intel_check_word): Likewise.
19774         (__cache_sysconf): Don't call __init_cpu_features.
19775         (__x86_preferred_memory_instruction): Removed.
19776         (init_cacheinfo): Don't call __init_cpu_features. Replace
19777         __cpu_features with GLRO(dl_x86_cpu_features).
19778         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19779         (dl_platform_init): Call init_cpu_features.
19780         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19781         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19782         * sysdeps/x86_64/multiarch/Versions: Removed.
19783         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19784         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19785         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19786         Removed.
19787         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19789 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19791         [BZ #18820]
19792         * libio/Makefile (test-fmemopen-mem): New test.
19793         * libio/test-fmemopen.c (do_bz18820): New test.
19794         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19795         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19797 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19799         [BZ #16734]
19800         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19801         (FREE_BUF): Delete.
19802         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19803         * libio/genops.c (_IO_setb): Use malloc and free directly.
19804         (_IO_default_doallocate, _IO_default_finish): Likewise.
19805         ( _IO_unbuffer_all): Likewise.
19806         ( libc_freeres_fn): Likewise.
19807         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19808         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19809         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19810         (_IO_wdefault_doallocate): Likewise.
19812 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19814         [BZ #18086]
19815         * sysdeps/posix/nice.c (nice): Restore old errno.
19816         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19818 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19820         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19822 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19824         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19825         __bcopy and add a weak_alias to bcopy.
19826         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19827         for static build.
19829         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19830         cleanup macro usage.
19831         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19832         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19834         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19835         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19836         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19837         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19838         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19839         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19840         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19842         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19844         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19847         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19849         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19851         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19852         libc_hidden_def.
19853         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19855         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19856         (sysdep_routines): Add strstr-ppc64.
19857         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19859 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19861         [BZ #18778]
19862         * elf/Makefile (tests): Add Add tst-nodelete2.
19863         (modules-names): Add tst-nodelete2mod.
19864         (tst-nodelete2mod.so-no-z-defs): New.
19865         ($(objpfx)tst-nodelete2): Likewise.
19866         ($(objpfx)tst-nodelete2.out): Likewise.
19867         (LDFLAGS-tst-nodelete2): Likewise.
19868         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19869         out of loop through all loaded libraries.
19870         * elf/tst-nodelete2.c: New file.
19871         * elf/tst-nodelete2mod.c: Likewise.
19872         * elf/tst-znodelete-zlib.cc: Delete.
19874 2015-08-11  Andreas Schwab  <schwab@suse.de>
19876         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19877         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19878         (__openat64_nocancel): Likewise.
19880 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19882         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19883         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19884         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19885         * math/auto-libm-test-out: Regenerated.
19886         * sysdeps/i386/fpu/libm-test-ulps: Update.
19887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19889 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19891         [BZ #18790]
19892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19893         threshold for returning +/- 1.
19894         * math/auto-libm-test-in: Add more tests of tanh.
19895         * math/auto-libm-test-out: Regenerated.
19896         * sysdeps/i386/fpu/libm-test-ulps: Update.
19898 2015-08-10  Andreas Schwab  <schwab@suse.de>
19900         [BZ #18781]
19901         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19902         MORE_OFLAGS to oflag.
19903         * io/test-lfs.c (do_test): Test openat64.
19905 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #18789]
19908         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19909         smaller threshold for returning the argument.
19910         * math/auto-libm-test-in: Add more tests of sinh.
19911         * math/auto-libm-test-out: Regenerated.
19912         * sysdeps/i386/fpu/libm-test-ulps: Update.
19914 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19916         [BZ #18674]
19917         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19918         break.
19920 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19922         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19923         (generated): Don't add $(addprefix z.,$(tzfiles)).
19925 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19927         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19928         * scripts/sysd-rules.awk: Likewise.
19930 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19932         * iconvdata/tst-tables.sh: Change echo -n to printf.
19933         * nss/db-Makefile: Likewise.
19934         * posix/tst-getconf.sh: Likewise.
19935         * stdio-common/tst-unbputc.sh: Likewise.
19937 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19939         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19940         MADV_*_PAGES defines behind this feature check.
19942 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19944         [BZ #18480]
19945         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19946         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19947         Define.
19948         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19949         LOAD_REGS_5, LOAD_REGS_6): Update.
19950         (INTERNAL_SYSCALL): Update using new LOAD defines.
19951         (INTERNAL_SYSCALL_NCS): Likewise.
19952         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19954 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19956         [BZ #16734]
19957         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19959 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19961         [BZ #17905]
19962         * catgets/Makefile (tst-catgets-mem): New test.
19963         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19964         * catgets/open_catalog.c (__open_catalog): Likewise.
19965         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19967 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19969         [BZ #18787]
19970         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19971         clobber registers.
19972         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19973         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19974         Cast return to __typeof (oldval).
19976 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19978         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19979         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19980         and delete sys/syscall.h include.
19982 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19984         [BZ #16517]
19985         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19986         (tan): Force underflow exception for arguments with small absolute
19987         value.
19988         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19989         (__kernel_tanf): Force underflow exception for arguments with
19990         small absolute value.
19991         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19992         (__kernel_tanl): Force underflow exception for arguments with
19993         small absolute value.
19994         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19995         (__kernel_tanl): Force underflow exception for arguments with
19996         small absolute value.
19997         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19998         (__kernel_tanl): Force underflow exception for arguments with
19999         small absolute value.
20000         * math/auto-libm-test-in: Add more tests of tan.
20001         * math/auto-libm-test-out: Regenerated.
20003 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20005         Fix sysdeps/i386/fpu/s_scalbn.S build
20007         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20009 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20011         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20013 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20015         Fix gcrt0.o compilation
20017         When static-start-installed-name is different from
20018         start-installed-name, we must not use the shared objects.
20020         * csu/Makefile
20021         (extra-objs): Add gmon-start.o when building shared library and
20022         $(static-start-installed-name) is different from
20023         $(start-installed-name).
20024         $(objpfx)g$(static-start-installed-name): When building shared
20025         library and $(static-start-installed-name) is different from
20026         $(static-start-installed-name), revert to non-shared rule,
20027         i.e. using $(objpfx)% and gmon-start.o.
20029 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20031         [BZ #16519]
20032         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20033         (__ieee754_sinh): Force underflow exception for arguments with
20034         small absolute value.
20035         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20036         (__ieee754_sinhf): Force underflow exception for arguments with
20037         small absolute value.
20038         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20039         (__ieee754_sinhl): Force underflow exception for arguments with
20040         small absolute value.
20041         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20042         (__ieee754_sinhl): Force underflow exception for arguments with
20043         small absolute value.
20044         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20045         (__ieee754_sinhl): Force underflow exception for arguments with
20046         small absolute value.
20047         * math/auto-libm-test-in: Add more tests of sinh.
20048         * math/auto-libm-test-out: Regenerated.
20049         * sysdeps/i386/fpu/libm-test-ulps: Update.
20051 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20053         * libio/oldfileops.c: Include unistd.h.
20055 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20057         * stdlib/isomac.c: Include ctype.h.
20059 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20061         * dirent/tst-seekdir.c (main): Converted to ...
20062         (do_test): ... this.
20063         (TEST_FUNCTION): New macro.
20064         Include test-skeleton.c.
20065         * elf/tst-dlmodcount.c (main): Converted to ...
20066         (do_test): ... this.
20067         (TEST_FUNCTION): New macro.
20068         Include test-skeleton.c.
20069         * elf/tst-order-main.c (main): Converted to ...
20070         (do_test): ... this.
20071         (TEST_FUNCTION): New macro.
20072         Include test-skeleton.c.
20073         * elf/tst-pie2.c (main): Converted to ...
20074         (do_test): ... this.
20075         (TEST_FUNCTION): New macro.
20076         Include test-skeleton.c.
20077         * inet/tst-ether_aton.c (main): Converted to ...
20078         (do_test): ... this.
20079         (TEST_FUNCTION): New macro.
20080         Include test-skeleton.c.
20081         * misc/tst-mntent.c (main): Converted to ...
20082         (do_test): ... this.
20083         (TEST_FUNCTION): New macro.
20084         Include test-skeleton.c.
20085         * misc/tst-tsearch.c (main): Converted to ...
20086         (do_test): ... this.
20087         (TEST_FUNCTION): New macro.
20088         Include test-skeleton.c.
20089         * posix/tst-regexloc.c (main): Converted to ...
20090         (do_test): ... this.
20091         (TEST_FUNCTION): New macro.
20092         Include test-skeleton.c.
20093         * resolv/tst-aton.c (main): Converted to ...
20094         (do_test): ... this.
20095         (TEST_FUNCTION): New macro.
20096         Include test-skeleton.c.
20097         * stdio-common/test-fwrite.c (main): Converted to ...
20098         (do_test): ... this.
20099         (TEST_FUNCTION): New macro.
20100         Include test-skeleton.c.
20101         * stdio-common/tst-ferror.c (main): Converted to ...
20102         (do_test): ... this.
20103         (TEST_FUNCTION): New macro.
20104         Include test-skeleton.c.
20105         * stdio-common/tst-printf.c (main): Converted to ...
20106         (do_test): ... this.
20107         (TEST_FUNCTION): New macro.
20108         Include test-skeleton.c.
20109         * stdio-common/tst-printfsz.c (main): Converted to ...
20110         (do_test): ... this.
20111         (TEST_FUNCTION): New macro.
20112         Include test-skeleton.c.
20113         * stdlib/tst-strtod.c (main): Converted to ...
20114         (do_test): ... this.
20115         (TEST_FUNCTION): New macro.
20116         Include test-skeleton.c.
20117         * string/tst-strlen.c (main): Converted to ...
20118         (do_test): ... this.
20119         (TEST_FUNCTION): New macro.
20120         Include test-skeleton.c.
20121         * string/tst-svc.c (main): Converted to ...
20122         (do_test): ... this.
20123         (TEST_FUNCTION): New macro.
20124         Include test-skeleton.c.
20125         * time/tst-strptime.c (main): Converted to ...
20126         (do_test): ... this.
20127         (TEST_FUNCTION): New macro.
20128         Include test-skeleton.c.
20129         * timezone/tst-timezone.c (main): Converted to ...
20130         (do_test): ... this.
20131         (TEST_FUNCTION): New macro.
20132         Include test-skeleton.c.
20134 2015-08-05  Zack Weinberg  <zackw@panix.com>
20136         * misc/regexp.h: Update comments.
20138 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20140         [BZ #18635]
20141         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20142         before return label.
20144 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20146         [BZ #18661]
20147         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20148         when calling __errno_location.
20149         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20150         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20152 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20154         [BZ #18661]
20155         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20156         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20157         __gettimeofday.
20159 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20161         [BZ #18661]
20162         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20163         (__start_context): Don't use pop to restore %rdi so that stack
20164         is aligned to 16 bytes when calling __setcontext.
20166 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20168         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20169         only for libc.
20170         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20172 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20174         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20175         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20176         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20178 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20180         * string/memccpy.c (memccpy):
20181         Improve performance by using memchr/memcpy/__mempcpy.
20183 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20185         * string/strncpy.c (strncpy):
20186         Improve performance by using __strnlen/memcpy.
20188 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20190         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20191         Optimize to avoid an unnecessary FPCR read.
20193 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20195         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20196         Optimize to reduce FPCR/FPSR accesses.
20198 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20200         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20201         dead->data[category] != NULL.
20203 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20205         [BZ #18647]
20206         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20207         and |x| close to 1, use absolute value of x when computing log.
20208         * math/auto-libm-test-in: Add more tests of pow.
20209         * math/auto-libm-test-out: Regenerated.
20211 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20213         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20214         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20215         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20217 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20219         [BZ #18525]
20220         * locales/km_KH: Remove timezone definition.
20221         * locales/lo_LA: Likewise.
20222         * locales/my_MM: Likewise.
20223         * locales/nan_TW@latin: Likewise.
20224         * locales/th_TH: Likewise.
20225         * locales/uk_UA: Likewise.
20227 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20229         [BZ #18265]
20230         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20231         (wcsncat): Likewise.
20232         (wcscmp): Likewise.
20233         (wcsncmp): Likewise.
20235 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20237         * test-skeleton.c (usage): New function.
20238         (main): Call usage when opt is '?'.
20240 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20242         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20243         before first use.
20245 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20247         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20248         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20249         in there too.
20251 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20253         * version.h (RELEASE): Set to "development".
20254         (VERSION): Set to "2.22.90"
20256         * version.h (RELEASE): Set to "stable".
20257         (VERSION): Set to "2.22"
20258         * include/features.h (__GLIBC_MINOR__): Set to 22.
20260 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20262         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20263         Restructure macro to avoid "value computed is not used" warning.
20264         (atomic_compare_and_exchange_val_acq): Likewise.
20266 2015-08-04  Andreas Schwab  <schwab@suse.de>
20268         [BZ #18635]
20269         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20270         ret.
20271         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20273 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20275         * po/pl.po: Updated translation.
20276         * po/uk.po: Likewise.
20277         * po/fi.po: Likewise.
20278         * po/ko.po: Likewise.
20279         * po/ru.po: Likewise.
20280         * po/vi.po: Likewise.
20282 2015-07-31  Zack Weinberg  <zackw@panix.com>
20284         [BZ #18681]
20285         * regexp.h: Add unconditional #warning stating that this header
20286         will be removed soon.  Revise banner comment to match.
20287         (compile): Consistently use ERROR instead of RETURN to report
20288         errors (partial fix for bz#18681).
20289         * regexp.c: Don't include regexp.h. Remove some unnecessary
20290         declarations.
20292 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20294         * po/libc.pot: Regenerated.
20296 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20298         [BZ #18740]
20299         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20300         float-vlen4-arch-ext-cflags): Removed.
20301         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20302         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20304 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20306         [BZ #14113]
20307         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20308         aligned to __aligned__.
20309         (pthread_cond_t, pthread_rwlock_t): Likewise.
20311 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20313         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20315 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20317         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20318         (struct sigaction): Change sa_flags from a long to an int, and add
20319         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20321 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20323         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20324         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20325         sysdeps/generic/sysdep.h include.
20326         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20327         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20328         sysdeps/hppa/sysdep.h.
20329         (ENTRY, PSEUDO): Undefine before defining.
20331 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20333         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20334         from scratch to use INTERNAL_SYSCALL.
20336 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20338         [BZ #18078]
20339         * scripts/check-localplt.awk: Support alternate relocations.
20340         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20341         sections.
20342         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20343         malloc entries with + REL R_386_GLOB_DAT.
20344         * sysdeps/x86_64/localplt.data: New file.
20346 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20348         [BZ #18731]
20349         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20350         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20351         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20353 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20355         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20357 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20359         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20360         directly in terms of __sync_fetch_and_add and delete (int) cast.
20362 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20364         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20365         the -D_ASM_IA64_CURRENT_H flag.
20367 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20369         [BZ #18641]
20370         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20372 2015-07-27  Andreas Schwab  <schwab@suse.de>
20374         * conform/conformtest.pl (checknamespace): Filter out string
20375         literals while tokenizing.
20377 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20379         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20380         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20381         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20383 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20385         * nptl/tst-join7mod.c: Add #include <string.h>.
20387 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20389         * sysdeps/nios2/libm-test-ulps: Update.
20391 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20393         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20394         Fix order of arguments to the rt_sigprocmask syscall.
20395         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20396         Likewise.
20398 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20400         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20402 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20404         [BZ #18457]
20405         * nptl/Makefile (tests): New test case tst-join7.
20406         (modules-names): New test case module tst-join7mod.
20407         * nptl/tst-join7.c: New file.
20408         * nptl/tst-join7mod.c: New file.
20409         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20410         all translation units in libc.so, libpthread.so and rtld.
20412 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20416 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20418         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20419         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20420         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20421         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20422         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20423         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20425         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20426         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20428         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20429         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20430         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20431         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20433         implementation.
20435 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20437         [BZ #17711]
20438         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20439         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20440         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20441         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20442         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20443         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20445 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20447         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20448         instead of just saying load lock in the comments.
20450 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20452         * sysdeps/unix/Subdirs: Moved ...
20453         * sysdeps/posix/Subdirs: ... here.
20454         * login/pty.h (struct termios, struct winsize): Add forward decls.
20455         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20456         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20457         * sysdeps/arm/nacl/libc.abilist: Updated.
20458         * sysdeps/nacl/libutil.abilist: New file.
20460         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20461         (SIGWINCH): New macro.
20463         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20464         * sysdeps/arm/nacl/libc.abilist: Add it.
20466 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20468         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20470 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20472         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20473         Swap __glibc_reserved0 and sa_flags order.
20475 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20477         [BZ #18657]
20478         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20479         are pending TLS destructor calls.
20480         * include/link.h (struct link_map): Add concurrency note for
20481         L_TLS_DTOR_COUNT.
20482         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20483         Don't touch the link map flag.  Atomically increment
20484         l_tls_dtor_count.
20485         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20486         Avoid taking the load lock and don't touch the link map flag.
20487         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20488         * stdlib/Makefile (tests): Use it.
20489         * stdlib/tst-tls-atexit.c (do_test): dlopen
20490         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20491         to allow tst-tls-atexit-nodelete test case to use it.
20493 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20495         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20496         to bits/types.h.
20497         (msgqnum_t): New typedef.
20498         (msglen_t): Likewise.
20499         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20500         and msg_qbytes type to msglen_t.
20502 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20504         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20505         pad0 to __glibc_reserved0.
20506         (struct stat64): Likewise.
20508 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20510         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20511         Change sa_flags from a long to an int and add __glibc_reserved0 before
20512         it for padding.
20514 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20516         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20517         anonymous by deleting "siginfo" name.
20519 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20521         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20522         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20523         rather than __nacl_irt_filename.
20524         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20526         * NEWS: New item for arm-nacl port.
20527         * sysdeps/arm/nacl/libc.abilist: New file.
20528         * sysdeps/nacl/ld.abilist: New file.
20529         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20530         * sysdeps/nacl/libanl.abilist: New file.
20531         * sysdeps/nacl/libcrypt.abilist: New file.
20532         * sysdeps/nacl/libdl.abilist: New file.
20533         * sysdeps/nacl/libm.abilist: New file.
20534         * sysdeps/nacl/libpthread.abilist: New file.
20535         * sysdeps/nacl/libresolv.abilist: New file.
20536         * sysdeps/nacl/librt.abilist: New file.
20538 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20540         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20541         __startcontext to initialize the new context.
20542         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20543         up CFI directive to forbid further backtracing.
20545 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20547         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20548         reference.
20549         * charmaps/ANSI_X3.4-1968: Likewise.
20550         * charmaps/BS_4730: Likewise.
20551         * charmaps/BS_VIEWDATA: Likewise.
20552         * charmaps/CP1250: Likewise.
20553         * charmaps/CP1251: Likewise.
20554         * charmaps/CP1252: Likewise.
20555         * charmaps/CP1253: Likewise.
20556         * charmaps/CP1254: Likewise.
20557         * charmaps/CP1255: Likewise.
20558         * charmaps/CP1256: Likewise.
20559         * charmaps/CSN_369103: Likewise.
20560         * charmaps/EBCDIC-DK-NO: Likewise.
20561         * charmaps/GB_1988-80: Likewise.
20562         * charmaps/GREEK-CCITT: Likewise.
20563         * charmaps/GREEK7: Likewise.
20564         * charmaps/INIS-8: Likewise.
20565         * charmaps/ISIRI-3342: Likewise.
20566         * charmaps/ISO_2033-1983: Likewise.
20567         * charmaps/ISO_5427-EXT: Likewise.
20568         * locales/POSIX: Likewise.
20569         * locales/ar_SA: Likewise.
20570         * locales/be_BY: Likewise.
20571         * locales/be_BY@latin: Likewise.
20572         * locales/ca_ES: Likewise.
20573         * locales/cs_CZ: Likewise.
20574         * locales/da_DK: Likewise.
20575         * locales/de_BE: Likewise.
20576         * locales/de_CH: Likewise.
20577         * locales/de_LU: Likewise.
20578         * locales/en_AU: Likewise.
20579         * locales/en_BW: Likewise.
20580         * locales/en_CA: Likewise.
20581         * locales/en_DK: Likewise.
20582         * locales/en_GB: Likewise.
20583         * locales/en_IE: Likewise.
20584         * locales/en_NZ: Likewise.
20585         * locales/en_ZA: Likewise.
20586         * locales/en_ZW: Likewise.
20587         * locales/es_AR: Likewise.
20588         * locales/es_BO: Likewise.
20589         * locales/es_CL: Likewise.
20590         * locales/es_CO: Likewise.
20591         * locales/es_DO: Likewise.
20592         * locales/es_EC: Likewise.
20593         * locales/es_ES: Likewise.
20594         * locales/es_HN: Likewise.
20595         * locales/es_MX: Likewise.
20596         * locales/es_PA: Likewise.
20597         * locales/es_PE: Likewise.
20598         * locales/es_PY: Likewise.
20599         * locales/es_SV: Likewise.
20600         * locales/es_US: Likewise.
20601         * locales/es_UY: Likewise.
20602         * locales/es_VE: Likewise.
20603         * locales/et_EE: Likewise.
20604         * locales/fa_IR: Likewise.
20605         * locales/fo_FO: Likewise.
20606         * locales/fr_CA: Likewise.
20607         * locales/fr_CH: Likewise.
20608         * locales/gv_GB: Likewise.
20609         * locales/he_IL: Likewise.
20610         * locales/hr_HR: Likewise.
20611         * locales/id_ID: Likewise.
20612         * locales/is_IS: Likewise.
20613         * locales/it_CH: Likewise.
20614         * locales/iw_IL: Likewise.
20615         * locales/kl_GL: Likewise.
20616         * locales/ko_KR: Likewise.
20617         * locales/kw_GB: Likewise.
20618         * locales/lg_UG: Likewise.
20619         * locales/lt_LT: Likewise.
20620         * locales/lv_LV: Likewise.
20621         * locales/mi_NZ: Likewise.
20622         * locales/nhn_MX: Likewise.
20623         * locales/nl_BE: Likewise.
20624         * locales/pl_PL: Likewise.
20625         * locales/sk_SK: Likewise.
20626         * locales/sl_SI: Likewise.
20627         * locales/sv_FI: Likewise.
20628         * locales/tl_PH: Likewise.
20629         * locales/tr_TR: Likewise.
20630         * locales/vi_VN: Likewise.
20632 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20634         [BZ #17475]
20635         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20636         of tu_IN and bh_IN.
20638 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20640         [BZ #18694]
20641         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20642         bits/wordsize.h.
20643         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20645 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20647         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20648         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20649         (spawn_thread): New function.
20650         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20651         (do_test): ... here.  Use IS_LOADED to test for its
20652         availability.
20654 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20656         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20658 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20660         [BZ #18696]
20661         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20662         si_addr_bnd.
20663         (si_lower): New.
20664         (si_upper): Likewise.
20666 2015-07-16  David S. Miller  <davem@davemloft.net>
20668         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20670 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20672         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20673         buffer.
20674         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20675         fail output information.
20677 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20680         and strstr-ppc64..
20681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20682         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20683         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20684         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20685         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20687 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20689         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20690         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20691         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20692         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20694 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20696         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20697         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20698         rtld_hidden_proto.
20699         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20701 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20703         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20704         the test can fail.
20706         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20708         [BZ #18676]
20709         * elf/tst-nodelete-opened.c: New test case.
20710         * elf/tst-nodelete-opened-lib.c: New test case module.
20711         * elf/Makefile (tests, modules-names): Use them.
20712         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20713         early.
20715 2015-07-15  David S. Miller  <davem@davemloft.net>
20717         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20718         futex-intenal.h
20719         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20720         * sysdeps/sparc/sparc64/Makefile: Likewise.
20721         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20722         Remove space from macro define.
20723         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20725 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20727         [BZ #17475]
20728         * locale/iso-639.def: Update Bhili and Tulu language codes as
20729         per iso639-3.
20731 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20733         * elf/tst-leaks1.c (main): Converted to ...
20734         (do_test): ... this.
20735         (TEST_FUNCTION): New macro.
20736         Include test-skeleton.c.
20737         * localedata/tst-langinfo.c (main): Converted to ...
20738         (do_test): ... this.
20739         (TEST_FUNCTION): New macro.
20740         Include test-skeleton.c.
20741         * math/test-fpucw.c (main): Converted to ...
20742         (do_test): ... this.
20743         (TEST_FUNCTION): New macro.
20744         Include test-skeleton.c.
20745         * math/test-tgmath.c (main): Converted to ...
20746         (do_test): ... this.
20747         (TEST_FUNCTION): New macro.
20748         Include test-skeleton.c.
20749         * math/test-tgmath2.c (main): Converted to ...
20750         (do_test): ... this.
20751         (TEST_FUNCTION): New macro.
20752         Include test-skeleton.c.
20753         * setjmp/tst-setjmp.c (main): Converted to ...
20754         (do_test): ... this.
20755         (TEST_FUNCTION): New macro.
20756         Include test-skeleton.c.
20757         * stdio-common/tst-sscanf.c (main): Converted to ...
20758         (do_test): ... this.
20759         (TEST_FUNCTION): New macro.
20760         Include test-skeleton.c.
20761         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20762         (do_test): ... this.
20763         (TEST_FUNCTION): New macro.
20764         Include test-skeleton.c.
20766         * elf/tst-audit9.c (main): Converted to ...
20767         (do_test): ... this.
20768         (TEST_FUNCTION): New macro.
20769         Include test-skeleton.c.
20771 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20773         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20775 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20777         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20778         New variable.
20780 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20782         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20784 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20786         * sysdeps/generic/dl-fileid.h: New file.
20787         * sysdeps/posix/dl-fileid.h: New file.
20788         * sysdeps/nacl/dl-fileid.h: New file.
20789         * include/link.h: Include <dl-fileid.h>.
20790         (struct link_map): Replace l_dev and l_ino with l_file_id.
20791         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20792         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20793         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20795 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20799 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20801         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20802         Add iff $CXX is set.
20803         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20804         Likewise.
20805         (tst-nodelete-zmodiff): Likewise.
20806         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20808 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20810         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20812 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20814         * sysdeps/aarch64/fpu/math_private.h
20815         (define math_opt_barrier): Add AArch64 version.
20816         (math_force_eval): Likewise.
20818 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20820         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20822 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20824         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20825         %ld with %jd and cast to intmax_t.
20826         (do_test_length_zero): Likewise.
20828 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20830         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20832 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20834         * sysdeps/tile/libm-test-ulps: Regenerated.
20836         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20837         Comment out the whole function, not just its body.
20839 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20841         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20842         locks.
20844         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20846 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20848         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20849         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20851 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20853         * sysdeps/nptl/futex-internal.h: New file.
20854         * sysdeps/nacl/futex-internal.h: New file.
20855         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20856         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20857         error checking.
20858         (setxid_unmark_thread): Likewise.
20859         (__nptl_setxid): Likewise.
20860         (__wait_lookup_done): Likewise.
20861         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20862         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20863         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20864         * nptl/pthread_once.c (clear_once_control): Likewise.
20865         (__pthread_once_slow): Likewise.
20866         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20867         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20868         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20869         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20870         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20871         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20872         Likewise.
20873         (__pthread_rwlock_rdlock): Likewise.
20874         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20875         Likewise.
20876         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20877         Likewise.
20878         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20879         Likewise.
20880         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20881         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20882         Likewise.
20883         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20884         __ASSUME_PRIVATE_FUTEX check.
20885         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20886         Check that shared futexes are supported.
20887         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20888         wrappers with error checking.
20889         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20890         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20891         * nptl/pthread_barrierattr_setpshared.c
20892         (pthread_barrierattr_setpshared): Check that shared futexes are
20893         supported.
20894         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20895         Likewise.
20896         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20897         Likewise.
20898         * nptl/sem_init.c (futex_private_if_supported): Remove.
20899         (__new_sem_init): Adapt and check that shared futexes are supported.
20900         * nptl/sem_open.c (sem_open): Likewise.
20901         * nptl/sem_post.c (futex_wake): Remove.
20902         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20903         (do_futex_wait): Use futex wrappers with error checking.
20904         * nptl/sem_wait.c: Include lowlevellock.h.
20905         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20906         Use futex_supports_pshared.
20907         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20908         Use futex wrappers with error checking.
20909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20910         Likewise.
20911         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20912         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20913         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20914         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20915         (futex_wake): Likewise.
20916         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20917         (do_futex_wait): Use futex wrappers with error checking.
20918         (__new_sem_wait_slow): Update EINTR handling.
20919         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20921 2015-07-09  Martin Sebor  <msebor@redhat.com>
20923         [BZ #18435]
20924         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20925         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20926         * nptl/Makefile (test-xfail-tst-once5): Define.
20928 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20930         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20931         * elf/dl-minimal.c: For readability, reorder some definitions and
20932         introduce more page breaks.  Include <stdio.h>.
20933         (__libc_fatal): New function.
20935         * include/unistd.h: Add rtld_hidden_proto for _exit.
20936         * posix/_exit.c: Add rtld_hidden_def.
20937         * sysdeps/mach/hurd/_exit.c: Likewise.
20938         * sysdeps/nacl/_exit.c: Likewise.
20939         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20940         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20942 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20945         bndmov encoding with zero displacement.
20947 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20948             H.J. Lu  <hongjiu.lu@intel.com>
20950         [BZ #18134]
20951         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20952         * sysdeps/i386/configure: Regenerated.
20953         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20954         (_dl_runtime_profile): Save and restore Intel MPX return bound
20955         registers when calling _dl_call_pltexit.  Add
20956         PRESERVE_BND_REGS_PREFIX before return.
20957         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20958         (LRV_BND1_OFFSET): Likewise.
20959         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20960         lrv_bnd1.
20961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20962         typo in bndmov encoding.
20963         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20964         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20965         branch instructions to preserve bounds.
20967 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20970         [GLIBC_2.22]: Add fmemopen.
20972 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20974         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20975         returns an error, also try to use host port from __mach_host_self for
20976         the __vm_wire call.
20977         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20979 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20981         [BZ #18400]
20982         [BZ #18648]
20983         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20984         Fix pr_uid and pr_gid members.
20985         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20986         definition to elf_greg_t.
20988 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20990         [BZ #18383]
20991         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20992         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20993         * sysdeps/arm/configure: Regenerated.
20994         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20995         (test-xfail-tst-tlsalign-static): Variable removed.
20997         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20998         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20999         rather than explicit 'ln -s'.
21001         * resolv/rpc/netdb.h: New file.
21002         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21004 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21006         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21007         length buffers.
21008         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21009         test-skeleton.c.
21011         [BZ #6544]
21012         [BZ #11216]
21013         [BZ #12836]
21014         [BZ #13151]
21015         [BZ #13152]
21016         [BZ #14292]
21017         * include/stdio.h (fmemopen): Remove hidden prototype.
21018         (__fmemopen): Add new hidden prototype.
21019         * libio/Makefile: Add oldfmemopen object.
21020         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21021         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21022         compliance.
21023         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21024         symbol compatibility.
21025         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21026         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21027         fmemopen.
21028         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21029         on append and read mode.
21030         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21031         fmemopen.
21032         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21033         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21034         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21035         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21036         Likewise.
21037         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21038         [GLIBC_2.22]: Likewise.
21039         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21040         Likewise.
21041         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21042         Likewise.
21043         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21044         [GLIBC_2.22]: Likewise.
21045         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21046         [GLIBC_2.22]: Likewise.
21047         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21048         [GLIBC_2.22]: Likewise.
21049         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21050         [GLIBC_2.22]: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21052         [GLIBC_2.22]: Likewise.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21054         [GLIBC_2.22]: Likewise.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21056         [GLIBC_2.22]: Likewise.
21057         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21058         Likewise.
21059         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21060         Likewise.
21061         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21062         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21063         [GLIBC_2.22]: Likewise.
21064         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21065         [GLIBC_2.22]: Likewise.
21066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21067         [GLIBC_2.22]: Likewise.
21068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21069         [GLIBC_2.22]: Likewise.
21070         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21071         Likewise.
21072         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21073         Likewise.
21074         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21075         Likewise.
21076         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21077         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21079 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21081         [BZ #18643]
21082         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21083         IPV6_PATHMTU, and IPV6_DONTFRAG.
21085 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21087         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21088         and _IO_UNBUFFERED.
21089         * libio/oldfileops.c: Likewise.
21090         * libio/wfileops.c: Likewise.
21092 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21094         * nscd/selinux.c: Delete selinux/flask.h include.
21096 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21098         [BZ #18641]
21099         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21100         (putpwent): Likewise.
21101         (getpwnam): Likewise.
21102         (getpwent_r): Likewise.
21103         (getpwuid_r): Likewise.
21104         (getpwnam_r): Likewise.
21105         (fgetpwent_r): Likewise.
21107 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21109         [BZ #18557]
21110         * inet/rcmd.c (__validuser2_sa): Check user first to
21111         short-circuit host check.
21113 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21114             Mikhail Ilin  <m.ilin@samsung.com>
21116         [BZ #17833]
21117         * elf/Makefile (tests): Add tst-nodelete.
21118         (modules-names): Add tst-nodelete-uniquemod.
21119         (tst-nodelete-uniquemod.so-no-z-defs): New.
21120         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21121         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21122         ($(objpfx)tst-nodelete): Likewise.
21123         ($(objpfx)tst-nodelete.out): Likewise.
21124         (LDFLAGS-tst-nodelete): Likewise.
21125         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21126         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21127         implement forced object deletion.
21128         (_dl_close): Pass false to _dl_close_worker.
21129         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21130         * elf/tst-nodelete.cc: New file.
21131         * elf/tst-nodeletelib.cc: Likewise.
21132         * elf/tst-znodeletelib.cc: Likewise.
21133         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21135 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21137         [BZ #18508]
21138         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21139         Depend on $(libdl).
21140         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21141         is not called infinitely times.
21142         (backtrace_helper): New function.
21143         (trace_arg): New struct.
21144         (st1): Enlarge stack size.
21145         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21146         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21147         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21148         Likewise.
21150 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21152         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21154 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21156         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21157         Include sys/types.h instead of bits/types.h.
21158         Remove inclusion of bits/wordsize.h.
21160 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21162         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21163         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21164         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21165         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21166         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21167         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21169 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21171         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21172         link-defines.sym.
21173         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21174         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21175         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21176         and LR_SIZE.
21177         * sysdeps/i386/link-defines.sym: New file.
21179 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21181         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21182         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21183         ($(objpfx)tst-audit3): New rule.
21184         ($(objpfx)tst-audit3.out): Likewise.
21185         * sysdeps/i386/tst-audit3.c: New file.
21186         * sysdeps/i386/tst-audit3.h: Likewise.
21187         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21188         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21190 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21192         [BZ #18633]
21193         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21194         pointer in C code.
21195         (__strcat_c): Likewise.
21196         (__strcat_g): Likewise.
21198 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21200         [BZ #18592]
21201         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21203 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21205         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21206         New function.  (__ieee754_sqrtf): New function.
21207         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21208         New function.
21209         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21210         New function.
21212 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21214         * sysdeps/ieee754/support.c: Remove unused file.
21216 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21218         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21219         registers instead of d ones so the layout is kernel abi compatible.
21220         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21221         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21222         Likewise.
21224 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21226         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21228 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21230         [BZ #18619]
21231         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21232         and return argument in case of subnormal argument.
21234 2015-07-01  Martin Sebor  <msebor@redhat.com>
21236         [BZ #18435]
21237         * nptl/Makefile: Add tst-once5.cc.
21238         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21239         Remove macro redefinitions.
21240         * nptl/tst-once5.cc: New test.
21242 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21244         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21246         * sysdeps/arm/libm-test-ulps: Regenerated.
21248         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21249         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21251 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21253         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21254         lll_lock_wait_private and lll_futex_wake probes.
21256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21258         Likewise.
21259         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21260         atomic_spin_nop.
21261         * sysdeps/x86_64/bits/atomic.h: Likewise.
21262         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21263         to atomic_spin_nop and move ...
21264         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21265         ... here and ...
21266         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21267         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21268         atomic_spin_nop instead of BUSY_WAIT_NOP.
21269         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21270         Likewise.
21271         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21272         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21273         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21274         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21275         instead of atomic_delay.
21277 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21279         [BZ #18613]
21280         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21281         X_ADJ not X when adjusting exponent.
21282         (__ieee754_gamma_r): Do intermediate computations in
21283         round-to-nearest then adjust overflowing and underflowing results
21284         as needed.
21285         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21286         of X_ADJ not X when adjusting exponent.
21287         (__ieee754_gammaf_r): Do intermediate computations in
21288         round-to-nearest then adjust overflowing and underflowing results
21289         as needed.
21290         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21291         log of X_ADJ not X when adjusting exponent.
21292         (__ieee754_gammal_r): Do intermediate computations in
21293         round-to-nearest then adjust overflowing and underflowing results
21294         as needed.  Use 1.0L not 1.0f as numerator of division.
21295         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21296         log of X_ADJ not X when adjusting exponent.
21297         (__ieee754_gammal_r): Do intermediate computations in
21298         round-to-nearest then adjust overflowing and underflowing results
21299         as needed.  Use 1.0L not 1.0f as numerator of division.
21300         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21301         of X_ADJ not X when adjusting exponent.
21302         (__ieee754_gammal_r): Do intermediate computations in
21303         round-to-nearest then adjust overflowing and underflowing results
21304         as needed.  Use 1.0L not 1.0f as numerator of division.
21305         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21306         to auto-libm-test-in.
21307         (tgamma_test): Use ALL_RM_TEST.
21308         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21309         tests of tgamma with spurious-overflow.
21310         * math/auto-libm-test-out: Regenerated.
21311         * math/gen-libm-have-vector-test.sh: Do not check for START.
21312         * sysdeps/i386/fpu/libm-test-ulps: Update.
21313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21315         [BZ #18612]
21316         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21317         arguments, just return 0.5 times the argument, with underflow
21318         forced as needed.
21319         * math/auto-libm-test-in: Add more tests of j1.
21320         * math/auto-libm-test-out: Regenerated.
21322         [BZ #16559]
21323         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21324         (__ieee754_j1): Force underflow exception for small results.
21325         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21326         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21327         (__ieee754_j1f): Force underflow exception for small results.
21328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21329         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21331         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21332         (__ieee754_j1l): Force underflow exception for small results.
21333         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21334         * math/auto-libm-test-in: Add more tests of j1 and jn.
21335         * math/auto-libm-test-out: Regenerated.
21337         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21338         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21339         (PF_MPLS): Likewise.
21340         (AF_IB): Likewise.
21341         (AF_MPLS): Likewise.
21342         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21343         value and macro.
21344         (MS_RMT_MASK): Include MS_LAZYTIME.
21346 2015-06-26  Mel Gorman  <mgorman@suse.de>
21348         [BZ #18502]
21349         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21350         already minimal.
21352 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21354         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21355         (DT_MIPS_NUM): Update.
21356         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21357         DT_MIPS_RLD_MAP_REL.
21359 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21361         [BZ #16559]
21362         [BZ #18602]
21363         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21364         round-to-nearest internally then recompute results that
21365         underflowed to zero in the original rounding mode.
21366         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21367         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21369         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21370         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21371         * sysdeps/i386/fpu/libm-test-ulps: Update.
21372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21374 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21376         * NEWS: Fixed description of link with vector math library.
21378 2015-06-25  Andreas Schwab  <schwab@suse.de>
21380         [BZ #18549]
21381         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21382         * libio/test-fmemopen.c (do_test): Add test for it.
21384 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21386         [BZ #17841]
21387         * Makeconfig (no-pie-ldflag): New.
21388         (+link): Set to $(+link-pie) if default to PIE.
21389         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21390         * config.make.in (build-pie-default): New.
21391         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21392         is default.  AC_SUBST.
21393         * configure: Regenerated.
21394         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21396 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21398         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21399         to 'unsigned int'.
21401         * resolv/gai_misc.h (struct waitlist): Change type of field
21402         counterp to 'volatile unsigned int *'.
21403         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21404         FUTEXADDR and OLDVAL.
21405         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21406         Give local variable TOTAL type 'volatile unsigned int'.
21407         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21408         * resolv/gai_suspend.c (gai_suspend):
21409         Give local variable CNTR type 'unsigned int'.
21411         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21412         counterp to 'volatile unsigned int *'.
21413         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21414         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21415         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21416         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21417         Give local variable TOTAL type 'volatile unsigned int'.
21418         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21420 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21422         [BZ #18383]
21423         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21424         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21425         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21426         comment for i386/x86-64.
21427         (test-xfail-tst-tlsalign-extern-static): Removed.
21429 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21431         * math/test-double.h: New file.
21432         * math/test-float.h: Likewise.
21433         * math/test-ldouble.h: Likewise.
21434         * math/test-math-inline.h: Likewise.
21435         * math/test-math-no-inline.h: Likewise.
21436         * math/test-math-scalar.h: Likewise.
21437         * math/test-math-vector.h: Likewise.
21438         * math/test-vec-loop.h: Remove file.  Contents moved into
21439         test-math-vector.h.
21440         * math/libm-test.inc (MATHCONST): Do not document macro.
21441         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21442         and test-math-scalar.h.
21443         (FUNC): Remove macro.
21444         (FUNC_TEST): Likewise.
21445         (FLOAT): Likewise.
21446         (MATHCONST): Likewise.
21447         (PRINTF_EXPR): Likewise.
21448         (PRINTF_XEXPR): Likewise.
21449         (PRINTF_NEXPR): Likewise.
21450         (TEST_DOUBLE): Likewise.
21451         (TEST_MATHVEC): Likewise.
21452         (__NO_MATH_INLINES): Likewise.
21453         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21454         and test-math-scalar.h.
21455         (FUNC): Remove macro.
21456         (FUNC_TEST): Likewise.
21457         (FLOAT): Likewise.
21458         (MATHCONST): Likewise.
21459         (PRINTF_EXPR): Likewise.
21460         (PRINTF_XEXPR): Likewise.
21461         (PRINTF_NEXPR): Likewise.
21462         (TEST_FLOAT): Likewise.
21463         (TEST_MATHVEC): Likewise.
21464         (__NO_MATH_INLINES): Likewise.
21465         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21466         and test-math-scalar.h.
21467         (FUNC): Remove macro.
21468         (FUNC_TEST): Likewise.
21469         (FLOAT): Likewise.
21470         (MATHCONST): Likewise.
21471         (PRINTF_EXPR): Likewise.
21472         (PRINTF_XEXPR): Likewise.
21473         (PRINTF_NEXPR): Likewise.
21474         (TEST_DOUBLE): Likewise.
21475         (TEST_MATHVEC): Likewise.
21476         (TEST_INLINE): Likewise.
21477         (__NO_MATH_INLINES): Likewise.
21478         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21479         test-math-scalar.h.
21480         (FUNC): Remove macro.
21481         (FUNC_TEST): Likewise.
21482         (FLOAT): Likewise.
21483         (MATHCONST): Likewise.
21484         (PRINTF_EXPR): Likewise.
21485         (PRINTF_XEXPR): Likewise.
21486         (PRINTF_NEXPR): Likewise.
21487         (TEST_FLOAT): Likewise.
21488         (TEST_MATHVEC): Likewise.
21489         (TEST_INLINE): Likewise.
21490         (__NO_MATH_INLINES): Likewise.
21491         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21492         and test-math-scalar.h.
21493         (FUNC): Remove macro.
21494         (FUNC_TEST): Likewise.
21495         (FLOAT): Likewise.
21496         (MATHCONST): Likewise.
21497         (PRINTF_EXPR): Likewise.
21498         (PRINTF_XEXPR): Likewise.
21499         (PRINTF_NEXPR): Likewise.
21500         (TEST_LDOUBLE): Likewise.
21501         (TEST_MATHVEC): Likewise.
21502         (TEST_INLINE): Likewise.
21503         (__NO_MATH_INLINES): Likewise.
21504         * math/test-ldouble.c: Include test-ldouble.h,
21505         test-math-no-inline.h and test-math-scalar.h.
21506         (FUNC): Remove macro.
21507         (FUNC_TEST): Likewise.
21508         (FLOAT): Likewise.
21509         (MATHCONST): Likewise.
21510         (PRINTF_EXPR): Likewise.
21511         (PRINTF_XEXPR): Likewise.
21512         (PRINTF_NEXPR): Likewise.
21513         (TEST_LDOUBLE): Likewise.
21514         (TEST_MATHVEC): Likewise.
21515         (__NO_MATH_INLINES): Likewise.
21516         * math/test-double-vlen2.h: Include test-double.h,
21517         test-math-no-inline.h and test-math-vector.h.
21518         (FLOAT): Remove macro.
21519         (FUNC): Likewise.
21520         (MATHCONST): Likewise.
21521         (PRINTF_EXPR): Likewise.
21522         (PRINTF_XEXPR): Likewise.
21523         (PRINTF_NEXPR): Likewise.
21524         (TEST_DOUBLE): Likewise.
21525         (TEST_MATHVEC): Likewise.
21526         (__NO_MATH_INLINES): Likewise.
21527         (CNCT): Likewise.
21528         (CONCAT): Likewise.
21529         (WRAPPER_NAME): Likewise.
21530         (WRAPPER_DECL): Likewise.
21531         (WRAPPER_DECL_ff): Likewise.
21532         (WRAPPER_DECL_fFF): Likewise.
21533         (VECTOR_WRAPPER): Likewise.
21534         (VECTOR_WRAPPER_ff): Likewise.
21535         (VECTOR_WRAPPER_fFF): Likewise.
21536         (VEC_LEN): New macro.
21537         * math/test-double-vlen4.h: Include test-double.h,
21538         test-math-no-inline.h and test-math-vector.h.
21539         (FLOAT): Remove macro.
21540         (FUNC): Likewise.
21541         (MATHCONST): Likewise.
21542         (PRINTF_EXPR): Likewise.
21543         (PRINTF_XEXPR): Likewise.
21544         (PRINTF_NEXPR): Likewise.
21545         (TEST_DOUBLE): Likewise.
21546         (TEST_MATHVEC): Likewise.
21547         (__NO_MATH_INLINES): Likewise.
21548         (CNCT): Likewise.
21549         (CONCAT): Likewise.
21550         (WRAPPER_NAME): Likewise.
21551         (WRAPPER_DECL): Likewise.
21552         (WRAPPER_DECL_ff): Likewise.
21553         (WRAPPER_DECL_fFF): Likewise.
21554         (VECTOR_WRAPPER): Likewise.
21555         (VECTOR_WRAPPER_ff): Likewise.
21556         (VECTOR_WRAPPER_fFF): Likewise.
21557         (VEC_LEN): New macro.
21558         * math/test-double-vlen8.h: Include test-double.h,
21559         test-math-no-inline.h and test-math-vector.h.
21560         (FLOAT): Remove macro.
21561         (FUNC): Likewise.
21562         (MATHCONST): Likewise.
21563         (PRINTF_EXPR): Likewise.
21564         (PRINTF_XEXPR): Likewise.
21565         (PRINTF_NEXPR): Likewise.
21566         (TEST_DOUBLE): Likewise.
21567         (TEST_MATHVEC): Likewise.
21568         (__NO_MATH_INLINES): Likewise.
21569         (CNCT): Likewise.
21570         (CONCAT): Likewise.
21571         (WRAPPER_NAME): Likewise.
21572         (WRAPPER_DECL): Likewise.
21573         (WRAPPER_DECL_ff): Likewise.
21574         (WRAPPER_DECL_fFF): Likewise.
21575         (VECTOR_WRAPPER): Likewise.
21576         (VECTOR_WRAPPER_ff): Likewise.
21577         (VECTOR_WRAPPER_fFF): Likewise.
21578         (VEC_LEN): New macro.
21579         * math/test-float-vlen4.h: Include test-float.h,
21580         test-math-no-inline.h and test-math-vector.h.
21581         (FLOAT): Remove macro.
21582         (FUNC): Likewise.
21583         (MATHCONST): Likewise.
21584         (PRINTF_EXPR): Likewise.
21585         (PRINTF_XEXPR): Likewise.
21586         (PRINTF_NEXPR): Likewise.
21587         (TEST_FLOAT): Likewise.
21588         (TEST_MATHVEC): Likewise.
21589         (__NO_MATH_INLINES): Likewise.
21590         (CNCT): Likewise.
21591         (CONCAT): Likewise.
21592         (WRAPPER_NAME): Likewise.
21593         (WRAPPER_DECL): Likewise.
21594         (WRAPPER_DECL_ff): Likewise.
21595         (WRAPPER_DECL_fFF): Likewise.
21596         (VECTOR_WRAPPER): Likewise.
21597         (VECTOR_WRAPPER_ff): Likewise.
21598         (VECTOR_WRAPPER_fFF): Likewise.
21599         (VEC_LEN): New macro.
21600         * math/test-float-vlen8.h: Include test-float.h,
21601         test-math-no-inline.h and test-math-vector.h.
21602         (FLOAT): Remove macro.
21603         (FUNC): Likewise.
21604         (MATHCONST): Likewise.
21605         (PRINTF_EXPR): Likewise.
21606         (PRINTF_XEXPR): Likewise.
21607         (PRINTF_NEXPR): Likewise.
21608         (TEST_FLOAT): Likewise.
21609         (TEST_MATHVEC): Likewise.
21610         (__NO_MATH_INLINES): Likewise.
21611         (CNCT): Likewise.
21612         (CONCAT): Likewise.
21613         (WRAPPER_NAME): Likewise.
21614         (WRAPPER_DECL): Likewise.
21615         (WRAPPER_DECL_ff): Likewise.
21616         (WRAPPER_DECL_fFF): Likewise.
21617         (VECTOR_WRAPPER): Likewise.
21618         (VECTOR_WRAPPER_ff): Likewise.
21619         (VECTOR_WRAPPER_fFF): Likewise.
21620         (VEC_LEN): New macro.
21621         * math/test-float-vlen16.h: Include test-float.h,
21622         test-math-no-inline.h and test-math-vector.h.
21623         (FLOAT): Remove macro.
21624         (FUNC): Likewise.
21625         (MATHCONST): Likewise.
21626         (PRINTF_EXPR): Likewise.
21627         (PRINTF_XEXPR): Likewise.
21628         (PRINTF_NEXPR): Likewise.
21629         (TEST_FLOAT): Likewise.
21630         (TEST_MATHVEC): Likewise.
21631         (__NO_MATH_INLINES): Likewise.
21632         (CNCT): Likewise.
21633         (CONCAT): Likewise.
21634         (WRAPPER_NAME): Likewise.
21635         (WRAPPER_DECL): Likewise.
21636         (WRAPPER_DECL_ff): Likewise.
21637         (WRAPPER_DECL_fFF): Likewise.
21638         (VECTOR_WRAPPER): Likewise.
21639         (VECTOR_WRAPPER_ff): Likewise.
21640         (VECTOR_WRAPPER_fFF): Likewise.
21641         (VEC_LEN): New macro.
21642         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21643         test-vec-loop.h.
21644         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21645         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21646         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21648         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21650         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21652 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21654         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21655         (__getlogin_r): ... this.
21657 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21659         [BZ #18594]
21660         * math/s_ccosh.c (__ccosh): Compare with least normal value
21661         instead of comparing class with FP_SUBNORMAL.
21662         * math/s_ccoshf.c (__ccoshf): Likewise.
21663         * math/s_ccoshl.c (__ccoshl): Likewise.
21664         * math/s_cexp.c (__cexp): Likewise.
21665         * math/s_cexpf.c (__cexpf): Likewise.
21666         * math/s_cexpl.c (__cexpl): Likewise.
21667         * math/s_csin.c (__csin): Likewise.
21668         * math/s_csinf.c (__csinf): Likewise.
21669         * math/s_csinh.c (__csinh): Likewise.
21670         * math/s_csinhf.c (__csinhf): Likewise.
21671         * math/s_csinhl.c (__csinhl): Likewise.
21672         * math/s_csinl.c (__csinl): Likewise.
21673         * math/s_ctan.c (__ctan): Likewise.
21674         * math/s_ctanf.c (__ctanf): Likewise.
21675         * math/s_ctanh.c (__ctanh): Likewise.
21676         * math/s_ctanhf.c (__ctanhf): Likewise.
21677         * math/s_ctanhl.c (__ctanhl): Likewise.
21678         * math/s_ctanl.c (__ctanl): Likewise.
21679         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21680         csin, csinh, ctan and ctanh.
21681         * math/auto-libm-test-out: Regenerated.
21682         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21683         * sysdeps/i386/fpu/libm-test-ulps: Update.
21684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21686 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21688         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21689         return value is wrong, print the expected value too.
21691 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21693         [BZ #18585]
21694         * elf/readlib.c (is_gdb_python_file): New.
21695         (process_file): Don't issue errors on filenames with -gdb.py
21696         suffix.
21698 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21700         * math/auto-libm-test-in: Add more tests of csin and csinh.
21701         * math/auto-libm-test-out: Regenerated.
21702         * math/libm-test.inc (csin_test_data): Remove tests moved to
21703         auto-libm-test-in.
21704         (csinh_test_data): Likewise.
21706         [BZ #18593]
21707         * math/s_csin.c (__csin): Negate before rather than after possibly
21708         overflowing multiplication.
21709         * math/s_csinf.c (__csinf): Likewise.
21710         * math/s_csinh.c (__csinh): Likewise.
21711         * math/s_csinhf.c (__csinhf): Likewise.
21712         * math/s_csinhl.c (__csinhl): Likewise.
21713         * math/s_csinl.c (__csinl): Likewise.
21714         * math/auto-libm-test-in: Add some tests of csin and csinh.
21715         * math/auto-libm-test-out: Regenerated.
21716         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21717         (csinh_test_data): Likewise.
21718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21720         [BZ #18586]
21721         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21722         underflow exception for small results.
21724 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21726         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21727         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21728         variable and included header.
21729         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21730         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21731         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21734         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21735         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21737         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21738         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21739         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21740         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21741         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21742         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21743         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21744         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21746 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21748         [BZ #16526]
21749         [BZ #16538]
21750         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21751         (__sin): Force underflow exception for arguments with small
21752         absolute value.
21753         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21754         (__kernel_sinf): Force underflow exception for arguments with
21755         small absolute value.
21756         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21757         (__kernel_sincosl): Force underflow exception for arguments with
21758         small absolute value.
21759         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21760         (__kernel_sinl): Force underflow exception for arguments with
21761         small absolute value.
21762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21763         (__kernel_sincosl): Force underflow exception for arguments with
21764         small absolute value.
21765         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21766         (__kernel_sinl): Force underflow exception for arguments with
21767         small absolute value.
21768         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21769         (__kernel_sinl): Force underflow exception for arguments with
21770         small absolute value.
21771         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21772         (__kernel_sinf): Force underflow exception for arguments with
21773         small absolute value.
21774         * math/auto-libm-test-in: Add more tests of sin and sincos.
21775         * math/auto-libm-test-out: Regenerated.
21777         [BZ #18245]
21778         [BZ #18583]
21779         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21780         (__kernel_standard_l): Use feholdexcept and fesetenv around
21781         conversion to double instead of special-casing overflow and
21782         underflow.
21783         * math/libm-test.inc (fmod_test_data): Add more tests.
21784         (remainder_test_data): Likewise.
21785         (sqrt_test_data): Likewise.
21787 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21789         [BZ #17403]
21790         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21791         atomic_read_barrier, atomic_write_barrier): Define.
21792         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21793         atomic_read_barrier, atomic_write_barrier): Define.
21795 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21797         * math/Makefile [$(PERL) != no]
21798         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21799         dependency on libm-test.stmp below the inclusion of Rules.
21801 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21803         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21805         and included header.
21806         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21807         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21808         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21814         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21815         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21816         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21817         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21818         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21819         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21820         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21821         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21822         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21823         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21824         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21826 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21828         [BZ #18371]
21829         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21830         intermediate but not final result might underflow.
21831         * math/s_csqrtf.c (__csqrtf): Likewise.
21832         * math/s_csqrtl.c (__csqrtl): Likewise.
21833         * math/auto-libm-test-in: Add more tests of csqrt.
21834         * math/auto-libm-test-out: Regenerated.
21835         * sysdeps/i386/fpu/libm-test-ulps: Update.
21837         [BZ #18219]
21838         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21839         threshold on absolute value of exponent for which scaling is used.
21840         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21841         * math/auto-libm-test-in: Add more tests of exp2.
21842         * math/auto-libm-test-out: Regenerated.
21844 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21846         [BZ #17977]
21847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21848         when initializing interface list, based on the bug analysis
21849         and the patch proposed by Eric Newton.
21850         * resolv/tst-res_hconf_reorder.c: New test.
21851         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21852         tst-res_hconf_reorder.
21853         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21854         and $(shared-thread-library).
21855         (tst-res_hconf_reorder-ENV): New variable.
21857         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21858         in comment.
21860 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21862         [BZ #16353]
21863         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21864         (__expm1): Force underflow exception for arguments with small
21865         absolute value.
21866         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21867         (__expm1f): Force underflow exception for arguments with small
21868         absolute value.
21869         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21870         (__expm1): Force underflow exception for arguments with small
21871         absolute value.
21872         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21873         (__expm1f): Force underflow exception for arguments with small
21874         absolute value.
21875         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21876         Check for small arguments before calling __expm1.
21877         * math/auto-libm-test-in: Do not mark underflow exceptions as
21878         possibly missing for bug 16353.
21879         * math/auto-libm-test-out: Regenerated.
21881 2015-06-22  Andreas Schwab  <schwab@suse.de>
21883         [BZ #18513]
21884         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21885         PTR queries.
21887 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21889         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21891         * string/strcoll_l.c: Remove unused struct element idxnow.
21893 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21895         [BZ #18569]
21896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21897         underflow and return argument in case of subnormal argument.
21898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21899         Likewise.
21900         * math/auto-libm-test-in: Add more tests of expm1.
21901         * math/auto-libm-test-out: Regenerated.
21903         [BZ #16361]
21904         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21905         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21906         tiny results.
21907         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21908         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21909         tiny results.
21910         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21911         mark underflow exceptions as possibly missing for bug 16361.
21912         * math/auto-libm-test-out: Regenerated.
21914 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21916         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21917         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21918         Remove variable.
21919         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21920         (test-xfail-XOPEN2K8/utmpx.h/conform).
21922         * conform/conformtest.pl ($xerrors): New variable.
21923         (note_error): New function.
21924         (compiletest): New argument $xfail.  Use not_error.
21925         (runtest): Likewise.
21926         (top level): Handle xfail- lines.  Update calls to compiletest and
21927         runtest.  Handle xfail- and optional- in headers listed with
21928         allow-header.
21929         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21930         (O_EXEC): Likewise.
21931         (O_SEARCH): Likewise.
21932         * conform/data/stropts.h-data (ioctl): Likewise.
21933         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21934         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21935         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21936         (msghdr.msg_controllen): Likewise.
21937         (cmsghdr.cmsg_len): Likewise.
21938         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21939         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21940         variable.
21941         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21942         (test-xfail-XPG4/stropts.h/conform): Likewise.
21943         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21944         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21945         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21946         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21947         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21948         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21949         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21950         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21951         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21952         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21953         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21954         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21955         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21956         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21957         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21958         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21959         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21960         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21961         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21963 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21965         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21966         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21967         definitions for proper unfolding of __MATHDECL_VEC.
21969 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21971         * benchtests/bench-strcoll.c:
21972         Include string.h.
21973         (main): Remove unused variable res.
21975 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21977         * timezone/Makefile (%/UTC %/Universal):
21978         Generate test-result files for UTC and Universal.
21980 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21982         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21984 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #16350]
21987         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21988         for arguments with small absolute value.
21989         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21990         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21991         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21992         (__asinh): Force underflow exception for arguments with small
21993         absolute value.
21994         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21995         (__asinhf): Force underflow exception for arguments with small
21996         absolute value.
21997         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21998         (__asinhl): Force underflow exception for arguments with small
21999         absolute value.
22000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22001         (__asinhl): Force underflow exception for arguments with small
22002         absolute value.
22003         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22004         (__asinhl): Force underflow exception for arguments with small
22005         absolute value.
22006         * math/auto-libm-test-in: Do not mark underflow exceptions as
22007         possibly missing for bug 16350.
22008         * math/auto-libm-test-out: Regenerated.
22010         * include/bits/ipc.h: Remove file.
22011         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22012         variable.
22013         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22014         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22015         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22016         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22017         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22018         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22019         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22020         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22021         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22023         * math/auto-libm-test-in: Remove spurious underflow allowance for
22024         tests of cexp.
22025         * math/auto-libm-test-out: Regenerated.
22027         [BZ #18558]
22028         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22029         unconditional definition.
22030         (MCAST_BLOCK_SOURCE): Likewise.
22031         (MCAST_UNBLOCK_SOURCE): Likewise.
22032         (MCAST_LEAVE_GROUP): Likewise.
22033         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22034         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22035         (MCAST_MSFILTER): Likewise.
22036         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22037         Remove variable.
22038         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22039         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22040         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22041         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22042         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22044 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22046         * NEWS: Mention addition of x86_64 vector sincosf.
22047         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22048         * math/test-float-vlen4.h: Likewise.
22049         * math/test-float-vlen8.h: Likewise.
22050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22051         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22053         * sysdeps/x86_64/fpu/Versions: New versions added.
22054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22056         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22058         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22060         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22063         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22064         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22065         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22066         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22067         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22068         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22069         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22070         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22071         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22072         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22073         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22074         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22076         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22077         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22079         * NEWS: Mention addition of x86_64 vector sincos.
22080         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22081         * math/math.h (__MATHDECL_VEC): New macro.
22082         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22083         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22084         declaration under condition.
22085         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22086         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22087         TEST_VEC_LOOP change.
22088         * math/test-double-vlen4.h: Likewise.
22089         * math/test-double-vlen8.h: Likewise.
22090         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22091         * math/test-float-vlen4.h: Likewise.
22092         * math/test-float-vlen8.h: Likewise.
22093         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22094         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22096         * sysdeps/x86_64/fpu/Versions: New versions added.
22097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22098         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22099         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22101         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22106         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22107         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22108         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22109         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22110         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22111         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22112         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22114         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22118         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22120         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22124         redirections for powf.
22125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22126         * sysdeps/x86_64/fpu/Versions: New versions added.
22127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22129         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22130         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22132         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22136         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22137         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22138         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22139         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22140         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22141         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22142         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22144         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22145         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22146         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22150         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22151         * math/test-float-vlen16.h: Fixed 2 argument macro.
22152         * math/test-float-vlen4.h: Likewise.
22153         * math/test-float-vlen8.h: Likewise.
22154         * NEWS: Mention addition of x86_64 vector powf.
22156 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22158         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22159         and redefine.
22160         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22161         and redefine.
22162         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22163         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22164         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22166         [BZ #18553]
22167         * resource/getpriority.c (getpriority): Rename to __getpriority
22168         and define as weak alias of __getpriority.
22169         * resource/setpriority.c (setpriority): Rename to __setpriority
22170         and define as weak alias of __setpriority.
22171         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22172         __getpriority and define as weak alias of __getpriority.
22173         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22174         __setpriority and define as weak alias of __setpriority.
22175         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22176         strong name.
22177         (setpriority): Use __setpriority as strong name.
22178         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22179         __getpriority and define as weak alias of __getpriority.
22180         * include/sys/resource.h (__getpriority): Declare.  Use
22181         libc_hidden_proto.
22182         (__setpriority): Likewise.
22183         (getpriority): Don't use libc_hidden_proto.
22184         (setpriority): Likewise.
22185         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22186         getpriority.  Call __setpriority instead of setpriority.
22187         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22188         Remove variable.
22190         [BZ #18547]
22191         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22192         as weak alias of __getttynam.  Use prototype function definition.
22193         Call __setttyent, __getttyent and __endttyent instead of
22194         setttyent, getttyent and endttyent.
22195         (getttyent): Rename to __getttyent and define as weak alias of
22196         __getttyent.  Call __setttyent instead of setttyent.  Call
22197         __fgets_unlocked instead of fgets_unlocked.
22198         (setttyent): Rename to __setttyent and define as weak alias of
22199         __setttyent.
22200         (endttyent): Rename to __endttyent and define as weak alias of
22201         __endttyent.
22202         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22203         (__setttyent): Likewise.
22204         (__endttyent): Likewise.
22205         (getttyent): Don't use libc_hidden_proto.
22206         (setttyent): Likewise.
22207         (endttyent): Likewise.
22208         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22209         __endttyent instead of setttyent, getttyent and endttyent.
22210         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22211         Remove variable.
22213         [BZ #18546]
22214         * socket/recv.c (__recv): Use libc_hidden_def.
22215         * socket/socket.c (__socket): Likewise.
22216         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22217         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22218         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22219         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22220         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22221         libc_hidden_def.
22222         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22223         libc_hidden_weak.
22224         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22225         Use libc_hidden_proto.
22226         (__recv): Likewise.
22227         * socket/Versions (libc): Export __recv and __socket at version
22228         GLIBC_PRIVATE.
22229         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22230         instead of recv.
22231         (init_mq_netlink): Call __socket instead of socket.
22232         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22233         Remove variable.
22235         [BZ #18545]
22236         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22237         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22238         hidden_weak.
22239         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22240         define as alias of __mq_timedsend.  Use hidden_weak.
22241         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22242         __mq_timedsend as strong name.
22243         (mq_timedreceive): Use __mq_timedreceive as strong name.
22244         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22245         (__mq_timedreceive): Likewise.
22246         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22247         __mq_timedreceive instead of mq_timedreceive.
22248         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22249         instead of mq_timedsend.
22250         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22251         Remove variable.
22253         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22254         hidden_def and hidden_weak instead of libc_hidden_def and
22255         libc_hidden_weak.
22256         (top level): Refer to hidden_def in comment.
22257         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22258         macro.  Use it instead of libc_hidden_def.
22259         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22260         specify __GI_* name explicitly.
22261         (mq_timedreceive): Likewise.
22262         (mq_setattr): Likewise.
22264         [BZ #18544]
22265         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22266         __pthread_barrier_init and define as weak alias of
22267         __pthread_barrier_init.
22268         * sysdeps/sparc/nptl/pthread_barrier_init.c
22269         (pthread_barrier_init): Likewise.
22270         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22271         __pthread_barrier_wait and define as weak alias of
22272         __pthread_barrier_wait.
22273         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22274         (pthread_barrier_wait): Likewise.
22275         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22276         (pthread_barrier_wait): Likewise.
22277         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22278         (pthread_barrier_wait): Likewise.
22279         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22280         (pthread_barrier_wait): Likewise.
22281         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22282         __pthread_barrier_wait at version GLIBC_PRIVATE.
22283         * include/pthread.h (__pthread_barrier_init): Declare.
22284         (__pthread_barrier_wait): Likewise.
22285         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22286         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22287         (helper_thread): Likewise.
22288         (init_mq_netlink): Call __pthread_barrier_init instead of
22289         pthread_barrier_init.
22291         [BZ #18542]
22292         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22293         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22294         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22295         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22296         vswscanf.
22297         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22298         Remove variable.
22300         [BZ #18540]
22301         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22302         strong alias of _IO_fflush.  Use libc_hidden_def.
22303         * libio/iofflush_u.c (fflush_unlocked): Rename to
22304         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22305         Use libc_hidden_weak.
22306         * include/stdio.h (__fflush_unlocked): Declare.  Use
22307         libc_hidden_proto.
22308         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22309         fflush_unlocked.
22310         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22311         Remove variable.
22313         [BZ #18539]
22314         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22315         define as weak alias of __addseverity.
22316         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22317         Remove variable.
22318         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22319         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22320         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22322         [BZ #18536]
22323         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22324         (__tfind): Likewise.
22325         (__tdelete): Likewise.
22326         (__twalk): Likewise.
22327         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22328         __twalk to GLIBC_PRIVATE.
22329         * include/search.h (__tsearch): Use libc_hidden_proto.
22330         (__tfind): Likewise.
22331         (__tdelete): Likewise.
22332         (__twalk): Likewise.
22333         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22334         Call __tdelete instead of tdelete.
22335         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22336         tfind.  Call __tsearch instead of tsearch.
22337         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22338         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22339         Remove variable.
22340         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22342         [BZ #18534]
22343         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22344         (dprintf): Define as a weak alias of __dprintf, not a strong
22345         alias.
22346         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22347         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22348         dprintf.
22349         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22350         Remove variable.
22351         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22352         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22354         [BZ #18533]
22355         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22356         not a strong alias.
22357         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22358         Remove variable.
22360         [BZ #18532]
22361         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22362         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22363         (in6addr_loopback): Rename to __in6addr_loopback and define as
22364         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22365         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22366         libc_hidden_proto.
22367         (__in6addr_any): Likewise.
22368         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22369         in6addr_any.
22370         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22371         variable.
22372         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22374 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22376         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22377         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22378         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22379         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22380         redirections for pow.
22381         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22382         * sysdeps/x86_64/fpu/Versions: New versions added.
22383         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22384         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22385         build of SSE, AVX2 and AVX512 IFUNC versions.
22386         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22391         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22392         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22393         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22394         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22395         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22396         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22397         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22398         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22399         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22400         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22401         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22402         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22403         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22404         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22405         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22406         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22407         * NEWS: Mention addition of x86_64 vector pow.
22409         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22410         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22411         redirections for expf.
22412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22413         * sysdeps/x86_64/fpu/Versions: New versions added.
22414         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22415         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22416         build of SSE, AVX2 and AVX512 IFUNC versions.
22417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22423         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22424         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22425         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22426         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22427         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22428         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22429         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22430         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22431         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22432         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22435         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22436         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22437         * NEWS: Mention addition of x86_64 vector expf.
22439         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22440         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22441         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22442         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22443         redirections for exp.
22444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22445         * sysdeps/x86_64/fpu/Versions: New versions added.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22447         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22448         build of SSE, AVX2 and AVX512 IFUNC versions.
22449         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22452         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22453         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22454         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22455         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22456         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22457         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22458         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22459         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22460         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22461         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22462         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22463         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22464         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22465         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22466         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22467         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22468         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22469         * NEWS: Mention addition of x86_64 vector exp.
22471         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22472         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22473         redirections for logf.
22474         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22475         * sysdeps/x86_64/fpu/Versions: New versions added.
22476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22477         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22478         build of SSE, AVX2 and AVX512 IFUNC versions.
22479         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22485         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22486         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22487         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22488         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22489         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22490         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22491         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22492         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22493         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22494         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22495         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22496         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22497         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22498         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22499         * NEWS: Mention addition of x86_64 vector logf.
22501         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22502         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22503         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22504         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22505         redirections for log.
22506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22507         * sysdeps/x86_64/fpu/Versions: New versions added.
22508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22510         build of SSE, AVX2 and AVX512 IFUNC versions.
22511         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22512         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22513         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22514         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22515         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22516         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22517         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22518         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22519         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22520         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22521         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22522         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22523         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22524         test.
22525         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22526         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22528         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22529         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22530         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22531         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22532         * NEWS: Mention addition of x86_64 vector log.
22534 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22536         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22537         cfi_adjust_cfa_offset argument.
22538         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22539         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22541         [BZ #18034]
22542         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22543         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22544         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22545         ordering using ldar.
22546         (_dl_tlsdesc_dynamic): Likewise.
22547         (_dl_tlsdesc_return_lazy): Likewise.
22548         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22549         relaxed atomics instead of volatile and synchronize with release store.
22550         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22551         volatile.
22552         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22554 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22557         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22558         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22559         * sysdeps/x86_64/fpu/Versions: New versions added.
22560         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22561         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22562         build of SSE, AVX2 and AVX512 IFUNC versions.
22563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22566         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22567         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22568         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22569         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22570         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22571         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22572         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22573         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22574         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22575         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22576         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22577         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22578         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22579         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22581         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22582         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22583         * NEWS: Mention addition of x86_64 vector sinf.
22585 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22587         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22588         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22589         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22590         Remove variable.
22591         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22592         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22594 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22596         [BZ #18530]
22597         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22598         strong alias of _IO_fputs.  Use libc_hidden_def.
22599         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22600         and define as weak alias of __fputs_unlocked.  Use
22601         libc_hidden_weak.
22602         * include/stdio.h (__fputs_unlocked): Declare.  Use
22603         libc_hidden_proto.
22604         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22605         fputs_unlocked.
22607         [BZ #18529]
22608         * resolv/netdb.h [__USE_POSIX]: Change condition to
22609         [__USE_XOPEN2K].
22610         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22611         not expect.
22612         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22613         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22614         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22615         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22616         [XPG4 || UNIX98] (AI_ALL): Likewise.
22617         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22618         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22619         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22620         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22621         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22622         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22623         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22624         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22625         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22626         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22627         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22628         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22629         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22630         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22631         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22632         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22633         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22634         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22635         [XPG4 || UNIX98] (gai_strerror): Likewise.
22636         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22637         [XPG4 || UNIX98] (getnameinfo): Likewise.
22639         [BZ #18528]
22640         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22641         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22642         __USE_XOPEN2K8].
22643         (getgrent): Likewise.
22644         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22645         expect.
22646         [XPG3 || POSIX2008] (endgrent): Likewise.
22647         [XPG3] (setgrent): Likewise.
22648         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22649         variable.
22650         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22652         [BZ #18527]
22653         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22654         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22655         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22656         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22657         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22658         * include/unistd.h (__getlogin_r): Declare.  Use
22659         libc_hidden_proto.
22660         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22661         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22662         variable.
22663         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22664         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22665         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22667 2015-06-12  Martin Sebor  <msebor@redhat.com>
22669         [BZ #18512]
22670         * Makerules (check-install-supported): New target.
22671         (install): Add check-install-supported as a dependency.
22672         * manual/install.texi (Installing the C Library): Document
22673         that overriding prefix and exec_prefix is not supported.
22674         Mention DESTDIR.
22675         * INSTALL: Regenerate from the above.
22677 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22679         [BZ #18519]
22680         * posix/Versions (libc): Export __libc_pread at version
22681         GLIBC_PRIVATE.
22682         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22683         instead of pread.
22684         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22685         variable.
22687         [BZ #18522]
22688         * misc/efgcvt_r.c
22689         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22690         (cvt_symbol): Use weak_alias instead of strong_alias.
22691         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22692         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22693         Remove variable.
22694         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22695         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22697         [BZ #18520]
22698         * inet/herrno.c (h_errno): Rename to __h_errno.
22699         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22700         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22701         to __h_errno instead of h_errno.
22702         * nptl/herrno.c (h_errno): Rename to __h_errno.
22703         (__h_errno_location): Refer to __h_errno not h_errno.
22704         * resolv/Versions (h_errno): Rename to __h_errno.
22705         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22706         Remove variable.
22707         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22709 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22711         * configure.ac: More strict check for AVX512 assembler support.
22712         * configure: Regenerated.
22714         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22715         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22716         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22717         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22718         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22719         * sysdeps/x86_64/fpu/Versions: New versions added.
22720         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22721         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22722         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22723         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22725         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22726         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22727         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22729         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22730         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22731         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22732         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22733         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22734         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22735         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22736         test.
22737         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22738         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22739         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22740         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22741         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22742         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22743         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22744         * NEWS: Mention addition of x86_64 vector sin.
22746 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22748         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22749         comment.
22751 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22753         [BZ #18479]
22754         * nptl/pt-interp.c: New file.
22755         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22756         Add pt-interp.
22757         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22758         $(common-objpfx)runtime-linker.h.
22760 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22762         * Makeconfig (+interp): Remove unused variable.
22763         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22764         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22765         $(elf-objpfx)runtime-linker.h.
22766         ($(elf-objpfx)runtime-linker.h): Rename to
22767         $(common-objpfx)runtime-linker.h and move ...
22768         * Makerules [$(build-shared) = yes]: ... here.
22769         * elf/interp.c: Include <runtime-linker.h> instead of
22770         <elf/runtime-linker.h>.
22772 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22774         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22775         (__gettimeofday_syscall): Remove vsyscall fallback.
22776         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22777         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22778         Add syscall fallback function.
22779         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22780         if vDSO is not present.
22781         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22782         fallback function.
22783         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22784         present.
22785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22786         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22788 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22790         [BZ #18497]
22791         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22792         of wcscmp.
22793         (wcscmp): Define as weak alias of WCSCMP.
22794         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22795         wcscoll.
22796         (USE_HIDDEN_DEF): Define.
22797         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22798         __wcscoll.  Don't use libc_hidden_weak.
22799         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22800         wcscmp.
22801         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22802         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22803         __GI_wcscmp.
22804         (weak_alias): Undefine and redefine.
22805         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22806         __wcscmp and define as weak alias of __wcscmp.
22807         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22808         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22809         (__wcscoll): Likewise.
22810         (wcscmp): Don't use libc_hidden_proto.
22811         (wcscoll): Likewise.
22812         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22813         wcscoll.
22814         * posix/regexec.c (check_node_accept_bytes): Likewise.
22815         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22816         variable.
22817         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22818         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22820         [BZ #18507]
22821         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22822         __fstatvfs and define as weak alias of __fstatvfs.  Use
22823         libc_hidden_weak.
22824         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22825         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22826         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22827         Define as alias of __fstatvfs, not fstatvfs.
22828         (fstatvfs64): Likewise.
22829         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22830         Define as alias of __statvfs, not statvfs.
22831         (statvfs64): Likewise.
22832         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22833         Remove variable.
22835 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22838         (HAVE_GETCPU_VSYSCALL): Define.
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22840         (HAVE_GETCPU_VSYSCALL): Likewise.
22841         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22842         * sysdeps/unix/sysv/linux/sched_getcpu.c
22843         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22844         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22845         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22846         prototype.
22847         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22848         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22849         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22851         Define.
22852         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22853         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22854         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22855         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22857 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22859         * sysdeps/x86_64/fpu/Makefile: New file.
22860         * sysdeps/x86_64/fpu/Versions: New file.
22861         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22862         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22863         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22864         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22865         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22866         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22867         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22868         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22871         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22873         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22874         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22875         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22876         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22877         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22878         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22879         * sysdeps/x86_64/configure: Regenerated.
22880         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22882         * manual/install.texi (Configuring and compiling): Document
22883         --disable-mathvec.
22884         * INSTALL: Regenerated.
22885         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22887         * math/Makefile: Added rules for vector tests.
22888         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22889         declaration under condition.
22890         * math/test-double-vlen2.h: New file.
22891         * math/test-double-vlen4.h: New file.
22892         * math/test-double-vlen8.h: New file.
22893         * math/test-vec-loop.h: Added initialization macro.
22894         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22895         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22896         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22897         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22898         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22900         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22901         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22902         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22903         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22904         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22907         * sysdeps/x86_64/fpu/Versions: New versions added.
22908         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22909         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22911         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22912         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22915         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22918         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22919         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22920         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22922         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22923         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22924         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22925         * NEWS: Mention addition of x86_64 vector cosf.
22927         * math/Makefile: Added CFLAGS for new tests.
22928         * math/test-float-vlen16.h: New file.
22929         * math/test-float-vlen4.h: New file.
22930         * math/test-float-vlen8.h: New file.
22931         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22932         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22934         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22935         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22936         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22937         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22938         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22940         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22941         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22943 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22945         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22946         * locale/programs/ld-ctype.c: Likewise.
22948 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22950         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22951         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22952         bit_ZMM16_31_state): New macro.
22953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22954         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22956 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22958         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22960 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22962         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22964 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #18498]
22967         * libio/memstream.c (open_memstream): Rename to __open_memstream
22968         and define as weak alias of __open_memstream.
22969         * include/stdio.h (__open_memstream): Declare.  Use
22970         libc_hidden_proto.
22971         (open_memstream): Don't use libc_hidden_proto.
22972         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22973         open_memstream.
22974         * posix/getopt.c (_getopt_internal_r): Likewise.
22975         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22976         variable.
22977         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22978         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22979         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22981         [BZ #18496]
22982         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22983         instead of wcrtomb.
22985         [BZ #18483]
22986         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22987         [__USE_XOPEN2K8].  Remove redundant #endif.
22988         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22989         Remove redundant #if.
22990         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22991         Remove variable.
22992         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22993         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22995         [BZ #18495]
22996         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22997         (__iswlower): Likewise.
22998         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22999         (__iswlower): Likewise.
23000         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23001         instead of towlower.
23002         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23003         instead of iswlower.  Call __towupper instead of towupper.
23004         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23005         instead of iswalnum.
23007 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23009         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23010         errors to stderr.
23012 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23014         [BZ #15661]
23015         [BZ #17322]
23016         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23017         Check for overflow properly.  Check for O_APPEND.  Ignore large
23018         file system block sizes.  Add comments about problems.
23019         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23020         * manual/filesys.texi (Storage Allocation): New node.
23022 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23024         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23025         cancellable syscalls.
23026         (SYS_ify): Add guard to no redefine it.
23027         (INLINE_SYSCALL): Likewise.
23028         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23029         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23030         SYSCALL_CANCEL instead.
23031         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23032         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23033         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23034         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23035         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23036         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23037         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23038         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23039         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23040         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23041         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23042         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23043         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23044         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23045         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23047         Likewise.
23048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23049         (__libc_pread64): Likewise.
23050         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23051         (__libc_preadv): Likewise.
23052         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23053         (__libc_readv64): Likewise.
23054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23055         (__libc_pwrite): Likewise.
23056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23057         (__libc_pwrite64): Likewise.
23058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23059         (__libc_pwritev): Likewise.
23060         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23061         (__libc_pwritev64): Likewise.
23062         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23063         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23064         (sync_file_range): Likewise.
23065         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23066         Likewise.
23067         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23068         Likewise.
23069         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23070         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23071         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23072         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23073         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23074         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23075         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23076         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23078         Likewise.
23079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23080         (__libc_read64): Likewise.
23081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23082         Likewise.
23083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23084         Likewise.
23085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23086         Likewise.
23087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23088         Likewise.
23089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23090         (__libc_pread64): Likewise.
23091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23092         Likewise.
23093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23094         (__libc_pwrite64): Likewise.
23095         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23096         (sync_file_range): Likewise.
23097         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23098         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23099         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23100         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23101         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23102         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23103         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23104         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23105         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23106         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23107         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23108         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23109         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23110         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23111         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23112         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23113         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23114         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23115         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23116         Likewise.
23117         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23118         Likewise.
23119         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23120         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23121         Likewise.
23122         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23123         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23124         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23125         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23126         Likewise.
23127         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23128         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23129         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23130         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23131         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23133 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23135         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23136         Include dl-vdso.
23137         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23138         Use VDSO routines for gettimeofday, clock_gettime if
23139         available.
23140         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23141         Declare VDSO symbols.
23142         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23143         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23144         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23145         * sysdeps/unix/sysv/linux/arm/Versions: Add
23146         __vdso_clock_gettime.
23148 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23150         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23151         be an inline implementation regardless of library is built within.
23152         (open_not_cancel_2): Likewise.
23153         (__read_nocancel): Likewise.
23154         (__write_nocancel): Likewise.
23155         (openat_not_cancel): Likewise.
23156         (openat_not_cancel_3): Likewise.
23157         (openat64_not_cancel): Likewise.
23158         (openat64_not_cancel_3): Likewise.
23159         (__close_nocancel): Likewise.
23160         (pause_not_cancel): Likewise.
23161         (nanosleep_not_cancel): Likewise.
23162         (sigsuspend_not_cancel): Likewise.
23164 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23166         [BZ #14958]
23167         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23168         wake-up.
23169         (__pthread_rwlock_rdlock_slow): Likewise.
23170         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23171         Likewise.
23172         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23173         Likewise.
23174         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23175         * nptl/tst-rwlock16.c: New file.
23176         * nptl/Makefile (tests): Add new test.
23178 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23180         [BZ #18324]
23181         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23182         missing wake-up of readers.
23183         * nptl/tst-rwlock15.c: New file.
23184         * nptl/Makefile (tests): Add new test.
23186 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23188         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23189         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23190         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23191         and __nacl_supply_interface_rtld.
23192         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23193         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23194         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23195         Add __nacl_supply_interface_rtld.
23196         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23198 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23200         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23201         isfinite.
23202         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23203         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23205 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23207         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23208         __signbit* with standard C99 macros.
23209         * math/e_exp10l.c: Likewise.
23210         * math/e_exp2l.c: Likewise.
23211         * math/e_scalb.c: Likewise.
23212         * math/e_scalbf.c: Likewise.
23213         * math/e_scalbl.c: Likewise.
23214         * math/s_ldexp.c: Likewise.
23215         * math/s_ldexpf.c: Likewise.
23216         * math/s_ldexpl.c: Likewise.
23217         * math/w_atan2.c: Likewise.
23218         * math/w_atan2f.c: Likewise.
23219         * math/w_atan2l.c: Likewise.
23220         * math/w_cosh.c: Likewise.
23221         * math/w_coshf.c: Likewise.
23222         * math/w_coshl.c: Likewise.
23223         * math/w_exp10.c: Likewise.
23224         * math/w_exp10f.c: Likewise.
23225         * math/w_exp10l.c: Likewise.
23226         * math/w_exp2.c: Likewise.
23227         * math/w_exp2f.c: Likewise.
23228         * math/w_exp2l.c: Likewise.
23229         * math/w_fmod.c: Likewise.
23230         * math/w_fmodf.c: Likewise.
23231         * math/w_fmodl.c: Likewise.
23232         * math/w_hypot.c: Likewise.
23233         * math/w_hypotf.c: Likewise.
23234         * math/w_hypotl.c: Likewise.
23235         * math/w_jnl.c: Likewise.
23236         * math/w_lgamma.c: Likewise.
23237         * math/w_lgamma_r.c: Likewise.
23238         * math/w_lgammaf.c: Likewise.
23239         * math/w_lgammaf_r.c: Likewise.
23240         * math/w_lgammal.c: Likewise.
23241         * math/w_lgammal_r.c: Likewise.
23242         * math/w_pow.c: Likewise.
23243         * math/w_powf.c: Likewise.
23244         * math/w_powl.c: Likewise.
23245         * math/w_remainder.c: Likewise.
23246         * math/w_remainderf.c: Likewise.
23247         * math/w_remainderl.c: Likewise.
23248         * math/w_scalb.c: Likewise.
23249         * math/w_scalbf.c: Likewise.
23250         * math/w_scalbl.c: Likewise.
23251         * math/w_scalbln.c: Likewise.
23252         * math/w_scalblnf.c: Likewise.
23253         * math/w_scalblnl.c: Likewise.
23254         * math/w_sinh.c: Likewise.
23255         * math/w_sinhf.c: Likewise.
23256         * math/w_sinhl.c: Likewise.
23257         * math/w_tgamma.c: Likewise.
23258         * math/w_tgammaf.c: Likewise.
23259         * math/w_tgammal.c: Likewise.
23260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23261         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23262         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23263         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23264         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23265         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23266         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23267         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23268         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23269         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23270         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23271         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23272         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23273         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23274         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23275         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23276         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23277         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23278         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23279         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23281         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23283         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23284         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23286         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23287         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23288         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23289         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23290         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23291         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23292         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23293         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23294         * stdio-common/printf_fp.c: Likewise.
23295         * stdio-common/printf_fphex.c: Likewise.
23296         * stdio-common/printf_size.c: Likewise.
23298 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23300         [BZ #18470]
23301         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23302         strnlen.
23303         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23304         Remove variable.
23305         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23306         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23307         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23308         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23309         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23310         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23311         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23312         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23313         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23314         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23316         [BZ #18468]
23317         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23318         weak alias of __wmemchr.  Use libc_hidden_weak.
23319         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23320         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23321         instead of wmemchr.
23323 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23325         [BZ #18383]
23326         * elf/tst-tlsalign-extern.c: New file.
23327         * elf/tst-tlsalign-extern-static.c: New file.
23328         * elf/tst-tlsalign-vars.c: New file.
23329         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23330         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23331         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23332         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23333         (test-xfail-tst-tlsalign-extern-static): New variable.
23335 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23337         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23338         Use variable name _sc_err instead of err.
23339         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23340         instead of ret.
23341         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23342         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23343         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23344         (INLINE_SYSCALL): Likewise.
23346         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23347         * include/string.h (__strnlen): Use libc_hidden_proto.
23348         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23349         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23350         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23351         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23352         (libc_hidden_def): Undefine and redefine.
23353         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23354         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23355         __GI_strnlen.
23356         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23357         libc_hidden_def.
23358         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23360         [BZ #18469]
23361         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23362         weak alias of __towlower.  Use libc_hidden_weak.
23363         (towupper): Rename to __towupper and define as weak alias of
23364         __towupper.  Use libc_hidden_weak.
23365         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23366         (__towupper): Likewise.
23367         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23368         __towlower instead of towlower.
23370 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23372         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23373         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23375 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23377         * sysdeps/aarch64/libm-test-ulps: Update.
23379 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23381         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23382         Define.
23383         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23385         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23386         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23387         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23388         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23389         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23391 2015-06-01  Martin Sebor  <msebor@redhat.com>
23393         [BZ #18116]
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23395         (__setcontext): Use extended four-operand version of mtsf whenever
23396         possible.
23397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23398         (__novec_swapcontext): Likewise.
23400 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23402         * benchtests/scripts/compare_bench.py: New file.
23403         * benchtests/scripts/import_bench.py (mean): New function.
23404         (split_list): Likewise.
23405         (do_for_all_timings): Likewise.
23406         (compress_timings): Likewise.
23408         * benchtests/scripts/import_bench.py: New file.
23409         * benchtests/scripts/validate_benchout.py: Import import_bench
23410         instead of jsonschema.
23411         (validate_bench): Remove function.
23412         (main): Use import_bench.
23414 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23416         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23417         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23419 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23423 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23425         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23426         set THREAD_SELF->tid to a magic value and futex-wake it.
23427         Pass its address to the thread_exit system call.
23428         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23429         bit is clear.
23430         * sysdeps/nacl/lowlevellock.h: New file.
23431         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23433         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23434         Add TIMEOUT to current time, don't subtract it.
23436 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23438         [BZ #2981]
23439         [BZ #18422]
23440         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23441         ($(objpfx)tst-audit2.out): Also depend on
23442         $(objpfx)tst-auditmod9b.so.
23443         * elf/tst-audit2.c: Include <dlfcn.h>.
23444         (calloc_called): New.
23445         (calloc): Allow to be called more than once.
23446         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23448 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23450         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23451         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23453 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23455         * stdlib/monetary.h: Fix comment.
23457 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23459         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23460         Avoid using variables in #defines that might cause shadowing.
23461         (INTERNAL_VSYSCALL_CALL): Likewise.
23463 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23465         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23467         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23468         * nptl/lll_timedlock_wait.c: ... to this new file.
23469         * nptl/Makefile (libpthread-routines): Add it.
23470         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23471         * nptl/lll_timedwait_tid.c: ... to this new file.
23472         * nptl/Makefile (libpthread-routines): Add it.
23473         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23474         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23475         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23476         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23477         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23478         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23479         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23480         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23481         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23482         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23484 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23486         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23487         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23488         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23490         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23492         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23494         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23495         * sysdeps/unix/sysv/linux/tile/sysdep.h
23496         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23497         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23498         using vDSO syscall macro.
23500 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23502         [BZ #17293]
23503         * uk_UA: Fix sorting order for Ukrainian locale
23505 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23507         * stdlib/monetary.h: Fix comment.
23509 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23511         [BZ #18234]
23512         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23513         st_mtim and st_ctim members.
23514         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23515         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23516         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23517         (struct stat64): Likewise.
23518         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23519         (struct stat64): Likewise.
23520         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23521         (struct stat64): Likewise.
23523 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23525         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23526         Define and include sysdep-vdso.h.
23527         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23528         Likewise.
23529         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23530         Likewise.
23531         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23532         Define with VDSO_SYMBOL and use PTR_MANGLE.
23533         (__vdso_clock_gettime): Likewise.
23534         (__vdso_clock_getres): Likewise.
23535         (_libc_vdso_platform_setup): Likewise.
23536         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23537         Likewise.
23538         (_libc_vdso_platform_setup): Likewise.
23539         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23540         Likewise.
23541         (__vdso_clock_gettime): Likewise.
23542         (__vdso_clock_getres): Likewise.
23543         (__vdso_get_tbfreq): Likewise.
23544         (__vdso_getcpu): Likewise.
23545         (__vdso_time): Likewise.
23546         (__vdso_sigtramp_rt64): Likewise.
23547         (__vdso_signtramp32): Likewise.
23548         (__vdso_sigtramp_rt32): Likewise.
23549         (_libc_vdso_platform_setup): Likewise.
23550         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23551         Likewise.
23552         (__vdso_clock_gettime): Likewise.
23553         (__vdso_clock_getres): Likewise.
23554         (_libc_vdso_platform_setup): Likewise.
23555         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23556         Likewise.
23557         (__vdso_clock_gettime): Likewise.
23558         (_libc_vdso_platform_setup): Likewise.
23559         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23560         Likewise.
23561         (__vdso_getcpu): Likewise.
23562         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23563         Use VDSO_SYMBOL macro to define.
23564         (__vdso_clock_gettime): Likewise.
23565         (__vdso_clock_getres): Likewise.
23566         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23567         Likewise.
23568         (__vdso_clock_gettime): Likewise.
23569         (__vdso_clock_getres): Likewise.
23570         (__vdso_get_tbfreq): Likewise.
23571         (__vdso_getcpu): Likewise.
23572         (__vdso_time): Likewise.
23573         (__vdso_sigtramp_rt64): Likewise.
23574         (__vdso_signtramp32): Likewise.
23575         (__vdso_sigtramp_rt32): Likewise.
23576         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23577         Likewise.
23578         (__vdso_clock_gettime): Likewise.
23579         (__vdso_clock_getres): Likewise.
23580         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23581         Likewise.
23582         (__vdso_clock_gettime): Likewise.
23583         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23584         Likewise.
23585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23586         macro.
23587         (INTERNAL_VSYSCALL): Likewise.
23588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23589         Remove macro.
23590         (INTERNAL_VSYSCALL): Likewise.
23591         (INTERNAL_VSYSCALL_NCS): Likewise.
23592         (INTERNAL_VSYSCALL_CALL): New macro.
23593         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23595         Likewise.
23596         (INTERNAL_VSYSCALL): Likewise.
23597         (INTERNAL_VSYSCALL_NCS): Likewise.
23598         (INTERNAL_VSYSCALL_CALL): New macro.
23599         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23601         (INLINE_VSYSCALL): Remove macro.
23602         (INTERNAL_VSYSCALL): Remove macro.
23603         (INTERNAL_VSYSCALL_NCS): Remove macro.
23604         (INTERNAL_VSYSCALL_CALL): New macro.
23605         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23606         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23607         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23608         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23609         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23611         (INLINE_VSYSCALL): Remove macro.
23612         (INTERNAL_VSYSCALL): Likewise.
23613         (INTERNAL_VSYSCALL_NCS): Likewise.
23614         (INTERNAL_VSYSCALL_CALL): New macro.
23615         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23616         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23617         PTR_DEMANGLE on vDSO pointer.
23618         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23619         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23620         macro.
23621         (INTERNAL_SYSCALL): Likewise.
23622         (INTERNAL_VSYSCALL_NCS): Remove macro.
23623         (INTERNAL_VSYSCALL_CALL): New macro.
23624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23625         Remove macro.
23626         (INTERNAL_VSYSCALL): Likewise.
23627         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23628         sysdep-vdso.h instead of libc-vdso.h.
23629         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23630         definition.
23631         (INLINE_VSYSCALL): Likewise.
23632         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23633         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23634         definition.
23635         (INLINE_VSYSCALL): Likewise.
23636         (INTERNAL_VSYSCALL): Likewise.
23637         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23638         * sysdeps/unix/sysv/linux/timespec_get.c
23639         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23640         (timespec_get): Use ANSI prototype.
23641         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23642         and definition for Linux.
23644 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23646         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23647         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23649 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23651         [BZ #2981]
23652         [BZ #18410]
23653         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23654         for missing DT_PLTRELSZ.
23656 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23658         Remove obsolete aliases that broke 'locale -a'
23659         [BZ #18412]
23660         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23661         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23662         breaking some applications that use 'locale -a' output.
23663         Change the encoding of this file from Latin-1 to ASCII to avoid
23664         other potential problems with people grepping this file.
23666 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23668         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23669         -fasynchronous-unwind-tables.
23670         (CFLAGS-sendto.c): Likewise.
23671         (CFLAGS-sendmsg.c): Likewise.
23672         (CFLAGS-connect.c): Likewise.
23673         (CFLAGS-recvmsg.c): Likewise.
23674         (CFLAGS-recvfrom.c): Likewise.
23675         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23676         (SOCKETCALL): New macro: non-cancellable socketcall.
23677         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23678         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23679         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23680         * sysdeps/unix/sysv/linux/accept.c: New file.
23681         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23682         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23683         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23684         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23685         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23686         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23687         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23688         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23689         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23690         * sysdeps/unix/sysv/linux/send.c: Likewise.
23691         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23692         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23693         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23694         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23695         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23696         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23697         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23698         prototype.
23699         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23700         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23701         instead of __internal_xxx function.
23702         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23703         prototype.
23704         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23705         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23706         instead of __internal_xxx function.
23707         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23708         prototype.
23709         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23710         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23711         instead of __internal_xxx function.
23712         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23713         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23714         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23715         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23716         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23717         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23718         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23719         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23720         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23721         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23722         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23723         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23724         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23725         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23726         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23727         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23728         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23729         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23730         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23731         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23734         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23735         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23736         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23737         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23738         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23739         * sysdeps/unix/sysv/linux/send.S: Likewise.
23740         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23741         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23742         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23743         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23744         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23745         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23746         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23747         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23748         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23749         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23750         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23751         socketcall is implemented in GLIBC.
23753 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23755         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23756         (__fma): Ignore uninitialized warnings around packing.
23757         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23758         (__fmaf): Ignore uninitialized warnings around packing.
23759         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23760         (__fmal): Ignore uninitialized warnings around packing.
23762         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23763         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23765         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23767         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23768         switch statement into default case.
23769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23771         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23772         a conditional in forcing "inexact".
23773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23774         Likewise.
23776 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23778         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23779         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23780         for each INTERNAL_SYSCALL use.
23782 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23784         [BZ #438]
23785         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23786         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23787         variable.
23789         [BZ #18444]
23790         * string/basename.c (basename): Rename to __basename and define as
23791         weak alias of __basename.  Use libc_hidden_weak.
23792         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23793         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23794         __basename instead of basename.
23795         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23796         Remove variable.
23797         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23799 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23801         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23802         (_IO_JUMPS_FILE_plus): New.
23803         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23804         _IO_CAST_FIELD_ACCESS.
23805         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23806         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23807         * libio/freopen.c (freopen): Likewise.
23808         * libio/freopen64.c (freopen64): Likewise.
23809         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23810         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23811         * libio/iofwide.c (_IO_fwide): Likewise.
23812         * libio/memstream.c (open_memstream): Likewise.
23813         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23814         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23815         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23817 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23819         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23820         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23821         NADJ.
23822         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23823         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23824         NADJ.
23825         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23826         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23827         NADJ.
23829         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23830         (p == 4) case.
23832         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23833         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23834         Remove variable.
23835         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23836         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23837         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23839 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23841         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23842         Adjust jump table label generation macros.
23844 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23846         * stdio-common/vfprintf.c (vfprintf): Move local variables
23847         args_malloced, specs, specs_malloced, and the code after
23848         do_positional to the printf_positional function.
23849         (printf_positional): New function.
23851 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23853         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23854         function.
23855         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23856         STEP4_TABLE, process_arg): Move macro definitions
23857         out of the vfprintf function.  (Cosmetic change only.)
23859 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23861         * benchtests/Makefile (stdio-common-bench): Define.
23862         (benchset): Add stdio-common-bench.
23863         * sprintf-inputs: New file.
23864         * sprintf-source.c: New file.
23866 2015-05-21  Andreas Schwab  <schwab@suse.de>
23868         [BZ #13028]
23869         [BZ #17053]
23870         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23871         of struct __res_state.
23872         * resolv/res_send.c (__libc_res_nsend): Likewise.
23873         (get_nsaddr): New function.
23874         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23875         statp directly.
23877 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23879         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23880         -D_POSIX_C_SOURCE=199506L.
23882         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23884         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23885         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23886         Do not mention otherwise.
23887         [POSIX] (_XOPEN_VERSION): Do not expect.
23888         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23889         [POSIX] (_POSIX2_C_BIND): Likewise.
23890         [POSIX] (_POSIX2_VERSION): Likewise.
23891         [POSIX] (_XOPEN_XPG2): Likewise.
23892         [POSIX] (_XOPEN_XPG3): Likewise.
23893         [POSIX] (_XOPEN_XPG4): Likewise.
23894         [POSIX] (_XOPEN_UNIX): Likewise.
23895         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23896         [POSIX] (_POSIX_BARRIERS): Likewise.
23897         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23898         [POSIX] (_POSIX_CPUTIME): Likewise.
23899         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23900         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23901         [POSIX] (_POSIX_SHELL): Likewise.
23902         [POSIX] (_POSIX_SPAWN): Likewise.
23903         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23904         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23905         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23906         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23907         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23908         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23909         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23910         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23911         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23912         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23913         [POSIX] (_POSIX2_PBS): Likewise.
23914         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23915         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23916         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23917         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23918         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23919         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23920         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23921         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23922         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23923         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23924         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23925         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23926         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23927         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23928         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23929         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23930         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23931         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23932         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23933         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23934         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23935         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23936         [POSIX] (_SC_2_C_BIND): Likewise.
23937         [POSIX] (_SC_2_C_VERSION): Likewise.
23938         [POSIX] (_SC_2_PBS): Likewise.
23939         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23940         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23941         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23942         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23943         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23944         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23945         [POSIX] (_SC_BARRIERS): Likewise.
23946         [POSIX] (_SC_BASE): Likewise.
23947         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23948         [POSIX] (_SC_DEVICE_IO): Likewise.
23949         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23950         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23951         [POSIX] (_SC_FD_MGMT): Likewise.
23952         [POSIX] (_SC_FIFO): Likewise.
23953         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23954         [POSIX] (_SC_FILE_LOCKING): Likewise.
23955         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23956         [POSIX] (_SC_IOV_MAX): Likewise.
23957         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23958         [POSIX] (_SC_NETWORKING): Likewise.
23959         [POSIX] (_SC_PAGE_SIZE): Likewise.
23960         [POSIX] (_SC_PASS_MAX): Likewise.
23961         [POSIX] (_SC_PIPE): Likewise.
23962         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23963         [POSIX] (_SC_REGEXP): Likewise.
23964         [POSIX] (_SC_SHELL): Likewise.
23965         [POSIX] (_SC_SIGNALS): Likewise.
23966         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23967         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23968         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23969         [POSIX] (_SC_USER_GROUPS): Likewise.
23970         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23971         [POSIX] (_SC_STREAMS): Likewise.
23972         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23973         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23974         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23975         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23976         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23977         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23978         [POSIX] (_PC_FILESIZEBITS): Likewise.
23979         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23980         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23981         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23982         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23983         [POSIX] (uid_t): Likewise.
23984         [POSIX] (gid_t): Likewise.
23985         [POSIX] (off_t): Likewise.
23986         [POSIX] (pid_t): Likewise.
23987         [POSIX] (cuserid): Allow.
23988         (_SC_2_CHAR_TERM): Require constant.
23989         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23990         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23991         variable.
23993 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23995         * sysdeps/nacl/pthread-pids.h: New file.
23996         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23997         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23999         * nptl/pthread-pids.h: New file.
24000         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24001         * nptl/nptl-init.c: Include <pthread-pids.h>.
24002         (__pthread_initialize_minimal_internal):
24003         Call __pthread_initialize_pids instead of set_tid_address syscall.
24005         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24006         * sysdeps/posix/usleep.c: ... here.
24008 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24010         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24011         call_pselect6 object.
24012         [$(subdir) = io]: Remove call_sync_file_range object.
24013         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24014         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24015         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24016         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24018 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24020         * math/s_cproj.c: Add include "math_private.h".
24021         * math/s_cprojf.c: Likewise.
24022         * math/s_cprojl.c: Likewise.
24024 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24026         [BZ #18244]
24027         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24028         high mantissa bit when testing whether P is a NaN.
24029         * math/libm-test.inc (remainder_test_data): Add more tests.
24030         (remquo_test_data): Likewise.
24032         [BZ #18049]
24033         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24034         below -32, return the argument, with underflow if subnormal.
24035         * math/auto-libm-test-in: Add more tests of atanh.
24036         * math/auto-libm-test-out: Regenerated.
24038 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24040         [BZ #18434]
24041         * nptl/tst-sem15.c: New file.
24042         * nptl/Makefile (tests): Add it.
24043         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24044         s/<</>>/ to fix typo in EOVERFLOW check.
24045         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24047 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24049         * manual/strings.texi (envz_remove): Fix typo in safety
24050         annotations.
24052 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24053             Steve Ellcey  <sellcey@imgtec.com>
24055         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24056         in order to avoid strict alias warnings.
24057         (iruserok_af): Ditto for ra.
24059 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24061         [BZ #17581]
24062         * malloc/hooks.c
24063         (magicbyte): Convert to a function and avoid returning 0x01.
24064         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24065         (mem2chunk_check): Fix unsigned comparisons to zero.
24066         Hoist defs of sz and magic.
24068 2015-05-19  Richard Henderson  <rth@redhat.com>
24070         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24072         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24074 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076         [BZ #16159]
24077         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24078         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24079         (reused_arena): Find a non-corrupt arena.
24080         (heap_trim): Pass arena to unlink.
24081         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24082         malloc_printerr.
24083         (top_check): Likewise.
24084         (free_check): Likewise.
24085         (realloc_check): Likewise.
24086         * malloc/malloc.c (malloc_printerr): Add arena argument.
24087         (unlink): Likewise.
24088         (munmap_chunk): Adjust.
24089         (ARENA_CORRUPTION_BIT): New macro.
24090         (arena_is_corrupt): Likewise.
24091         (set_arena_corrupt): Likewise.
24092         (sysmalloc): Use mmap if there are no usable arenas.
24093         (_int_malloc): Likewise.
24094         (__libc_malloc): Don't fail if arena_get returns NULL.
24095         (_mid_memalign): Likewise.
24096         (__libc_calloc): Likewise.
24097         (__libc_realloc): Adjust for additional argument to
24098         malloc_printerr.
24099         (_int_free): Likewise.
24100         (malloc_consolidate): Likewise.
24101         (_int_realloc): Likewise.
24102         (_int_memalign): Don't touch corrupt arenas.
24103         * malloc/tst-malloc-backtrace.c: New test case.
24105         * Makefile (summarize-tests): Fix return value on success.
24107         * manual/string.texi (Envz Functions): Add envz_remove.
24109 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24111         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24112         (invalid_name): New function, broken out of ...
24113         (__opendirat): ... here.  Call it.
24114         (need_isdir_precheck): New function, broken out of ...
24115         (__opendirat): ... here.  Call it.
24116         Use __fxstatat64, not __xstatat64.
24117         (opendir_oflags): New function, broken out of ...
24118         (__opendirat): ... here.  Call it.
24119         (opendir_tail): New function, broken out of ...
24120         (__opendirat): ... here.  Call it.
24121         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24122         opendir_tail, rather than punting to __opendirat.
24123         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24125 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24127         * .gitignore: Ignore generated *.pyc.
24129 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24131         * include/stdio.h: Define __need_wint_t.
24132         * test-skeleton.c: Avoid `for' loop initial declaration.
24133         * nptl/tst-initializers1.c: Use test-skeleton.c.
24135 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24137         [BZ #18418]
24138         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24140 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24142         [BZ #16352]
24143         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24144         (__ieee754_atanh): Force underflow exception for results with
24145         small absolute value.
24146         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24147         (__ieee754_atanhf): Force underflow exception for results with
24148         small absolute value.
24149         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24150         (__ieee754_atanh): Force underflow exception for results with
24151         small absolute value.
24152         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24153         (__ieee754_atanhf): Force underflow exception for results with
24154         small absolute value.
24155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24156         (__ieee754_atanhl): Force underflow exception for results with
24157         small absolute value.
24158         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24159         (__ieee754_atanhl): Force underflow exception for results with
24160         small absolute value.
24161         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24162         (__ieee754_atanhl): Force underflow exception for results with
24163         small absolute value.
24164         * math/auto-libm-test-in: Do not allow missing underflow
24165         exceptions from atanh.
24166         * math/auto-libm-test-out: Regenerated.
24168         [BZ #18221]
24169         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24170         2**-28 as threshold for returning x or +/- 1/x.
24171         * math/auto-libm-test-in: Add more tests of tan.
24172         * math/auto-libm-test-out: Regenerated.
24174         [BZ #18220]
24175         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24176         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24177         * math/auto-libm-test-in: Add another test of lgamma.
24178         * math/auto-libm-test-out: Regenerated.
24180 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24182         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24183         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24184         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24185         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24186         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24187         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24188         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24189         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24190         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24191         (log1): Use fabs.  (my_log2): Use fabs.
24192         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24193         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24194         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24195         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24196         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24197         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24198         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24199         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24200         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24201         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24202         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24204 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24206         [BZ #18217]
24207         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24208         as threshold for returning 1 - x.
24209         * math/auto-libm-test-in: Add more tests of erfc.
24210         * math/auto-libm-test-out: Regenerated.
24212 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24214         [BZ #18196]
24215         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24216         threshold for large arguments.
24217         * math/auto-libm-test-in: Add another test of atan.
24218         * math/auto-libm-test-out: Regenerated.
24220         [BZ #16339]
24221         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24222         (__log1p): Force underflow exception for results with small
24223         absolute value.
24224         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24225         (__log1pf): Force underflow exception for results with small
24226         absolute value.
24227         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24228         (__log1p): Force underflow exception for results with small
24229         absolute value.
24230         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24231         (__log1pf): Force underflow exception for results with small
24232         absolute value.
24233         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24234         (__log1pl): Force underflow exception for results with small
24235         absolute value.
24236         * math/auto-libm-test-in: Do not allow missing underflow
24237         exceptions from log1p.
24238         * math/auto-libm-test-out: Regenerated.
24240 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24241             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24243         [BZ #16704]
24244         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24246 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24248         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24249         (libmvec): New variable.
24250         * configure.ac: Added option for mathvec build.
24251         * configure: Regenerated.
24252         * mathvec/Depend: New file.
24253         * mathvec/Makefile: New file.
24254         * shlib-versions: Added libmvec.
24255         * math/Makefile: Added rule for libm.so installation.
24257         * bits/math-vector.h: New file.
24258         * bits/libm-simd-decl-stubs.h: New header.
24259         * math/Makefile (headers): Added new header
24260         libm-simd-decl-stubs.h.
24261         * math/math.h (__MATHCALL_VEC): New macro.
24263         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24264         for conditions in testing functions.
24265         * math/Makefile: Added call of libm-have-vector-test.sh.
24266         * math/libm-test.inc (HAVE_VECTOR): New macros.
24268         * math/libm-test.inc: START refactored.
24269         * math/test-double.c (TEST_MATHVEC): Add define.
24270         * math/test-float.c: Likewise.
24271         * math/test-idouble.c: Likewise.
24272         * math/test-ifloat.c: Likewise.
24273         * math/test-ildoubl.c: Likewise.
24274         * math/test-ldouble.c: Likewise.
24275         * sysdeps/generic/math-tests-arch.h
24276         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24277         architecture check.
24279         * math/test-double.c (FUNC_TEST): New macro.
24280         * math/test-float.c: Likewise.
24281         * math/test-idouble.c: Likewise.
24282         * math/test-ifloat.c: Likewise.
24283         * math/test-ildoubl.c: Likewise.
24284         * math/test-ldouble.c: Likewise.
24285         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24287 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24289         * sysdeps/nacl/fdopendir.c: New file.
24291         * dirent/scandir-tail.c: New file.
24292         * dirent/scandir64-tail.c: New file.
24293         * dirent/Makefile (routines): Add them.
24294         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24295         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24296         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24297         [!SCANDIR] (SCANDIR_TAIL): New macro.
24298         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24299         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24300         (SCANDIRAT): Macro removed.
24301         (SCANDIR_TAIL): New macro.
24302         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24303         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24304         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24305         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24306         (READDIR): Macro removed.
24307         (SCANDIR_TAIL): New macro.
24308         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24309         (SCANDIR_TAIL): New macro.
24311         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24312         * dirent/scandir-cancel.c: ... to this new file.
24313         * dirent/Makefile (routines): Add it.
24314         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24315         * sysdeps/unix/sysv/linux/i386/scandir64.c
24316         (SKIP_SCANDIR_CANCEL): Macro removed.
24317         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24319         * dirent/tst-scandir.c: New file.
24320         * dirent/tst-scandir64.c: New file.
24321         * dirent/Makefile (tests): Add them.
24323 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24325         [BZ #18409]
24326         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24328 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24330         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24331         list.
24333 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24335         * benchtests/bench-strcoll.c: New benchmark.
24336         * benchtests/Makefile: Generate locales and run benchmark.
24337         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24338         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24339         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24340         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24341         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24342         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24343         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24344         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24345         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24346         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24347         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24348         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24349         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24350         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24351         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24352         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24353         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24354         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24355         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24356         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24357         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24358         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24359         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24360         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24362 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24364         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24365         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24367 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24369         * posix/uname-values.h: New file.
24370         * posix/uname.c: Include that instead of <config-name.h>.
24371         * sysdeps/nacl/uname-values.h: New file.
24372         * sysdeps/arm/nacl/uname-values.h: New file.
24374 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24376         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24377         splitting into fields.
24379 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24381         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24382         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24383         * locale/localeinfo.h: Add enum collation_encoding_type.
24384         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24385         * programs/ld-collate.c (collate_output): Add encoding type info.
24386         * string/strcoll_l.c (STRDIFF): New function.
24387         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24388         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24390 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24392         [BZ #18397]
24393         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24394         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24395         <fpu_control.h> instead of <math/fpu_control.c>.
24396         * sysdeps/mips/mips32/fpu/Makefile: New file.
24398 2015-05-11  Andreas Schwab  <schwab@suse.de>
24400         [BZ #18007]
24401         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24402         nss_endgrent.
24403         (_nss_compat_endgrent): Call nss_endgrent.
24404         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24405         nss_endpwent.
24406         (_nss_compat_endpwent): Call nss_endpwent.
24407         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24408         needent, call nss_setspent only if non-zero.
24409         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24410         (internal_endspent): Don't call nss_endspent.
24411         (_nss_compat_endspent): Call nss_endspent.
24412         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24413         Remove.  All uses removed.
24414         (internal_setent): Remove parameter stayopen, add parameter
24415         stream.  Use it instead of global variable.
24416         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24417         (internal_endent, internal_getent): Add parameter stream.  Use it
24418         instead of global variable.
24419         (CONCAT(_nss_files_end,ENTNAME))
24420         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24421         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24422         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24423         uses removed.
24424         (internal_setent, internal_endent): Add parameter stream.  Use it
24425         instead of global variable.
24426         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24427         stream.
24428         (get_next_alias): Add parameter stream.
24429         (_nss_files_getaliasent_r): Pass global stream.
24430         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24431         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24432         (_nss_files_gethostbyname4_r): Pass local stream to
24433         internal_setent, internal_getent and internal_endent.  Remove
24434         locking.
24436 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24438         * tst-strfmon1.c (tests): Update expected currency symbol.
24440 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24442         * sysdeps/nacl/gethostname.c: New file.
24444 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24446         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24447         and sinh.
24448         * math/auto-libm-test-out: Regenerated.
24449         * sysdeps/i386/fpu/libm-test-ulps: Update.
24450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24452 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24454         [BZ #18125]
24455         * stdlib/tst-setcontext3.c: New file.
24456         * stdlib/tst-setcontext3.sh: New file.
24457         * stdlib/Makefile (tests): Add tst-setcontext3.
24458         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24459         to verify test program created output file.
24460         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24461         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24462         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24463         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24465 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24467         [BZ #18383]
24468         * elf/tst-tlsalign.c: New file.
24469         * elf/tst-tlsalign-static.c: New file.
24470         * elf/tst-tlsalign-lib.c: New file.
24471         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24472         (tests-static): Add tst-tlsalign-static.
24473         (modules-names): Add tst-tlsalign-lib.
24474         (test-xfail-tst-tlsalign): New variable.
24475         (test-xfail-tst-tlsalign-static): New variable.
24477         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24478         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24480 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24482         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24483         csqrt, erfc, sin and sincos.
24484         * math/auto-libm-test-out: Regenerated.
24485         * sysdeps/i386/fpu/libm-test-ulps: Update.
24486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24488 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24490         * sysdeps/aarch64/libm-test-ulps: Update.
24492 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24494         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24495         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24496         * math/auto-libm-test-out: Regenerated.
24497         * sysdeps/i386/fpu/libm-test-ulps: Update.
24498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24500 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24502         [BZ #18265]
24503         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24504         (wcsncpy): Likewise.
24506 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24508         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24509         Assume __ASSUME_FALLOCATE is always true.
24510         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24511         (__posix_fallocate64_l64): Likweise.
24512         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24513         (posix_fallocate): Likewise.
24514         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24515         (__posix_fallocate64_l64): Likewise.
24516         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24517         [!__ASSUME_FALLOCATE]: Add comment.
24519 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24521         * sysdeps/unix/sysv/linux/i386/Makefile
24522         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24523         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24524         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24525         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24526         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24527         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24528         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24530 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24532         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24533         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24534         tgamma.
24535         * math/auto-libm-test-out: Regenerated.
24536         * sysdeps/i386/fpu/libm-test-ulps: Update.
24537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24539 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24541         * math/auto-libm-test-in: Add more tests of tgamma.
24542         * math/auto-libm-test-out: Regenerated.
24543         * sysdeps/i386/fpu/libm-test-ulps: Update.
24544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24546         * math/auto-libm-test-in: Add more tests of tanh.
24547         * math/auto-libm-test-out: Regenerated.
24548         * sysdeps/i386/fpu/libm-test-ulps: Update.
24549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24551         * math/auto-libm-test-in: Add more tests of tan.
24552         * math/auto-libm-test-out: Regenerated.
24553         * sysdeps/i386/fpu/libm-test-ulps: Update.
24554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24556         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
24562         * math/auto-libm-test-out: Regenerated.
24563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24565         * math/auto-libm-test-in: Add more tests of lgamma.
24566         * math/auto-libm-test-out: Regenerated.
24567         * sysdeps/i386/fpu/libm-test-ulps: Update.
24568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24570         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24571         log1p.
24572         * math/auto-libm-test-out: Regenerated.
24573         * sysdeps/i386/fpu/libm-test-ulps: Update.
24574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24576 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24578         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24579         Elf64_Chdr structs and ELFCOMPRESS constants.
24581 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24583         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24584         expm1.
24585         * math/auto-libm-test-out: Regenerated.
24586         * sysdeps/i386/fpu/libm-test-ulps: Update.
24587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24589         * math/auto-libm-test-in: Add more tests of erf and erfc.
24590         * math/auto-libm-test-out: Regenerated.
24591         * sysdeps/i386/fpu/libm-test-ulps: Update.
24592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24594 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24596         * config.h.in (HAVE_AARCH64_BE): Add.
24598 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24600         * math/auto-libm-test-in: Add more tests of csqrt.
24601         * math/auto-libm-test-out: Regenerated.
24602         * sysdeps/i386/fpu/libm-test-ulps: Update.
24603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24605         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24606         * math/auto-libm-test-out: Regenerated.
24607         * sysdeps/i386/fpu/libm-test-ulps: Update.
24608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24610         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24612 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24614         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24615         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24617         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24618         (euidaccess, eaccess): Define as weak aliases.
24620         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24621         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24622         but __suseconds_t is often 'long int' so some sources assume that
24623         type is being used (e.g. they use %ld to print tv_usec).
24625 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24627         [BZ #18007]
24628         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24629         (CVE-2014-8121)
24630         * nss/tst-nss-getpwent.c: New file.
24631         * nss/Makefile (tests): Add new test.
24633 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24635         [BZ #18346]
24636         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24637         exponents less than 48 as cases where high part of mantissa needs
24638         examining to determine whether argument is integral.
24639         * math/libm-test.inc (round_test_data): Add more tests.
24641 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24643         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24645 2015-04-27  David S. Miller  <davem@davemloft.net>
24647         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24648         __tls_get_addr.
24649         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24651 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24653         [BZ#18333]
24654         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24656 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24658         [BZ#18333]
24659         * time/tzset.c (parse_tzname): Return error on memory allocation
24660         failure.
24661         * test-skeleton.c (struct temp_name_list): Change type of name
24662         member to non-const.
24663         (add_temp_file): Create a copy of the file name.
24664         (delete_temp_files): Deallocate memory.
24665         (create_temp_file): Add comment.
24667 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24669         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24670         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24672 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24674         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24675         * sysdeps/arm/configure: Regenerated.
24677 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24679         [BZ #17715]
24680         * time/tzfile.c (__tzfile_read): Check for large values of
24681         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24682         * time/tzset.c (__tzstring_len): New function, based on the old
24683         __tzstring function.
24684         (__tzstring): Call __tzstring_len.
24685         (parse_tzname): New helper function extracted from
24686         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24687         the input string.
24688         (parse_offset): New helper function extracted from
24689         __tzset_parse_tz.  Replace switch with fallthrough with
24690         initialization before sscanf.
24691         (parse_rule): Likewise.
24692         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24693         new-style function definition.
24694         * timezone/Makefile (tests): Add tst-tzset.
24695         (tst-tzset.out): Dependencies on time zone files.
24696         (tst-tzset-ENV): Set TZDIR.
24697         (testdata/XT%): Copy crafted time zone files.
24698         * timezone/README: Mention crafted time zone files.
24699         * timezone/testdata/XT1, timezone/testdata/XT2,
24700         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24701         files.
24702         * timezone/tst-tzset.c: New test.
24704 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24706         * Makeconfig (+gccwarn): Remove -Winline.
24708 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24710         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24712 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24714         * NEWS: Mention sysconf() cache information support for s390.
24715         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24717 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24719         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24720         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24721         (__nearbyint): Likewise.
24722         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24723         (copysignl): Likewise.
24725 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24727         [BZ #18287]
24728         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24729         based on padding.  (CVE-2015-1781)
24731 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24733         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24734         libc-vdso.h.
24735         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24736         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24737         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24738         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24739         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24740         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24741         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24742         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24743         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24744         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24745         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24746         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24747         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24748         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24749         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24750         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24751         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24752         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24753         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24754         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24755         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24756         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24757         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24759 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24761         * stdlib/setenv.c (__add_to_environ):
24762         Dump core quickly if setenv (..., NULL, ...) is called.
24763         This time, do it the right way, and pacify GCC with a pragma.
24765 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24767         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24768         IMAP->l_prev cannot be null, and #if out the code for the contrary
24769         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24770         believe that NS (&_dl_ns[NSID]) could point outside the array.
24772         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24773         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24774         before using NSID as an index.
24776 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24778         [BZ #17825]
24779         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24780         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24781         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24783 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24785         Add preliminary port to Google Native Client on ARM.
24786         * abi-tags (.*-.*-nacl.*): New entry.
24787         * sysdeps/arm/nacl: New directory.
24788         * sysdeps/nacl: New directory.
24790 2015-04-16  David S. Miller  <davem@davemloft.net>
24792         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24793         lowlevellock-futex.h
24795 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24797         * sysdeps/tile/configure.ac: New file.
24798         * sysdeps/tile/configure: Regenerated.
24800 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24802         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24803         conditionals for weak_alias and libc_hidden_weak.
24804         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24805         libc_hidden_weak and weak_alias.
24806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24807         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24808         and weak_alias for static one.
24810 2015-04-15  David S. Miller  <davem@davemloft.net>
24812         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24814 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24816         [BZ #18206]
24817         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24818           Use signed comparision instead of substraction to avoid
24819           overflow bug.
24820         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24821           Take the sign of ret.
24822         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24823           Do not expect precise return values. Only the sign matters.
24824         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24825         * wcsmbs/test-wcsncmp.c: New File.
24826         * string/test-strncmp.c: Add wcsncmp support.
24828 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24830         [BZ #6792]
24831         * math/w_log1p.c: New file.
24832         * math/w_log1pf.c: Likewise.
24833         * math/w_log1pl.c: Likewise.
24834         * math/Makefile (libm-calls): Add w_log1p.
24835         * math/s_log1pl.c (log1pl): Remove weak_alias.
24836         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24837         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24838         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24839         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24840         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24841         [NO_LONG_DOUBLE] (log1pl): Likewise.
24842         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24843         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24844         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24845         (log1p): Remove long_double_symbol.
24846         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24847         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24848         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24849         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24850         remove weak_alias for corresponding log1p function.
24851         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24852         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24853         * sysdeps/ia64/fpu/w_log1p.c: New file.
24854         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24855         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24856         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24858 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24860         [BZ #18247]
24861         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24862         decimal exponent by 1.
24863         * stdlib/tst-strtod-round-data: Add more tests.
24864         * stdlib/tst-strtod-round.c (tests): Regenerated.
24866 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24868         * math/auto-libm-test-in: Add more tests of clog and clog10.
24869         * math/auto-libm-test-out: Regenerated.
24870         * sysdeps/i386/fpu/libm-test-ulps: Update.
24871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24873 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24875         * Makeconfig (module-cppflags): Exclude all .v.i files.
24876         (skip-module-cppflags): Variable removed.
24878         * configure.ac (libc_config_ok): Initialize before reading
24879         preconfigure scripts, not after.
24880         * configure: Regenerated.
24882         * test-skeleton.c (TIMEOUT): Move #define to top level.
24883         (main): Grok environment variable TEST_DIRECT.  If set, print
24884         test expectation details into that file and then behave as if
24885         given --direct.
24887 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24889         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24890         warning on 32-bit.
24892 2015-04-08  David S. Miller  <davem@davemloft.net>
24894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24896 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24898         * math/auto-libm-test-in: Add more tests of atanh.
24899         * math/auto-libm-test-out: Regenerated.
24900         * sysdeps/i386/fpu/libm-test-ulps: Update.
24901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24903         * math/auto-libm-test-in: Add more tests of atan.
24904         * math/auto-libm-test-out: Regenerated.
24905         * sysdeps/i386/fpu/libm-test-ulps: Update.
24906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24908 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24910         * elf/pldd.c (main): Rewrite to use struct
24911         scratch_buffer instead of extend_alloca.
24912         * elf/pldd-xx.c (find_maps): Likewise.
24913         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24914         <alloca.h>.
24915         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24916         scratch_buffer instead of extend_alloca.
24917         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24918         grp/compat-initgroups.c.
24919         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24920         Rewrite to use struct scratch_buffer instead of extend_alloca.
24921         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24922         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24924 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24926         * math/auto-libm-test-in: Add more tests of cbrt.
24927         * math/auto-libm-test-out: Regenerated.
24928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24930         * math/auto-libm-test-in: Add more tests of cabs.
24931         * math/auto-libm-test-out: Regenerated.
24932         * sysdeps/i386/fpu/libm-test-ulps: Update.
24933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24935         [BZ #18210]
24936         [BZ #18211]
24937         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24938         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24939         computations.
24940         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24941         clog10.
24942         * math/auto-libm-test-out: Regenerated.
24943         * sysdeps/i386/fpu/libm-test-ulps: Update.
24944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24946         [BZ #18197]
24947         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24948         (atan): Set FE_TONEAREST mode for internal computations.
24949         * math/auto-libm-test-in: Add more tests of atan.
24950         * math/auto-libm-test-out: Regenerated.
24952 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24954         [BZ #17930]
24955         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24957 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24959         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24961 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24963         * include/scratch_buffer.h: New file.
24964         * malloc/scratch_buffer_grow.c: Likewise.
24965         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24966         * malloc/scratch_buffer_set_array_size.c: Likewise.
24967         * malloc/tst-scratch_buffer.c: Likewise.
24968         * malloc/Makefile (routines): Add scratch_buffer_grow.
24969         (tests): Add test case.
24970         * malloc/Versions (GLIBC_PRIVATE): Export
24971         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24972         __libc_scratch_buffer_set_array_size.
24974 2015-04-06  Richard Henderson  <rth@redhat.com>
24976         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24977         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24979         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24980         unsigned int before printing.
24982 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24984         [BZ #17596]
24985         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24986         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24988 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24990         * include/libc-internal.h (libc_max_align_t): Define.
24992 2015-04-02  Andreas Schwab  <schwab@suse.de>
24994         [BZ #16850]
24995         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24997 2015-04-02  Mel Gorman  <mgorman@suse.de>
24999         [BZ #17195]
25000         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25001         as well as the main arena.
25003 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25005         [BZ #18185]
25006         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25007         sharing L2 cache to 2 for Silvermont/Knights Landing.
25009 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25011         [BZ #17711]
25012         * config.make.in (have-protected-data): New.
25013         * configure.ac: Check linker support for protected data symbol.
25014         * configure: Regenerated.
25015         * elf/Makefile (modules-names): Add tst-protected1moda and
25016         tst-protected1modb if $(have-protected-data) is yes.
25017         (tests): Add tst-protected1a and tst-protected1b if
25018         $(have-protected-data) is yes.
25019         ($(objpfx)tst-protected1a): New.
25020         ($(objpfx)tst-protected1b): Likewise.
25021         (tst-protected1modb.so-no-z-defs): Likewise.
25022         * elf/tst-protected1a.c: New file.
25023         * elf/tst-protected1b.c: Likewise.
25024         * elf/tst-protected1mod.h: Likewise.
25025         * elf/tst-protected1moda.c: Likewise.
25026         * elf/tst-protected1modb.c: Likewise.
25028 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25030         [BZ #17711]
25031         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25032         indicates it is called from do_lookup_x on relocation against
25033         protected data, skip the data definion in the executable from
25034         copy reloc.
25035         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25036         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25037         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25038         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25039         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25040         otherwise to 0.
25041         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25042         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25043         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25044         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25045         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25046         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25048 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25050         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25051         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25053 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25055         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25056         THREAD_SETMEM_NC.
25057         * sysdeps/x86_64/nptl/tls.h: Ditto.
25059 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25061         * dlfcn/tststatic.c (main): Converted to ...
25062         (do_test): ... this.
25063         (TEST_FUNCTION): New macro.
25064         Include test-skeleton.c.
25066 2015-03-26  Alan Modra  <amodra@gmail.com>
25068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25069         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25070         zero for undefined weak.
25071         (elf_machine_plt_conflict): Similarly.
25073 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25075         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25076         atanh.
25077         * math/auto-libm-test-out: Regenerated.
25078         * sysdeps/i386/fpu/libm-test-ulps: Update.
25079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25081         * math/auto-libm-test-in: Add another test of asin.
25082         * math/auto-libm-test-out: Regenerated.
25083         * sysdeps/i386/fpu/libm-test-ulps: Update.
25084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25086         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25087         Remove macro.
25088         (LLL_EBX_REG): Likewise.
25089         (LLL_ENTER_KERNEL): Likewise.
25091         * math/auto-libm-test-in: Add more tests of asin.
25092         * math/auto-libm-test-out: Regenerated.
25093         * sysdeps/i386/fpu/libm-test-ulps: Update.
25094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25096         [BZ #18138]
25097         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25098         libc_do_syscall_args): New structure.
25099         (INTERNAL_SYSCALL_MAIN_0): New macro.
25100         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25101         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25102         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25103         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25104         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25105         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25106         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25107         Replace conditional definitions by conditional definitions of ....
25108         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25109         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25110         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25111         (libpthread-sysdep_routines): Add libc-do-syscall.
25112         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25113         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25114         to __NR_futex not 240.
25116 2015-03-25  Alan Modra  <amodra@gmail.com>
25118         * NEWS: Advertise TLS optimization.
25119         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25120         (DT_PPC_NUM): Increment.
25121         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25122         (CHECK_STATIC_TLS): Use here.
25123         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25124         TLS descriptors.
25125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25126         * sysdeps/powerpc/dl-tls.c: New file.
25127         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25128         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25129         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25130         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25135 2015-03-25  Alan Modra  <amodra@gmail.com>
25137         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25138         for overlapping .opd entries" to "support...".
25139         * sysdeps/powerpc/powerpc64/configure: Regenerate
25141 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25143         * math/auto-libm-test-in: Add more tests of acos.
25144         * math/auto-libm-test-out: Regenerated.
25145         * sysdeps/i386/fpu/libm-test-ulps: Update.
25146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25148         * math/auto-libm-test-in: Add more tests of expm1.
25149         * math/auto-libm-test-out: Regenerated.
25150         * sysdeps/i386/fpu/libm-test-ulps: Update.
25151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25153 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25155         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25156         * math/auto-libm-test-out: Regenerated.
25157         * sysdeps/i386/fpu/libm-test-ulps: Update.
25158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25160         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25163         * math/auto-libm-test-in: Add more tests of log2.
25164         * math/auto-libm-test-out: Regenerated.
25165         * sysdeps/i386/fpu/libm-test-ulps: Update.
25166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25168 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25170         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25171         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25172         _IO_IS_APPENDING bit in READ_WRITE instead.
25174 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25176         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25177         (__determine_cpumask_size): Replace extend_alloca with a
25178         variable-length array.  Do not treat res == 0 as an error.
25180 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25182         [BZ #18100]
25183         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25184         and integer overflow.
25185         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25186         (main): Add integer overflow tests.
25187         * manual/pattern.texi (Calling Wordexp): Document additional use
25188         for WRDE_SYNTAX.
25190 2015-03-23  Alan Modra  <amodra@gmail.com>
25192         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25193         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25194         and false branch of conditional.
25195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25196         Likewise.
25198 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25200         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25201         libc-modules.h
25202         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25203         unused declaration of _hurd_intr_rpc_msg_in_trap.
25204         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25205         defined instead of whether it is non-zero.
25206         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25207         input constraint instead of both input and output constraint.  Use ecx
25208         clobber instead of %ecx.
25209         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25210         mutex_unlock): Use a statement expression instead of an expression list.
25211         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25212         type to vm_size_t instead of vm_address_t.
25213         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25214         defined instead of whether it is non-zero.
25215         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25216         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25217         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25218         comparisons with mapaddr.
25219         * nscd/nscd-client.h: Include <time.h>.
25220         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25221         9th parameter to __vm_region instead of int.
25222         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25223         * scripts/check-local-headers.sh (exclude): Add device/,
25224         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25225         cthreads.h.
25227 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25229         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25230         to account for alignment padding.
25231         * sysdeps/arm/memmove.S: Likewise.
25233 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25235         * sysdeps/unix/sysv/linux/generic/README: New file.
25237 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25239         [BZ #18138]
25240         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25241         (futex_abstimed_wait)
25242         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25243         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25244         of lll_futex_timed_wait.
25246 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25248         [BZ #17542]
25249         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25251 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25253         [BZ #17090]
25254         [BZ #17620]
25255         [BZ #17621]
25256         [BZ #17628]
25257         * NEWS: Update.
25258         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25259         entries with Static TLS too.  Skip entries past the end of the
25260         allocated DTV, from Alan Modra.
25261         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25262         Static TLS DTV entry set up from...
25263         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25264         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25265         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25266         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25267         for Static TLS.
25268         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25269         that the slot we find is associated with the given map before
25270         using its generation count.
25271         * nptl_db/db_info.c: Include ldsodefs.h.
25272         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25273         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25274         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25275         (link_map::l_tls_offset): New struct field.
25276         (dtv_t::counter): Likewise.
25277         (rtld_global): New struct.
25278         (_rtld_global): New rtld variable.
25279         (dl_tls_dtv_slotinfo_list): New rtld global field.
25280         (dtv_slotinfo_list): New struct.
25281         (dtv_slotinfo): Likewise.
25282         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25283         (td_lookup): Rename to...
25284         (td_mod_lookup): ... this.  Use new mod parameter instead of
25285         LIBPTHREAD_SO.
25286         * nptl_db/td_thr_tlsbase.c: Include link.h.
25287         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25288         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25289         addresses even if the DTV is out of date or missing them.
25290         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25291         index zero-length arrays.
25292         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25293         (td_lookup): Make it a macro implemented in terms of...
25294         (td_mod_lookup): ... this declaration.
25295         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25296         (DB_MAIN_VARIABLE): Likewise.
25298 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25300         [BZ #18134]
25301         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25303 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25305         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25307 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25309         [BZ #18128]
25310         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25311         (atomic_add, atomic_increment_and_test)
25312         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25314 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25316         * stdlib/setenv.c (__add_to_environ):
25317         Dump core quickly if setenv (..., NULL, ...) is called.
25319 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25321         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25322         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25323         all the necessary asm magic in one place.
25324         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25325         using those.
25327 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25329         [BZ #14906]
25330         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25331         traced file mtime. Use consistent log message.
25332         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25333         (register_traced_file): Call install_watches. Always set mtime.
25334         (invalidate_cache): Iterate over all trace files. Call install_watches.
25335         (inotify_check_files): Don't inline. Handle watching parent
25336         directories and configuration file movement in and out.
25337         (handle_inotify_events): New function.
25338         (main_loop_poll): Call handle_inotify_events.
25339         (main_loop_epoll): Likewise.
25340         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25341         (struct traced_file): Use array of inotify fds. Add parent directory,
25342         and basename.
25343         (struct database_dyn): Remove unused file_mtime.
25344         (init_traced_file): New inline function.
25345         (define_traced_file): New macro.
25346         * nss/nss_db/db-init.c: Use define_traced_file.
25347         (_nss_db_init): Use init_traced_file.
25348         * nss/nss_files/files-init.c: Use define_traced_file.
25349         (_nss_files_init): Use init_traced_file.
25351 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25353         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25354         [_LIBC]: Do not include <stdlib.h>.
25355         [!_LIBC] (abort): Remove declaration.
25356         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25357         _FP_STATIC_ASSERT instead of conditionally calling abort.
25358         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25359         (_FP_EXTEND_CNAN): Likewise.
25360         (FP_TRUNC): Likewise.
25361         (__FP_CLZ): Likewise.
25362         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25364 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25366         * manual/string.texi (XPG basename): Fix prototype.
25368 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25370         [BZ #18080]
25371         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25372         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25373         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25374         (__setcontext): Likewise.
25375         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25376         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25377         Call rt_sigprocmask syscall one time to set new signal mask
25378         and retrieve the current signal mask instead of two calls.
25379         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25380         (__swapcontext): Likewise.
25381         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25382         * stdlib/tst-setcontext2.c: New file.
25384 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25388 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25390         [BZ #18093]
25391         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25392         the wrong size.
25394 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25396         [BZ #18043]
25397         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25399 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25401         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25402         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25403         Remove define.
25404         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25405         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25406         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25407         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25408         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25409         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25410         define.
25411         * nptl_db/td_symbol_list.c (td_lookup): Remove
25412         HAVE_ASM_GLOBAL_DOT_NAME code.
25413         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25414         HAVE_ASM_GLOBAL_DOT_NAME check.
25415         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25416         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25417         (DOT_LABEL): Remove define.
25418         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25419         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25420         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25421         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25422         (__TLS_GET_ADDR): Likewise.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25424         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25426 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25428         [BZ #18111]
25429         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25430         (_FPU_SETCW): Initialize cw from fpsr before storing.
25431         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25432         (fesetexceptflag): Rewrite using fpu_control.h.
25433         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25435 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25437         [BZ #18110]
25438         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25439         asms.
25440         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25442 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25444         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25445         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25446         abort.
25447         (_FP_FMA): Likewise.
25448         (_FP_DIV): Likewise.
25450 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25452         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25453         with 0 in that case.
25454         * Makefile (summarize-tests): New canned sequence, factored out of
25455         commands for targets tests and xtests.  Display summary lines that
25456         don't start with PASS: or XFAIL: rather than ones that do start with
25457         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25458         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25459         do start with ERROR: or FAIL:.
25460         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25461         (except for [$(build-shared) = yes]).
25462         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25463         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25464         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25465         * nptl/Makefile: Revert 2015-03-04 changes.
25466         [$(CXX) empty] (tests-unsupported): New variable.
25467         * debug/Makefile: Likewise.
25469         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25470         gnulib file.  Replace __attribute with __attribute__ throughout.
25472 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25474         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25476 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25478         [BZ #18104]
25479         * math/auto-libm-test-in: Add another test of pow.
25480         * math/auto-libm-test-out: Regenerated.
25482 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25484         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25485         $(config-cflags-nofma).
25487 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25489         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25490         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25491         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25492         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25493         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25494         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25495         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25496         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25497         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25498         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25499         Add comment on closing #endif.
25501 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25503         * posix/wordexp.c (CHAR_IN_SET): New macro.
25504         (parse_param): Use it.
25506 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25508         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25510 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25512         [BZ #18043]
25513         * posix/wordexp.c (parse_param): Fix buffer overflow.
25514         * posix/wordexp-test.c (test_case): Add test case.
25516 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25518         [BZ #18042]
25519         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25520         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25522 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25524         [BZ #18043]
25525         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25526         (do_bz18043): Delete.
25527         (at_page_end): New.
25528         (testit): Refactor to have words at the edge of unreadable page.
25530 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25532         [BZ #16734]
25533         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25534         Cleanup read-only streams as well.
25535         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25537 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25539         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25540         <bits/libc-lockP.h>
25542 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25544         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25545         on [__KERNEL__].
25546         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25547         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25548         * soft-fp/op-common.h (_FP_DECL): Likewise.
25550 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25552         * elf/ifuncdep2.c (global): Replace
25553         __attribute__((visibility("protected"))) with
25554         asm (".protected global").
25555         * elf/ifuncmod1.c (global): Likewise.
25556         * elf/ifuncmod5.c (global): Likewise.
25558 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25560         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25561         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25563 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25565         * manual/install.texi (Configuring and compiling):
25566         Document test-wrapper-env-only.
25567         * INSTALL: Regenerated.
25569 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25571         [BZ #18043]
25572         * posix/wordexp.c (parse_param): Fix buffer overflow.
25573         * posix/wordexp-test.c (do_bz18043): Add test case.
25575 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25577         * time/tst-strptime2.c (do_test): Ensure failing tests are
25578         reported correctly.
25579         * time/tst-strptime3.c (do_test): Likewise.
25581 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25583         Fix aio_error thread-safety.
25584         * sysdeps/pthread/aio_error.c: New file
25585         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25586         synchronization.
25588 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25590         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25591         (group_number, vfprintf): Use it.
25592         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25593         (JUMP, REF): Use it.
25594         (WORK_BUFFER_SIZE): New enum constant.
25595         (process_arg, vfprintf): Use it.
25597 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25599         * manual/errno.texi (Error Messages): Complete example function
25600         by adding missing #define.
25601         (program_invocation_name): Add statement indicating GNU
25602         extension and reference which header file declares the variable.
25603         (program_invocation_short_name): Likewise.
25605 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25607         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25608         compatibility note.
25610 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25612         * Makeconfig (test-wrapper-env-only): New variable.
25613         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25614         then use that with $(test-wrapper-env-only) rather than using
25615         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25617 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25619         [BZ #18082]
25620         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25621         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25622         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25623         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25624         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25625         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25626         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25627         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25628         Likewise.
25629         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25630         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25631         Likewise.
25632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25633         Likewise.
25634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25635         Likewise.
25636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25637         Likewise.
25638         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25639         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25640         Likewise.
25641         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25642         Likewise.
25643         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25644         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25646 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25648         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25649         (ETH_ALEN): New macro.
25650         (struct ether_addr): Use it for length of ether_addr_octet.
25652         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25653         (setdb): Don't call __nss_configure_lookup for "rpc".
25654         (do_test): Don't call test_rpc.
25655         (output_rpcent, test_rpc): Functions moved ...
25656         * sunrpc/test-rpcent.c: ... to this new file.
25657         * sunrpc/Makefile (tests): Add it.
25659         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25660         __xpg_sigpause.
25661         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25662         * nptl/tst-signal6.c: Likewise.
25663         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25664         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25666         * configure.ac (libc_cv_cxx_link_ok): New check.
25667         Reset CXX to empty if it fails to link.
25668         * configure: Regenerated.
25669         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25670         bug-atexit3-lib only if $(CXX) is nonempty.
25671         * nptl/Makefile (tests): Likewise for tst-cancel24.
25672         (tests, tests-static): Likewise for tst-cancel24-static.
25673         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25674         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25675         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25676         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25678 2015-03-04  Andreas Schwab  <schwab@suse.de>
25680         [BZ #17631]
25681         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25682         for non-GCC compilers.
25683         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25684         Likewise.
25686 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25688         [BZ #17776]
25689         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25690         integer before bitwise and assembly operations.
25691         (feclearexcept): Likewise.
25692         * math/test-fenvinline.c: New file.
25693         * math/Makefile: Add test-fenvinline test.
25695 2015-03-03  Alan Modra  <amodra@gmail.com>
25697         [BZ #16512]
25698         * scripts/localplt.awk: Strip off symbol version.
25699         * NEWS: Mention bug fix.
25701 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25703         * sysdeps/pthread/timer_routines.c
25704         (timer_free_list, thread_free_list, thread_active_list): Make static.
25706 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25708         [BZ #17779]
25709         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25710         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25711         Undefine.
25712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25713         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25714         Likewise.
25715         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25716         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25717         Likewise.
25719 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25721         [BZ #18036]
25722         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25723         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25725 2015-03-02  Andreas Schwab  <schwab@suse.de>
25727         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25728         variable name.
25730 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25732         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25733         Return error status.
25735 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25737         [BZ #15969]
25738         * locale/findlocale.c (_nl_find_locale): Introduce const
25739         version of loc_name and drop unsafe type casts.
25741 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25743         * dlfcn/tststatic2.c (main): Converted to ...
25744         (do_test): ... this.
25745         (TEST_FUNCTION): New macro.
25746         Include test-skeleton.c.
25748 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25750         [BZ #17711]
25751         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25752         (tests-pie): Add vismain.
25753         (CFLAGS-vismain.c): New.
25754         * elf/vismain.c: Add comments for PIE requirement.
25756 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25758         [BZ #18046]
25759         [BZ #18047]
25760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25761         0x1p-56L as threshold for just returning the argument.
25762         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25763         0x1p-32L as threshold for just returning the argument.
25764         * math/auto-libm-test-in: Add more tests of atanh.
25765         * math/auto-libm-test-out: Regenerated.
25766         * sysdeps/i386/fpu/libm-test-ulps: Update.
25767         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25769 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25771         * string/bcopy.c (bcopy): Call memmove for performance.
25773 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25775         * string/bzero.c (__bzero): Call memset for performance.
25777 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25779         [BZ #18068]
25780         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25781         to 00100000.
25783 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25785         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25787 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25789         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25790         (__kernel_standard): Use CSTR macro when setting exc.name.
25791         * sysdeps/ieee754/Makefile [$(subdir) = math]
25792         (CFLAGS-k_standard.c): Remove variable.
25794         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25795         setting p and q from "else if" to "else".
25796         (qzero): Likewise.
25797         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25798         (qone): Likewise.
25799         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25800         (qzerof): Likewise.
25801         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25802         (qonef): Likewise.
25803         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25804         (qzero): Likewise.
25805         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25806         (qone): Likewise.
25808         [BZ #18038]
25809         [BZ #18039]
25810         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25811         return pi/2 for arguments below 0x1p-113L.
25812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25813         return pi/2 for arguments below 0x1p-106L.
25814         * math/auto-libm-test-in: Add more tests of acos.
25815         * math/auto-libm-test-out: Regenerated.
25817         [BZ #16351]
25818         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25819         (MO): New macro.
25820         (__ieee754_asin): Force underflow exception for results with small
25821         absolute value.
25822         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25823         (MO): New macro.
25824         (__ieee754_asinf): Force underflow exception for results with
25825         small absolute value.
25826         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25827         (__ieee754_asin): Force underflow exception for results with small
25828         absolute value.
25829         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25830         (__ieee754_asinf): Force underflow exception for results with
25831         small absolute value.
25832         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25833         (__ieee754_asinl): Force underflow exception for results with
25834         small absolute value.
25835         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25836         (__ieee754_asinl): Force underflow exception for results with
25837         small absolute value.
25838         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25839         (__ieee754_asinl): Force underflow exception for results with
25840         small absolute value.
25841         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25842         Include <math.h>.
25843         * math/auto-libm-test-in: Do not mark underflow exceptions as
25844         possibly missing for bug 16351.
25845         * math/auto-libm-test-out: Regenerated.
25847         [BZ #18030]
25848         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25849         of power of 2 down when low part has opposite sign.
25850         * math/libm-test.inc (logb_test_data): Add more tests.
25852 2015-02-26  Andreas Schwab  <schwab@suse.de>
25854         [BZ #18032]
25855         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25856         over collating symbol inside a bracket expression.  Minor cleanup.
25857         * posix/tst-fnmatch3.c (do_test): Add test case.
25859 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25861         [BZ #18029]
25862         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25863         Adjust exponent of power of 2 down when low part has opposite
25864         sign.
25865         * math/libm-test.inc (ilogb_test_data): Add more tests.
25867 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25869         [BZ #15969]
25870         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25871         the previous change.
25873         [BZ #15969]
25874         * locale/findlocale.c (_nl_find_locale): Retry archive search
25875         after alias expansion.
25877 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25879         * iconv/tst-iconv3.c (main): Converted to ...
25880         (do_test): ... this.
25881         (TEST_FUNCTION): New macro.
25882         Include test-skeleton.c.
25884         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25885         (convert): Make function static.
25886         (test_unalign): Likewise.  Add const to argument pointee types.
25887         (main): Replace with static function do_test.
25888         Print "Succeeded." only if RET is zero.
25889         (TEST_FUNCTION): New macro.
25890         Include test-skeleton.c.
25892         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25893         returns a null pointer.
25895 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25897         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25898         to __memcpy_ppc only for static builds.
25900 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25902         [BZ #18020]
25903         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25904         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25905         * math/auto-libm-test-in: Add more tests of asinh.
25906         * math/auto-libm-test-out: Regenerated.
25907         * sysdeps/i386/fpu/libm-test-ulps: Update.
25908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25910 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25912         [BZ #15850]
25913         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25914         and ip6_mtuinfo definitions here.
25915         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25916         in this define too.  Update comment.
25918 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25920         * elf/sprof.c (load_shobj): Tweak error message to match others.
25922 2015-02-24  Kevin Easton  <kevin@guarana.org>
25924         [BZ #16145] (partial fix)
25925         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25926         to reduce lock contention.
25928 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25930         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25931         (struct timex): Update time comment.
25932         (ADJ_SETOFFSET): Define.
25934 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25936         [BZ #18019]
25937         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25938         2**56 not 2**28 as threshold for log (2x) formula.
25939         * math/auto-libm-test-in: Add more tests of acosh.
25940         * math/auto-libm-test-out: Regenerated.
25941         * sysdeps/i386/fpu/libm-test-ulps: Update.
25942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25944 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25946         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25947         parenthesis around the buf assignment.
25948         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25950 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25952         [BZ #16783]
25953         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25954         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25955         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25956         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25957         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25958         * math/libm-test.inc (scalb_test_data): Add more tests.
25960 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25962         [BZ #17916]
25963         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25964         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25966 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25968         [BZ #17523]
25969         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25970         * io/bits/fcntl2.h (open): Use it.
25971         (openat): Likewise.
25972         * io/open.c (__libc_open): Likewise.
25973         * io/open64.c (__libc_open64): Likewise.
25974         * io/open64_2.c (__open64_2): Likewise.
25975         * io/open_2.c (__open_2): Likewise.
25976         * io/openat.c (__openat): Likewise.
25977         * io/openat64.c (__openat64): Likewise.
25978         * io/openat64_2.c (__openat64_2): Likewise.
25979         * io/openat_2.c (__openat_2): Likewise.
25980         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25981         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25982         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25983         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25984         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25985         (__open_nocancel): Likewise.
25986         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25987         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25988         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25990 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25992         [BZ #14841]
25993         * resolv/gethnamaddr.c (getanswer): Skip logging if
25994         RES_USE_DNSSEC is set.
25995         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25997 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25999         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26001 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26003         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26004         201304L, for Unicode 7.
26006 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26008         [BZ #17836]
26009         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26010         shared library.  Add gmon-start.os otherwise.
26011         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26012         $(objpfx)gmon-start.os if builing shared library.
26013         ($(objpfx)g$(static-start-installed-name)): Likewise.
26015 2015-02-23  Andreas Schwab  <schwab@suse.de>
26017         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26019 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26021         [BZ #17269]
26022         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26023         (enlarge_userbuf): Likewise.
26025 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26027         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26028         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26029         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26030         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26032 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26034         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26035         expression inside statement expression.
26037 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26039         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26040         <sysdeps/nptl/lowlevellock.h> and remove macros and
26041         functions that are now defined there.
26042         (SYS_futex): Remove.
26043         (lll_compare_and_swap): Remove.
26044         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26046 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26048         [BZ #17999]
26049         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26050         instead of scandirat.
26051         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26052         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26053         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26054         __scandirat.
26055         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26056         (__scandirat): Declare.  Use libc_hidden_proto.
26057         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26058         Remove variable.
26059         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26061 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26063         [BZ #15319]
26064         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26065         (MO): New macro.
26066         (__ieee754_atan2): For results with small absolute value, force
26067         underflow exception and remove excess range and precision from
26068         return value.
26069         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26070         (MO): New macro.
26071         (__ieee754_atan2f): For results with small absolute value, force
26072         underflow exception and remove excess range and precision from
26073         return value.
26074         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26075         (MO): New macro.
26076         (__atan): For results with small absolute value, force underflow
26077         exception and remove excess range and precision from return value.
26078         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26079         (MO): New macro.
26080         (__atanf): For results with small absolute value, force underflow
26081         exception and remove excess range and precision from return value.
26082         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26083         <math.h>.
26084         (__ieee754_atan2): Force underflow exception for results with
26085         small absolute value.
26086         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26087         <math_private.h>.
26088         (atan): Force underflow exception for results with small absolute
26089         value.
26090         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26091         (__atanf): Force underflow exception for results with small
26092         absolute value.
26093         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26094         <math.h>.
26095         (__atanl): Force underflow exception for results with small
26096         absolute value.
26097         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26098         (__atanl): Force underflow exception for results with small
26099         absolute value.
26100         * sysdeps/x86/fpu/bits/mathinline.h
26101         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26102         (__ieee754_atan2): Only define inline for long double.
26103         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26104         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26105         * math/auto-libm-test-in: Do not mark underflow exceptions as
26106         possibly missing for bug 15319.  Add more tests of atan2.
26107         * math/auto-libm-test-out: Regenerated.
26108         * math/libm-test.inc (casin_test_data): Do not mark underflow
26109         exceptions as possibly missing for bug 15319.
26110         (casinh_test_data): Likewise.
26111         * sysdeps/i386/fpu/libm-test-ulps: Update.
26113 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26115         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26116         * sysdeps/mips/bits/endian.h: Fix comments.
26118 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26120         [BZ #17996]
26121         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26122         (hdestroy_r): Likewise.
26123         (hsearch_r): Likewise.
26124         (__hcreate_r): Declare and use libc_hidden_proto.
26125         (__hdestroy_r): Likewise.
26126         (__hsearch_r): Likewise.
26127         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26128         (hcreate): Call __hcreate_r instead of hcreate_r.
26129         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26130         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26131         as weak alias of __hcreate_r.
26132         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26133         __hdestroy_r.
26134         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26135         __hsearch_r.
26136         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26137         Remove variable.
26138         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26139         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26140         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26141         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26143 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26145         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26146         arena_lock into a single arena_get.
26148 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26150         * dl-reloc.c: Inlucde libc-internal.h.
26151         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26152         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26153         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26154         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26155         (grow_heap): Likewise.
26156         * malloc/malloc.c: Include libc-internal.h.
26157         (do_check_malloc): Call powerof2.
26158         (sysmalloc): Use pagesize. Call ALIGN_UP.
26159         (systrim): Use pagesize.
26160         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26161         (__libc_valloc): Use pagesize.
26162         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26164 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26166         [BZ #17991]
26167         * include/sys/resource.h (__getrlimit64): Declare.  Use
26168         libc_hidden_proto.
26169         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26170         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26171         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26172         getrlimit64.
26173         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26174         __getrlimit64.
26175         [!getrlimit64] (getrlimit64): Define as weak alias of
26176         __getrlimit64.  Use libc_hidden_weak.
26177         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26178         using __getrlimit64 not __new_getrlimit64.
26179         (__GI_getrlimit64): Likewise.
26180         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26181         Likewise.
26182         (__GI_getrlimit64): Likewise.
26183         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26185         (getrlimit): Add __getrlimit64 alias.
26186         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26187         Likewise.
26188         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26189         Remove variable.
26190         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26191         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26193 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26195         * libio/fileops.c: Add missing sys/mman.h
26196         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26198 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26200         * manual/math.texi (Errors in Math Functions): Clarify goals
26201         regarding inexact and underflow exceptions.
26203 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26205         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26206         * sysdeps/mips/memset.S: Ditto.
26208 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26210         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26212 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26214         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26215         (__v1longjmp): Remove versioned symbol.
26216         (__v1siglongjmp): Remove alias and versioned symbol.
26217         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26218         (__v2siglongjmp): Likewise.
26220 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26222         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26224 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26226         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26228 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #17987]
26231         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26232         zero result does not depend on the sign resulting from
26233         subtraction.
26234         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26235         Likewise.
26236         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26237         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26238         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26239         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26240         * math/libm-test.inc (remquo_test_data): Add more tests.
26242 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26244         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26245         Problem reported by J William Piggott.
26247 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26249         [BZ #17978]
26250         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26251         products 4 * y and 2 * y where those would overflow.
26252         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26253         Likewise.
26254         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26255         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26256         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26257         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26258         * math/libm-test.inc (remquo_test_data): Add more tests.
26260         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26262         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26263         [defined _COMPILING_NEWLIB].
26264         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26265         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26267         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26268         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26270 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26272         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26273         acquired.
26275 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26277         [BZ #17792]
26278         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26279         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26280         HOST_STACK_END_ADDR): Likewise.
26282 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26284         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26285         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26286         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26288 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26290         * sysdeps/generic/c++-types.data: New file.
26291         * sysdeps/generic/ld.abilist: New file.
26292         * sysdeps/generic/libBrokenLocale.abilist: New file.
26293         * sysdeps/generic/libanl.abilist: New file.
26294         * sysdeps/generic/libc.abilist: New file.
26295         * sysdeps/generic/libcrypt.abilist: New file.
26296         * sysdeps/generic/libdl.abilist: New file.
26297         * sysdeps/generic/libm.abilist: New file.
26298         * sysdeps/generic/libpthread.abilist: New file.
26299         * sysdeps/generic/libresolv.abilist: New file.
26300         * sysdeps/generic/librt.abilist: New file.
26302 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26304         [BZ #17569]
26305         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26306         Compute absolute value of x as modified by fmod, not original
26307         value of x.
26308         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26309         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26310         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26311         RUN_TEST_ffI_f1_mod8.
26312         (remquo_test_data): Add more tests.
26314 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26316         * sysdeps/init_array/pt-crti.S: New file.
26318 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26320         [BZ #17967]
26321         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26322         __builtin_fmaf instead of relying on contraction of a * b + c.
26324 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26326         [BZ #17969]
26327         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26328         node.
26330 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26332         [BZ #17964]
26333         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26334         __builtin_fma instead of relying on contraction of a * b + c.
26336 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26338         * Makeconfig (ASFLAGS): Add -Werror=undef.
26339         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26340         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26341         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26343         * Makeconfig (after-link): New variable.
26344         (+link-pie, +link-pie-tests): Use it.
26345         (+link-static, +link-static-tests): Likewise.
26346         (+link, +link-tests): Likewise.
26347         * Makerules (build-module, build-module-asneeded): Likewise.
26348         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26349         Likewise.
26350         * elf/Makefile ($(objpfx)ld.so): Likewise.
26352 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26354         [BZ #17965]
26355         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26356         both struct timeval and struct timespec.
26358 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26360         [BZ #16560]
26361         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26362         and redefine.
26363         (__ieee754_exp2l): Do not multiply small fractional parts by
26364         M_LN2l.
26365         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26366         small argument.
26367         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26368         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26369         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26370         * math/auto-libm-test-in: Add more tests of exp2.
26371         * math/auto-libm-test-out: Regenerated.
26373 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26375         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26376         unaligned path.
26378 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26380         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26381         little endian.
26383 2015-02-12  Andreas Schwab  <schwab@suse.de>
26385         [BZ #15790]
26386         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26387         Filter out elision flags from value returned in kind.
26388         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26389         * nptl/tst-pthread-mutexattr.c: New file.
26391 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26393         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26394         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26395         into gnu-gnu, and update comment to refer to abi-tags.
26397 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26399         [BZ #15467]
26400         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26401         (__sincos): Set errno to EDOM for infinite argument.
26402         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26403         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26404         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26405         (__sincosl): Set errno to EDOM for infinite argument.
26406         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26407         (__sincosl): Set errno to EDOM for infinite argument.
26408         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26409         (__sincosl): Set errno to EDOM for infinite argument.
26410         * math/libm-test.inc (sincos_test_data): Test errno setting.
26412 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26414         * string/strxfrm_l.c: Remove #define STRCMP.
26415         * string/strcoll_l.c: Remove #define STRLEN.
26416         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26417         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26419 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26421         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26422         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26423         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26424         * sysdeps/mips/mips64/Makefile: ... here.
26425         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26426         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26427         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26428         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26429         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26430         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26431         * sysdeps/mips/mips64/n64/Implies: Likewise.
26433 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26435         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26436         <sys/time.h>, <string.h>, and <errno.h>.
26437         (dest_offset, dest_address, value, zero): Remove unused variables.
26438         (ldouble): Remove typedef.
26439         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26440         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26441         1).  Fix code style.
26442         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26443         (check): Function removed.
26444         (CHECK): New macro.
26445         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26446         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26447         Don't call set_sigaction_FP and remove_sigaction_FP here.
26448         (ldouble_test): Just use 'long double' as macro argument, no need for
26449         the 'ldouble' typedef.
26450         (do_test): Set up SIGFPE handler at start, using plain signal rather
26451         than sigaction.  Fix code style.
26453 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26455         [BZ #17949]
26456         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26457         jump label.
26459 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26461         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26462         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26464         * sysdeps/powerpc/configure.ac: Remove file.
26465         * sysdeps/powerpc/configure: Likewise.
26467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26468         [sysdep_routines]: Remove wordcopy-power6 object.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26470         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26471         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26472         (__memmove_ppc32): Likewise.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26474         file.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26477         Remove preprocessor.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26480         [sysdep_routines]: Remove wide chars objects.
26481         [wcsmbs]: New rule for wide char objects.
26483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26484         Remove wordcopy-power6 obejct.
26485         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26486         Use local call for wordcopy and memcpy symbols.
26487         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26489         implementation for loader.
26490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26493         Remove wordcopy-power7 object.
26494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26496         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26497         (_wordcopy_fwd_dest_aligned): Likewise.
26498         (_wordcopy_bwd_aligned): Likewise.
26499         (_wordcopy_bwd_dest_aligned): Likewise.
26501         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26502         Rewrite to call __memmove_ppc instead of include default
26503         implementation.
26505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26506         Remove wide chars objects.
26507         [wcsmbs]: New rule for wide char objects.
26509 2015-02-09  Andreas Schwab  <schwab@suse.de>
26511         [BZ #17912]
26512         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26513         in terms of __O_DIRECTORY.
26515 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26517         * time/getdate.c: Include <stdbool.h>.
26518         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26519         call PTR_MANGLE.
26520         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26521         PTR_DEMANGLE.
26523 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26525         Add ersatz _Static_assert on older C hosts
26526         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26527         pre-C11 C platform that is not known to support _Static_assert.
26529 2015-02-07  Richard Braun  <rbraun@sceen.net>
26531         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26532         sigstate.
26533         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26535 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26537         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26538         priority against unexistent AIO_PRIO_DELTA_MAX.
26539         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26540         instead of int.
26541         * misc/fchflags.c (fchflags): Likewise.
26542         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26543         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26544         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26545         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26546         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26547         Declare macros.
26548         [__USE_MISC] (chflags, fchflags): Declare functions.
26549         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26550         EINVAL when nfds is greater than FD_SETSIZE.
26551         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26552         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26553         45.
26554         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26555         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26556         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26557         MACH_RCV_TIMED_OUT.
26558         * hurd/hurd/signal.h (_hurd_self_sigstate,
26559         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26560         Explicit casts from void *.
26561         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26562         * abi-tags: Rename gnu-gnu os into gnu.
26564         [BZ #4719]
26565         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26566         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26567         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26568         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26569         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26570         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26572         [BZ #17944]
26573         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26574         duplicates ADDR->sun_path with sockaddr LEN limitation.
26575         * sysdeps/mach/hurd/connect.c: Include <string.h>
26576         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26577         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26578         * sysdeps/mach/hurd/sendto.c: Likewise.
26579         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26580         implementing it by hand.
26582 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26584         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26585         Use sfi_breg on ldr.
26586         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26587         Likewise.
26589         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26590         it's defined.
26591         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26592         Test SIGSETXID only if it's defined.
26594         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26596         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26597         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26599         * nptl/tst-align2.c: Moved ...
26600         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26601         * nptl/Makefile (tests): Remove tst-align2.
26602         * sysdeps/unix/sysv/linux/Makefile
26603         [$(subdir) = nptl] (tests): Add tst-align-clone.
26604         * nptl/tst-getpid1.c: Moved ...
26605         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26606         * nptl/tst-getpid2.c: Moved ...
26607         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26608         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26609         * sysdeps/unix/sysv/linux/Makefile
26610         [$(subdir) = nptl] (tests): ... here.
26611         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26612         * sysdeps/unix/sysv/linux/Makefile
26613         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26615         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26616         Drop trailing \n from perror argument.  Use return rather than exit.
26618         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26619         on [SA_SIGINFO].
26620         * nptl/tst-cancel21.c (do_test): Likewise.
26621         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26622         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26623         [!SA_SIGINFO]: Make it a stub test.
26625         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26626         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26628         * posix/tst-getlogin.c: Move to ...
26629         * login/tst-getlogin.c: ... here.
26630         * posix/Makefile (tests): Move tst-getlogin to ...
26631         * login/Makefile (tests): ... here.
26633         * libio/tst-atime.c (do_test): Move local variables SV and E
26634         inside [ST_NOATIME] conditional.
26636         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26638         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26640         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26641         (wait_code): New function replaces macro.
26642         Call nanosleep rather than syscall.
26644         * nptl/pt-system.c: Rewritten.  Put everything under
26645         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26646         Use IFUNC to redirect when possible.
26648         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26649         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26650         Use IFUNC to redirect when possible.
26652         * nptl/pt-fork.c: Rewritten.  Put everything under
26653         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26654         Use IFUNC to redirect when possible.
26655         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26657         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26658         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26659         unconditionally nowadays.  This included the only reference to
26660         __vdso_clock_gettime that appears outside libc proper.
26661         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26662         Remove version set (containing only __vdso_clock_gettime).
26663         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26664         Add attribute_hidden.
26665         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26666         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26667         libc_hidden_data_def.
26668         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26669         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26671         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26672         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26673         setrpcent, and getrpcport to ...
26674         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26675         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26676         getrpcbynumber_r, and getrpcent_r to ...
26677         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26678         * inet/getrpcbyname.c: Moved ...
26679         * sunrpc/getrpcbyname.c: ... here.
26680         * inet/getrpcbyname_r.c: Moved ...
26681         * sunrpc/getrpcbyname_r.c: ... here.
26682         * inet/getrpcbynumber.c: Moved ...
26683         * sunrpc/getrpcbynumber.c: ... here.
26684         * inet/getrpcbynumber_r.c: Moved ...
26685         * sunrpc/getrpcbynumber_r.c: ... here.
26686         * inet/getrpcent.c: Moved ...
26687         * sunrpc/getrpcent.c: ... here.
26688         * inet/getrpcent_r.c: Moved ...
26689         * sunrpc/getrpcent_r.c: ... here.
26690         * inet/Makefile (routines): Move those to ...
26691         * sunrpc/Makefile (routines): ... here.
26692         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26693         the $(subdirs) list.
26694         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26695         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26696         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26697         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26699         * elf/Makefile (routines): Include $(all-dl-routines), not just
26700         $(dl-routines).
26701         (rtld-routines): Likewise.  Use = rather than :=.
26702         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26703         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26704         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26705         * sysdeps/arm/Makefile: Likewise.
26706         * sysdeps/i386/Makefile: Likewise.
26707         * sysdeps/x86_64/Makefile: Likewise.
26708         * sysdeps/hppa/Makefile [$(subdir) = elf]
26709         (sysdep_routines, sysdep-rtld-routines): Don't add
26710         $(sysdep-dl-routines) to these.
26711         * sysdeps/ia64/Makefile: Likewise.
26712         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26713         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26714         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26715         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26716         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26717         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26718         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26719         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26720         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26721         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26722         these; sysdep-dl-routines alone is enough.
26724 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26726         [BZ #17932]
26727         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26728         where multiplication results in zero and third argument is finite
26729         and nonzero.
26730         * math/auto-libm-test-in: Add more tests of fma.
26731         * math/auto-libm-test-out: Regenerated.
26733         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26734         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26735         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26736         (_FP_CMP_EQ): Likewise.
26737         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26739         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26740         extra argument CHECK_NAN.  Redefine as wrapper around
26741         _FP_EXTEND_CNAN.
26743 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26745         * version.h (RELEASE): Set to "stable".
26746         (VERSION): Set to "2.21"
26747         * include/features.h (__GLIBC_MINOR__): Set to 21.
26749         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26751 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26752             Paul Eggert  <eggert@cs.ucla.edu>
26754         [BZ #16618]
26755         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26756         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26757         size in bytes. Store needed elements in wpmax. Use needed size
26758         in bytes for extend_alloca.
26760 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26762         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26763         binutls 2.25, and texinfo 5.2.
26764         * INSTALL: Regenerate.
26765         * sysdeps/nios2/configure: Regenerate.
26766         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26767         * manual/contrib.texi: Update.
26768         * po/be.po: Update.
26769         * po/bg.po: Update.
26770         * po/ca.po: Update.
26771         * po/cs.po: Update.
26772         * po/da.po: Update.
26773         * po/de.po: Update.
26774         * po/el.po: Update.
26775         * po/eo.po: Update.
26776         * po/es.po: Update.
26777         * po/fi.po: Update.
26778         * po/fr.po: Update.
26779         * po/gl.po: Update.
26780         * po/hr.po: Update.
26781         * po/hu.po: Update.
26782         * po/ia.po: Update.
26783         * po/id.po: Update.
26784         * po/it.po: Update.
26785         * po/ja.po: Update.
26786         * po/ko.po: Update.
26787         * po/lt.po: Update.
26788         * po/nb.po: Update.
26789         * po/nl.po: Update.
26790         * po/pl.po: Update.
26791         * po/pt_BR.po: Update.
26792         * po/ru.po: Update.
26793         * po/rw.po: Update.
26794         * po/sk.po: Update.
26795         * po/sl.po: Update.
26796         * po/sv.po: Update.
26797         * po/tr.po: Update.
26798         * po/uk.po: Update.
26799         * po/vi.po: Update.
26800         * po/zh_CN.po: Update.
26801         * po/zh_TW.po: Update.
26803         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26804         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26805         * sysdeps/hppa/dl-irel.h: Remove #warning.
26806         * sysdeps/hppa/entry.h: Provide prototype for
26807         __canonicalize_funcptr_for_compare and cast argument.
26808         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26809         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26810         * sysdeps/hppa/sotruss-lib.c: New file.
26811         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26812         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26813         (atomic_compare_and_exchange_bool_acq): Likewise.
26814         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26815         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26817         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26818         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26819         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26821 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26823         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26824         called function in non-PIC case.
26826 2015-01-31  David S. Miller  <davem@davemloft.net>
26828         * sysdeps/sparc/sparc32/bits/atomic.h
26829         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26830         unlock not after it.
26831         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26832         volatile register usage warnings from the compiler.
26834         * sysdeps/sparc/nptl/sem_init.c: Delete.
26835         * sysdeps/sparc/nptl/sem_post.c: Delete.
26836         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26837         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26838         * sysdeps/sparc/sparc32/sem_init.c: New file.
26839         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26840         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26841         padding explicitly initialized.
26842         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26843         padding for in-semaphore spinlock.
26844         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26845         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26846         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26847         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26848         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26849         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26850         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26851         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26852         version.
26853         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26854         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26856 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26858         [BZ #17801]
26859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26860         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26861         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26862         New.
26863         (index_AVX_Fast_Unaligned_Load): Likewise.
26864         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26865         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26866         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26867         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26868         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26869         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26870         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26871         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26872         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26874 2015-01-29  Andreas Schwab  <schwab@suse.de>
26876         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26878 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26880         [BZ #17892]
26881         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26883 2015-01-28  Martin Sebor  <msebor@redhat.com>
26885         * math/README.libm-test: Clarify. Add "How to read the test output."
26887 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26889         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26890         Define to 0.
26892 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26894         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26895         (__HAVE_64B_ATOMICS): Define to 0.
26897 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26899         [BZ #17885]
26900         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26901         value to set as new flag.
26903         [BZ #16576]
26904         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26905         and use _ARCH_PPCSQ instead.
26906         (__ieee754_sqrt): Likewise.
26907         (__ieee754_sqrtf): Likewise.
26908         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26909         _ARCH_PPCSQ is defined.
26910         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26911         fsqrt instruction.
26912         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26913         _ARCH_PPCSQ is defined.
26914         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26915         fsqrts instruction.
26916         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26918 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26920         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26921         bug (GCC BZ #64739).
26923 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26925         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26926         Mark _retval as used.
26927         (lll_futex_wake_unlock): Likewise.
26928         (lll_futex_timed_wait_requeue_pi): Likewise.
26930         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26931         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26932         register variables.
26934         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26935         libm_hidden_def.
26937         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26938         (__bswap_64): Mark as __always_inline.
26940 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26942         [BZ #15378]
26943         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26944         when none of the search directories exist.
26946 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26948         [BZ #17869]
26949         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26950         power8 in .machine directive.
26952         [BZ #17868]
26953         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26954         set dependency from opd value.
26956 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26959         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26960         architecture.
26962 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26964         [BZ #17870]
26965         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26966         with uint64_t.
26967         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26968         (uint64_t) 1.
26969         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26970         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26971         Replace 1UL with (uint64_t) 1.
26972         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26973         int with uint64_t.
26975 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26977         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26978         (if_freenameindex): Likewise.
26980         * resource/getrlimit64.c: Add missing libc_hidden_def.
26982 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26984         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26985         __label__.
26986         (_FP_FMA): Likewise.
26987         (_FP_TO_INT_ROUND): Likewise.
26988         (_FP_FROM_INT): Likewise.
26990 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26992         [BZ #16418]
26993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26994         Make code racy and cancel safe.
26996 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26998         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26999         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27000         attribution.
27002         * pwd/tst-getpw.c: Rewrite.
27004         [BZ #17702]
27005         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27006         (modules-names): Add moddummy1 and moddummy2.
27007         ($(objpfx)tst-rec-dlopen): Define.
27008         * dlfcn/moddummy1.c: New file.
27009         * dlfcn/moddummy2.c: New file.
27010         * dlfcn/tst-rec-dlopen.c: New file.
27011         * elf/dl-cache.c (_dl_load_cache_lookup):
27012         Return char*. Copy result with alloca/strcpy/strdup.
27013         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27014         returns char*. Free cached. If not saving realname
27015         free cached.
27016         * elf/dl-open.c (dl_open_worker): Do not assert that
27017         _r_debug->r_state is RT_CONSISTENT.
27018         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27019         returns char*.
27021 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27022             Carlos O'Donell  <carlos@redhat.com>
27024         [BZ #12674]
27025         * nptl/sem_waitcommon.c: New file.
27026         * nptl/sem_wait.c: Include sem_waitcommon.c.
27027         (__sem_wait_cleanup, do_futex_wait): Remove.
27028         (__new_sem_wait): Adapt.
27029         (__new_sem_trywait): New function.
27030         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27031         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27032         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27033         (sem_timedwait): Adapt.
27034         * nptl/sem_post.c (__new_sem_post): Adapt.
27035         (futex_wake): New function.
27036         (__old_sem_post): Add release MO fence.
27037         * nptl/sem_open.c (sem_open): Adapt.
27038         * nptl/sem_init.c (__new_sem_init): Adapt.
27039         (futex_private_if_supported): New function.
27040         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27041         (__old_sem_getvalue): Add using previous code.
27042         * sysdeps/nptl/internaltypes.h: Adapt.
27043         * nptl/tst-sem13.c (do_test): Adapt.
27044         * nptl/tst-sem11.c (main): Adapt.
27045         * nptl/sem_trywait.c: Remove.
27046         * nptl/DESIGN-sem.txt: Remove.
27047         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27048         (gen-as-const-headers): Remove structsem.sym.
27049         * nptl/structsem.sym: Remove.
27050         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27051         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27052         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27053         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27054         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27055         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27056         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27057         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27058         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27059         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27060         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27061         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27062         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27063         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27064         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27065         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27066         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27067         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27068         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27069         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27070         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27071         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27073 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27075         * INSTALL: Regenerated.
27077         * po/libc.pot: Regenerated.
27079 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27080             Sandra Loosemore  <sandra@codesourcery.com>
27081             Andrew Jenner  <andrew@codesourcery.com>
27082             Joseph Myers  <joseph@codesourcery.com>
27083             Nathan Sidwell  <nathan@codesourcery.com>
27085         * NEWS: Mention new Nios II port.
27086         * sysdeps/nios2/Implies: New file.
27087         * sysdeps/nios2/Makefile: New file.
27088         * sysdeps/nios2/Subdirs: New file.
27089         * sysdeps/nios2/Versions: New file.
27090         * sysdeps/nios2/__longjmp.S: New file.
27091         * sysdeps/nios2/abort-instr.h: New file.
27092         * sysdeps/nios2/backtrace.c: New file.
27093         * sysdeps/nios2/bits/endian.h: New file.
27094         * sysdeps/nios2/bits/fenv.h: New file.
27095         * sysdeps/nios2/bits/link.h: New file.
27096         * sysdeps/nios2/bits/setjmp.h: New file.
27097         * sysdeps/nios2/bsd-_setjmp.S: New file.
27098         * sysdeps/nios2/bsd-setjmp.S: New file.
27099         * sysdeps/nios2/configure: New generated file.
27100         * sysdeps/nios2/configure.ac: New file.
27101         * sysdeps/nios2/crti.S: New file.
27102         * sysdeps/nios2/crtn.S: New file.
27103         * sysdeps/nios2/dl-init.c: New file.
27104         * sysdeps/nios2/dl-machine.h: New file.
27105         * sysdeps/nios2/dl-sysdep.h: New file.
27106         * sysdeps/nios2/dl-tls.h: New file.
27107         * sysdeps/nios2/dl-trampoline.S: New file.
27108         * sysdeps/nios2/gccframe.h: New file.
27109         * sysdeps/nios2/gmp-mparam.h: New file.
27110         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27111         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27112         * sysdeps/nios2/ldsodefs.h: New file.
27113         * sysdeps/nios2/libc-tls.c: New file.
27114         * sysdeps/nios2/libm-test-ulps: New file.
27115         * sysdeps/nios2/machine-gmon.h: New file.
27116         * sysdeps/nios2/math-tests.h: New file.
27117         * sysdeps/nios2/math_private.h: New file.
27118         * sysdeps/nios2/memusage.h: New file.
27119         * sysdeps/nios2/nptl/Makefile: New file.
27120         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27121         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27122         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27123         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27124         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27125         * sysdeps/nios2/nptl/tls.h: New file.
27126         * sysdeps/nios2/preconfigure: New file.
27127         * sysdeps/nios2/s_fma.c: New file.
27128         * sysdeps/nios2/s_fmaf.c: New file.
27129         * sysdeps/nios2/setjmp.S: New file.
27130         * sysdeps/nios2/sfp-machine.h: New file.
27131         * sysdeps/nios2/sotruss-lib.c: New file.
27132         * sysdeps/nios2/stackguard-macros.h: New file.
27133         * sysdeps/nios2/stackinfo.h: New file.
27134         * sysdeps/nios2/start.S: New file.
27135         * sysdeps/nios2/sysdep.h: New file.
27136         * sysdeps/nios2/tls-macros.h: New file.
27137         * sysdeps/nios2/tst-audit.h: New file.
27138         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27139         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27140         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27141         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27142         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27143         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27144         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27145         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27146         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27147         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27148         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27149         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27150         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27151         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27152         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27153         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27154         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27155         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27156         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27157         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27158         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27159         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27160         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27161         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27162         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27163         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27164         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27165         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27166         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27167         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27168         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27169         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27170         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27171         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27172         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27173         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27174         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27175         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27176         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27177         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27178         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27179         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27180         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27181         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27183 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27185         [BZ #17844]
27186         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27187         (getutent): Use weak_alias in non SHARED case
27188         and default_symbol_version in SHARED case.
27189         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27190         (getutent_r, pututline): Likewise.
27191         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27192         (getutid): Likewise.
27193         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27194         (getutid_r): Likewise.
27195         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27196         (getutline): Likewise.
27197         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27198         (getutline_r): Likewise.
27199         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27200         (updwtmp): Likewise.
27202 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27204         [BZ #17848]
27205         * sysdeps/s390/s390-32/memcmp.S
27206         (memcmp_g5): Rename to __memcmp_g5.
27207         * sysdeps/s390/s390-32/memcpy.S
27208         (memcpy_g5): Rename to __memcpy_g5.
27209         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27210         (memcpy_mvcle) Rename to __memcpy_mvcle.
27211         * sysdeps/s390/s390-32/memset.S
27212         (memset_g5): Rename to __memset_g5.
27213         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27214         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27215         and use prefixed functions.
27216         * sysdeps/s390/s390-32/multiarch/memcmp.S
27217         (memcmp_z196): Rename to __memcmp_z196.
27218         (memcmp_z10): Rename to __memcmp_z10.
27219         (memcmp): Set alias to __memcmp_g5.
27220         (bcmp): Set alias to __memcmp_g5.
27221         * sysdeps/s390/s390-32/multiarch/memcpy.S
27222         (memcpy_z196): Rename to __memcpy_z196.
27223         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27224         (memcpy_z10): Rename to __memcpy_z10.
27225         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27226         (memcpy): Set alias to __memcpy_g5.
27227         * sysdeps/s390/s390-32/multiarch/memset.S
27228         (memset_z196): Rename to __memset_z196.
27229         Jump to __memset_mvcle instead of memset_mvcle.
27230         (memset_z10): Rename to __memset_z10.
27231         Jump to __memset_mvcle instead of memset_mvcle.
27232         (memset_mvcle) Rename to __memset_mvcle.
27233         (memset): Set alias to __memset_g5.
27234         * sysdeps/s390/s390-64/memcmp.S
27235         (memcmp_z900): Rename to __memcmp_z900.
27236         * sysdeps/s390/s390-64/memcpy.S
27237         (memcpy_z900): Rename to __memcpy_z900.
27238         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27239         (memcpy_mvcle) Rename to __memcpy_mvcle.
27240         * sysdeps/s390/s390-64/memset.S
27241         (memset_z900): Rename to __memset_z900.
27242         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27243         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27244         and use prefixed functions.
27245         * sysdeps/s390/s390-64/multiarch/memcmp.S
27246         (memcmp_z196): Rename to __memcmp_z196.
27247         (memcmp_z10): Rename to __memcmp_z10.
27248         (memcmp): Set alias to __memcmp_z900.
27249         (bcmp): Set alias to __memcmp_z900.
27250         * sysdeps/s390/s390-64/multiarch/memcpy.S
27251         (memcpy_z196): Rename to __memcpy_z196.
27252         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27253         (memcpy_z10): Rename to __memcpy_z10.
27254         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27255         (memcpy): Set alias to __memcpy_z900.
27256         * sysdeps/s390/s390-64/multiarch/memset.S
27257         (memset_z196): Rename to __memset_z196.
27258         Jump to __memset_mvcle instead of memset_mvcle.
27259         (memset_z10): Rename to __memset_z10.
27260         Jump to __memset_mvcle instead of memset_mvcle.
27261         (memset_mvcle) Rename to __memset_mvcle.
27262         (memset): Set alias to __memset_z900.
27264 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #17748]
27267         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27268         __fesetenv instead of fesetenv.
27270 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27272         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27273         macro.
27275 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27277         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27278         regression on LE.
27280         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27281         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27283         strncmp-power8 object.
27284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27285         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27286         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27287         * NEWS: Update.
27289 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27290             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27292         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27293         trailing byte check.
27295 2015-01-13  David S. Miller  <davem@davemloft.net>
27297         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27299 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27301         * login/logout.c (logout): Use memset rather than bzero.
27302         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27303         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27304         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27305         (_gethtbyaddr): Likewise.
27306         * locale/programs/simple-hash.c (bcopy): Macro removed.
27308 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27310         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27311         Add strcmp-power8 object.
27312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27313         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27314         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27315         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27316         __strcmp_power8 implementation.
27317         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27318         * NEWS: Update.
27320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27321         Add strncpy-power8 and stpncpy-power8 objects.
27322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27323         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27324         implementations.
27325         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27326         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27327         __stpncpy_power8 implementation.
27328         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27329         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27330         __strncpy_power8 implementation.
27331         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27332         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27333         * NEWS: Update.
27335         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27336         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27337         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27339         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27340         strncat-power8 object.
27341         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27342         __strcat_power8 implementation.
27343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27344         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27345         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27346         optimized strcat for power8.
27348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27349         strcpy-power8 and stpcpy-power8 objects.
27350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27351         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27352         implementations.
27353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27354         multiarch stpcpy implementation for POWER8.
27355         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27356         multiarch strcpy implementation for POWER8.
27357         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27358         __strcpy_power8 function.
27359         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27360         stpcpy for POWER8.
27361         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27362         strcpy for POWER8.
27363         * NEWS: Update.
27365 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27367         [BZ #16009]
27368         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27369         weights and rules. Use do_xfrm_cached if data fits in cache,
27370         do_xfrm otherwise.  Moved former main loop to...
27371         * (do_xfrm_cached): New function.
27372         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27373         find_idx, find_position and stack_push.
27374         * (find_idx): New function.
27375         * (find_position): Likewise.
27376         * localedata/sort-test.sh: Added test run for do_xfrm.
27377         * localedata/xfrm-test.c (main): Added command line option
27378         -nocache to run the test with strings that are too large for
27379         the STRXFRM cache.
27381 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27383         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27384         variable to lll_futex_wake call, not the value itself.
27386 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27388         [BZ #17803]
27389         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27390         twom64.  Adjust value to 0x1p-64L.
27391         (__scalblnl): Only return standard underflowing result for K <=
27392         -64 not K <= -63; adjust exponent for underflowing result by 64
27393         not 63.
27394         * math/libm-test.inc (scalbn_test_data): Add more tests.
27395         (scalbln_test_data): Likewise.
27397         [BZ #17834]
27398         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27399         0x1p63L.
27400         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27401         not HX.
27402         * math/libm-test.inc (scalbn_test_data): Add more tests.
27403         (scalbln_test_data): Likewise.
27405 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27406             Stefani Seibold  <stefani@seibold.net>
27408         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27409         (sysdep_routines): Add dl-vdso here, ...
27410         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27411         (sysdep_routines): ... not here.
27412         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27413         fallback when vDSO is not presented.
27414         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27415         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27416         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27417         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27418         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27419         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27420         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27421         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27422         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27424         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27425         fallback configurable symbol when vDSO is not available.
27426         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27427         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27428         be able to redefine fallback symbol when vDSO is not available.
27429         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27430         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27432 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27434         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27435         (TLS_INIT_TP): Add tm_capable initialization.
27436         (TLS_DEFINE_INIT_TP): Likewise.
27437         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27438         TCB.
27439         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27440         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27441         calculation.
27442         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27443         transactoion is lock elision is built and TCB tm_capable is set.
27444         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27446         (INTERNAL_SYSCALL_NCS): Likewise.
27447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27448         (INTERNAL_SYSCALL_NCS): Likewise.
27449         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27451         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27452         for powerpc.
27453         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27454         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27455         and remove it for 32 bits case.
27456         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27457         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27458         initialization.
27459         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27460         Disable lock elision with rdlocks if elision is not available.
27462         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27463         (sysdep_routines): Add lock elision objects.
27464         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27465         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27466         [pthread_mutex_t] (__elision): Add field.
27467         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27468         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27469         elision definitions for powerpc.
27470         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27471         implementation of lock elision for powerpc.
27472         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27473         implementation of timed lock elision for powerpc.
27474         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27475         implementation of trylock with lock elision for powerpc.
27476         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27477         implementaion of unlock for lock elision for powerpc.
27478         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27479         automatic enable lock elision for mutexes.
27480         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27481         transaction execution definitions for powerpc.
27482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27483         definitions.
27484         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27485         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27486         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27487         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27488         * NEWS: Update.
27490 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27492         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27493         for #include of <shm-directory.h>.
27495 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27497         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27498         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27500 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27502         [BZ #17791]
27503         * NEWS: Mention bug fix.
27504         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27505         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27506         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27508 2015-01-09  Torvald Riegel <triegel@redhat.com>
27510         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27512 2015-01-09  Torvald Riegel <triegel@redhat.com>
27514         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27516 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27518         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27519         pointer and cast to uintptr_t.
27521 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27523         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27524         removed.
27525         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27527 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27529         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27530         of 0.
27532 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27534         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27535         <nptl/pthreadP.h> instead.
27536         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27538         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27539         already defined.
27540         [__SIGRTMIN] (init): Function removed.
27541         [__SIGRTMIN] (initialized): Variable removed.
27542         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27543         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27544         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27545         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27546         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27547         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27548         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27549         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27550         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27551         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27552         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27553         * sysdeps/nptl/allocrtsig.c: New file.
27554         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27555         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27556         * sysdeps/generic/testrtsig.h: File removed.
27558         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27559         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27561         * nptl/nptl-init.c (pthread_functions): Conditionalize
27562         .ptr__nptl_setxid initialization on [SIGSETXID].
27564         * sysdeps/nptl/sys/procfs.h: New file.
27565         * nptl_db/Makefile (headers): Add it.
27566         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27568         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27569         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27570         * nptl/pthread_attr_setaffinity.c: Include it.
27571         * nptl/pthread_setattr_default_np.c: Likewise.
27572         * nptl/check-cpuset.h: New file.
27574 2015-01-08  Richard Henderson  <rth@redhat.com>
27576         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27577         (CFLAGS-tst-execstack-prog.c): Likewise.
27578         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27580 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27581             Sandra Loosemore  <sandra@codesourcery.com>
27582             Andrew Jenner  <andrew@codesourcery.com>
27583             Joseph Myers  <joseph@codesourcery.com>
27584             Nathan Sidwell  <nathan@codesourcery.com>
27586         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27587         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27588         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27589         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27590         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27591         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27592         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27593         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27594         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27595         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27596         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27597         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27598         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27599         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27600         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27601         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27602         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27604 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27606         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27607         timespec struct member in syscall macro.
27608         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27609         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27610         first timeval struct member in syscall macro.
27611         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27613 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27615         [BZ #17748]
27616         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27617         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27618         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27619         __feupdateenv and define as weak alias of __feupdateenv.  Use
27620         libm_hidden_weak.
27621         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27622         libm_hidden_def.
27623         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27624         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27625         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27626         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27627         libm_hidden_def.
27628         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27629         __feupdateenv and define as weak alias of __feupdateenv.  Use
27630         libm_hidden_weak.
27631         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27632         libm_hidden_def.
27633         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27634         __feupdateenv and define as weak alias of __feupdateenv.  Use
27635         libm_hidden_weak.
27636         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27637         libm_hidden_def.
27638         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27639         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27640         (__feupdateenv): Likewise.
27641         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27642         __feupdateenv and define as weak alias of __feupdateenv.  Use
27643         libm_hidden_weak.
27644         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27645         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27646         libm_hidden_def.
27647         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27648         function.
27649         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27650         libm_hidden_def.
27651         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27652         __feupdateenv instead of feupdateenv.
27653         (default_libc_feupdateenv_test): Likewise.
27654         (libc_feresetround_ctx): Likewise.
27656 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27658         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27659         prototype.
27661 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27663         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27664         COLL_SYM in a couple of places to avoid uninitialized variable
27665         wanings on tilegx gcc 4.8.2.
27667 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27669         * sysdeps/aarch64/strcpy.S: New file.
27670         * sysdeps/aarch64/stpcpy.S: New file.
27671         * NEWS: Updated.
27673 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27675         * sysdeps/aarch64/strrchr.S: New file.
27676         * NEWS: Updated.
27678 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27680         [BZ #17658]
27681         * stdlib/setenv.c: Fix memory leak when setting large,
27682         duplicate string.
27684 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27686         [BZ #17273]
27687         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27688         and tabs from buffer before parsing fstab entry.
27689         * misc/tst-mntent.c (main): Add test for mount entry with
27690         trailing spaces and tabs.
27692 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27694         [BZ #17748]
27695         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27696         * math/fesetround.c (fesetround): Rename to __fesetround and
27697         define as weak alias of __fesetround.  Use libm_hidden_weak.
27698         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27699         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27700         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27701         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27702         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27703         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27704         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27705         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27706         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27707         __fesetround_inline.
27708         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27709         __fesetround_inline instead of __fesetround.
27710         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27711         __fesetround and define as weak alias of __fesetround.  Use
27712         libm_hidden_weak.  Call __fesetround_inline instead of
27713         __fesetround.
27714         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27715         __fesetround and define as weak alias of __fesetround.  Use
27716         libm_hidden_weak.
27717         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27718         Likewise.
27719         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27720         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27721         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27722         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27723         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27724         __fesetround and define as weak alias of __fesetround.  Use
27725         libm_hidden_weak.
27726         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27727         __fesetround instead of fesetround.
27728         (default_libc_feholdexcept_setround): Likewise.
27729         (libc_feholdsetround_ctx): Likewise.
27730         (libc_feholdsetround_noex_ctx): Likewise.
27732         [BZ #17748]
27733         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27734         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27735         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27736         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27737         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27738         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27739         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27740         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27741         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27742         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27743         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27744         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27745         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27746         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27747         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27748         libm_hidden_def.
27749         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27750         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27751         Likewise.
27752         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27753         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27754         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27755         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27756         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27757         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27758         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27759         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27760         __fesetenv instead of fesetenv.
27761         (libc_feresetround_noex_ctx): Likewise.
27762         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27763         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27764         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27765         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27766         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27767         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27768         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27769         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27770         (__feupdateenv): Likewise.
27771         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27772         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27773         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27774         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27776 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27778         [BZ #17806]
27779         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27780         addresses have been freed.
27782 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27784         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27785         and nservall.
27787 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27789         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27790         Clean up check_pf allocation pattern. addresses
27792 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27794         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27795         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27796         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27797         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27798         * nptl/pthread_join.c (pthread_join): Likewise.
27799         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27800         * sysdeps/posix/waitid.c (__waitid): Likewise.
27801         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27802         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27803         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27804         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27806         Likewise.
27807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27808         (__libc_pread64): Likewise.
27809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27810         (__libc_pwrite): Likewise.
27811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27812         (__libc_pwrite64): Likewsie.
27813         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27814         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27815         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27816         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27817         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27818         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27819         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27821         Likewise.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27823         (__libc_pread64): Likewise.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27825         Likewise.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27827         (__libc_pwrite64): Likewise.
27828         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27829         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27830         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27831         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27832         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27833         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27834         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27835         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27836         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27837         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27838         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27839         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27840         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27841         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27842         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27843         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27844         Likewise.
27846 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27848         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27849         (CFLAGS-test-double.c): Likewise.
27850         (CFLAGS-test-ldouble.c): Likewise.
27851         (CPPFLAGS-test-ifloat.c): Likewise.
27852         (CPPFLAGS-test-idouble.c): Likewise.
27853         (CPPFLAGS-test-ildoubl.c): Likewise.
27854         (CFLAGS-test-test-fenv.c): Remove variable.
27855         (CFLAGS-test-misc.c): Likewise.
27857 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27859         [BZ #17797]
27860         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27861         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27862         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27863         CLOCKS_PER_SEC == 1000000.
27864         * time/clocktest.c (main): Replace %ld with %jd and cast to
27865         intmax_t.
27867 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27869         * sysdeps/generic/unwind-resume.h: New file.
27870         * sysdeps/gnu/unwind-resume.c: Include it.
27871         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27872         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27873         argument list.
27874         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27875         global rather than static.
27876         (_Unwind_Resume): Update user.
27877         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27878         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27879         rather than static.  Add __attribute__ ((cold)).
27880         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27881         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27882         * sysdeps/arm/arm-unwind-resume.S: New file.
27883         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27884         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27885         * sysdeps/arm/Makefile [$(subdir) = csu]
27886         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27887         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27888         Add rt-arm-unwind-resume.
27889         [$(subdir) = nptl]
27890         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27891         Add pt-arm-unwind-resume.
27892         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27893         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27895 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27897         [BZ #17748]
27898         * include/fenv.h (__feholdexcept): Declare.  Use
27899         libm_hidden_proto.
27900         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27901         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27902         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27903         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27904         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27905         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27906         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27907         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27908         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27909         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27910         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27911         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27912         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27913         (feholdexcept): Likewise.
27914         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27915         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27916         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27917         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27918         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27919         __feholdexcept instead of feholdexcept.
27920         (default_libc_feholdexcept_setround): Likewise.
27922 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27924         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27925         to avoid using stl/str to align destination.
27927 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27929         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27931 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27933         [BZ #17796]
27934         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27935         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27936         Define as weak alias not strong alias.
27938 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27940         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27941         bltzal with addiupc.
27942         (RTLD_START): Ditto.
27944 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27946         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27947         for __vdso_* functions in declarations.
27948         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27949         definitions.
27950         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27951         INTERNAL_VSYSCALL): Use struct return types to check for error.
27953         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27954         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27955         function with cast from llround().
27956         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27957         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27958         Define.
27960 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #17793]
27963         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27964         Define as weak alias not strong alias.
27966         [BZ #17635]
27967         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27968         ...
27969         * ctype/ctype-extn.c: ... here.
27970         (__isblank_l): Move to ...
27971         * ctype/ctype-c99_l.c: ... here.  New file.
27972         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27973         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27974         Remove variable.
27975         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27976         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27977         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27978         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27979         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27981         [BZ #17777]
27982         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27983         (posix_fadvise64): Define as weak alias not strong alias.
27984         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27985         (posix_fallocate64): Likewise.
27986         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27987         Remove variable.
27988         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27989         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27990         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27991         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27992         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27994 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27996         [BZ #16191]
27997         * NEWS: Mention bug fix.
27998         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27999         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28000         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28001         (HOST_STACK_END_ADDR): Likewise.
28003 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28005         [BZ #17748]
28006         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28007         * math/fegetround.c (fegetround): Rename to __fegetround and
28008         define as weak alias of __fegetround.  Use libm_hidden_weak.
28009         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28010         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28011         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28012         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28013         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28014         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28015         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28016         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28017         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28018         Undefine after rather than before function definition; use
28019         parentheses around function name in definition.
28020         (__fegetround): Also undefine macro after function definition.
28021         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28022         __fegetround and define as weak alias of __fegetround.  Use
28023         libm_hidden_weak.  Do not undefine as macro.
28024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28025         Likewise.
28026         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28027         __fegetround and define as weak alias of __fegetround.  Use
28028         libm_hidden_weak.
28029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28030         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28031         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28032         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28033         __fegetround and define as weak alias of __fegetround.  Use
28034         libm_hidden_weak.
28035         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28036         __fegetround instead of fegetround.
28038         [BZ #17782]
28039         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28040         Condition macro definition on [__USE_MISC].
28042         [BZ #17781]
28043         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28044         (struct sigaction): Change type of sa_flags field to int.
28046         [BZ #17780]
28047         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28048         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28049         __glibc_reserved0.
28051         * nptl/version.c (banner): Use single year in copyright notice.
28053         * NEWS: Update copyright dates.
28054         * catgets/gencat.c (print_version): Likewise.
28055         * csu/version.c (banner): Likewise.
28056         * debug/catchsegv.sh: Likewise.
28057         * debug/pcprofiledump.c (print_version): Likewise.
28058         * debug/xtrace.sh (do_version): Likewise.
28059         * elf/ldconfig.c (print_version): Likewise.
28060         * elf/ldd.bash.in: Likewise.
28061         * elf/pldd.c (print_version): Likewise.
28062         * elf/sotruss.sh: Likewise.
28063         * elf/sprof.c (print_version): Likewise.
28064         * iconv/iconv_prog.c (print_version): Likewise.
28065         * iconv/iconvconfig.c (print_version): Likewise.
28066         * locale/programs/locale.c (print_version): Likewise.
28067         * locale/programs/localedef.c (print_version): Likewise.
28068         * login/programs/pt_chown.c (print_version): Likewise.
28069         * malloc/memusage.sh (do_version): Likewise.
28070         * malloc/memusagestat.c (print_version): Likewise.
28071         * malloc/mtrace.pl: Likewise.
28072         * manual/libc.texinfo: Likewise.
28073         * nptl/version.c (banner): Likewise.
28074         * nscd/nscd.c (print_version): Likewise.
28075         * nss/getent.c (print_version): Likewise.
28076         * nss/makedb.c (print_version): Likewise.
28077         * posix/getconf.c (main): Likewise.
28078         * scripts/test-installation.pl: Likewise.
28079         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28081 2015-01-02  Will Newton  <will.newton@linaro.org>
28083         * sysdeps/arm/armv7/configure: Removed.
28084         * sysdeps/arm/armv7/configure.ac: Likewise.
28086 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28088         * All files with FSF copyright notices: Update copyright dates
28089         using scripts/update-copyrights.
28090         * intl/plural.c: Regenerated.
28091         * locale/programs/charmap-kw.h: Likewise.
28092         * locale/programs/locfile-kw.h: Likewise.
28094 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28096         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28098 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28100         [BZ #17748]
28101         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28102         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28103         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28104         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28105         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28106         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28107         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28108         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28109         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28110         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28111         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28112         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28113         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28114         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28115         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28116         libm_hidden_def.
28117         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28118         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28119         Likewise.
28120         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28121         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28122         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28123         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28124         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28125         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28126         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28127         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28128         __fegetenv instead of fegetenv.
28129         (libc_feholdsetround_noex_ctx): Likewise.
28131 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28133         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28134         (Elf_MIPS_ABIFlags_v0): New structure.
28135         (EF_MIPS_FP64): Define.
28136         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28137         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28138         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28139         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28140         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28141         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28142         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28143         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28144         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28145         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28146         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28147         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28148         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28149         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28150         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28151         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28152         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28153         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28154         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28155         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28156         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28157         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28158         field.
28159         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28160         EF_MIPS_FP64.
28161         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28162         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28163         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28164         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28165         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28166         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28167         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28168         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28169         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28170         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28171         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28172         record the current FP ABI extension.
28173         (mips-mode-switch): Define to show if kernel headers support mode
28174         switching.
28175         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28176         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28177         supported SYSV ABI version to 3.
28178         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28179         feature.
28181 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28182             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28184         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28185         path.
28186         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28188 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28190         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28191         __fegetround and redefine to call __fegetround.  Remove condition
28192         on [!__NO_MATH_INLINES].
28193         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28194         function.
28195         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28196         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28197         Remove macro.
28198         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28199         instead of <fenv_libc.h>.
28200         (__llrintl): Call fegetround instead of __fegetround.
28201         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28202         instead of <fenv_libc.h>.
28203         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28204         (__lrintl): Call fegetround instead of __fegetround.
28205         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28206         instead of <fenv_libc.h>.
28207         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28208         (__rintl): Call fegetround instead of __fegetround.
28210 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28212         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28213         arrays.
28215 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28217         [BZ #17775]
28218         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28219         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28220         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28222 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28224         * sysdeps/i386/tls-macros.h: Include <features.h>.
28225         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28226         (TLS_IE): Likewise.
28227         (TLS_LD): Likewise.
28228         (TLS_GD): Likewise.
28229         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28230         define for GCC >= 5.0.
28232 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28234         * math/test-fenv.c (test_single_exception, set_single_exc,
28235         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28236         feexcp_mask_test, feenable_test, fe_single_test): Add
28237         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28238         case where they are not used.
28239         * math/libm-test.inc: Likewise.
28240         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28241         unused in the absence of FP rounding/exception support.
28242         * stdio-common/tst-printf-round.c: Likewise.
28243         * stdlib/tst-strtod-round.c: Likewise.
28244         * stdlib/tst-strtod-underflow.c: Likewise.
28246 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28248         [BZ #17723]
28249         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28250         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28251         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28252         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28253         libm_hidden_weak.
28254         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28255         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28256         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28257         libm_hidden_def.
28258         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28259         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28260         libm_hidden_weak.
28261         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28262         Likewise.
28263         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28264         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28265         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28266         libm_hidden_weak.
28267         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28268         libm_hidden_def.
28269         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28270         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28271         (__feraiseexcept): Likewise.
28272         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28273         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28274         libm_hidden_weak.
28275         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28276         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28277         libm_hidden_def.
28278         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28279         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28280         Use libm_hidden_def.
28281         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28282         libm_hidden_def.
28283         (feraiseexcept): Define as weak not strong alias.  Use
28284         libm_hidden_weak.
28285         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28286         New inline function.  Factored out of ...
28287         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28288         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28289         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28290         feraiseexcept.
28291         * math/w_acos.c (__acos): Likewise.
28292         * math/w_asin.c (__asin): Likewise.
28293         * math/w_ilogb.c (__ilogb): Likewise.
28294         * math/w_j0.c (y0): Likewise.
28295         * math/w_j1.c (y1): Likewise.
28296         * math/w_jn.c (yn): Likewise.
28297         * math/w_log.c (__log): Likewise.
28298         * math/w_log10.c (__log10): Likewise.
28299         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28300         * sysdeps/aarch64/fpu/math_private.h
28301         (libc_feupdateenv_test_aarch64): Likewise.
28302         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28303         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28304         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28305         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28306         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28307         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28308         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28309         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28310         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28311         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28313 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28315         [BZ #17732]
28316         * io/test-utime.c (main): Replace %ld with %jd and cast to
28317         intmax_t.
28318         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28319         * nptl/tst-mutex5.c: Include <stdint.h>.
28320         (do_test): Replace %ld with %jd and cast to intmax_t.
28321         * posix/tst-regex.c (run_test): Likewise.
28322         (run_test_backwards): Likewise.
28323         * rt/tst-clock.c: Include <stdint.h>.
28324         (clock_test): Replace %ld with %jd and cast to intmax_t.
28325         * rt/tst-cpuclock1.c: Include <stdint.h>.
28326         (do_test): Replace %lu with %ju and cast to uintmax_t.
28327         * rt/tst-cpuclock2.c: Include <stdint.h>.
28328         (do_test): Replace %lu with %ju and cast to uintmax_t.
28329         * rt/tst-mqueue1.c: Include <stdint.h>.
28330         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28331         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28332         intmax_t.
28333         * rt/tst-mqueue4.c (do_test): Likewise.
28334         * rt/tst-timer4.c: Include <stdint.h>.
28335         (check_ts): Replace %ld with %jd and cast to intmax_t.
28336         (do_test): Likewise.
28337         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28338         and cast to intmax_t.
28339         * sysdeps/pthread/tst-timer.c (main): Likewise.
28340         * time/clocktest.c (main): Likewise.
28341         * time/tst-posixtz.c (do_test): Likewise.
28342         * timezone/tst-timezone.c (main): Likewise.
28344 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28345             H.J. Lu  <hongjiu.lu@intel.com>
28347         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28348         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28349         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28350         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28351         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28352         version if bit_Fast_Unaligned_Load is set.
28353         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28354         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28355         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28356         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28357         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28358         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28360         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28361         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28362         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28363         to 4.
28364         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28365         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28366         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28367         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28369 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28371         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28372         instead of #if to avoid a Wundef warning.
28373         * stdlib/tst-limits.c (do_test): Likewise.
28375         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28376         parallel other exception macros.
28377         (fegetenv): Convert from macro to extern inline so that it applies
28378         retroactively to inline functions already seen by the compiler.
28379         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28381         * posix/Makefile (before-compile): Use $(objpfx) for
28382         posix-conf-vars-def.h.
28384 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28386         * posix/getconf.c (main): Use size_t for type of I.
28387         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28388         NSPEC.
28390         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28391         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28392         * posix/posix-envs.def: Likewise.
28393         * sysdeps/posix/sysconf.c: Likewise.
28394         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28395         (specs): Remove array.
28396         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28397         array.
28399         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28400         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28401         (__sysconf): Use CONF_IS_* macros.
28403         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28404         ($(objpfx)posix-conf-vars-def.h): New target.
28405         * posix/posix-conf-vars.list: New file.
28406         * posix/posix-conf-vars.h: New file.
28407         * posix/confstr.c: Include posix-conf-vars.h.
28408         (confstr): Use CONF_IS_* macros.
28409         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28410         CONF_IS_* macros.
28411         * scripts/gen-posix-conf-vars.awk: New file.
28413 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28415         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28416         fegetround): Add no-op macros to avoid linknamespace issues.
28418         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28419         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28421         * sysdeps/unix/sysv/linux/tile/sysdep.h
28422         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28423         assembly-specific section to avoid a redefinition warning.
28425         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28426         long before casting to pointer to avoid a cast warning.
28428 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28430         * sysdeps/tile/tilegx/Implies: New file.
28432 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28434         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28436 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28438         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28440 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28443         not define.
28444         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28445         <kernel-features.h>.
28446         (__utimes) [__NR_utimes]: Make code unconditional.
28447         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28448         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28449         (__ASSUME_UTIMES): Do not undefine.
28450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28451         (__ASSUME_UTIMES): Likewise.
28452         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28453         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28454         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28455         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28457 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28459         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28461 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28463         [BZ #17747]
28464         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28465         alias to weak alias for j0l, y0l.
28466         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28467         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28469         [BZ #17746]
28470         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28471         conversion.
28473 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28475         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28476         to zero if not already defined.
28478 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28480         [BZ #17724]
28481         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28482         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28483         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28484         (char *) casts added.
28485         * sysdeps/ieee754/k_standardf.c: New file.
28486         * sysdeps/ieee754/k_standardl.c: Likewise.
28487         * math/Makefile (libm-support): Remove k_standard.
28488         (libm-calls): Add k_standard.
28490 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28492         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28493         Optimize to avoid an unnecessary FPCR read.
28495 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28498         Optimize to reduce FPCR/FPSR accesses.
28500 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28502         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28503         Call libc_fetestexcept_aarch64.
28505 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28507         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28508         Call libc_fesetround_aarch64.
28510 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28512         [BZ #17733]
28513         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28514         (__bind): Do not define as weak alias.
28515         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28516         define.
28517         (__getsockname): Do not define as weak alias.
28519 2014-12-22  Will Newton  <will.newton@linaro.org>
28521         * manual/install.texi: Document that we require bison 2.7
28522         or above.
28523         * INSTALL: Regenerate.
28524         * configure.ac: Use AC_CHECK_PROG_VER instead of
28525         AC_PATH_PROG when checking for bison and check for
28526         version 2.7 or above.
28527         * configure: Regenerate.
28529 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28531         [BZ #17745]
28532         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28533         * sysdeps/tile/ffsll.c (ffsll): To here.
28535         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28537 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28539         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28540         if not defined.
28541         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28542         definition.
28543         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28544         hidden ___tls_get_addr.
28545         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28546         hidden __tls_get_addr.
28547         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28548         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28549         Likewise.
28551 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28553         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28554         _dl_init call.
28556 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28558         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28559         from "call _dl_init@PLT".
28560         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28562 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28564         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28565         guarantees.
28567 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28569         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28571 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28573         [BZ #17744]
28574         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28575         strnlen.
28577 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28579         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28580         of multu on MIPSr6.
28581         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28582         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28583         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28584         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28585         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28587 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28589         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28590         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28591         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28592         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28593         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28594         mips32r6/mips64r6.
28595         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28597 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28599         * string/strncat.c (STRNCAT): Simplify implementation.
28601 2014-12-19  David S. Miller  <davem@davemloft.net>
28603         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28604         access the quad as both a long double and as a series of 4 words.
28606         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28607         link_map->l_info array access.
28609 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28611         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28613         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28614         * math/atest-exp2.c (TIMEOUT): Likewise.
28615         * math/atest-sincos.c (TIMEOUT): Likewise.
28617 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28619         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28620         -Wno-error with -fno-builtin-lround.
28622 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28624         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28625         Contains futex constants and functions moved over from ...
28626         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28627         <lowlevellock-futex.h>.
28628         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28629         (lll_timedwait_tid): Add comments and parentheses around macro
28630         arguments.
28632 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28634         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28635         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28636         (__lll_private_flag): Remove.
28637         (lll_futex_wait): Likewise.
28638         (lll_futex_timed_wait): Likewise.
28639         (lll_futex_wake): Likewise.
28640         (lll_futex_requeue): Likewise.
28641         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28642         (__lll_timedwait_tid): Spell out argument names.
28643         (lll_timedwait_tid): Add comments and parentheses around macro
28644         arguments.
28645         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28646         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28648 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28650         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28651         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28652         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28653         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28654         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28655         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28656         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28657         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28658         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28659         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28660         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28664         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28665         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28666         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28667         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28668         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28670 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28672         * sysdeps/x86_64/x32/Makefile: New file.
28674 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28676         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28677         1L with (mp_limb_t) 1.
28679 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28681         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28682         * nptl/libc_pthread_init.c: ... here.
28683         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28684         * nptl/register-atfork.c: ... here.
28686         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28687         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28688         Use assert_perror to check its return value.
28689         (__gai_create_helper_thread): Likewise.
28691         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28693         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28695 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28697         [BZ #17725]
28698         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28699         __profil_counter.
28700         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28701         Likewise.
28702         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28703         Likewise.
28704         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28705         Likewise.
28706         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28707         (profil_counter): Likewise.
28708         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28709         (profil_counter): Likewise.
28710         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28711         Likewise.
28712         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28713         Likewise.
28714         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28715         (profil_counter): Likewise.
28716         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28717         Likewise.
28718         [!__profil_counter] (profil_counter): Define as weak alias of
28719         __profil_counter.
28720         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28721         (profil_counter): Rename to __profil_counter.
28722         [!__profil_counter] (profil_counter): Define as weak alias of
28723         __profil_counter.
28724         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28725         (profil_counter): Rename to __profil_counter.
28726         [!__profil_counter] (profil_counter): Define as weak alias of
28727         __profil_counter.
28728         * sysdeps/posix/profil.c: Update comment referring to
28729         profil_counter.
28730         (__profil): Use __profil_counter instead of profil_counter.
28731         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28732         __profil_counter.  Use __profil_counter_ushort and
28733         __profil_counter_uint in definitions.
28734         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28735         instead of profil_counter_uint and profil_counter_ushort.
28737         [BZ #17722]
28738         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28739         define as weak alias of __inet_makeaddr.
28740         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28741         as weak alias of __inet_addr.
28742         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28743         as weak alias of __inet_pton.  Use libc_hidden_weak.
28744         * include/arpa/inet.h (__inet_pton): Declare.  Use
28745         libc_hidden_proto.
28746         (inet_makeaddr): Don't use libc_hidden_proto.
28747         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28748         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28749         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28750         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28751         Remove variable.
28752         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28753         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28755 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28757         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28759 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28761         * stdio-common/bug-vfprintf-nargs.c (do_test):
28762         Cast value to intptr_t to avoid format warning
28763         for usage with PRIdPTR printing macro.
28765 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28767         * libio/tst-widetext.c (do_test):
28768         Use format type %td instead of %Zd for ptrdiff_t
28769         in order to avoid format warning.
28771 2014-12-17  Andreas Schwab  <schwab@suse.de>
28773         * nscd/mem.c (gc): Add size_t cast to match printf format.
28775 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28777         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28778         (init): Apply PTR_MANGLE to pointers before storing them.
28779         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28780         before using them.
28782 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28784         [BZ #17719]
28785         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28786         define as weak alias of __memrchr.
28787         (__memrchr): Do not define as strong alias of memrchr.
28788         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28789         Remove variable.
28790         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28791         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28792         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28794         [BZ #17717]
28795         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28796         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28797         (if_indextoname): Rename to __if_indextoname and define as weak
28798         alias of __if_indextoname.  Use libc_hidden_weak.
28799         (if_freenameindex): Rename to __if_freenameindex and define as
28800         weak alias of __if_freenameindex.
28801         (if_nameindex): Rename to __if_nameindex and define as weak alias
28802         of __if_nameindex.
28803         * sysdeps/mach/hurd/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.
28808         (if_nameindex): Rename to __if_nameindex and define as weak alias
28809         of __if_nameindex.
28810         (if_indextoname): Rename to __if_indextoname and define as weak
28811         alias of __if_indextoname.  Use libc_hidden_weak.
28812         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28813         __if_nametoindex and define as weak alias of __if_nametoindex.
28814         Use libc_hidden_weak.
28815         (if_freenameindex): Rename to __if_freenameindex and define as
28816         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28817         (if_nameindex_netlink): Use __if_freenameindex instead of
28818         if_freenameindex.
28819         (if_nameindex): Rename to __if_nameindex and define as weak alias
28820         of __if_nameindex.  Use libc_hidden_weak.
28821         (if_indextoname): Rename to __if_indextoname and define as weak
28822         alias of __if_indextoname.  Use libc_hidden_weak.
28823         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28824         libc_hidden_proto.
28825         [!_ISOMAC] (__if_freenameindex): Likewise.
28826         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28827         if_nametoindex.
28828         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28829         variable.
28830         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28831         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28832         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28833         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28834         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28835         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28836         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28838         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28839         Remove variable.
28840         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28841         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28843 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28846         subscript above bounds'
28848         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28849         bounds.
28851 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28853         * libio/tst-fopenloc.c: Use test-skeleton.c.
28855         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28856         (entry): Rename to ITEM.
28857         (do_test, comp): Adjust.
28859         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28861 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28863         * string/tester.c: Include <libc-internal.h>.
28864         (test_memset): Ignore -Wmemset-transposed-args.
28866 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28868         * misc/tst-mntent2.c (do_test): Fix warning.
28870 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28872         * elf/tst-unique4lib.cc(a): Mark as used.
28874 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28876         [BZ #17630]
28877         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28878         names.
28880 2014-12-16  Allan McRae  <allan@archlinux.org>
28882         * stdio-common/Makefile (tests): Re-add bug26.
28884 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28886         [BZ #17657]
28887         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28888         static array.
28890 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28892         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28893         (__lll_lock_wait): Likewise.
28894         (__lll_timedlock_wait): Likewise.
28895         (__lll_timedwait_tid): Likewise.
28896         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28897         (__lll_robust_timedlock_wait): Likewise.
28898         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28899         (lll_cond_trylock): Likewise.
28900         (__lll_lock): Likewise.
28901         (__lll_robust_lock): Likewise.
28902         (__lll_cond_lock): Likewise.
28903         (lll_robust_cond_lock): Likewise.
28904         (__lll_timedlock): Likewise.
28905         (__lll_robust_timedlock): Likewise.
28906         (__lll_unlock): Likewise.
28907         (__lll_robust_unlock): Likewise.
28908         (lll_wait_tid): Likewise.
28909         (lll_timedwait_tid): Likewise.
28911 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28913         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28915 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28917         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28919 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28921         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28922         * stdio-common/tst-sprintf.c: Likewise.
28924 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28926         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28928 2014-12-15  Jeff Law  <law@redhat.com>
28930         [BZ #16617]
28931         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28932         on the heap.  (CVE-2012-3406)
28933         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28934         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28935         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28937 2014-12-15  Will Newton  <will.newton@linaro.org>
28939         * manual/install.texi: Bump required version of texinfo
28940         to 4.7 from 4.5.
28941         * INSTALL: Regenerated.
28942         * configure.ac: Check for makeinfo version 4.7 and above.
28943         * configure: Regenerated.
28945 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28947         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28948         PREFIX, string constant to insert between directory and name.
28949         * sysdeps/posix/shm_open.c: Update caller.
28950         * sysdeps/posix/shm_unlink.c: Likewise.
28951         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28952         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28953         (SEM_SHM_PREFIX): New macro.
28954         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28955         [$(have-thread-library) = no].
28956         * nptl/Makefile (libpthread-routines): Add shm-directory.
28957         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28958         * sysdeps/nptl/shm-directory.h: New file.
28959         * sysdeps/posix/shm-directory.c
28960         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28961         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28962         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28963         INTERNAL_SYSCALL.
28964         (__where_is_shmfs): Function removed.
28965         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28966         Variables removed.
28967         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28968         Use SHM_GET_NAME.
28969         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28971         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28972         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28973         unconditional for use inside libpthread.
28974         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28976 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28978         * nptl/pthread_getaffinity.c: New file.
28979         * nptl/pthread_setaffinity.c: New file.
28980         * nptl/pthread_getname.c: New file.
28981         * nptl/pthread_setname.c: New file.
28983         * nptl/pthread_create.c (START_THREAD_DEFN)
28984         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28986 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28987             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28989         * resolv/res_send.c (send_vc): Disable warning resplen may
28990         be used uninitialized.
28992 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28994         * nptl/tst-mutex6.c
28995         (ATTR_NULL): New define checks ATTR against NULL.
28996         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28997         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28999 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29001         [BZ #17581]
29002         * malloc/hooks.c
29003         (mem2mem_check): Revert my previous change.
29004         (malloc_check_get_size): Revert my previous change.
29005         (mem2chunk_check): Revert my previous change.
29007 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29009         * sysdeps/posix/shm-directory.c: New file.
29010         * sysdeps/posix/shm-directory.h: New file.
29011         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29012         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29013         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29014         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29015         Transmute EPERM to EACCES.
29016         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29017         from ...
29018         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29019         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29021 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29023         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29024         pointer and cast to uintptr_t.
29025         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29026         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29027         Add cast to avoid warning.
29028         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29030 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29032         * nptl/semaphore.h: Move to ...
29033         * sysdeps/pthread/semaphore.h: ... here.
29034         * Makefile (installed-headers): Change nptl/semaphore.h to
29035         sysdeps/pthread/semaphore.h.
29037 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29039         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29040         generated error format strings.
29042         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29043         -Wformat-extra-args warnings for scanf formats.
29044         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29045         test of zero-length format (duh).
29046         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29047         corner-case scanf format test.
29048         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29049         generated fprintf format string.
29050         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29051         corner-case sprintf format tests.
29052         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29053         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29054         -Wformat-extra-args warnings throughout.
29055         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29056         (CFLAGS-scanf4.c): Likewise.
29057         (CFLAGS-scanf7.c): Likewise.
29058         (CFLAGS-tst-sprintf.c): Likewise.
29059         (CFLAGS-tst-printf.c): Likewise.
29060         (CFLAGS-tst-printfsz.c): Likewise.
29062 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29064         * include/cpio.h: New file.
29065         * include/fmtmsg.h: Likewise.
29067         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29068         corresponding format argument to size_t.
29069         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29070         arguments.
29071         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29072         corresponding format argument to size_t.
29073         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29074         arguments.
29075         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29076         corresponding format argument to size_t.
29077         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29078         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29079         (CFLAGS-tst-mbswcs2.c): Likewise.
29080         (CFLAGS-tst-mbswcs3.c): Likewise.
29081         (CFLAGS-tst-mbswcs4.c): Likewise.
29082         (CFLAGS-tst-mbswcs5.c): Likewise.
29083         (CFLAGS-tst-trans.c): Likewise.
29085 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29087         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29088         rather than assuming they won't contain any '%'s.
29090 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29092         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29093         inhibit_loop_to_libcall to avoid recursive calls.
29094         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29095         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29097 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29099         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29100         prototype.
29102 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29104         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29105         integer value instead of boolean.
29107 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29109         * malloc/malloc.c: Fix powerof2 check.
29111 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29113         * locale/programs/locfile.h (maybe_swap_uint32):
29114         Remove inline and add unused attribute.
29116 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29118         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29119         Truncating assembler expression to a .long expression.
29121 2014-12-11  Andreas Schwab  <schwab@suse.de>
29123         * elf/rtld.c (struct map_args): Constify str member.
29124         (do_preload): Constify fname argument.
29126 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29128         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29129         constants definition.
29131 2014-12-11  Andreas Schwab  <schwab@suse.de>
29133         [BZ #16657]
29134         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29135         FORCE_ELISION instead of DO_ELISION.
29136         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29137         Remove.
29138         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29139         Likewise.
29141         * iconvdata/gconv-modules: Remove duplicate entry.
29143 2014-12-11  Will Newton  <will.newton@linaro.org>
29145         Merge gettext 0.19.3 into intl/.
29147         This involves a number of cosmetic changes to comments
29148         and ANSI function definitions and prototypes throughout
29149         all the files. The gettext copyright header is used but
29150         with the date ranges taken from the glibc copy.
29152         * NEWS: Add gettext merge to 2.21.
29153         * intl/bindtextdom.c: Switch to gettext copyright.
29154         Use ANSI definitions and prototypes.
29155         Use gl_* locking primitives rather than __libc_* ones.
29156         Use __builtin_expect rather than __glibc_likely/unlikely.
29157         * intl/dcgettext.c: Switch to gettext copyright.
29158         Use ANSI definitions and prototypes.
29159         * intl/dcigettext.c: Switch to gettext copyright.
29160         Use ANSI definitions and prototypes.
29161         (INTDIV0_RAISES_SIGFPE): New define.
29162         Use gl_* locking primitives rather than __libc_* ones.
29163         Include eval-plural.h instead of plural-eval.c.
29164         Use __builtin_expect rather than __glibc_likely/unlikely.
29165         * intl/dcngettext.c: Switch to gettext copyright.
29166         Use ANSI definitions and prototypes.
29167         * intl/dgettext.c: Likewise.
29168         * intl/dngettext.c: Likewise.
29169         * intl/plural-eval.c: Renamed to...
29170         * intl/eval-plural.h: ...this.
29171         * intl/explodename.c: Switch to gettext copyright.
29172         Use ANSI definitions and prototypes.
29173         (_nl_explode_name): Use strchr instead of __rawmemchr.
29174         * intl/finddomain.c: Switch to gettext copyright.
29175         Use ANSI definitions and prototypes.
29176         Use gl_* locking primitives rather than __libc_* ones.
29177         (_nl_find_domain): Use malloc rather than alloca for
29178         allocation of temporary locale name.
29179         * intl/gettext.c: Switch to gettext copyright.
29180         Use ANSI definitions and prototypes.
29181         * intl/gettextP.h: Switch to gettext copyright.
29182         Use ANSI definitions and prototypes.
29183         Use gl_* locking primitives rather than __libc_* ones.
29184         * intl/gmo.h: Switch to gettext copyright.
29185         (struct sysdep_string): Move struct segment_pair outside of
29186         struct definition.
29187         * intl/hash-string.c: Use ANSI definitions and prototypes.
29188         * intl/hash-string.h: Switch to gettext copyright.
29189         Use ANSI definitions and prototypes.
29190         * intl/l10nflist.c: Switch to gettext copyright.
29191         Use ANSI definitions and prototypes.
29192         (_nl_normalize_codeset): Avoid integer overflow.
29193         * intl/loadinfo.h: Switch to gettext copyright.
29194         Use ANSI definitions and prototypes.
29195         (LIBINTL_DLL_EXPORTED): New define.
29196         (PATH_SEPARATOR): New define.
29197         * intl/loadmsgcat.c: Switch to gettext copyright.
29198         * intl/localealias.c: Switch to gettext copyright.
29199         Use ANSI definitions and prototypes.
29200         (_nl_expand_alias): Use PATH_SEPARATOR.
29201         * intl/ngettext.c: Switch to gettext copyright.
29202         Use ANSI definitions and prototypes.
29203         * intl/plural-exp.c: Likewise.
29204         * intl/plural-exp.h: Switch to gettext copyright.
29205         Use ANSI definitions and prototypes.
29206         (struct expression): Move definition of enum operator outside
29207         of struct definition.
29208         * intl/plural.c: Regenerate.
29209         * intl/plural.y: Switch to gettext copyright.
29210         Use ANSI definitions and prototypes.
29211         Port to bison 3.0.
29212         * intl/textdomain.c: Switch to gettext copyright.
29213         Use ANSI definitions and prototypes.
29214         Use gl_* locking primitives rather than __libc_* ones.
29216 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29218         * debug/warning-nop.c: Add used atrribute.
29220 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29222         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29224         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29225         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29226         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29228 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29229             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29231         [BZ #17634]
29232         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29233         Undefine after defining function.  Define as weak alias of
29234         __wcschr.  Use libc_hidden_weak.
29235         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29236         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29237         (libc_hidden_def): Also define __GI___wcschr alias.
29238         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29239         __wcschr and define as weak alias of __wcschr.
29240         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29241         __wcschr.
29242         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29243         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29244         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29245         libc_hidden_weak.  Do not use libc_hidden_def.
29246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29247         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29248         __GI___wcschr alias.
29249         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29250         [IS_IN (libc)] (wcschr): Define as macro expanding to
29251         __redirect_wcschr.
29252         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29253         [IS_IN (libc)] (__wcschr_power6): Likewise.
29254         [IS_IN (libc)] (__wcschr_power7): Likewise.
29255         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29256         instead of wcschr.
29257         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29258         __libc_wcschr.
29259         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29260         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29261         __wcschr and define as weak alias of __wcschr.  Use
29262         libc_hidden_builtin_def.
29263         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29264         as weak alias of __wcschr.  Use libc_hidden_weak.
29265         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29266         wcschr.
29267         * time/era.c (_nl_init_era_entries): Likewise.
29268         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29269         variable.
29270         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29271         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29273 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29275         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29276         format for long int variable.
29278 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29280         [BZ #10672]
29281         * manual/search.texi: (Array Sort Function): Remove claim how to make
29282         qsort stable.
29284 2014-12-10  Andreas Schwab  <schwab@suse.de>
29286         [BZ #12847]
29287         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29288         user-controlled locks.
29290 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29292         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29293         register.
29295 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29297         * configure.ac (--disable-werror): New configure option.
29298         (enable_werror): New AC_SUBST.
29299         * configure: Regenerated.
29300         * config.make.in (enable-werror): New variable.
29301         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29302         -Wno-error=undef.
29303         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29304         * manual/install.texi (Configuring and compiling): Document
29305         --disable-werror.
29306         * INSTALL: Regenerated.
29307         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29308         (CFLAGS-tst-chk2.c): Likewise.
29309         (CFLAGS-tst-chk3.c): Likewise.
29310         (CFLAGS-tst-chk4.cc): Likewise.
29311         (CFLAGS-tst-chk5.cc): Likewise.
29312         (CFLAGS-tst-chk6.cc): Likewise.
29313         (CFLAGS-tst-lfschk1.c): Likewise.
29314         (CFLAGS-tst-lfschk2.c): Likewise.
29315         (CFLAGS-tst-lfschk3.c): Likewise.
29316         (CFLAGS-tst-lfschk4.cc): Likewise.
29317         (CFLAGS-tst-lfschk5.cc): Likewise.
29318         (CFLAGS-tst-lfschk6.cc): Likewise.
29320         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29321         (main): Disable -Wdeprecated-declarations around calls to
29322         register_printf_function.
29324         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29325         (do_test): Disable -Wdiv-by-zero around some calls to
29326         fwrite_unlocked and fread_unlocked.
29328         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29329         (DIAG_POP_NEEDS_COMMENT): Likewise.
29330         (_DIAG_STR1): Likewise.
29331         (_DIAG_STR): Likewise.
29332         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29333         * stdio-common/bug21.c: Include <libc-internal.h>.
29334         (do_test): Disable -Wformat around call to sscanf.
29335         * stdio-common/scanf14.c: Include <libc-internal.h>.
29336         (main): Disable -Wformat around some calls to scanf functions.
29338 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29340         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29342 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29344         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29345         stack variable alignment.
29347 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29349         [BZ #17682]
29350         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29351         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29352         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29353         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29354         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29355         __getrlimit instead of getrlimit.
29356         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29357         __gettimeofday instead of gettimeofday.
29358         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29359         Likewise.
29360         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29361         Likewise.
29362         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29363         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29364         Remove variable.
29365         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29366         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29368 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29370         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29371         for wide-character tests.
29373 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29375         * io/openat64.c: #include <libc-internal.h>
29376         (__openat64): Prototypify.  Use ignore_value on MODE.
29377         * io/openat.c: Likewise.
29378         * misc/reboot.c: #include <libc-internal.h>
29379         (reboot): Prototypify.  Use ignore_value on HOWTO.
29380         * misc/ptrace.c: #include <libc-internal.h>
29381         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29383 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29385         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29386         XPG4, UNIX98 and XOPEN2K.
29387         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29388         Remove variable.
29389         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29391 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393         * libio/fileops.c: Use ISO C style for function definitions.
29394         * libio/iofopen.c: Likewise.
29395         * libio/wfileops.c: Likewise.
29397         [BZ #17653]
29398         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29399         offset on EOF.
29400         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29401         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29402         (fgets_func): Function pointer to fgets and fgetws.
29403         (do_ftell_test): Add test to verify ftell value after read
29404         EOF.
29405         (do_test): Set fgets_func.
29407         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29408         O_TRUNC flag for w and w+ modes.
29409         (do_rewind_test): Likewise.
29410         (do_ftell_test): Likewise.
29411         (do_write_test): Likewise.
29413         [BZ #17647]
29414         * libio/fileops.c (do_ftell): Seek only when there are
29415         unflushed writes.
29416         * libio/wfileops.c (do_ftell_wide): Likewise.
29417         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29418         test case.
29419         (do_one_test): Call it.
29421 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29423         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29424         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29425         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29426         Remove variable.
29427         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29428         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29429         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29431 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29433         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29434         Remove variable.
29435         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29437         [BZ #17668]
29438         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29439         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29440         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29441         __freeifaddrs.  Use libc_hidden_weak.
29442         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29443         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29444         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29445         __freeifaddrs.  Use libc_hidden_weak.
29446         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29447         __getifaddrs and define as weak alias of __getifaddrs.  Use
29448         libc_hidden_weak.
29449         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29450         __freeifaddrs.  Use libc_hidden_weak.
29451         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29452         Remove variable.
29453         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29454         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29456 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29458         [BZ #17601]
29459         * sysdeps/mips/start.S (__start): Use indirect jump to call
29460         __libc_start_main.
29462 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29464         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29466         * nptl/tst-mutex1.c: Include <stdbool.h>.
29467         [!ATTR] (ATTR_NULL): New macro.
29468         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29469         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29470         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29472         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29473         to char *.
29475         [BZ #17665]
29476         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29477         Change conditional to [__USE_MISC].
29479         [BZ #17664]
29480         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29481         fgets_unlocked.
29482         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29483         __fgets_unlocked.
29484         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29485         fgets_unlocked.
29486         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29487         Remove variable.
29488         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29489         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29490         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29491         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29492         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29493         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29494         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29495         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29496         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29498         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29500 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29502         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29503         Remove strpbrk objects.
29504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29505         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29506         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29508         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29509         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29511         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29512         Remove strcspn objects.
29513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29514         (__libc_ifunc_impl_list): Remove strcspn implementation.
29515         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29516         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29517         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29518         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29521         Remove strspn objetcs.
29522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29523         (__libc_ifunc_impl_list): Remove strspn implementation.
29524         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29525         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29526         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29527         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29529 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29531         [BZ #17581]
29532         * malloc/hooks.c
29533         (mem2mem_check): Add a terminator to the chain of checking blocks.
29534         (malloc_check_get_size): Use it here.
29535         (mem2chunk_check): Ditto.
29537 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29539         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29540         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29542 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29544         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29546         * nptl/nptl-init.c: Include libc-internal.h.
29547         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29549         * elf/ldconfig.c (search_dir): Expand comment.
29551 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29553         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29554         variable.
29555         (linknamespace-symlist-stdlibs-tests): Likewise.
29556         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29557         instead of $(objpfx)symlist-stdlibs.
29558         (linknamespace-libs-isoc): New variable.
29559         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29560         (linknamespace-libs-ISO): New variable.
29561         (linknamespace-libs-ISO99): Likewise.
29562         (linknamespace-libs-ISO11): Likewise.
29563         (linknamespace-libs-XPG3): Likewise.
29564         (linknamespace-libs-XPG4): Likewise.
29565         (linknamespace-libs-POSIX): Likewise.
29566         (linknamespace-libs-UNIX98): Likewise.
29567         (linknamespace-libs-XOPEN2K): Likewise.
29568         (linknamespace-libs-POSIX2008): Likewise.
29569         (linknamespace-libs-XOPEN2K8): Likewise.
29570         ($(objpfx)symlist-stdlibs): Replace by
29571         $(linknamespace-symlist-stdlibs-tests).  Use
29572         $(linknamespace-libs-$*) as set of libraries.
29573         ($(linknamespace-header-tests)): Update dependencies.  Use
29574         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29575         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29576         * conform/linknamespace.pl: Remove comment about considering
29577         definitions of symbols from irrelevant libraries.
29579 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29581         [BZ #13862]
29582         * elf/dl-tls.c: Include <atomic.h>.
29583         (oom): Remove #ifdef SHARED/#endif.
29584         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29585         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29586         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29587         big enough.
29588         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29589         * nptl/Makefile (tests): Add tst-stack4.
29590         (modules-names): Add tst-stack4mod.
29591         ($(objpfx)tst-stack4): New.
29592         (tst-stack4mod.sos): Likewise.
29593         ($(objpfx)tst-stack4.out): Likewise.
29594         ($(tst-stack4mod.sos)): Likewise.
29595         (clean): Likewise.
29596         * nptl/tst-stack4.c: New file.
29597         * nptl/tst-stack4mod.c: Likewise.
29599 2014-11-27  J. Brown  <jb999@gmx.de>
29601         * sysdeps/x86/bits/string.h: Add recent CPUs.
29603 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29605         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29606         sigblock.
29608         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29609         feof.
29611         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29612         variable.
29614 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29616         * nscd/connections.c: Include libc-internal.h because of macro
29617         usage ignore_value.
29619 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29621         * string/bits/string3.h (__warn_memset_zero_len): Don't
29622         declare for gcc newer than 5.0.
29623         (memset): Don't test for zero-length __LEN for gcc newer than
29624         5.0.
29626 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29628         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29629         size_t for %zu format.
29631         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29632         difference, not %ju.
29634 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29636         * include/libc-internal.h (ignore_value): New macro.
29637         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29638         with ignore_value.
29640         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29641         definition.
29643         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29644         pthread_cleanup_push to void *.
29646         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29647         Undefine.
29649         [BZ #16619]
29650         [BZ #16740]
29651         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29652         instead of 1L << 52.
29654         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29655         * libio/bug-rewind2.c (do_test): Likewise.
29657         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29658         * debug/test-strcpy_chk-ifunc.c: Likewise.
29659         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29660         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29661         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29662         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29663         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29664         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29665         * Rules [$(multi-arch) = no] (tests): Do not filter out
29666         $(tests-ifunc).
29667         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29668         * debug/Makefile (tests-ifunc): Remove variable.
29669         (tests): Do not add $(tests-ifunc).
29670         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29671         (tests): Do not add $(tests-ifunc).
29672         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29673         [TEST_IFUNC]: Remove conditionals.
29674         * string/test-string.h (TEST_IFUNC): Remove macro.
29675         [TEST_IFUNC]: Remove conditionals.
29677         * string/test-strchr.c [!WIDE] (L): New macro.
29678         [WIDE] (L): Likewise.
29679         (check1): Use CHAR instead of char.  Use L on string and character
29680         constants.
29682 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29684         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29685         tests.
29686         * sysdeps/powerpc/bits/atomic.h
29687         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29688         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29689         (atomic_exchange_and_add_acq): Likewise.
29690         (atomic_exchange_and_add_rel): Likewise.
29691         * sysdeps/powerpc/powerpc32/bits/atomic.h
29692         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29693         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29694         * sysdeps/powerpc/powerpc64/bits/atomic.h
29695         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29696         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29698 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29700         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29701         Change synchronization of __sched_fifo_min_prio and
29702         __sched_fifo_max_prio.
29703         * nptl/pthread_mutexattr_getprioceiling.c
29704         (pthread_mutexattr_getprioceiling): Likewise.
29705         * nptl/pthread_mutexattr_setprioceiling.c
29706         (pthread_mutexattr_setprioceiling): Likewise.
29707         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29708         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29709         Likewise.
29711 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29713         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29714         void.
29716 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29718         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29719         third argument const.
29721 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29723         fnmatch: work around GCC compiler warning bug with uninit var
29724         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29725         This works around a bug with x86-64 GCC 4.9.2 and earlier
29726         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29727         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29728         used uninitialized in this function [-Wmaybe-uninitialized]".
29730 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29732         * posix/bug-regex31.c (main): Return RES not 0.
29734 2014-11-25  Anton Blanchard <anton@samba.org>
29736         * sysdeps/powerpc/bits/atomic.h
29737         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29739 2014-11-24  Sterling Augustine  <saugustine@google.com>
29741         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29743 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29745         [BZ #17608]
29746         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29748 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29750         [BZ #17633]
29751         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29752         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29753         variable.
29754         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29755         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29757 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29759         * string/strncpy.c (strncpy): Improve performance by using memset.
29761 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29763         * string/strcpy.c (strcpy):
29764         Improve performance by using strlen and memcpy.
29766 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29768         * string/strcoll_l.c (get_next_seq): __always_inline.
29769         * string/strcoll_l.c (do_compare): __always_inline.
29771 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29773         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29774         defined.
29775         * include/mqueue.h: Likewise.
29776         * include/stdlib.h: Likewise.
29778         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29779         (get_null_defines): Adjust.
29780         * sunrpc/Makefile: Adjust comment.
29781         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29782         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29783         (CFLAGS-interp.c): Likewise.
29784         (CFLAGS-ldconfig.c): Likewise.
29785         (CPPFLAGS-.os): Likewise.
29786         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29787         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29788         * extra-modules.mk (extra-modules.mk): Likewise.
29789         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29790         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29791         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29792         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29793         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29794         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29795         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29796         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29797         * iconvdata/Makefile (CPPFLAGS): Likewise.
29798         (cpp-srcs-left): Add libof for all iconvdata routines.
29799         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29800         * include/assert.h: Likewise.
29801         * include/ctype.h: Likewise.
29802         * include/errno.h: Likewise.
29803         * include/libc-symbols.h: Likewise.
29804         * include/math.h: Likewise.
29805         * include/netdb.h: Likewise.
29806         * include/resolv.h: Likewise.
29807         * include/stdio.h: Likewise.
29808         * include/stdlib.h: Likewise.
29809         * include/string.h: Likewise.
29810         * include/sys/stat.h: Likewise.
29811         * include/wctype.h: Likewise.
29812         * intl/l10nflist.c: Likewise.
29813         * libidn/idn-stub.c: Likewise.
29814         * libio/libioP.h: Likewise.
29815         * nptl/libc_multiple_threads.c: Likewise.
29816         * nptl/pthreadP.h: Likewise.
29817         * posix/regex_internal.h: Likewise.
29818         * resolv/res_hconf.c: Likewise.
29819         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29820         * sysdeps/arm/memmove.S: Likewise.
29821         * sysdeps/arm/sysdep.h: Likewise.
29822         * sysdeps/generic/_itoa.h: Likewise.
29823         * sysdeps/generic/symbol-hacks.h: Likewise.
29824         * sysdeps/gnu/errlist.awk: Likewise.
29825         * sysdeps/gnu/errlist.c: Likewise.
29826         * sysdeps/i386/i586/memcpy.S: Likewise.
29827         * sysdeps/i386/i586/memset.S: Likewise.
29828         * sysdeps/i386/i686/memcpy.S: Likewise.
29829         * sysdeps/i386/i686/memmove.S: Likewise.
29830         * sysdeps/i386/i686/mempcpy.S: Likewise.
29831         * sysdeps/i386/i686/memset.S: Likewise.
29832         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29833         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29834         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29835         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29836         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29837         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29838         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29839         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29840         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29841         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29842         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29843         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29844         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29845         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29846         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29847         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29848         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29849         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29850         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29851         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29852         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29853         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29854         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29855         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29856         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29857         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29858         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29859         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29860         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29861         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29862         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29864         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29865         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29866         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29868         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29869         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29870         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29871         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29872         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29873         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29874         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29875         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29876         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29877         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29878         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29879         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29880         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29881         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29882         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29883         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29884         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29885         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29886         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29887         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29888         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29889         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29890         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29891         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29893         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29894         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29895         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29896         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29897         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29898         * sysdeps/posix/closedir.c: Likewise.
29899         * sysdeps/posix/opendir.c: Likewise.
29900         * sysdeps/posix/readdir.c: Likewise.
29901         * sysdeps/posix/rewinddir.c: Likewise.
29902         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29903         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29904         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29905         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29906         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29907         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29908         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29913         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29914         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29915         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29916         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29917         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29918         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29919         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29920         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29921         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29922         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29923         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29924         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29925         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29927         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29929         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29930         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29937         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29938         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29939         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29940         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29941         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29942         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29943         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29944         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29945         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29946         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29947         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29948         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29949         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29950         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29951         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29952         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29953         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29954         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29956         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29957         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29959         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29960         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29961         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29962         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29963         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29964         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29965         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29966         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29967         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29968         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29969         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29970         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29971         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29972         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29973         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29974         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29975         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29976         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29978         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29979         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29980         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29981         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29982         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29983         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29984         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29986         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29988         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29989         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29990         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29991         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29992         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29993         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29994         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29995         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29996         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29997         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29998         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30000         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30001         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30003         * sysdeps/unix/alpha/sysdep.S: Likewise.
30004         * sysdeps/unix/alpha/sysdep.h: Likewise.
30005         * sysdeps/unix/make-syscalls.sh: Likewise.
30006         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30007         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30008         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30009         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30010         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30011         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30012         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30013         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30014         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30015         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30016         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30017         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30018         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30019         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30020         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30021         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30022         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30023         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30024         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30025         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30026         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30027         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30028         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30029         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30030         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30031         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30032         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30035         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30036         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30040         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30044         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30045         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30046         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30047         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30048         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30049         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30050         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30053         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30056         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30057         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30058         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30059         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30060         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30061         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30062         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30064         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30065         * sysdeps/x86_64/memcpy.S: Likewise.
30066         * sysdeps/x86_64/memmove.c: Likewise.
30067         * sysdeps/x86_64/memset.S: Likewise.
30068         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30069         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30070         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30071         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30072         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30075         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30076         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30077         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30078         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30079         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30080         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30081         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30082         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30083         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30084         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30085         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30086         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30087         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30088         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30089         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30090         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30091         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30092         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30093         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30094         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30095         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30096         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30097         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30098         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30099         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30100         * sysdeps/x86_64/strcmp.S: Likewise.
30102         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30104         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30105         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30106         * elf/rtld-Rules: Likewise.
30107         * elf/setup-vdso.h: Likewise.
30108         * include/assert.h: Likewise.
30109         * include/bits/stdlib-float.h: Likewise.
30110         * include/errno.h: Likewise.
30111         * include/sys/stat.h: Likewise.
30112         * include/unistd.h: Likewise.
30113         * sysdeps/aarch64/setjmp.S: Likewise.
30114         * sysdeps/alpha/setjmp.S: Likewise.
30115         * sysdeps/arm/__longjmp.S: Likewise.
30116         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30117         * sysdeps/arm/setjmp.S: Likewise.
30118         * sysdeps/arm/sysdep.h: Likewise.
30119         * sysdeps/generic/_itoa.h: Likewise.
30120         * sysdeps/generic/dl-sysdep.h: Likewise.
30121         * sysdeps/generic/ldsodefs.h: Likewise.
30122         * sysdeps/i386/dl-tls.h: Likewise.
30123         * sysdeps/i386/setjmp.S: Likewise.
30124         * sysdeps/m68k/setjmp.c: Likewise.
30125         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30126         * sysdeps/mach/hurd/opendir.c: Likewise.
30127         * sysdeps/posix/getcwd.c: Likewise.
30128         * sysdeps/posix/opendir.c: Likewise.
30129         * sysdeps/posix/profil.c: Likewise.
30130         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30132         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30133         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30134         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30135         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30136         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30137         * sysdeps/s390/dl-tls.h: Likewise.
30138         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30139         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30140         * sysdeps/sh/sh3/setjmp.S: Likewise.
30141         * sysdeps/sh/sh4/setjmp.S: Likewise.
30142         * sysdeps/unix/alpha/sysdep.h: Likewise.
30143         * sysdeps/unix/arm/sysdep.S: Likewise.
30144         * sysdeps/unix/i386/sysdep.S: Likewise.
30145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30146         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30147         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30148         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30149         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30150         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30151         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30152         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30153         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30154         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30155         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30156         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30157         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30163         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30164         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30165         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30166         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30167         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30168         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30169         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30170         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30172         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30173         * sysdeps/x86_64/setjmp.S: Likewise.
30175         * include/math.h: Use IS_IN instead of IS_IN_libm.
30176         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30177         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30178         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30179         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30180         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30181         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30182         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30183         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30185         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30186         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30187         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30188         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30189         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30190         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30191         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30192         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30193         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30194         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30195         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30196         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30197         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30198         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30199         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30200         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30201         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30202         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30203         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30204         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30205         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30206         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30207         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30208         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30210         Likewise.
30211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30212         Likewise.
30213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30214         Likewise.
30215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30216         Likewise.
30217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30218         Likewise.
30219         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30222         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30223         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30230         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30231         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30232         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30234         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30235         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30240         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30241         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30243         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30245         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30247         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30248         * nptl/pthreadP.h: Likewise.
30249         * nptl_db/structs.def: Likewise.
30250         * sysdeps/arm/sysdep.h: Likewise.
30251         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30252         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30253         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30254         * sysdeps/unix/alpha/sysdep.h: Likewise.
30255         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30257         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30258         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30259         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30260         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30262         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30263         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30264         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30265         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30266         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30267         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30268         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30273         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30275         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30276         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30277         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30278         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30279         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30280         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30282         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30283         * nptl/pthreadP.h: Likewise.
30284         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30285         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30286         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30287         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30288         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30289         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30290         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30291         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30292         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30293         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30294         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30295         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30297         Likewise.
30298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30299         Likewise.
30300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30302         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30305         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30306         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30307         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30309         * dlfcn/dladdr.c: Use IS_IN.
30310         * dlfcn/dladdr1.c: Likewise.
30311         * dlfcn/dlclose.c: Likewise.
30312         * dlfcn/dlerror.c: Likewise.
30313         * dlfcn/dlinfo.c: Likewise.
30314         * dlfcn/dlmopen.c: Likewise.
30315         * dlfcn/dlopen.c: Likewise.
30316         * dlfcn/dlsym.c: Likewise.
30317         * dlfcn/dlvsym.c: Likewise.
30319         * include/ifaddrs.h: Use IS_IN.
30320         * inet/check_pf.c: Likewise.
30321         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30322         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30324         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30325         IS_IN_ldconfig.
30326         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30327         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30329         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30330         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30331         IS_IN (libc).
30333         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30335         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30336         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30337         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30338         * include/libc-symbols.h (IS_IN_LIB): New macro.
30339         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30340         * include/netdb.h: Likewise.
30341         * include/stap-probe.h: Remove all uses of IN_LIB.
30343         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30344         instead of IN_MODULE.
30345         * include/libc-symbols.h (IN_MODULE): Define using
30346         MODULE_NAME.
30347         (PASTE_NAME, PASTE_NAME1): New macros.
30348         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30349         of IN_LIB.
30350         (STAP_PROBE_ASM): Likewise.
30352 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30354         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30355         __mach_init in dlopened libc.
30357 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30359         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30360         * sysdeps/arm/preconfigure: Regenerate.
30362 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30364         * nptl/pthread_create.c (__pthread_create_2_1): Set
30365         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30366         when copying values from IATTR into PD.
30368 2014-11-21  Will Newton  <will.newton@linaro.org>
30369             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30371         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30372         Refactor inline-asm.  Also add comment.
30374         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30375         ElfW macro instead of hardcoded Elf64 types.
30376         (la_aarch64_gnu_pltenter): Likewise.
30377         * sysdeps/aarch64/dl-machine.h
30378         (elf_machine_runtime_setup): Use ElfW(Addr).
30380         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30381         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30382         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30383         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30384         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30385         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30386         (R_AARCH64_TLS_DTPMOD): This.
30387         (R_AARCH64_TLS_DTPREL64): Rename to ...
30388         (R_AARCH64_TLS_DTPREL): This.
30389         (R_AARCH64_TLS_TPREL64): Rename to ...
30390         (R_AARCH64_TLS_TPREL): This.
30391         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30392         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30393         R_AARCH64_TLS_TPREL64.
30394         (elf_machine_rela): Likewise.
30396 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30398         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30399         by setting it to 0.  64b atomics are not supported currently.
30401 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30403         [BZ #16469]
30404         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30405         search domain names.
30407 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30409         [BZ #16469]
30410         * NEWS: Update.
30411         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30412         trailing dot.
30413         * posix/tst-getaddrinfo5.c: New.
30414         * posix/Makefile (tests): Add it.
30416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30418         [BZ #14498]
30419         * NEWS: Fixed.
30420         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30421         after parsing line but before break_if_match.
30422         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30423         if there is a protocol mismatch.
30425 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30427         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30428         because the potential race is on the user-supplied stream.
30430 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30432         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30433         string literal if not passed a buffer.
30434         * manual/job.texi (ctermid): Update reasoning, note deviation
30435         from posix, suggest mtasurace when not passed a buffer, for
30436         future non-preliminary safety notes.
30438 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30440         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30441         of not passing it a buffer.
30442         Reported by Peng Haitao.
30444 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30446         * manual/Makefile ($(objpfx)stamp-summary): Require
30447         check-safety.sh to pass.
30448         * manual/check-safety.sh: Wish for verification that every
30449         @deftypefn and @deftypefun is followed by a @safety remark.
30451 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30453         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30455         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30456         PTHREAD_CANCEL_ASYNCHRONOUS.
30457         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30458         send SIGCANCEL.
30460         * nptl/default-sched.h: New file.
30461         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30462         * nptl/pthread_create.c: Include it.
30463         (__pthread_create_2_1): Use collect_default_sched instead of making
30464         Linux syscalls here directly.
30466 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30468         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30469         __pthread_once): Use C11 atomics.
30471 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30473         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30475 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30477         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30478         atomic_thread_fence_acquire, atomic_thread_fence_release,
30479         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30480         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30481         atomic_compare_exchange_weak_relaxed,
30482         atomic_compare_exchange_weak_acquire,
30483         atomic_compare_exchange_weak_release,
30484         atomic_exchange_acquire, atomic_exchange_release,
30485         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30486         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30487         atomic_fetch_and_acquire,
30488         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30490 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30492         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30493         USE_ATOMIC_COMPILER_BUILTINS): Define.
30494         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30496         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30498         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30500         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30502         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30504         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30506         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30508         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30510         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30512         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30514         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30516         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30518         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30520         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30522         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30524         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30526         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30528         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30529         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30530         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30532         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30535 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30537         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30538         the sched_priority value here.  It was already checked when the user
30539         called pthread_attr_setschedparam.
30541         * nptl/tst-bad-schedattr.c: New file.
30542         * nptl/Makefile (tests): Add it.
30544 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30545             Florian Weimer  <fweimer@redhat.com>
30546             Joseph Myers  <joseph@codesourcery.com>
30547             Adam Conrad  <adconrad@0c3.net>
30548             Andreas Schwab  <schwab@suse.de>
30549             Brooks  <bmoses@google.com>
30551         [BZ #17625]
30552         * wordexp-test.c (__dso_handle): Add prototype.
30553         (__register_atfork): Likewise.
30554         (__app_register_atfork): New function.
30555         (registered_forks): New global.
30556         (register_fork): New function.
30557         (test_case): Add 3 new tests for WRDE_CMDSUB.
30558         (main): Call __app_register_atfork.
30559         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30560         fork count is non-zero fail the test.
30561         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30562         is set.
30563         (parse_dollars): Remove check for WRDE_NOCMD.
30564         (parse_dquote): Likewise.
30566 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30568         * Makeconfig (built-modules): List non-library modules to be
30569         built.
30570         (module-cppflags): Include libc-modules.h for
30571         everything except shlib-versions.v.i.
30572         (CPPFLAGS): Use it.
30573         (before-compile): Add libc-modules.h.
30574         ($(common-objpfx)libc-modules.h,
30575         $(common-objpfx)libc-modules.stmp): New targets.
30576         (common-generated): Add libc-modules.h and libc-modules.stmp.
30577         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30578         * include/libc-symbols.h: Don't include libc-modules.h.
30579         * include/libc-modules.h: Remove file.
30580         * scripts/gen-libc-modules.awk: New script to generate
30581         libc-modules.h.
30582         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30583         Depend on libc-modules.stmp.
30585         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30587         * Makeconfig (in-module): Get value of libof set for the
30588         translation unit.
30589         (CPPFLAGS): Use $(in-module).
30590         * Makerules: Don't suffix routine names for nonlib.
30591         * include/libc-modules.h: New file.
30592         * include/libc-symbols.h: Include libc-modules.h
30593         (IS_IN): New macro to replace IS_IN_* macros.
30594         * elf/Makefile: Set libof-* for each routine.
30595         * elf/rtld-Rules: Likewise.
30596         * extra-modules.mk: Likewise.
30597         * iconv/Makefile: Likewise.
30598         * iconvdata/Makefile: Likewise.
30599         * locale/Makefile: Likewise.
30600         * malloc/Makefile: Likewise.
30601         * nss/Makefile: Likewise.
30602         * sysdeps/gnu/Makefile: Likewise.
30603         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30604         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30605         * sysdeps/s390/s390-64/Makefile: Likewise.
30606         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30607         CPPFLAGS for nscd instead of nonlib.
30609 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30611         * nptl/createthread.c: New file.
30613         * nptl/createthread.c: Moved ...
30614         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30616         * nptl/createthread.c: Add proper top-line comment.
30617         (do_clone): Folded into ...
30618         (create_thread): ... here.  Take new arguments STOPPED_START and
30619         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30620         increment __nptl_threads, do event-reporting logic, do
30621         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30622         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30623         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30624         just send SIGCANCEL.
30625         * nptl/pthread_create.c: Forward-declare create_thread before
30626         including createthread.c.
30627         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30628         declaration, and new macro START_THREAD_SELF to replace argument.
30629         Remove return statement.
30630         (report_thread_creation): New function.
30631         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30632         synchronization logic, and __nptl_nthreads increment here, around
30633         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30634         PD->parent_cancelhandling here, before create_thread.  When
30635         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30636         __deallocate_stack, and ENOMEM translation here.
30638 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30640         [BZ #17616]
30641         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30642         (mptwo): Rename to __mptwo.
30643         (__inv): Use __mptwo instead of mptwo.
30644         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30645         (mptwo): Rename to __mptwo.
30646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30647         of mpone and __mptwo instead of mptwo.
30648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30649         instead of mpone.
30650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30651         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30652         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30653         of mpone and __mptwo instead of mptwo.
30654         (__mpranred): Use __mpone instead of mpone.
30655         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30656         variable.
30657         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30658         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30659         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30660         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30661         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30662         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30663         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30664         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30665         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30666         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30667         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30668         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30669         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30670         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30671         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30672         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30673         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30674         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30675         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30677 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30679         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30680         replace BSD Handler xref with BSD Signal Handling.
30682 2014-11-17  Richard Henderson  <rth@redhat.com>
30684         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30685         (_FP_PACK_RAW_2): Remove.
30686         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30687         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30688         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30689         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30690         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30691         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30692         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30693         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30694         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30695         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30696         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30697         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30698         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30699         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30700         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30701         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30703 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30705         * signal/signal.h [__USE_MISC]
30706         (struct sigvec): Remove type.
30707         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30708         (sigvec): Remove declaration.
30709         * sysdeps/posix/sigvec.c: Moved ...
30710         * signal/sigvec.c: ... here, replacing old file.
30711         (struct sigvec): New type, copied from old signal.h definition.
30712         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30713         (__sigvec): Convert definition to prototype.
30714         (sigvec): Replace weak_alias with compat_symbol.
30715         * signal/Versions (libc: GLIBC_2.21): New version set.
30716         * include/signal.h: Remove __sigvec declaration.
30717         * sysdeps/unix/bsd/sigvec.c: Remove file.
30718         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30719         * manual/signal.texi (BSD Handler): Remove subsection.
30720         Move siginterrupt up to ...
30721         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30722         (Blocking in BSD): Fold subsection into its parent.
30723         * NEWS: Mention sigvec removal.
30725 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30727         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30728         (DLA_FMS): Make definition conditional only on [__FMA4__].
30729         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30730         definition.
30732         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30733         Make definition conditional only on [PROF].
30734         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30735         definition.
30736         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30737         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30739         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30740         !__GNUC__].
30741         * include/signal.h (__sigpause): Move declaration above call to
30742         libc_hidden_proto.
30743         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30744         variable.
30745         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30746         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30748 2014-11-14  David S. Miller  <davem@davemloft.net>
30750         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30751         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30753 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30755         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30756         * configure: Regenerated.
30757         * manual/install.texi (Tools for Compilation): Document a
30758         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30759         compiler verified to work.
30760         * INSTALL: Regenerated.
30762         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30763         redeclare with asm name.
30764         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30765         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30766         including <string.h>.
30767         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30768         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30769         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30770         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30771         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30773         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30775 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30777         * stdlib/strtol.c (__strtol): Use prototype definition.
30779         [BZ #17594]
30780         * stdlib/strtol.c (SYM__): New macro.
30781         (SYM__1): Likewise.
30782         (__strtol): Likewise.
30783         (strtol): Rename to __strtol and define as weak alias of
30784         __strtol.  Use libc_hidden_weak.
30786 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30788         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30789         Use numbered labels in inline assembly.
30791 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30793         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30794         Add setjmp LIBC_PROBE.
30795         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30796         Likewise.
30797         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30798         Add longjmp, longjmp_target LIBC_PROBE.
30799         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30800         Likewise.
30802 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30805         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30806         to get rid of unused variable warning.
30808 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30810         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30811         Check for unwind_backtrace ==  NULL only in SHARED case.
30812         (__backchain_backtrace): Compile only in SHARED case.
30813         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30814         Likewise.
30815         (__backchain_backtrace): Declare as static.
30817 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30819         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30820         (__libc_multiple_threads_ptr): Variable moved ...
30821         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30823 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30825         * conform/GlibcConform.pm: New file.
30826         * conform/conformtest.pl: Use GlibcConform module.
30827         * conform/linknamespace.pl: New file.
30828         * conform/list-header-symbols.pl: Likewise.
30829         * conform/Makefile (linknamespace-symlists-base): New variable.
30830         (linknamespace-symlists-tests): Likewise.
30831         (linknamespace-header-base): Likewise.
30832         (linknamespace-header-tests): Likewise.
30833         (tests-special): Add new tests.
30834         ($(linknamespace-symlists-tests)): New rule.
30835         (linknamespace-libs): New variable.
30836         ($(objpfx)symlist-stdlibs): New rule.
30837         ($(linknamespace-header-tests)): Likewise.
30838         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30839         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30840         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30841         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30842         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30843         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30844         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30845         (test-xfail-ISO/math.h/linknamespace): Likewise.
30846         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30847         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30848         (test-xfail-ISO/time.h/linknamespace): Likewise.
30849         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30850         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30851         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30852         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30853         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30854         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30855         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30856         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30857         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30858         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30859         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30860         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30861         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30862         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30863         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30864         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30865         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30866         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30867         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30868         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30869         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30870         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30871         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30872         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30873         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30874         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30875         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30876         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30877         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30878         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30879         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30880         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30881         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30882         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30883         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30884         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30885         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30886         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30887         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30888         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30889         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30890         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30891         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30892         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30893         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30894         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30895         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30896         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30897         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30898         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30899         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30900         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30901         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30902         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30903         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30904         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30905         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30906         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30907         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30908         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30909         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30910         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30911         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30912         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30913         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30914         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30915         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30916         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30917         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30918         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30919         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30920         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30921         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30922         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30923         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30924         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30925         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30926         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30927         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30928         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30929         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30930         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30931         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30932         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30933         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30934         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30935         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30936         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30937         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30938         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30939         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30940         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30941         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30942         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30943         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30944         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30945         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30946         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30947         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30948         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30949         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30950         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30951         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30952         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30953         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30954         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30955         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30956         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30957         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30958         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30959         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30960         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30961         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30962         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30963         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30964         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30965         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30966         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30967         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30968         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30969         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30970         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30971         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30972         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30973         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30974         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30975         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30976         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30977         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30978         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30979         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30980         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30981         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30982         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30983         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30984         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30985         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30986         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30987         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30988         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30989         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30990         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30991         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30992         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30993         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30994         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30995         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30996         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30997         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30998         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31000         [BZ #17589]
31001         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31002         of fgets_unlocked.
31004         [BZ #17585]
31005         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31006         (memmem): Rename to __memmem and define as weak alias of
31007         __memmem.  Use libc_hidden_weak.
31008         (__memmem): Use libc_hidden_def.
31009         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31010         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31011         memmem.
31013         [BZ #17582]
31014         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31015         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31016         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31017         and define as weak alias of __fgets_unlocked.  Use
31018         libc_hidden_weak.
31019         (__fgets_unlocked): Use libc_hidden_def.
31020         * include/stdio.h (__fgets_unlocked): Declare.  Use
31021         libc_hidden_proto.
31022         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31023         __fgets_unlocked instead of fgets_unlocked.
31024         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31025         (GET_NPROCS_CONF_PARSER): Likewise.
31026         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31027         (GET_NPROCS_CONF_PARSER): Likewise.
31029         [BZ #17574]
31030         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31031         weak alias of __wmemset.  Use libc_hidden_weak.
31032         (__wmemset): Use libc_hidden_def.
31033         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31034         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31035         of wmemset.
31037         [BZ #17573]
31038         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31039         with asm name __mempcpy.
31040         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31042         [BZ #17572]
31043         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31044         and define as weak alias of __rawmemchr.
31045         (__rawmemchr): Do not define as strong alias of rawmemchr.
31047         [BZ #17571]
31048         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31049         alias of __qsort_r.
31050         (qsort): Call __qsort_r instead of qsort_r.
31051         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31052         (__qsort_r): Declare.  Call libc_hidden_proto.
31053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31054         instead of qsort_r.
31055         * nscd/gai.c (__qsort_r): Define to qsort_r.
31056         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31057         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31058         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31060         [BZ #17570]
31061         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31062         define as weak alias of __malloc_info.
31064         [BZ #17584]
31065         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31066         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31067         (__rewinddir): Use libc_hidden_def.
31068         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31069         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31070         (__rewinddir): Use libc_hidden_def.
31071         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31072         weak alias of __rewinddir.  Don't use libc_hidden_def.
31073         (__rewinddir): Use libc_hidden_def.
31074         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31075         (__rewinddir): Use libc_hidden_proto.
31076         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31077         rewinddir.
31078         (__getcwd): Use __rewinddir instead of rewinddir.
31080         [BZ #17583]
31081         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31082         alias of __fileno.  Use libc_hidden_weak.
31083         (__fileno): Use libc_hidden_def.
31084         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31085         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31086         alias of __ftello.
31087         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31088         __ftello.
31089         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31090         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31091         libc_hidden_def.
31092         (fread_unlocked): Don't use libc_hidden_ver.
31093         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31094         and define as weak alias of __fread_unlocked.  Don't use
31095         libc_hidden_def.
31096         (__fread_unlocked): Use libc_hidden_def.
31097         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31098         (ftello): Don't use libc_hidden_proto.
31099         (__ftello): Declare.  Use libc_hidden_proto.
31100         (fread_unlocked): Don't use libc_hidden_proto.
31101         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31102         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31103         and __ftello instead of fileno, fread_unlocked and ftello.
31105 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31107         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31108         GOT12.
31109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31110         Likewise.
31111         (_dl_start_user): Likewise.
31112         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31114 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31115             Siddhesh Poyarekar  <siddhesh@redhat.com>
31117         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31118         Move argv and envp down instead of moving argc up.
31119         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31121 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31123         [BZ #17506]
31124         * test-skeleton.c (main): Return successful if one of
31125         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31126         * string/tst-strcoll-overflow.c: Define expected status.
31128 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31130         [BZ #17475]
31131         * locale/iso-639.def: Define Bhili and Tulu language codes.
31133 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31135         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31137 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31139         [BZ #17555]
31140         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31142 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31144         * configure.ac: Updated check of minimal required version to
31145         2.22.
31146         * manual/install.texi (Tools for Compilation): Updated version
31147         number.
31148         * configure: Regenerated.
31149         * INSTALL: Likewise.
31151 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31153         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31154         __tls_get_addr.
31156 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31158         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31159         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31160         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31161         libc_hidden_weak.
31162         (waitpid): Define as alias of __waitpid.
31163         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31164         __waitpid.
31165         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31166         libc_hidden_weak.
31167         (waitpid): Define as alias of __waitpid.
31168         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31169         __libc_waitpid alias.
31170         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31171         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31172         Likewise.
31173         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31174         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31175         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31176         alias.
31177         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31178         __waitpid.
31179         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31180         libc_hidden_weak.
31181         (waitpid): Define as alias of __waitpid.
31183 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31185         * manual/llio.texi: Add comment that write safety has been
31186         fixed in Linux.
31188         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31189         (localplt-build-dso): Add elf/ld.so.
31190         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31191         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31192         and free for ld.so.
31193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31194         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31196         Likewise.
31197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31198         Likewise.
31199         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31200         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31201         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31202         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31203         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31204         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31205         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31206         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31207         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31208         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31209         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31211 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31213         [BZ #14132]
31214         * include/libc-symbols.h (INTUSE): Remove macro.
31215         (INTDEF): Likewise.
31216         (INTVARDEF): Likewise.
31217         (_INTVARDEF): Likewise.
31218         (INTDEF2): Likewise.
31219         (INTVARDEF2): Likewise.
31220         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31221         rtld_hidden_def instead of INTVARDEF.
31222         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31223         (_dl_starting_up_internal): Remove declaration.
31224         (_dl_starting_up): Use rtld_hidden_proto.
31225         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31226         declaration.
31227         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31228         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31229         _dl_starting_up.
31230         * elf/dl-writev.h (_dl_writev): Likewise.
31231         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31232         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31233         _dl_starting_up_internal.
31235 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31237         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31238         test-skeleton.c.
31240 2014-11-05  Will Newton  <will.newton@linaro.org>
31242         * benchtests/Makefile: (bench-malloc): Add malloc thread
31243         scalability benchmark.
31244         * benchtests/bench-malloc-threads.c: New file.
31246 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31248         * sysdeps/aarch64/strchrnul.S: New file.
31250 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31252         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31253         definition.
31254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31255         Likwise.
31256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31257         Likewise.
31258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31259         Likewise.
31260         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31261         Likewise.
31262         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31263         Likewise.
31265 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31267         * catgets/test-gencat.c: Use test-skeleton.c.
31268         * catgets/tst-catgets.c: Likewise.
31269         * csu/tst-empty.c: Likewise.
31270         * elf/tst-audit2.c: Likewise.
31271         * elf/tst-global1.c: Likewise.
31272         * elf/tst-pathopt.c: Likewise.
31273         * elf/tst-piemod1.c: Likewise.
31274         * elf/tst-tls10.c: Likewise.
31275         * elf/tst-tls11.c: Likewise.
31276         * elf/tst-tls12.c: Likewise.
31277         * gnulib/tst-gcc.c: Likewise.
31278         * iconvdata/tst-e2big.c: Likewise.
31279         * iconvdata/tst-loading.c: Likewise.
31280         * iconv/tst-iconv1.c: Likewise.
31281         * iconv/tst-iconv2.c: Likewise.
31282         * inet/test-inet6_opt.c: Likewise.
31283         * inet/tst-gethnm.c: Likewise.
31284         * inet/tst-network.c: Likewise.
31285         * inet/tst-ntoa.c: Likewise.
31286         * intl/tst-codeset.c: Likewise.
31287         * intl/tst-gettext2.c: Likewise.
31288         * intl/tst-gettext3.c: Likewise.
31289         * intl/tst-ngettext.c: Likewise.
31290         * intl/tst-translit.c: Likewise.
31291         * io/test-stat.c: Likewise.
31292         * libio/test-fmemopen.c: Likewise.
31293         * libio/tst-freopen.c: Likewise.
31294         * libio/tst-sscanf.c: Likewise.
31295         * libio/tst-ungetwc1.c: Likewise.
31296         * libio/tst-ungetwc2.c: Likewise.
31297         * libio/tst-widetext.c: Likewise.
31298         * localedata/tst-ctype.c: Likewise.
31299         * localedata/tst-digits.c: Likewise.
31300         * localedata/tst-leaks.c: Likewise.
31301         * localedata/tst-mbswcs1.c: Likewise.
31302         * localedata/tst-mbswcs2.c: Likewise.
31303         * localedata/tst-mbswcs3.c: Likewise.
31304         * localedata/tst-mbswcs4.c: Likewise.
31305         * localedata/tst-mbswcs5.c: Likewise.
31306         * localedata/tst-setlocale.c: Likewise.
31307         * localedata/tst-trans.c: Likewise.
31308         * localedata/tst-wctype.c: Likewise.
31309         * localedata/tst-xlocale1.c: Likewise.
31310         * login/tst-grantpt.c: Likewise.
31311         * malloc/tst-calloc.c: Likewise.
31312         * malloc/tst-malloc.c: Likewise.
31313         * malloc/tst-mallocstate.c: Likewise.
31314         * malloc/tst-mcheck.c: Likewise.
31315         * malloc/tst-mtrace.c: Likewise.
31316         * malloc/tst-obstack.c: Likewise.
31317         * math/atest-exp2.c: Likewise.
31318         * math/atest-exp.c: Likewise.
31319         * math/atest-sincos.c: Likewise.
31320         * math/test-matherr.c: Likewise.
31321         * math/test-misc.c: Likewise.
31322         * math/test-powl.c: Likewise.
31323         * math/tst-definitions.c: Likewise.
31324         * misc/tst-dirname.c: Likewise.
31325         * misc/tst-efgcvt.c: Likewise.
31326         * misc/tst-fdset.c: Likewise.
31327         * misc/tst-hsearch.c: Likewise.
31328         * misc/tst-mntent2.c: Likewise.
31329         * nptl/tst-sem7.c: Likewise.
31330         * nptl/tst-sem8.c: Likewise.
31331         * nptl/tst-sem9.c: Likewise.
31332         * nss/test-netdb.c: Likewise.
31333         * posix/tst-fnmatch.c: Likewise.
31334         * posix/tst-getlogin.c: Likewise.
31335         * posix/tst-gnuglob.c: Likewise.
31336         * posix/tst-mmap.c: Likewise.
31337         * pwd/tst-getpw.c: Likewise.
31338         * resolv/tst-inet_ntop.c: Likewise.
31339         * rt/tst-timer.c: Likewise.
31340         * stdio-common/test-fseek.c: Likewise.
31341         * stdio-common/test-popen.c: Likewise.
31342         * stdio-common/test-vfprintf.c: Likewise.
31343         * stdio-common/tst-cookie.c: Likewise.
31344         * stdio-common/tst-fileno.c: Likewise.
31345         * stdio-common/tst-gets.c: Likewise.
31346         * stdio-common/tst-obprintf.c: Likewise.
31347         * stdio-common/tst-perror.c: Likewise.
31348         * stdio-common/tst-sprintf2.c: Likewise.
31349         * stdio-common/tst-sprintf3.c: Likewise.
31350         * stdio-common/tst-sprintf.c: Likewise.
31351         * stdio-common/tst-swprintf.c: Likewise.
31352         * stdio-common/tst-tmpnam.c: Likewise.
31353         * stdio-common/tst-unbputc.c: Likewise.
31354         * stdio-common/tst-wc-printf.c: Likewise.
31355         * stdlib/tst-environ.c: Likewise.
31356         * stdlib/tst-fmtmsg.c: Likewise.
31357         * stdlib/tst-limits.c: Likewise.
31358         * stdlib/tst-rand48-2.c: Likewise.
31359         * stdlib/tst-rand48.c: Likewise.
31360         * stdlib/tst-random2.c: Likewise.
31361         * stdlib/tst-random.c: Likewise.
31362         * stdlib/tst-strtol.c: Likewise.
31363         * stdlib/tst-strtoll.c: Likewise.
31364         * stdlib/tst-tls-atexit.c: Likewise.
31365         * stdlib/tst-xpg-basename.c: Likewise.
31366         * string/test-ffs.c: Likewise.
31367         * string/tst-bswap.c: Likewise.
31368         * string/tst-inlcall.c: Likewise.
31369         * string/tst-strtok.c: Likewise.
31370         * string/tst-strxfrm.c: Likewise.
31371         * sysdeps/x86_64/tst-audit10.c: Likewise.
31372         * sysdeps/x86_64/tst-audit3.c: Likewise.
31373         * sysdeps/x86_64/tst-audit4.c: Likewise.
31374         * sysdeps/x86_64/tst-audit5.c: Likewise.
31375         * time/tst-ftime_l.c: Likewise.
31376         * time/tst-getdate.c: Likewise.
31377         * time/tst-mktime3.c: Likewise.
31378         * time/tst-mktime.c: Likewise.
31379         * time/tst-posixtz.c: Likewise.
31380         * time/tst-strptime2.c: Likewise.
31381         * time/tst-strptime3.c: Likewise.
31382         * wcsmbs/tst-btowc.c: Likewise.
31383         * wcsmbs/tst-mbrtowc.c: Likewise.
31384         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31385         * wcsmbs/tst-wchar-h.c: Likewise.
31386         * wcsmbs/tst-wcpncpy.c: Likewise.
31387         * wcsmbs/tst-wcrtomb.c: Likewise.
31388         * wcsmbs/tst-wcsnlen.c: Likewise.
31389         * wcsmbs/tst-wcstof.c: Likewise.
31391 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31393         [BZ #14132]
31394         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31395         INTDEF.
31396         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31397         declaration.
31398         (_dl_mcount): Use rtld_hidden_proto.
31399         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31400         _dl_mcount.
31401         * elf/rtld.c (_rtld_global_ro): Likewise.
31403         [BZ #14132]
31404         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31405         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31406         of _dl_init_internal.
31407         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31408         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31409         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31410         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31411         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31412         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31413         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31414         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31415         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31416         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31417         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31418         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31419         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31420         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31421         * sysdeps/tile/dl-start.S (_start): Likewise.
31422         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31423         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31425         [BZ #14132]
31426         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31427         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31428         (rtld_progname): Make macro definition unconditional.
31429         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31430         INTDEF.
31431         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31432         (dl_main): Likewise.
31433         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31434         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31435         instead of _dl_argv_internal.
31436         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31437         __GI__dl_argv instead of INTUSE(_dl_argv).
31438         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31439         __GI__dl_argv instead of _dl_argv_internal.
31441         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31442         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31443         macro.
31444         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31445         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31446         New macro.
31447         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31448         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31449         macro.
31450         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31451         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31453 2014-11-04  Andreas Schwab  <schwab@suse.de>
31455         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31457 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31459         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31460         mtvsrd instruction in binary form.
31462 2014-11-03  Andreas Schwab  <schwab@suse.de>
31464         [BZ #17522]
31465         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31466         for less than MB_LEN_MAX use a local buffer of that size.
31467         * libio/tst-fputws.c: New file.
31468         * libio/Makefile (tests): Add tst-fputws.
31470 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31472         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31473         the size of the fpu_fr.fpu_dregs[] array.
31475 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31477         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31478         (__nanosleep): Do not define as alias.
31479         (nanosleep): Define as alias of __nanosleep.
31480         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31481         __libc_nanosleep name.
31483 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31485         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31486         install.texi in comment.
31488 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31490         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31491         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31492         ... add here and use lwsync or sync ...
31493         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31494         ... and add here using lwsync.
31496 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31498         * elf/dl-machine-reject-phdr.h: New file.
31499         * elf/dl-load.c: #include that.
31500         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31501         if that returned true.
31503 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31505         [BZ #17496]
31506         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31507         gen-as-const-headers chunk.  Add a big scare comment after the last
31508         safe place to touch before-compile.
31510 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31512         * manual/install.texi (Tools for Compilation): Update autoconf
31513         version requirements.
31514         * INSTALL: Regenerated.
31516         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31517         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31518         (__libc_pselect): Likewise.
31520         [BZ #14138]
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31526 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31528         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31529         correct barrier instruction.
31530         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31531         Likewise.
31532         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31533         Likewise.
31535 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31537         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31538         after defining inlines.  Instead, just use parens to defeat macro
31539         expansion of __isctype in its declaration.
31541 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31543         * include/sys/uio.h (__libc_readv): Remove declaration.
31544         (__libc_writev): Likewise.
31545         * misc/readv.c (__libc_readv): Rename to __readv.
31546         (__readv): Do not define as alias.
31547         (readv): Define as alias of __readv.
31548         * misc/writev.c (__libc_writev): Rename to __writev.
31549         (__writev): Do not define as alias.
31550         (writev): Define as alias of __writev.
31551         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31552         (__readv): Do not define as alias.
31553         (readv): Define unconditionally as alias of __readv.
31554         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31555         (__writev): Do not define as alias.
31556         (writev): Define unconditionally as alias of __writev.
31557         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31558         name.
31559         (writev): Do not define __libc_writev name.
31561 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31563         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31564         (convert_charseq): New function, broken out of ...
31565         (use_from_charmap): ... here.  Call it.
31566         (use_to_charmap): Use convert_charseq and free instead of duplicating
31567         its code with a variable-length stack struct.
31569 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31571         * include/fcntl.h (__libc_creat): Remove declaration.
31572         * io/creat.c (__libc_creat): Rename to creat.
31573         (creat): Do not define as alias.
31574         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31575         of creat instead of __libc_creat.
31576         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31577         to creat.
31578         (creat): Do not define as alias.
31579         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31580         __libc_creat.
31581         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31582         __libc_creat name.
31583         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31584         Likewise.
31586 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31588         * manual/llio.texi: Add comments discussing why write() may be
31589         considered MT-unsafe on Linux.
31591 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31593         * dl-load.c (local_strdup): Remove.
31594         (expand_dynamic_string_token): Use __strdup.
31595         (decompose_rpath): Likewise.
31596         (_dl_map_object): Likewise.
31598 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31600         [BZ #14132]
31601         * sysdeps/generic/unwind-dw2-fde.c
31602         (__register_frame_info_bases_internal): Do not declare.
31603         (__register_frame_info_table_bases_internal): Likewise.
31604         (__deregister_frame_info_bases_internal): Likewise.
31605         (__register_frame_info_bases): Declare and use hidden_proto before
31606         definition.  Use hidden_def instead of INTDEF.
31607         (__register_frame_info_table_bases): Likewise.
31608         (__deregister_frame_info_bases): Likewise.
31609         (__register_frame_info): Do not use INTUSE.
31610         (__register_frame): Likewise.
31611         (__register_frame_info_table): Likewise.
31612         (__register_frame_table): Likewise.
31613         (__deregister_frame_info): Likewise.
31614         (__deregister_frame): Likewise.
31616 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31618         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31619         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31620         not undefine.
31621         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31622         Likewise.
31623         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31624         Likewise.
31626 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31628         [BZ #14138]
31629         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31630         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31631         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31632         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31633         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31634         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31635         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31636         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31637         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31638         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31639         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31640         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31641         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31642         syscall.
31643         (setfsuid): Likewise.
31644         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31645         (setfsuid): Likewise.
31646         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31647         (setfsuid): Likewise.
31648         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31649         Likewise.
31650         (setfsuid): Likewise.
31651         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31652         (setfsuid): Likewise.
31653         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31654         Likewise.
31655         (setfsuid): Likewise.
31657 2014-10-27  Andreas Schwab  <schwab@suse.de>
31659         [BZ #17501]
31660         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31661         check for Slow_SSE4_2 feature bit.
31662         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31663         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31664         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31665         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31667 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31669         * configure.ac: Validate compiler version with a empirical test of
31670         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31671         $CC -v output.
31672         * configure: Regenerated.
31674         * inet/htons.c (htons): Prototypify.
31675         * inet/htonl.c (htonl): Likewise.
31677 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31679         * string/strncat.c (strncat): Improve performance by using strlen.
31681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31683         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31687         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31688         Call libc_fetestexcept_aarch64.
31690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31692         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31693         Call libc_feholdexcept_aarch64.
31695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31697         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31698         Call get_rounding_mode.
31700 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31702         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31703         Simplify logic.
31705 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31707         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31708         Simplify logic.
31710 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31712         [BZ #14138]
31713         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31714         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31715         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31716         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31717         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31718         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31719         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31720         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31721         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31722         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31724         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31725         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31726         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31727         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31728         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31729         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31730         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31731         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31732         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31733         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31734         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31735         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31736         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31737         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31738         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31739         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31740         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31741         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31742         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31743         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31744         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31745         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31746         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31747         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31748         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31749         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31750         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31751         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31752         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31753         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31754         syscall.
31755         (geteuid): Likewise.
31756         (getgid): Likewise.
31757         (getuid): Likewise.
31758         (getresgid): Likewise.
31759         (getresuid): Likewise.
31760         (getgroups): Likewise.
31761         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31762         (geteuid): Likewise.
31763         (getgid): Likewise.
31764         (getuid): Likewise.
31765         (getresgid): Likewise.
31766         (getresuid): Likewise.
31767         (getgroups): Likewise.
31768         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31769         (geteuid): Likewise.
31770         (getgid): Likewise.
31771         (getuid): Likewise.
31772         (getresgid): Likewise.
31773         (getresuid): Likewise.
31774         (getgroups): Likewise.
31775         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31776         Likewise.
31777         (geteuid): Likewise.
31778         (getgid): Likewise.
31779         (getuid): Likewise.
31780         (getresgid): Likewise.
31781         (getresuid): Likewise.
31782         (getgroups): Likewise.
31783         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31784         (geteuid): Likewise.
31785         (getgid): Likewise.
31786         (getuid): Likewise.
31787         (getresgid): Likewise.
31788         (getresuid): Likewise.
31789         (getgroups): Likewise.
31790         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31791         Likewise.
31792         (geteuid): Likewise.
31793         (getgid): Likewise.
31794         (getuid): Likewise.
31795         (getgroups): Likewise.
31797         [BZ #14138]
31798         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31799         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31800         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31801         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31802         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31803         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31804         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31805         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31806         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31807         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31808         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31809         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31810         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31811         __chown.
31812         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31813         (lchown): Likewise.
31814         (fchown): Likewise.
31815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31816         Likewise.
31817         (lchown): Likewise.
31818         (fchown): Likewise.
31819         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31820         (lchown): Likewise.
31821         (fchown): Likewise.
31822         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31823         Likewise.
31824         (lchown): Likewise.
31825         (fchown): Likewise.
31827 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31829         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31830         Simplify logic.
31832 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31834         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31835         Cleanup logic.
31837 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31839         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31840         Remove unused include.
31842 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31844         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31845         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31846         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31847         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31849 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31850             Helge Deller <deller@gmx.de>
31852         [BZ #17508]
31853         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31854         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31855         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31857 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31859         [BZ #14132]
31860         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31861         Remove macro definition.
31862         (__ashrdi3_v_glibc20): Likewise.
31863         (__lshrdi3_v_glibc20): Likewise.
31864         (__cmpdi2_v_glibc20): Likewise.
31865         (__ucmpdi2_v_glibc20): Likewise.
31866         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31867         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31868         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31869         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31870         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31871         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31873 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31875         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31876         old GNU extension [0] syntax.
31877         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31878         alloca rather than an array member with variable length.
31879         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31880         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31881         (parse_opt): ... here.  Likewise use alloca there.
31882         Validate the -i argument before checking for rootness.
31883         (send_shutdown): New function, broken out of ...
31884         (parse_opt): ... here.
31886 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31888         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31889         macro to get at the _rt_local_ro field.
31890         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31891         ([PIC] case) or _dl_hwcap ([!PIC] case).
31892         * sysdeps/arm/setjmp.S: Likewise.
31894         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31895         * sysdeps/arm/configure.ac: New check to define it.
31896         * sysdeps/arm/configure: Regenerated.
31897         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31898         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31899         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31900         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31901         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31902         Use move/movt pair instead of a load.
31903         (LDST_GLOBAL): Macro removed.
31904         (LDR_GLOBAL): New macro replaces it.
31905         (LDR_HIDDEN): New macro.
31906         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31907         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31909         * setjmp/tst-setjmp-static.c: New file.
31910         * setjmp/Makefile (tests): Add it.
31911         (tests-static): New variable.
31913 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31915         [BZ #17485]
31916         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31918 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31920         [BZ #14132]
31921         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31923 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31925         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31927 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31929         * io/fts.c (dirent_not_directory): New function.
31930         (fts_build): Call it.
31932 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31934         * nptl/version.c (__nptl_main): Use normal __write rather than
31935         INTERNAL_SYSCALL.
31936         (banner): Update copyright years.
31938         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31939         gettimeofday.
31940         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31941         * nptl/pthread_cond_timedwait.c: Likewise.
31942         * nptl/pthread_mutex_timedlock.c: Likewise.
31943         * nptl/sem_timedwait.c: Likewise.
31945         * sysdeps/nptl/bits/libc-lock.h
31946         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31947         (__libc_lock_init_recursive): Return void, not 0.
31948         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31949         (__libc_rwlock_init): Likewise.
31950         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31952 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31954         [BZ #15215]
31955         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31956         (__pthread_once_slow): ... here.
31957         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31958         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31960 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31962         [BZ #15215]
31963         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31964         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31965         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31966         * nptl/pthread_once.c (__pthread_once): Likewise.
31967         Update comments.
31969 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31971         [BZ #14138]
31972         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31973         name.
31974         (writev): Use __libc_writev as strong name.
31975         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31976         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31978 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31980         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31982         * sysdeps/i386/nptl/tls.h
31983         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31984         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31985         New macros.
31986         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31987         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31988         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31989         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31990         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31991         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31993         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31994         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31995         on [__NR_futex].
31996         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31997         broken out of ...
31998         (__pthread_mutex_init): ... here.  Call it.
31999         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32000         Conditionalize PI cases on [__NR_futex].
32001         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32002         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32003         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32005         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32006         conditional on [SIGSETXID].
32007         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32008         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32009         is defined.  Likewise for SIGSETXID.
32010         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32011         Conditionalize definitions on [SIGSETXID].
32012         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32013         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32014         unblocking on [SIGCANCEL].
32016         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32017         [__NR_set_robust_list].
32019 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32021         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32022         (do_compare): Likewise.
32024 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32026         [BZ #15884]
32027         * string/strcoll_l.c: Don't include stdio.h.
32028         (coll_seq): Remove members idxarr and rulearr.
32029         (get_next_seq_cached): Remove function.
32030         (get_next_seq): Likewise.
32031         (get_next_seq_nocache): Rename to get_next_seq.
32032         (do_compare): Remove function.
32033         (do_compare_nocache): Rename to do_compare.
32034         (STRCOLL): Remove weight and rules cache.
32036 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32038         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32039         * sysdeps/arm/sfp-machine.h: ... to here.
32040         * sysdeps/arm/Implies: Remove arm/soft-fp.
32042 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32044         * conform/data/sys/utsname.h-data (*_t): Allow.
32045         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32046         [POSIX] (WEXITED): Do not expect constant.
32047         [POSIX] (WSTOPPED): Likewise.
32048         [POSIX] (WNOHANG): Likewise.
32049         [POSIX] (WNOWAIT): Likewise.
32050         [POSIX] (siginfo_t): Do not expect type or elements.
32051         [POSIX] (pid_t): Do not expect type.
32052         [POSIX] (signal.h): Do not allow header.
32053         [POSIX] (sys/resource.h): Likewise.
32054         [POSIX] (si_*): Do not allow pattern.
32055         [POSIX] (W*): Likewise.
32056         [POSIX] (P_*): Likewise.
32057         [POSIX] (BUS_*): Likewise.
32058         [POSIX] (CLD_*): Likewise.
32059         [POSIX] (FPE_*): Likewise.
32060         [POSIX] (ILL_*): Likewise.
32061         [POSIX] (POLL_*): Likewise.
32062         [POSIX] (SEGV_*): Likewise.
32063         [POSIX] (SI_*): Likewise.
32064         [POSIX] (TRAP_*): Likewise.
32065         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32066         variable.
32068 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32070         [BZ #12926]
32071         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32072         infinite loop when __recvmsg returns 0.
32074 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32076         * CANCEL-FCT-WAIVE: Remove file.
32077         * CANCEL-FILE-WAIVE: Likewise.
32079         [BZ #14132]
32080         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32081         instead of INTVARDEF.
32082         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32083         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32084         rtld_hidden_data_def instead of INTVARDEF.
32085         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32086         * elf/dl-deps.c (expand_dst): Likewise.
32087         * elf/dl-load.c (_dl_dst_count): Likewise.
32088         (_dl_dst_substitute): Likewise.
32089         (decompose_rpath): Likewise.
32090         (_dl_init_paths): Likewise.
32091         (open_path): Likewise.
32092         (_dl_map_object): Likewise.
32093         * elf/rtld.c (dl_main): Likewise.
32094         (process_dl_audit): Likewise.
32095         (process_envvars): Likewise.
32096         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32097         Remove declaration.
32098         (__libc_enable_secure): Use rtld_hidden_proto.
32100 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32102         * elf/dl-load.c
32103         (add_path): New function broken out of _dl_rtld_di_serinfo.
32104         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32106 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32108         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32109         parentheses around macro arguments.
32110         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32111         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32113         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32115         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32116         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32117         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32118         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32119         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32121         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32122         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32123         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32124         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32125         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32126         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32127         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32128         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32131         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32135         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32136         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32139         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32140         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32141         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32143         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32144         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32145         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32146         Likewise.
32147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32148         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32149         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32154         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32155         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32156         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32157         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32158         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32159         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32160         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32161         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32164         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32165         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32168         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32169         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32170         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32171         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32172         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32173         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32174         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32175         (_FP_FRAC_SRS_1): Likewise.
32176         (_FP_FRAC_CLZ_1): Likewise.
32177         (_FP_MUL_MEAT_1_imm): Likewise.
32178         (_FP_MUL_MEAT_1_wide): Likewise.
32179         (_FP_MUL_MEAT_1_hard): Likewise.
32180         (_FP_SQRT_MEAT_1): Likewise.
32181         (_FP_FRAC_ASSEMBLE_1): Likewise.
32182         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32183         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32184         (__FP_CLZ_2): Likewise.
32185         (_FP_MUL_MEAT_2_wide): Likewise.
32186         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32187         (_FP_MUL_MEAT_2_gmp): Likewise.
32188         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32189         (_FP_SQRT_MEAT_2): Likewise.
32190         (_FP_FRAC_ASSEMBLE_2): Likewise.
32191         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32192         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32193         (_FP_FRAC_CLZ_4): Likewise.
32194         (_FP_MUL_MEAT_4_wide): Likewise.
32195         (_FP_MUL_MEAT_4_gmp): Likewise.
32196         (_FP_SQRT_MEAT_4): Likewise.
32197         (_FP_FRAC_ASSEMBLE_4): Likewise.
32198         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32199         * soft-fp/op-common.h (_FP_CMP): Likewise.
32200         (_FP_CMP_EQ): Likewise.
32201         (_FP_CMP_UNORD): Likewise.
32202         (_FP_TO_INT): Likewise.
32203         (_FP_FROM_INT): Likewise.
32204         [!__FP_CLZ] (__FP_CLZ): Likewise.
32205         (_FP_DIV_HELP_imm): Likewise.
32206         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32207         Likewise.
32208         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32211         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32215         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32216         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32219         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32220         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32221         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32223         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32224         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32228         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32234         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32235         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32237         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32238         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32239         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32240         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32241         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32242         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32243         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32244         (FP_UNPACK_RAW_SP): Likewise.
32245         (FP_PACK_RAW_S): Likewise.
32246         (FP_PACK_RAW_SP): Likewise.
32247         (FP_UNPACK_S): Likewise.
32248         (FP_UNPACK_SP): Likewise.
32249         (FP_UNPACK_SEMIRAW_S): Likewise.
32250         (FP_UNPACK_SEMIRAW_SP): Likewise.
32251         (FP_PACK_S): Likewise.
32252         (FP_PACK_SP): Likewise.
32253         (FP_PACK_SEMIRAW_S): Likewise.
32254         (FP_PACK_SEMIRAW_SP): Likewise.
32255         (_FP_SQRT_MEAT_S): Likewise.
32256         (FP_CMP_S): Likewise.
32257         (FP_CMP_EQ_S): Likewise.
32258         (FP_CMP_UNORD_S): Likewise.
32259         (FP_TO_INT_S): Likewise.
32260         (FP_FROM_INT_S): Likewise.
32262         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32264         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32265         (FP_EX_INVALID_IMZ): Likewise.
32266         (FP_EX_INVALID_IMZ_FMA): Likewise.
32267         (FP_EX_INVALID_ISI): Likewise.
32268         (FP_EX_INVALID_ZDZ): Likewise.
32269         (FP_EX_INVALID_IDI): Likewise.
32270         (FP_EX_INVALID_SQRT): Likewise.
32271         (FP_EX_INVALID_CVI): Likewise.
32272         (FP_EX_INVALID_VC): Likewise.
32273         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32274         "invalid" exceptions.
32275         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32276         (_FP_ADD_INTERNAL): Likewise.
32277         (_FP_MUL): Likewise.
32278         (_FP_FMA): Likewise.
32279         (_FP_DIV): Likewise.
32280         (_FP_CMP_CHECK_NAN): Likewise.
32281         (_FP_SQRT): Likewise.
32282         (_FP_TO_INT): Likewise.
32283         (FP_EXTEND): Likewise.
32285 2014-10-09  Allan McRae  <allan@archlinux.org>
32287         * po/fr.po: Update French translation from translation project.
32289 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32291         [BZ #14132]
32292         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32293         of INTDEF.
32294         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32295         (__cxa_atexit): Use libc_hidden_proto.
32296         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32298         [BZ #14132]
32299         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32300         declaration.
32301         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32302         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32303         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32304         [!_ISOMAC] (__iswctype_internal): Likewise.
32305         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32306         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32307         alias.
32308         (fcntl): Remove __fcntl_internal alias.
32309         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32310         __connect_internal alias.
32311         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32312         Likewise.
32314         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32315         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32316         FP_DENORM_ZERO.
32317         (_FP_CHECK_FLUSH_ZERO): New macro.
32318         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32319         (_FP_CMP): Likewise.
32320         (_FP_CMP_EQ): Likewise.
32321         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32322         FP_DENORM_ZERO.
32323         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32324         (FP_TRUNC): Likewise.
32326         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32327         treated as invalid conversion, not as normal exponent.
32329         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32330         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32331         (_FP_CMP_EQ): Likewise.
32332         (_FP_CMP_UNORD): Likewise.
32333         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32334         (FP_CMP_EQ_D): Likewise.
32335         (FP_CMP_UNORD_D): Likewise.
32336         * soft-fp/extended.h (FP_CMP_E): Likewise.
32337         (FP_CMP_EQ_E): Likewise.
32338         (FP_CMP_UNORD_E): Likewise.
32339         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32340         (FP_CMP_EQ_Q): Likewise.
32341         (FP_CMP_UNORD_Q): Likewise.
32342         * soft-fp/single.h (FP_CMP_S): Likewise.
32343         (FP_CMP_EQ_S): Likewise.
32344         (FP_CMP_UNORD_S): Likewise.
32345         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32346         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32347         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32348         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32349         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32350         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32351         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32352         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32353         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32354         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32355         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32356         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32357         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32358         to FP_CMP_Q.
32359         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32360         FP_CMP_Q.
32361         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32362         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32363         FP_CMP_EQ_Q.
32364         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32365         FP_CMP_Q.
32366         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32367         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32368         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32369         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32370         FP_CMP_EQ_Q.
32371         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32372         FP_CMP_Q.
32373         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32374         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32375         FP_CMP_EQ_Q.
32376         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32377         FP_CMP_Q.
32378         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32379         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32380         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32381         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32382         FP_CMP_EQ_Q.
32384         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32385         a subnormal result, set the underflow exception if trapping on
32386         underflow is enabled.
32387         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32388         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32389         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32390         redefine to 0.
32391         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32392         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32393         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32394         * soft-fp/extendxftf2.c (__extendxftf2): Use
32395         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32397         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32398         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32399         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32400         FP_HANDLE_EXCEPTIONS.
32401         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32402         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32403         FP_HANDLE_EXCEPTIONS.
32404         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32405         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32406         FP_HANDLE_EXCEPTIONS.
32407         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32408         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32409         FP_HANDLE_EXCEPTIONS.
32411 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32413         [BZ #14132]
32414         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32415         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32416         use INTUSE.
32417         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32418         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32419         Remove alias.
32420         (__adjtimex): Define using libc_hidden_ver.
32421         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32422         Remove declaration.
32423         (ntp_gettime): Call __adjtimex directly.
32424         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32425         Remove declaration.
32426         (ntp_gettimex): Call __adjtimex directly.
32427         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32428         __adjtimex_internal alias.
32430 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32432         [BZ #17460]
32433         * nscd/nscd.c (more_help): Rewrite list of tables collection
32434         using xstrdup and asprintf.
32436         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32438 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32439             Roland McGrath  <roland@hack.frob.com>
32441         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32442         (do_lookup_unique): ... local function 'enter' here; update callers.
32444 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32446         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32447         compat_symbol calls on [SHARED].
32448         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32449         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32450         Remove.
32451         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32452         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32453         (oldsetrlimit): Remove.
32454         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32456         (lchown): New syscall entry.
32457         (oldsetrlimit): Remove.
32458         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32459         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32460         (oldsetrlimit): Remove.
32461         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32463         [BZ #14138]
32464         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32465         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32466         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32467         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32468         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32469         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32470         (fchown): Likewise.
32471         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32472         (fchown): Likewise.
32473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32474         Likewise.
32476 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32478         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32479         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32480         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32481         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32482         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32483         Likewise.
32484         (__old_sem_post): Likewise.
32486 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32488         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32489         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32490         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32491         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32492         Use INLINE_VSYSCALL macro.
32493         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32494         __vdso_clock_gettime.
32495         * sysdeps/unix/sysv/linux/tile/init-first.c
32496         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32497         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32498         __vdso_clock_gettime.
32500         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32501         to set up frame more cleanly.
32503         * sysdeps/tile/memcmp.c: New file.
32505         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32507         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32508         * sysdeps/tile/tilegx/strcasestr.c: New file.
32509         * sysdeps/tile/tilegx/strnlen.c: New file.
32510         * sysdeps/tile/tilegx/strstr.c: New file.
32512         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32514 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32516         * nptl/tst-setuid3.c: Write errors to stdout.
32518 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32520         * elf/dl-deps.c
32521         (preload): New functions broken out of _dl_map_object_deps.
32522         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32524 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #14138]
32527         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32528         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32530 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32532         * sysdeps/mips/strcmp.S: New.
32534 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32536         [BZ #14138]
32537         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32538         (linkat): Likewise.
32539         (mkdirat): Likewise.
32540         (readlinkat): Likewise.
32541         (renameat): Likewise.
32542         (symlinkat): Likewise.
32543         (unlinkat): Likewise.
32544         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32545         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32546         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32547         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32548         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32549         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32550         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32552 2014-09-30  Will Newton  <will.newton@linaro.org>
32554         * math/math.h: Define long double math functions if
32555         _LIBC_TEST is defined.
32556         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32558         * localedata/Makefile: Move assignment to tests-special
32559         into an ifdef testing run-built-tests.
32560         * timezone/Makefile: Likewise.
32562 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32564         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32565         with $(BASH) not $(SHELL).
32567 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32568             Matthew LeGendre  <legendre1@llnl.gov>
32570         [BZ #17411]
32571         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32572         l_reloc_result.
32574 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32576         * stdio-common/printf_fp.c
32577         (hack_digit): New function, broken out of ...
32578         (__printf_fp): ... local function here.  Update call sites.
32579         hack_digit now takes an additional parameter that is a pointer
32580         to a struct of the referenced locals.  Those locals moved inside
32581         the struct and references updated.
32583 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32585         * aclocal.m4: Require autoconf 2.69.
32586         * configure: Regenerated.
32587         * sysdeps/aarch64/configure: Likewise.
32588         * sysdeps/alpha/configure: Likewise.
32589         * sysdeps/arm/armv7/configure: Likewise.
32590         * sysdeps/arm/configure: Likewise.
32591         * sysdeps/ia64/configure: Likewise.
32592         * sysdeps/mach/configure: Likewise.
32593         * sysdeps/mips/configure: Likewise.
32594         * sysdeps/s390/configure: Likewise.
32595         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32598         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32599         file.
32600         * sysdeps/ia64/configure.ac: Likewise.
32602 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32605         specify symbol version for ld.so.  Do not include entry for
32606         libpthread.
32607         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32608         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32609         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32611         [BZ #14171]
32612         * Makeconfig [$(build-shared) = yes]
32613         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32614         makefiles.
32615         [$(build-shared) = yes && $(soversions.mk-done) = t]
32616         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32617         [$(build-shared) = yes && $(soversions.mk-done) = t]
32618         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32619         to Makerules.
32620         [$(build-shared) = yes && $(soversions.mk-done) = t]
32621         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32622         here.
32623         [$(build-shared) = yes && $(soversions.mk-done) = t]
32624         (common-generated): Don't append gnu/lib-names.h and
32625         gnu/lib-names.stmp here.
32626         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32627         (lib-names-h-abi): New variable.
32628         [$(build-shared) = yes && $(soversions.mk-done) = t]
32629         (lib-names-stmp-abi): Likewise.
32630         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32631         abi-variants] (before-compile): Append
32632         $(common-objpfx)$(lib-names-h-abi).
32633         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32634         abi-variants] (common-generated): Append gnu/lib-names.h.
32635         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32636         abi-variants] (install-others-nosubdir): Depend on
32637         $(inst_includedir)/$(lib-names-h-abi).
32638         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32639         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32640         [$(build-shared) = yes && $(soversions.mk-done) = t]
32641         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32642         [$(build-shared) = yes && $(soversions.mk-done) = t]
32643         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32644         [$(build-shared) = yes && $(soversions.mk-done) = t]
32645         (common-generated): Append $(lib-names-h-abi) and
32646         $(lib-names-stmp-abi).
32647         * scripts/lib-names.awk: Do not handle multi being set.
32648         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32649         Remove variable.
32650         (abi-lp64_be-ld-soname): Likewise.
32651         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32652         Likewise.
32653         (abi-hard-ld-soname): Likewise.
32654         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32655         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32656         Remove variable.
32657         (abi-o32_hard-ld-soname): Likewise.
32658         (abi-o32_soft_2008-ld-soname): Likewise.
32659         (abi-o32_hard_2008-ld-soname): Likewise.
32660         (abi-n32_soft-ld-soname): Likewise.
32661         (abi-n32_hard-ld-soname): Likewise.
32662         (abi-n32_soft_2008-ld-soname): Likewise.
32663         (abi-n32_hard_2008-ld-soname): Likewise.
32664         (abi-n64_soft-ld-soname): Likewise.
32665         (abi-n64_hard-ld-soname): Likewise.
32666         (abi-n64_soft_2008-ld-soname): Likewise.
32667         (abi-n64_hard_2008-ld-soname): Likewise.
32668         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32669         Likewise.
32670         (abi-64-v2-ld-soname): Likewise.
32671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32672         ld.so entries.
32673         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32674         variable.
32675         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32676         entry.
32677         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32678         variable.
32679         (abi-64-ld-soname): Likewise.
32680         (abi-x32-ld-soname): Likewise.
32681         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32682         entry.
32683         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32685 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32687         [BZ #14138]
32688         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32689         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32690         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32691         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32692         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32693         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32694         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32695         syscall entry for GLIBC_2.2 symbol version.
32696         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32697         Likewise.
32698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32699         (setrlimit): Likewise.
32700         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32701         Likewise.
32703 2014-09-23  Will Newton  <will.newton@linaro.org>
32705         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32706         _LINUX_ARM_SYSDEP_H include guard too.
32707         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32708         define.
32710 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32712         * sysdeps/unix/sysv/linux/eventfd.c:
32713         Make first argument unsigned.
32714         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32715         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32717 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32719         [BZ #16852]
32720         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32721         * socket/sys/socket.h: Likewise.
32722         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32724 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32726         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32728 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32730         * time/tst-ftime.c: New test.
32731         * time/Makefile (tests): Add tst-ftime.
32733 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32735         * soft-fp/extended.h: Fix comment formatting.
32736         * soft-fp/op-1.h: Likewise.
32737         * soft-fp/op-2.h: Likewise.
32738         * soft-fp/op-4.h: Likewise.
32739         * soft-fp/op-8.h: Likewise.
32740         * soft-fp/op-common.h: Likewise.
32741         * soft-fp/soft-fp.h: Likewise.
32743         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32745 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32747         [BZ #6652]
32748         * Makeconfig (soversions-default-setname): Remove variable.
32749         ($(common-objpfx)soversions.i): Don't pass default_setname to
32750         soversions.awk.
32751         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32752         oldest_abi to abi-versions.awk.
32753         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32754         * config.make.in (oldest-abi): Remove variable.
32755         * configure.ac (--enable-oldest-abi): Remove configure option.
32756         * configure: Regenerated.
32757         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32758         text.
32759         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32760         * scripts/soversions.awk: Do not handle default_setname variable.
32761         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32762         variable.
32763         * sysdeps/mach/hurd/configure: Regenerated.
32764         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32765         variable.
32766         * sysdeps/unix/sysv/linux/configure: Regenerated.
32768 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32770         * elf/Makefile (CFLAGS-interp.c): Remove.
32771         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32772         path string.
32773         * elf/interp.c: Include generated runtime-linker.h
32775         * Makerules (lib%.so): Don't include $(+interp) in
32776         prerequisites.
32777         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32778         * dlfcn/eval.c: Remove file.
32780         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32781         macros.
32783         [BZ #17266]
32784         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32785         4.2 and newer.
32787         [BZ #17370]
32788         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32790 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32791             Jakub Jelinek  <jakub@redhat.com>
32793         [BZ #17266]
32794         * libio/stdio.h: Check definition of __fortify_function
32795         instead of __extern_always_inline to include bits/stdio2.h.
32796         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32797         check if __extern_always_inline is defined.
32798         [__USE_MISC || __USE_XOPEN]: Likewise.
32799         [__USE_ISOC99] Likewise.
32800         * misc/sys/cdefs.h (__fortify_function): Define only if
32801         __extern_always_inline is defined.
32802         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32803         __extern_always_inline and __extern_inline only for g++-4.3
32804         and newer or a compatible gcc.
32806 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32808         [BZ #17371]
32809         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32810         last change to handle zero prefix length.
32812 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32814         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32815         _SC_REGEX_VERSION.
32817         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32818         _POSIX_RAW_SOCKETS.
32820 2014-09-13  Allan McRae  <allan@archlinux.org>
32822         * po/ru.po: Update Russian translation from translation project.
32824 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32826         * locale/programs/locale.c (show_locale_vars): Inline local function
32827         into its sole call site.  Clean up some style nits.
32828         (print_item): New function, broken out of ...
32829         (show_info): ... local function here.  Clean up style nits.
32831         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32832         out of ...
32833         (set_class_defaults): ... local function set_default here.
32834         Define set_default as a macro locally to pass constant parameters.
32835         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32836         rather than a shared local.
32838         * stdlib/rpmatch.c (try): New function, broken out of ...
32839         (rpmatch): ... local function here.  Also, prototypify definition.
32841 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32843         * scripts/soversions.awk: Do not handle configuration names.
32844         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32845         vendor and os variables to soversions.awk.
32846         * configure.ac: Do not modify gnu-* host_os.
32847         * configure: Regenerated
32848         * shlib-versions: Remove first column with configuration names.
32849         * nptl/shlib-versions: Likewise.
32850         * nptl_db/shlib-versions: Likewise.
32851         * sysdeps/hppa/shlib-versions: Likewise.
32852         * sysdeps/m68k/shlib-versions: Likewise.
32853         * sysdeps/mach/hurd/shlib-versions: Likewise.
32854         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32855         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32856         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32857         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32858         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32859         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32860         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32861         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32863         Likewise.
32864         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32865         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32866         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32867         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32868         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32869         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32870         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32871         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32874         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32876         Regenerated.
32877         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32879         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32881         * shlib-versions: Remove OS-specific entries.  Moved to files in
32882         sysdeps.
32883         * sysdeps/mach/hurd/shlib-versions: New file.
32884         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32886         * nptl/shlib-versions: Remove architecture-specific entries.
32887         Moved to files in sysdeps.
32888         * shlib-versions: Likewise.
32889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32890         file.
32891         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32892         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32893         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32894         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32896         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32897         (UDP_NO_CHECK6_RX): Likewise.
32899 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901         * sysdeps/posix/sysconf.c (__sysconf): Spell
32902         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32904 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32906         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32907         loading.
32908         * iconv/Versions (__gconv_transliterate): Export for use from
32909         gconv modules.
32910         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32911         (struct __gconv_trans_data, __gconv_trans_fct,
32912         __gconv_trans_context_fct, __gconv_trans_query_fct,
32913         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32914         definitions.
32915         (struct __gconv_step_data): Remove __trans member.
32916         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32917         longer hidden.  Remove unused trans_data argument.
32918         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32919         (__gconv_translit_find): Remove declaration.
32920         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32921         prototype.
32922         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32923         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32924         trans_data argument.  Add hidden definition.
32925         (__gconv_translit_find): Remove.
32926         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32927         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32928         * iconv/skeleton.c: Remove transliteration initialization.
32929         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32930         __gconv_step_data initialization.
32931         * libio/iofwide.c (__libio_translit_): Remove.
32932         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32933         * wcsmbs/btowc.c (__btowc): Likewise.
32934         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32935         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32936         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32937         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32938         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32939         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32940         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32941         * wcsmbs/wctob.c (wctob): Likewise.
32943 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32945         [BZ #16194]
32946         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32947         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32948         register usage.
32949         * sysdeps/x86/Makefile: Adjust.
32951 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32952             Roland McGrath  <roland@hack.frob.com>
32954         * locale/weight.h: Add include guard.
32955         (findidx): Make static rather than auto; take new parameters
32956         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32957         * locale/weightwc.h: Likewise.
32958         * posix/fnmatch_loop.c
32959         (FCT): Change type of EXTRA from int32_t to wint_t.
32960         Don't include either header inside the function.
32961         Call FINDIDX rather than findidx, and pass new arguments.
32962         #undef FINDIDX at the end of the file.
32963         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32964         FINDIDX before including fnmatch_loop.c for the non-wide version.
32965         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32966         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32967         for the wide version.
32968         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32969         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32970         Pass new arguments to findidx.
32971         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32972         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32973         Don't #include it inside the function.  Pass new arguments to findidx.
32974         * posix/regex_internal.h
32975         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32976         (re_string_elem_size_at): Don't #include it inside the function.
32977         Pass new arguments to findidx.
32978         * string/strcoll_l.c: #include WEIGHT_H at top level.
32979         (get_next_seq): Don't #include it inside the function.
32980         Pass new arguments to findidx.
32981         (get_next_seq_nocache): Likewise.
32982         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32983         (STRXFRM): Don't #include it inside the function.
32984         Pass new arguments to findidx.
32986 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32988         [BZ #17344]
32989         * malloc/malloc.c (unlink): Turn asserts into a call to
32990         malloc_printerr.
32992 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32994         [BZ #17370]
32995         * libio/wfileops (do_ftell_wide): Free OUT.
32997 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32999         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33001 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33003         [BZ #17363]
33004         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33005         group if the current group is empty.
33007 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33009         * benchtests/bench-memset.c (test_main): Add more test from size
33010         from 32 to 512 bytes.
33011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33012         Add POWER8 memset object.
33013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33014         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33015         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33016         implementation.
33017         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33018         Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33020         multiarch POWER8 memset optimization.
33021         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33022         POWER8 memset optimization.
33024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33025         Remove bzero multiarch objects.
33026         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33027         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33028         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33029         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33030         Remove define.
33031         [__bzero]: Redefine to specific name.
33032         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33033         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33034         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33035         define.
33036         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33037         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33039 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33041         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33042         warnings into errors.
33044         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33045         __cxa_thread_atexit_impl prototype.
33047 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33049         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33050         Fix capitalization of error message.
33052 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33054         * sysdeps/mips/preconfigure: Modify ABI tests.
33056 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33058         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33060 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33061             Carlos O'Donell  <carlos@systemhalted.org>
33063         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33064         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33065         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33066         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33067         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33068         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33069         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33070         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33071         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33072         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33073         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33074         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33075         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33076         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33077         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33078         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33079         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33080         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33081         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33082         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33084         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33085         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33086         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33087         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33088         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33089         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33090         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33091         Deconditionalize the code that was previously under [RESET_PID].
33092         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33093         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33094         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33095         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33096         include sysdep.h.
33098 2014-09-08  Allan McRae  <allan@archlinux.org>
33100         * version.h (RELEASE): Set to "development".
33101         (VERSION): Set to "2.20.90"
33103 2014-09-07  Allan McRae  <allan@archlinux.org
33105         * version.h (RELEASE): Set to "stable".
33106         (VERSION): Set to "2.20"
33107         * include/features.h (__GLIBC_MINOR__): Set to 20.
33109         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33110         Liebler.
33112         * po/ko.po: Update Korean translation from translation project.
33114 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33116         [BZ #17354]
33117         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33118         macro for handling signed relocations.
33120 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33122         [BZ #17325]
33123         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33124         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33125         assert.
33126         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33127         * iconvdata/ibm935.c (BODY): Likewise.
33128         * iconvdata/ibm937.c (BODY): Likewise.
33129         * iconvdata/ibm939.c (BODY): Likewise.
33130         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33131         assert.
33132         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33133         script.
33134         * iconvdata/run-iconv-test.sh: New test loop for checking for
33135         decoder crashers.
33137 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33139         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33140         libm_hidden_ver.
33142 2014-09-01  Allan McRae  <allan@archlinux.org>
33144         * po/eo.po: Update Esperanto translation from translation project.
33146         * po/ca.po: Update Catalan translation from translation project.
33148 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33150         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33151         __proc_dostop call.
33153 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33155         [BZ #17319]
33156         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33157         to call set_thread_area instead of hand written asm.
33158         (__NR_set_thread_area): Removed define.
33159         (TLS_FLAG_WRITABLE): Likewise.
33160         (__ASSUME_SET_THREAD_AREA): Remove check.
33161         (TLS_EBX_ARG): Remove define.
33162         (TLS_LOAD_EBX): Likewise.
33164 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33166         Simplify atomicity of socket creation in bind.
33168         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33169         looking up the name after linking the file.
33171 2014-08-27  Allan McRae  <allan@archlinux.org>
33173         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33175 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33177         [BZ #17187]
33178         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33179         trans_compare, open_translit, __gconv_translit_find):
33180         Remove module loading code.
33182 2014-08-26  Allan McRae  <allan@archlinux.org>
33184         * po/vi.po: Update Vietnamese translation from translation project.
33186         * po/uk.po: Update Ukrainian translation from translation project.
33188         * po/fr.po: Update French translation from translation project.
33190         * po/ru.po: Update Russian translation from translation project.
33192         * po/pl.po: Update Polish translation from translation project.
33194         * po/cs.po: Update Czech translation from translation project.
33196         * po/de.po: Update German translation from translation project.
33198         * po/bg.po: Update Bulgarian translation from translation project.
33200         * po/sv.po: Update Sweedish translation from translation project.
33202         * po/nl.po: Update Dutch translation from translation project.
33204         * po/es.po: Update Spanish translation from translation project.
33206 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33208         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33210         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33211         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33212         (CPPFLAGS-iconvconfig): Likewise.
33213         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33215         * include/libc-symbols.h: Remove unnecessary check for
33216         NOT_IN_libc.
33217         * nptl/pthreadP.h: Likewise.
33218         * sysdeps/aarch64/setjmp.S: Likewise.
33219         * sysdeps/alpha/setjmp.S: Likewise.
33220         * sysdeps/arm/sysdep.h: Likewise.
33221         * sysdeps/i386/setjmp.S: Likewise.
33222         * sysdeps/m68k/setjmp.c: Likewise.
33223         * sysdeps/posix/getcwd.c: Likewise.
33224         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33225         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33226         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33227         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33228         * sysdeps/sh/sh3/setjmp.S: Likewise.
33229         * sysdeps/sh/sh4/setjmp.S: Likewise.
33230         * sysdeps/unix/alpha/sysdep.h: Likewise.
33231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33233         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33234         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33239         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33240         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33242         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33244         * sysdeps/x86_64/setjmp.S: Likewise.
33246 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33248         [BZ #17263]
33249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33250         <stdint.h>.
33251         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33252         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33254 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33256         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33258         [BZ #17262]
33259         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33260         and __x86_64__ when disabling x87 inline functions.
33262 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33264         [BZ #17259]
33265         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33266         asm statement with __cpuid_count.
33268 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33270         * configure.ac: Change __ehdr_start code to dereference the struct.
33271         Run readelf on the output to look for relocations.
33272         * configure: Regenerated.
33274 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33276         [BZ #17261]
33277         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33278         value to 0.
33279         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33281 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33283         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33285 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33287         [BZ #16892]
33288         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33289         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33291 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33293         * malloc/malloc.c: Fix typo in comment.
33295 2014-08-09  Allan McRae  <allan@archlinux.org>
33297         * Regenerate libc.po.
33299 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33301         * intl/tst-gettext2.sh: Check every lang file for creation.
33303 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33305         * sysdeps/aarch64/fpu/math_private.h
33306         (libc_feholdsetround_noex_aarch64_ctx): New function.
33308 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33310         * sysdeps/arm/armv6/strcpy.S (strcpy):
33311         Fix performance issue in misaligned cases.
33313 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33315         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33316         Move definition from termios.h.
33317         (struct termio): Likewise.
33318         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33319         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33320         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33321         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33322         Likewise.
33323         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33324         Move definition to ioctl-types.h
33325         (struct termio): Likewise.
33326         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33327         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33328         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33329         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33330         Likewise.
33332 2014-08-05  Richard Henderson  <rth@redhat.com>
33334         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33335         exceptions.
33336         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33337         Add fraiseexcpt.
33338         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33339         Use __feraiseexcept.
33340         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33341         Protect libm symbols with IS_IN_libm.
33343         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33345 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33347         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33349 2014-08-04  Will Newton  <will.newton@linaro.org>
33351         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33352         file.
33354 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33356         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33357         variants for each function.
33359 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33361         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33362         appended ...
33363         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33364         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33365         appended ...
33366         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33367         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33368         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33369         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33370         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33371         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33372         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33373         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33374         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33375         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33376         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33377         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33378         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33379         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33380         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33381         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33382         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33383         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33384         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33385         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33386         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33387         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33388         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33389         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33390         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33391         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33392         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33393         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33394         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33395         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33396         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33397         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33398         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33399         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33400         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33401         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33402         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33403         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33404         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33405         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33406         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33407         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33408         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33409         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33410         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33411         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33412         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33413         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33414         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33416         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33417         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33418         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33419         Update #include.
33420         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33421         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33423 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33425         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33426         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33427         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33428         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33429         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33430         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33432 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33434         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33435         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33436         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33437         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33439 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33441         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33442         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33443         (__libc_vfork): Define function under this name.
33444         (__vfork): Define as an alias.
33445         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33446         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33448 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33450         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33451         that was previously under [RESET_PID].
33452         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33454 2014-08-04  Andreas Schwab  <schwab@suse.de>
33456         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33458 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33460         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33461         (main): Likewise.
33463 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33465         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33467 2014-08-01  Richard Henderon  <rth@redhat.com>
33469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33470         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33471         typo in exact zero test.
33472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33476 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33478         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33479         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33480         * sysdeps/arm/sysdep.h: ... here.
33481         [!__ASSEMBLER__]: Include <stdint.h>.
33483 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33485         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33486         (HAVE_WCTYPE_H): Likewise.
33487         (HAVE_ISWCTYPE): Likewise.
33488         (ENABLE_NLS): Likewise.
33489         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33490         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33492         * posix/regex_internal.c: Check if DEBUG is defined and is
33493         set.
33495         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33496         (HAVE_MBSRTOWCS): Likewise.
33497         * posix/fnmatch.c: Include string.h unconditionally.
33499 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33501         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33502         reversal.
33504 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33506         * sysdeps/generic/safe-fatal.h: New file.
33507         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33508         * nptl/forward.c: Include it.
33509         (__pthread_unwind): Use __safe_fatal as default action, rather
33510         than a bogus use of INTERNAL_SYSCALL that could never work.
33512         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33513         * configure.ac (libc_cv_builtin_trap): New test.
33514         * configure: Regenerated.
33515         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33516         (ABORT_INSTRUCTION): Define using __builtin_trap.
33518         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33519         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33520         * sysdeps/nptl/nptl-signals.h: New file.
33521         * nptl/pthreadP.h: Include <nptl-signals.h>.
33523 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33525         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33526         (ONE_DIRECTION): Define.
33527         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33528         (ONE_DIRECTION): Define.
33529         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33530         (ONE_DIRECTION): Define.
33532 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33534         * sysdeps/s390/Makefile: Delete file.
33535         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33536         * sysdeps/s390/__longjmp.c: Delete file.
33537         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33538         Remove fields __flags and __reserved.
33539         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33540         and add versioning.
33541         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33542         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33543         * sysdeps/s390/rtld-setjmp.S: Likewise.
33544         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33545         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33546         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33547         * sysdeps/s390/s390-32/setjmp.S: ... here.
33548         Add versioning.
33549         (__sigsetjmp): Remove setting __flags field.
33550         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33551         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33552         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33553         * sysdeps/s390/s390-64/setjmp.S: ... here.
33554         Add versioning.
33555         (__sigsetjmp): Remove setting __flags field.
33556         * sysdeps/s390/setjmp.S: Delete file.
33557         * sysdeps/s390/sigjmp.c: Likewise.
33558         * sysdeps/s390/v1-longjmp.c: Likewise.
33559         * sysdeps/s390/v1-setjmp.h: Likewise.
33560         * sysdeps/s390/v1-sigjmp.c: Likewise.
33561         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33562         Remove v1-longjmp_chk.
33563         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33564         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33565         Include debug/longjmp_chk.c and add versioning.
33566         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33567         Include nptl/pt-longjmp.c and add versioning.
33568         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33569         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33570         Include __longjmp.c.
33571         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33572         Move to ...
33573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33574         (__getcontext): Remove setting __flags field.
33575         Add versioning.
33576         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33577         Don't restore upper high grps.
33578         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33579         Likewise.
33580         (__swapcontext): Remove setting uc_flags field.
33581         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33582         Delete file.
33583         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33584         Include __longjmp.c.
33585         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33586         Move to ...
33587         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33588         (__getcontext): Remove setting __flags field.
33589         Add versioning.
33590         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33591         (__swapcontext): Remove setting uc_flags field.
33592         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33593         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33594         Remove fields uc_high_gprs and __reserved.
33595         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33596         New file with reverted content.
33597         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33598         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33599         Regenerated.
33600         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33601         Regenerated.
33603 2014-07-31  Andreas Schwab  <schwab@suse.de>
33605         * config.h.in (HAVE_IFUNC): Define to 0.
33606         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33607         definedness.
33609 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33612         memmove-avx-unaligned, memcpy-avx-unaligned and
33613         mempcpy-avx-unaligned.
33614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33615         Add tests for AVX memcpy functions.
33616         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33617         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33618         memcpy_chk.
33619         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33620         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33621         memmove_chk.
33622         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33623         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33624         mempcpy_chk.
33625         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33626         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33627         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33629 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33631         [BZ #17213]
33632         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33633         powerpc64le.
33635 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33637         [BZ #16839]
33638         * manual/llio.texi: Add section about open file description locks.
33639         * manual/examples/ofdlocks.c: Example of open file description
33640         lock usage.
33641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33642         F_OFD_SETLK, and F_OFD_SETLKW.
33644 2014-07-23  Allan McRae  <allan@archlinux.org>
33646         * po/es.po: Update Spanish translation from translation project.
33648 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33650         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33652 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33654         [BZ #17078]
33655         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33656         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33657         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33659 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33661         [BZ #17088]
33662         * math/fesetenv.c (__fesetenv)
33663         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33664         * math/feupdateenv.c (__feupdateenv)
33665         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33667         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33668         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33669         (__ASSUME_SOCKETCALL): Do not define.
33671         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33672         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33673         (__ASSUME_SOCKETCALL): Do not define.
33674         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33675         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33676         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33677         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33678         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33679         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33681         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33683         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33684         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33685         (__ASSUME_SOCKETCALL): Do not define.
33686         (__ASSUME_IPC64): Define unconditionally.
33687         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33688         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33689         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33690         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33691         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33693         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33694         Likewise.
33696         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33697         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33698         (__ASSUME_SOCKETCALL): Do not define.
33699         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33700         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33701         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33702         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33703         (__ASSUME_REQUEUE_PI): Define unconditionally.
33704         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33705         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33706         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33707         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33709         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33711         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33712         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33713         (__ASSUME_SOCKETCALL): Do not define.
33714         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33716         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33717         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33719         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33721         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33722         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33723         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33724         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33725         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33726         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33727         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33728         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33729         (__ASSUME_GETCPU_SYSCALL): Likewise.
33731         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33732         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33733         cases for individual architectures.
33734         * sysdeps/gnu/configure: Regenerated.
33735         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33736         LIBC_SLIBDIR_RTLDDIR.
33737         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33738         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33739         LIBC_SLIBDIR_RTLDDIR.
33740         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33742         LIBC_SLIBDIR_RTLDDIR.
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33744         Regenerated.
33745         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33746         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33747         file.
33748         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33749         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33750         file.
33751         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33752         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33753         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33754         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33756         * sysdeps/aarch64/shlib-versions: Move to ...
33757         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33758         * sysdeps/alpha/shlib-versions: Move to ...
33759         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33760         * sysdeps/arm/shlib-versions: Move to ...
33761         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33762         * sysdeps/hppa/shlib-versions: Move all contents except for
33763         libgcc_s entry to ...
33764         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33765         entry from ...
33766         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33767         * sysdeps/ia64/shlib-versions: Move to ...
33768         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33769         entry from ...
33770         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33771         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33772         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33773         * sysdeps/microblaze/shlib-versions: Move to ...
33774         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33775         * sysdeps/mips/shlib-versions: Move to ...
33776         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33777         entry from ...
33778         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33779         * sysdeps/tile/shlib-versions: Move to ...
33780         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33781         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33782         from ...
33783         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33784         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33785         entry from ...
33786         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33788 2014-07-17  Will Newton  <will.newton@linaro.org>
33790         * sysdeps/arm/bits/atomic.h
33791         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33792         (__arch_compare_and_exchange_bool_16_int): Likewise.
33793         (__arch_compare_and_exchange_bool_64_int): Likewise.
33795         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33796         into an #else block.
33798 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33800         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33801         just Linux configurations.  Test empirically that the compiler sets
33802         __ARM_EABI__, rather than using the tuple to decide.
33803         * sysdeps/arm/preconfigure: Regenerated.
33804         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33805         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33806         contents appended ...
33807         * sysdeps/arm/configure.ac: ... here.
33808         * sysdeps/arm/configure: Regenerated.
33810 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33812         * nptl/pthread_kill.c: New file.
33813         * nptl/pthread_sigmask.c: New file.
33814         * nptl/pthread_sigqueue.c: New file.
33816         * sysdeps/nptl/lowlevellock.h: New file.
33817         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33818         * sysdeps/nptl/lowlevellock-futex.h: New file.
33820         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33821         Remove dead declarations.
33823 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33825         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33826         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33827         config-cflags-avx2.
33828         * sysdeps/x86_64/configure.ac: Likewise.
33829         * sysdeps/i386/configure: Regenerated.
33830         * sysdeps/x86_64/configure: Likewise.
33831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33832         memset-avx2 only if config-cflags-avx2 is yes.
33833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33834         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33835         defined.
33836         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33837         only if HAVE_AVX2_SUPPORT is defined.
33838         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33840 2014-07-14  Alan Modra  <amodra@gmail.com>
33842         [BZ #17153]
33843         * elf/elf.h (DT_PPC64_NUM): Correct value.
33844         * NEWS: Add to fixed bug list.
33846 2014-07-13  Jim Meyering  <meyering@fb.com>
33848         [BZ 17150]
33849         regex: don't deref NULL upon heap allocation failure
33850         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33851         failure in one more place.
33852         To trigger the segfault, configure grep -with-included-regex,
33853         build it, and run these commands:
33854         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33856 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33858         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33860 2014-07-11  Richard Henderson  <rth@redhat.com>
33862         * sysdeps/aarch64/libm-test-ulps: Update.
33864 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33866         [BZ #17135]
33867         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33868         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33869         (__nptl_setxid): Initialize error member.  Call
33870         __nptl_setxid_error.
33871         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33872         * nptl/descr.h (struct xid_command): Add error member.
33873         * nptl/tst-setuid3.c: New file.
33874         * nptl/Makefile (tests): Add it.
33876 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33878         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33879         New define.
33880         (__lll_trylock): Use __lll_base_trylock.
33881         (__lll_cond_trylock): Likewise.
33883 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33885         * nptl/pthread_create.c (start_thread): Use atomic_or and
33886         lll_futex_wake directly rather than lll_robust_dead.
33887         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33888         (lll_robust_dead): Macro removed.
33889         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33890         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33891         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33892         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33893         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33894         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33895         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33896         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33897         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33898         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33899         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33900         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33901         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33902         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33903         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33905         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33906         Use atomic_compare_and_exchange_val_acq directly rather than
33907         lll_robust_trylock.
33908         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33909         (__lll_robust_trylock, lll_robust_trylock): Removed.
33910         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33911         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33912         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33913         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33914         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33915         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33916         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33917         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33919         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33920         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33921         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33922         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33923         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33925 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33927         * manual/locale.texi (Locale Names): New section documenting
33928         locale name syntax.  Adjust menu and node chaining accordingly.
33929         (Choosing Locale): Reference Locale Names, Locale Categories.
33930         Mention setting LC_ALL=C.  Reflect that name syntax is now
33931         documented.
33932         (Locale Categories): New section title.  Reference Locale Names.
33933         LC_ALL is an environment variable, but not a category.
33934         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33935         description, now in Locale Name.  Reference that section.  Locale
33936         name syntax is now documented.
33938 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33940         [BZ #17137]
33941         * locale/findlocale.c (name_present, valid_locale_name): New
33942         functions.
33943         (_nl_find_locale): Use the loc_name variable to store name
33944         candidates.  Call name_present and valid_locale_name to check and
33945         validate locale names.  Return an error if the locale is invalid.
33947 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33949         * locale/setlocale.c (setlocale): Use strdup for allocating
33950         composite name copy.
33952 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33954         Sync up with gnulib.
33955         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33956         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33957         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33958         and _GL_ARG_NONNULL.
33959         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33960         [!_LIBC]: Include code for Windows and Cygwin.
33961         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33962         Include prototype for int strerror_r.
33963         [!_LIBC] (is_open): New function.
33964         (flush_stdout): New function.
33965         (print_errno_message): Use it.
33966         (error): Likewise.
33967         (error_at_line): Likewise.
33968         (error_tail) Add function attribute macros.  Use
33969         __builtin_expect.
33971         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33973         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33975         * io/ftw.c: Include sys/param.h unconditionally.
33977         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33979         [BZ #17125]
33980         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33981         libc_freeres_ptr.
33982         (freecache): New function to free CACHE on exit.
33984         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33985         initialization.
33987 2014-07-09  David S. Miller  <davem@davemloft.net>
33989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33991         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33992         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33993         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33994         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33995         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33996         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33997         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33998         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33999         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34000         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34001         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34002         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34003         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34005 2014-07-09  Andreas Schwab  <schwab@suse.de>
34007         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34008         output.
34009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34010         (do_test): Likewise.
34012         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34014 2014-07-09  Will Newton  <will.newton@linaro.org>
34016         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34017         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34018         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34019         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34020         * sysdeps/hppa/start.S (_start): Likewise.
34022 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34024         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34026         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34027         defined.
34029 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34031         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34032         after checking that it is non-NULL.
34034         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34036 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34038         * sysdeps/powerpc/memmove.c: Remove file.
34039         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34040         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34041         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34042         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34043         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34044         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34045         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34046         string memmove instead of removed powerpc one.
34048         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34049         [weak_alias]: Fix compiler warning due trailing data.
34050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34051         [weak_alias]: Likewise.
34052         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34053         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34056         (__libc_ifunc_impl_list): Add memmove functions.
34058 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34060         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34061         Remove code.
34062         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34063         Likewise.
34064         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34065         Likewise.
34066         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34067         Likewise.
34068         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34069         Likewise.
34070         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34071         Likewise.
34072         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34073         Likewise.
34074         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34075         Likewise.
34076         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34077         Likewise.
34078         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34079         Likewise.
34080         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34081         Likewise.
34082         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34083         Likewise.
34084         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34085         Likewise.
34086         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34087         Likewise.
34088         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34089         Likewise.
34090         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34091         Likewise.
34092         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34093         Likewise.
34095 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34097         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34098         to avoid alignment traps in non-cacheable memory.
34099         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34102         multiarch objects.
34103         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34104         file: multiarch power7 memmove.
34105         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34106         multiarch default memmove.
34107         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34108         multiarch memove for powerpc32/power4.
34110         * string/bcopy.c: Use full path to include memmove.c.
34111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34112         multiarch objects.
34113         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34114         bcopy for powerpc64.
34115         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34116         bcopy for powerpc64.
34117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34118         and memmove implementations.
34119         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34120         optimized multiarch memmove for POWER7/powerpc64.
34121         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34122         default multiarch memmove for powerpc64.
34123         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34124         multiarch for powerpc64.
34125         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34126         for POWER7/powerpc64.
34127         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34128         memmove for POWER7/powerpc64.
34130         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34131         glibc default one.
34133         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34134         __ELF_NATIVE_CLASS equal to 64.
34136 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34138         * sysdeps/nptl/lowlevellock.h: File removed.
34140         * NEWS: NPTL is no longer an add-on!
34141         * nptl/internaltypes.h: Moved ...
34142         * sysdeps/nptl/internaltypes.h: ... here.
34143         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34144         * sysdeps/nptl/fork.c: Likewise.
34145         * sysdeps/nptl/gai_misc.h: Likewise.
34146         * sysdeps/nptl/librt-cancellation.c: Likewise.
34147         * sysdeps/nptl/jmp-unwind.c: Likewise.
34148         * sysdeps/nptl/setxid.h: Likewise.
34149         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34150         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34151         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34152         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34153         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34154         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34155         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34156         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34157         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34158         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34159         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34160         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34161         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34162         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34163         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34164         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34165         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34166         * nptl/Makeconfig: Moved ...
34167         * sysdeps/nptl/Makeconfig: ... here.
34168         * nptl/configure: File removed.
34169         * nptl/ANNOUNCE: File removed.
34170         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34171         * sysdeps/unix/sysv/linux/configure: Regenerated.
34173         * nptl/Makefile (routines): Add libc_pthread_init,
34174         libc_multiple_threads, register-atfork and unregister-atfork.
34175         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34176         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34177         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34178         pthread-pi-defines.sym, structsem.sym.
34179         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34180         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34181         [$(subdir) = nptl] (tests): Add tst-setgetname.
34182         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34183         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34184         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34185         [!LIBC_SIGACTION]: Remove aliases.
34186         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34187         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34188         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34189         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34190         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34191         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34192         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34193         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34194         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34195         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34196         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34197         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34198         __libc_allocate_rtsig_private.
34199         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34200         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34201         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34202         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34203         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34204         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34205         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34206         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34207         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34208         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34209         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34210         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34211         * nptl/internaltypes.h: ... here.
34212         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34213         * sysdeps/nptl/jmp-unwind.c: ... here.
34214         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34215         * nptl/libc-lowlevellock.c: ... here.
34216         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34217         * nptl/libc_multiple_threads.c: ... here.
34218         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34219         * nptl/libc_pthread_init.c: ... here.
34220         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34221         * nptl/lowlevelbarrier.sym: ... here.
34222         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34223         * nptl/lowlevelcond.sym: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34225         * nptl/lowlevellock.c: ... here.
34226         * nptl/lowlevellock.h: Moved ...
34227         * sysdeps/nptl/lowlevellock.h: ... here.
34228         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34229         * nptl/lowlevelrobustlock.c: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34231         * nptl/lowlevelrobustlock.sym: ... here.
34232         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34233         * nptl/lowlevelrwlock.sym: ... here.
34234         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34235         * nptl/pt-fork.c: ... here.
34236         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34237         * nptl/pthread-pi-defines.sym: ... here.
34238         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34239         * nptl/pthread_attr_getaffinity.c: ... here.
34240         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34241         * nptl/pthread_attr_setaffinity.c: ... here.
34242         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34243         * nptl/pthread_mutex_cond_lock.c: ... here.
34244         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34245         Update #include.
34246         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34247         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34248         * nptl/pthread_once.c: ... here, replacing old file.
34249         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34250         * nptl/pthread_yield.c: ... here.
34251         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34252         * nptl/register-atfork.c: ... here.
34253         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34254         * nptl/sem_post.c: ... here.
34255         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34256         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34257         * nptl/sem_timedwait.c: ... here.
34258         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34259         * nptl/sem_trywait.c: ... here.
34260         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34261         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34262         * nptl/sem_wait.c: ... here.
34263         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34264         * nptl/structsem.sym: ... here.
34265         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34266         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34267         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34268         * nptl/unregister-atfork.c: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34270         * nptl/unwindbuf.sym: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34272         * sysdeps/nptl/fork.c: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34274         * sysdeps/nptl/fork.h: ... here.
34275         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34276         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34277         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34278         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34279         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34280         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34281         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34282         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34283         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34284         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34285         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34286         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34287         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34288         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34289         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34290         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34291         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34292         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34293         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34294         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34295         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34296         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34297         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34298         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34299         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34300         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34301         * sysdeps/unix/sysv/linux/raise.c: ... here.
34302         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34303         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34304         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34305         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34306         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34307         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34308         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34309         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34310         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34311         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34312         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34313         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34314         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34315         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34316         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34318 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34320         * sysdeps/generic/memcopy.h: Add comment for
34321         MEMCPY_OK_FOR_FWD_MEMMOVE.
34323 2014-07-04  Will Newton  <will.newton@linaro.org>
34325         * string/memchr.c: Merge from gnulib.
34326         [_LIBC]: Remove conditionals.
34327         (__ptr_t): Remove define.
34328         (LONG_MAX_32_BITS): Likewise.
34329         (LONG_MAX): Likewise.
34330         (MEMCHR): Use ANSI prototype and optimize algorithm.
34332         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34334 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34336         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34337         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34339         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34340         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34341         in a bare environment with no <stdlib.h> installed.
34342         * sysdeps/nptl/configure: Regenerated.
34344         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34346         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34347         AC_EGREP_CPP for kernel header checks, so they only succeed if
34348         including <linux/version.h> actually works right.
34349         * sysdeps/unix/sysv/linux/configure: Regenerated.
34351         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34352         value so it's not diagnosed as unused.
34354         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34355         thing) with "ifeq ($(subdir),rt)".
34357 2014-07-03  Richard Henderson  <rth@redhat.com>
34359         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34360         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34361         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34363         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34364         (math_force_eval): New.
34366         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34367         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34369         * sysdeps/alpha/fpu/s_round.c: Remove file.
34370         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34372         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34373         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34374         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34375         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34376         (_dl_start, print_statistics): Likewise.
34377         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34378         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34380         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34381         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34382         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34383         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34384         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34385         (HP_SMALL_TIMING_AVAIL): Define.
34386         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34387         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34388         (HP_SMALL_TIMING_AVAIL): Define.
34389         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34390         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34392         * sysdeps/aarch64/hp-timing.h: New file.
34394         * sysdeps/generic/hp-timing.h: Remove dead comment.
34395         * sysdeps/generic/hp-timing-common.h: New file.
34396         * sysdeps/alpha/hp-timing.h: Include it.
34397         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34398         * sysdeps/i386/i686/hp-timing.h: Likewise.
34399         * sysdeps/ia64/hp-timing.h: Likewise.
34400         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34401         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34402         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34403         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34404         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34405         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34406         (hp_timing_t): New.
34408         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34409         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34410         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34411         * elf/rtld.c (_dl_start_final): Likewise.
34412         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34413         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34414         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34415         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34416         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34418         (HP_TIMING_DIFF_INIT): Remove.
34419         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34420         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34421         (HP_TIMING_DIFF_INIT): Remove.
34422         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34423         * sysdeps/i386/i686/hp-timing.c: Remove file.
34424         * sysdeps/x86_64/hp-timing.c: Remove file.
34425         * sysdeps/ia64/hp-timing.c: Remove file.
34426         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34427         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34428         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34429         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34431         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34432         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34433         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34434         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34435         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34436         (HP_TIMING_ACCUM): Remove.
34437         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34438         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34439         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34441         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34442         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34443         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34444         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34446         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34447         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34448         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34450         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34452 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34454         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34456 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34458         Sync up with gettext.
34459         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34460         [_MSC_VER]: Include malloc.h
34461         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34462         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34463         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34464         TEMP_FAILURE_RETRY.  Cast return of alloca.
34465         [!_LIBC] Call gl_rwlock_init.
34466         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34468 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34470         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34471         before checking its value.
34473 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34475         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34477         * debug/memcpy_chk.c: Don't include pagecopy.h.
34478         * debug/mempcpy_chk.c: Likewise.
34479         * string/memcpy.c: Likewise.
34480         * string/memmove.c: Likewise.
34481         * sysdeps/powerpc/memmove.c: Likewise.
34482         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34483         definition of PAGE_COPY_FWD_MAYBE here...
34484         * sysdeps/generic/pagecopy.h: ... from here.
34485         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34487 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34488             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34490         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34492         optimizations.
34493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34494         (__libc_ifunc_impl_list): Likewise.
34495         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34496         multiarch strcat for PPC64.
34497         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34498         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34500 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34502         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34504 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34506         * intl/loadmsgcat.c: Remove declaration of
34507         get_sysdep_segment_value.
34508         (get_sysdep_segment_value): Use ISO C style.
34509         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34510         semicolon.  Fix typo and formatting in comment.
34511         (_nl_unload_domain): Use ISO C style.
34513         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34515 2014-07-02  Will Newton  <will.newton@linaro.org>
34517         * malloc/obstack.c: Merge from gnulib master.
34518         [HAVE_CONFIG_H]: Remove conditional code.
34519         [!_LIBC]: Include config.h.
34520         [!ELIDE_CODE]: Don't include inttypes.h, include
34521         stdint.h unconditionally.
34522         (print_and_abort): Mark as _Noreturn.
34523         (_obstack_allocated_p): Mark as __attribute_pure__.
34524         (obstack_free): Rename to __obstack_free.
34525         [!__attribute__]: Remove conditional code.
34526         * malloc/obstack.h: Merge from gnulib master.
34527         [__cplusplus]: Move conditional down.
34528         [!__attribute_pure__]: Define __attribute_pure__ here
34529         if it is not already defined.
34530         (_obstack_memory_used): Mark as __attribute_pure__.
34531         [!__obstack_free]: Define as obstack_free.
34532         [__GNUC__]: Remove check for ancient NeXT gcc.
34534 2014-07-02  Will Newton  <will.newton@linaro.org>
34535             Paul Eggert  <eggert@cs.ucla.edu>
34537         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34539 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34541         * resolv/gethnamaddr.c: Add comment warning that the file is
34542         not maintained.
34544 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34546         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34547         entries.
34549         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34550         entry for aio_cancel and aio_cancel64.
34551         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34552         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34553         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34554         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34555         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34556         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34557         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34558         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34559         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34560         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34561         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34562         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34563         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34565 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34567         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34568         * nptl/pthread_mutex_lock.c: Likewise.
34569         * nptl/pthread_mutex_timedlock.c: Likewise.
34570         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34572 2014-07-01  Richard henderson  <rth@redhat.com>
34574         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34575         (__isnan, __isnanl): Remove.
34576         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34578         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34580 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34582         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34584 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34586         * resolv/nss_dns/dns-host.c (getanswer_r)
34587         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34589 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34592         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34593         undefine.
34594         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34595         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34597 2014-07-01  Roland McGrath <roland@hack.frob.com>
34599         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34600         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34602         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34603         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34605         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34606         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34607         ... here.
34608         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34609         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34611         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34612         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34613         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34614         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34616         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34617         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34618         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34619         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34620         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34621         Moved ...
34622         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34623         ... here.
34624         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34625         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34627         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34628         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34629         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34630         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34631         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34633         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34634         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34641         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34644         ... here.
34645         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34646         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34647         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34648         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34649         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34650         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34651         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34652         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34654 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34656         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34657         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34658         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34659         Add sysdep.
34661 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34665 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34667         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34668         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34670         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34672         * sysdeps/arm/libm-test-ulps: Regenerated.
34674 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34675             Roland McGrath <roland@hack.frob.com>
34677         * test-skeleton.c (signal_handler): Kill the whole process group
34678         before killing the child individually.
34679         (main): Report any failure on `setpgid'.
34681 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34683         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34684         from _TLS_H to _ARM_NPTL_TLS_H.
34685         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34686         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34688 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34690         [BZ #16539]
34691         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34692         (__expm1l): Return argument unchanged when small but not
34693         subnormal.
34695         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34696         include macro name.
34697         (_FP_UNPACK_RAW_1_P): Likewise.
34698         (_FP_PACK_RAW_1): Likewise.
34699         (_FP_PACK_RAW_1_P): Likewise.
34700         (_FP_MUL_MEAT_1_wide): Likewise.
34701         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34702         (_FP_MUL_MEAT_1_hard): Likewise.
34703         (_FP_DIV_MEAT_1_imm): Likewise.
34704         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34705         (_FP_DIV_MEAT_1_udiv): Likewise.
34706         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34707         (_FP_UNPACK_RAW_2): Likewise.
34708         (_FP_UNPACK_RAW_2_P): Likewise.
34709         (_FP_PACK_RAW_2): Likewise.
34710         (_FP_PACK_RAW_2_P): Likewise.
34711         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34712         (_FP_MUL_MEAT_2_wide): Likewise.
34713         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34714         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34715         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34716         (_FP_MUL_MEAT_2_gmp): Likewise.
34717         (_FP_DIV_MEAT_2_udiv): Likewise.
34718         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34719         (_FP_FRAC_SRL_4): Likewise.
34720         (_FP_FRAC_SRST_4): Likewise.
34721         (_FP_FRAC_SRS_4): Likewise.
34722         (_FP_UNPACK_RAW_4): Likewise.
34723         (_FP_UNPACK_RAW_4_P): Likewise.
34724         (_FP_PACK_RAW_4): Likewise.
34725         (_FP_PACK_RAW_4_P): Likewise.
34726         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34727         (_FP_MUL_MEAT_4_wide): Likewise.
34728         (_FP_MUL_MEAT_4_gmp): Likewise.
34729         (umul_ppppmnnn): Likewise.
34730         (_FP_DIV_MEAT_4_udiv): Likewise.
34731         (__FP_FRAC_ADD_4): Likewise.
34732         (__FP_FRAC_SUB_3): Likewise.
34733         (__FP_FRAC_SUB_4): Likewise.
34734         (__FP_FRAC_DEC_3): Likewise.
34735         (__FP_FRAC_DEC_4): Likewise.
34736         (__FP_FRAC_ADDI_4): Likewise.
34737         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34738         (_FP_FRAC_SRL_8): Likewise.
34739         (_FP_FRAC_SRS_8): Likewise.
34741         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34742         include macro name.
34743         (FP_UNPACK_RAW_EP): Likewise.
34744         (FP_PACK_RAW_E): Likewise.
34745         (FP_PACK_RAW_EP): Likewise.
34746         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34747         (_FP_ISSIGNAN): Likewise.
34748         (_FP_ADD_INTERNAL): Likewise.
34749         (_FP_FMA): Likewise.
34750         (_FP_CMP): Likewise.
34751         (_FP_SQRT): Likewise.
34752         (_FP_TO_INT): Likewise.
34753         (_FP_FROM_INT): Likewise.
34754         (FP_EXTEND): Likewise.
34755         (_FP_DIV_MEAT_N_loop): Likewise.
34757 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34759         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34760         throughout.
34762 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34764         [BZ #17097]
34765         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34766         result with correct sign in case of exponents that produce
34767         overflow except for X very close to 1.
34769 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34771         mktime: merge #if/#ifdef usage from glibc
34772         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34773         as that works with both Glibc's and Gnulib's style.
34774         See thread starting at Siddhesh Poyarekar's bug report at:
34775         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34777 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34779         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34780         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34781         * sysdeps/tile/tilegx/memmove.c: Remove file.
34783 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34785         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34786         abi-name definition.
34787         * scripts/soversions.awk: Do not handle or generate ABI lines.
34788         * shlib-versions: Remove ABI entries.
34789         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34790         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34792 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34795         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34796         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34797         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34799         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34801         Moved ...
34802         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34803         ... here.
34804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34805         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34807         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34809         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34811         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34815         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34817         Moved ...
34818         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34822         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34824         Moved ...
34825         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34827         Moved ...
34828         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34830         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34832         Moved ...
34833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34837         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34839         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34841         Moved ...
34842         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34844         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34845         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34846         Moved ...
34847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34849         Moved ...
34850         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34852         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34854         Moved ...
34855         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34856         ... here.
34857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34858         Identical file removed.
34859         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34860         Moved ...
34861         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34863         Identical file removed.
34864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34865         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34867         Moved ...
34868         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34870         Identical file removed.
34871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34872         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34874         Identical file removed.
34875         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34876         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34878         Identical file removed.
34879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34880         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34882         Identical file removed.
34883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34884         Moved ...
34885         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34887         Identical file removed.
34888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34889         Moved ...
34890         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34892         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34894         Identical file removed.
34895         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34896         Moved ...
34897         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34898         ... here.
34899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34900         Identical file removed.
34901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34902         Moved ...
34903         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34905         Identical file removed.
34906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34907         Moved ...
34908         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34910         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34912         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34914         Moved ...
34915         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34917         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34919         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34920         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34921         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34922         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34923         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34925 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34927         [BZ #17092]
34928         * nscd/nscd.c (monitor_child): Return exit status of child
34929         instead of return value from wait syscall.
34931 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34933         * configure.ac (libc_commonpagesize): Remove variable.
34934         (libc_relro_required): Likewise.
34935         (libc_cv_z_relro): Remove configure test.
34936         * configure: Regenerated.
34937         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34938         variable.
34939         (libc_relro_required): Likewise.
34940         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34941         (libc_relro_required): Likewise.
34942         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34943         (libc_relro_required): Likewise.
34944         * sysdeps/arm/preconfigure: Regenerated.
34945         * sysdeps/ia64/preconfigure: Remove file.
34946         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34947         variable.
34948         (libc_relro_required): Likewise.
34950         [BZ #16561]
34951         [BZ #16562]
34952         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34953         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34954         recompute overflowing results in original rounding mode.
34955         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34956         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34957         recompute overflowing results in original rounding mode.
34958         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34959         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34960         recompute overflowing results in original rounding mode.
34961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34962         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34963         recompute overflowing results in original rounding mode.
34964         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34965         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34966         recompute overflowing results in original rounding mode.
34967         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34968         (libc_feholdsetround_ctx): New macro.
34969         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34970         * sysdeps/i386/fpu/libm-test-ulps: Update.
34971         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34973 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34975         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34976         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34977         corresponding .cpsetup call.
34979 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34981         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34982         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34983         * sysdeps/arm/Makefile [$(subdir) = csu]
34984         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34985         (static-only-routines): Add aeabi_read_tp here.
34986         (shared-only-routines): Add libc-aeabi_read_tp here.
34987         (CFLAGS-libc-start.c): Add -fexceptions here.
34988         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34989         (sysdep_routines, static-only-routines, shared-only-routines):
34990         Don't add to these here.
34991         (CFLAGS-libc-start.c): Likewise.
34993         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34994         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34995         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34996         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34997         * sysdeps/arm/Makefile [$(subdir) = rt]
34998         (librt-sysdep_routines, librt-shared-only-routines):
34999         Append rt-aeabi_unwind_cpp_pr1 here.
35000         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35001         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35002         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35003         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35004         Append nptl-aeabi_unwind_cpp_pr1 here.
35005         (tests): Filter out tst-cleanupx4 here.
35006         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35007         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35008         Don't do those here.
35010 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35012         * scripts/list-sources.sh: Do not handle ports specially.
35014 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35016         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35017         * sysdeps/arm/feupdateenv.c: Likewise.
35019         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35021 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35023         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35024         trailing whitespace removed.
35025         * scripts/config.guess: Update to version 2014-03-23.
35026         * scripts/config.sub: Update to version 2014-05-01
35027         * scripts/install-sh: Update to version 2013-12-25.23.
35028         * scripts/move-if-change: Update from gnulib.
35030 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35032         * debug/memmove_chk.c: Remove pagecopy.h include.
35034 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35036         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35037         identical to gnulib mktime.
35039 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35041         * configure.ac: Do not test for machine being rs6000.  Do not test
35042         for powerpc*-*soft.
35043         * configure: Regenerated.
35045         [BZ #11505]
35046         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35047         test.
35048         * configure: Regenerated.
35049         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35050         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35051         Remove configure test.
35052         * sysdeps/arm/configure: Regenerated.
35053         * sysdeps/nptl/configure.ac: Do not check
35054         libc_cv_asm_cfi_directives.
35055         * sysdeps/nptl/configure: Regenerated.
35056         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35057         * sysdeps/x86_64/nptl/configure: Remove generated file.
35058         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35059         unconditional.
35060         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35062 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35064         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35065         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35066         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35067         it is defined.
35069         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35070         instead of whether it is defined.
35071         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35072         * sysdeps/hppa/dl-machine.h: Likewise.
35073         * sysdeps/ia64/dl-machine.h: Likewise.
35074         * sysdeps/m68k/dl-machine.h: Likewise.
35075         * sysdeps/microblaze/dl-machine.h: Likewise.
35076         * sysdeps/mips/dl-machine.: Likewise.
35077         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35078         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35079         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35080         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35081         * sysdeps/sh/dl-machine.h: Likewise.
35082         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35083         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35084         * sysdeps/tile/dl-machine.h: Likewise.
35085         * sysdeps/x86_64/dl-machine.h: Likewise.
35087         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35088         code.
35089         (verify_persistent_db): Likewise.
35091 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35094         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35096         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35098         Moved ...
35099         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35100         ... here.
35101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35102         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35104         Identical file removed.
35105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35106         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35108         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35110         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35114         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35116         Moved ...
35117         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35119         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35121         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35123         Moved ...
35124         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35126         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35128         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35130         Identical file removed.
35131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35132         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35134         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35136         Moved ...
35137         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35138         ... here.
35139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35142         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35144         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35146         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35148         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35150         Moved ...
35151         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35153         Moved ...
35154         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35156         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35158         Moved ...
35159         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35161         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35163         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35164         folded into ...
35165         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35166         * sysdeps/unix/sysv/linux/s390/Versions
35167         (libpthread: GLIBC_2.19): New version set.
35168         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35169         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35170         (librt: GLIBC_2.3.3): New version set.
35171         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35172         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35173         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35174         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35175         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35176         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35177         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35178         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35179         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35180         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35181         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35182         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35183         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35184         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35185         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35186         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35187         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35188         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35189         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35190         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35191         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35193         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35195         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35196         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35197         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35198         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35199         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35201         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35202         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35203         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35207         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35209         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35211         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35213         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35215         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35217         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35218         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35219         (__libc_vfork): Define the function under this name.
35220         [!NOT_IN_libc] (__vfork): Make this an alias.
35221         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35223         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35224         (__libc_vfork): Define the function under this name.
35225         [!NOT_IN_libc] (__vfork): Make this an alias.
35226         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35227         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35228         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35231         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35233         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35234         code that was previously under [RESET_PID].
35235         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35236         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35239         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35240         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35241         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35242         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35243         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35244         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35245         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35246         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35247         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35248         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35249         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35250         Moved ...
35251         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35252         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35253         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35254         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35255         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35256         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35257         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35258         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35259         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35260         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35261         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35262         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35263         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35264         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35265         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35266         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35267         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35268         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35269         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35270         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35271         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35272         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35273         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35274         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35275         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35276         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35277         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35278         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35279         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35281 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35283         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35284         that was previously under [RESET_PID].
35285         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35287 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35289         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35290         not undefine and redefine.
35291         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35292         [O_CLOEXEC]: Make code unconditional.
35293         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35294         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35295         <kernel-features.h>.
35296         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35297         conditional variable definition.
35298         (shm_open) [O_CLOEXEC]: Make code unconditional.
35299         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35300         code.
35302         * configure.ac (USE_REGPARMS): Don't define here.
35303         * configure: Regenerated.
35304         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35305         * sysdeps/i386/configure: Regenerated.
35307         * nptl/createthread.c: Don't include kernel-features.h.
35308         * nptl/pthread_cancel.c: Likewise.
35309         * nptl/pthread_condattr_setclock.c: Likewise.
35310         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35311         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35312         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35313         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35314         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35315         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35319         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35320         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35321         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35322         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35323         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35324         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35325         * nscd/gai.c: Likewise.
35326         * nss/nss_db/db-open.c: Likewise.
35327         * sysdeps/generic/ldsodefs.h: Likewise.
35328         * sysdeps/sh/nptl/tls.h: Likewise.
35329         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35330         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35331         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35332         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35333         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35334         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35335         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35336         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35338         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35339         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35340         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35341         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35342         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35343         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35344         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35345         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35346         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35347         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35348         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35351         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35352         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35357         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35358         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35359         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35360         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35361         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35362         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35363         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35364         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35365         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35366         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35367         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35368         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35369         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35370         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35371         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35372         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35373         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35374         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35375         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35376         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35377         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35378         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35379         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35380         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35381         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35382         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35383         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35384         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35385         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35386         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35409         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35410         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35411         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35412         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35413         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35414         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35415         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35416         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35417         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35418         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35419         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35420         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35421         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35422         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35423         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35424         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35425         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35426         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35427         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35428         * sysdeps/unix/sysv/linux/system.c: Likewise.
35429         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35430         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35431         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35432         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35433         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35434         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35435         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35437         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35438         * configure: Regenerated.
35439         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35441         * configure.ac (base_machine): Do not set specially for particular
35442         machines here.
35443         * configure: Regenerated.
35444         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35445         settings from configure.ac.
35446         * sysdeps/i386/preconfigure: New file.
35447         * sysdeps/s390/preconfigure: Likewise.
35448         * sysdeps/sh/preconfigure: Likewise.
35449         * sysdeps/sparc/preconfigure: Likewise.
35451 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35453         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35454         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35455         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35456         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35457         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35458         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35459         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35460         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35461         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35462         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35463         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35464         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35465         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35466         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35467         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35470         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35471         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35473         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35474         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35475         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35477         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35478         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35479         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35480         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35481         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35482         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35483         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35484         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35485         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35486         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35487         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35488         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35489         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35490         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35491         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35492         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35494         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35496         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35497         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35498         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35500         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35502         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35503         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35504         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35505         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35506         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35507         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35508         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35510         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35513         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35515         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35517         Moved ...
35518         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35519         ... here.
35520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35521         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35523         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35525         Moved ...
35526         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35528         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35530         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35532         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35534         Moved ...
35535         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35537         Moved ...
35538         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35540         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35542         Moved ...
35543         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35545         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35547         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35549         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35551         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35553         Moved ...
35554         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35555         ... here.
35556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35557         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35559         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35561         Moved ...
35562         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35564         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35566         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35568         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35570         Moved ...
35571         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35573         Moved ...
35574         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35576         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35578         Moved ...
35579         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35581         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35583         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35585 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35587         * timezone/checktab.awk: Update from tzcode 2014e.
35588         * timezone/private.h: Likewise.
35589         * timezone/tzfile.h: Likewise.
35590         * timezone/zdump.c: Likewise.
35591         * timezone/zic.c: Likewise.
35593         * sysdeps/unix/sysv/linux/kernel-features.h
35594         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35595         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35596         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35597         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35598         Remove conditional code.
35600 2014-06-25  Will Newton  <will.newton@linaro.org>
35602         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35603         (_dl_arm_cap_flags): Add HWCAP2 values.
35604         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35605         (_DL_HWCAP_COUNT): Increase to 37.
35606         (_DL_HWCAP_LAST): New define.
35607         (_DL_HWCAP2_LAST): New define.
35608         (_dl_procinfo): Add support for printing
35609         AT_HWCAP2 entries.
35610         (_dl_string_hwcap): Use _dl_hwcap_string.
35612 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35616 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35618         * README: Do not mention ports directory.
35620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35621         Remove macro.
35622         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35623         <kernel-features.h>.
35624         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35625         conditional variable definition.
35626         (__futimes): Update comment.
35627         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35628         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35630         [BZ #16560]
35631         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35632         arguments close to 0.
35633         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35634         Likewise.
35635         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35636         Likewise.
35637         * math/auto-libm-test-in: Add more tests of exp10.
35638         * math/auto-libm-test-out: Regenerated.
35639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35641         * sysdeps/unix/sysv/linux/kernel-features.h
35642         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35643         * sysdeps/unix/sysv/linux/readv.c: Do not include
35644         <kernel-features.h>.
35645         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35646         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35647         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35648         unconditional.
35649         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35650         conditional code.
35651         * sysdeps/unix/sysv/linux/writev.c: Do not include
35652         <kernel-features.h>.
35653         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35654         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35655         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35656         unconditional.
35657         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35658         conditional code.
35660 2014-06-25  Will Newton  <will.newton@linaro.org>
35662         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35663         comment changes throughout the file.  Remove checks
35664         for HAVE_*_H definitions that are not required.
35665         (__gen_tempname): Call abort if an unknown kind value is
35666         passed.
35668 2014-06-25  Andreas Schwab  <schwab@suse.de>
35670         [BZ #17086]
35671         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35672         scalbln, scalblnf, scalblnl in libc.
35674 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35676         [BZ #17086]
35677         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35678         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35679         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35681 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35683         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35684         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35685         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35686         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35687         Update #include.
35688         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35689         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35690         Update #include.
35691         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35692         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35693         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35694         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35695         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35696         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35697         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35698         * sysdeps/x86/bits/semaphore.h: ... here.
35699         * sysdeps/x86/nptl/elide.h: Moved ...
35700         * sysdeps/x86/elide.h: ... here.
35701         * sysdeps/x86_64/nptl/Implies: File removed.
35702         * sysdeps/i386/nptl/Implies: File removed.
35704 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35706         [BZ #16539]
35707         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35708         return the argument for normal arguments with exponent below -64.
35709         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35710         Likewise.
35711         * math/auto-libm-test-in: Add another test of expm1.
35712         * math/auto-libm-test-out: Regenerated.
35714         [BZ #16287]
35715         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35716         calling __erfcl for arguments at least 16.
35717         * math/auto-libm-test-in: Add more tests of erf.
35718         * math/auto-libm-test-out: Regenerated.
35720         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35721         individual architectures.
35722         * sysdeps/unix/sysv/linux/configure: Regenerated.
35723         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35724         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35725         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35726         (ldd_rewrite_script): Define variable.
35727         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35729         file.
35730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35731         generated file.
35732         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35733         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35734         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35735         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35736         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35737         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35738         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35739         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35741 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35743         [BZ #17084]
35744         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35745         Rename member __data.d to __data.__elision_data.
35747 2014-06-24  Wilco  <wdijkstr@arm.com>
35749         * NEWS: Add 16918 to fixed bug list.
35751 2014-06-24  Wilco  <wdijkstr@arm.com>
35753         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35755 2014-06-24  Wilco  <wdijkstr@arm.com>
35757         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35758         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35759         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35760         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35761         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35762         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35763         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35764         Use _FPU_MASK_RM.
35766 2014-06-24  Wilco  <wdijkstr@arm.com>
35768         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35770 2014-06-24  Wilco  <wdijkstr@arm.com>
35772         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35773         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35774         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35775         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35777 2014-06-24  Wilco  <wdijkstr@arm.com>
35779         [BZ #16918]
35780         * sysdeps/arm/feupdateenv.c (feupdateenv):
35781         Rewrite to reduce FPSCR accesses and fix return value.
35783 2014-06-24  Wilco  <wdijkstr@arm.com>
35785         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35786         Optimize to avoid unnecessary FPSCR writes.
35787         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35788         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35789         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35790         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35792 2014-06-24  Wilco  <wdijkstr@arm.com>
35794         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35795         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35796         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35797         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35798         Call libc_fetestexcept_vfp.
35799         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35800         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35801         __SOFTFP__ ifdef so that they can be built for softfp.
35803 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35805         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35806         argument type signed char.
35808         * Makerules (check-abi): Dump diff of symlist if the test
35809         fails.
35811 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35813         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35814         using abort.
35816         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35817         Remove unused variable ST.
35819 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35821         [BZ #16354]
35822         [BZ #17061]
35823         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35824         small arguments before calling __expm1.
35825         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35826         small arguments before calling __expm1f.
35827         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35828         small arguments before calling __expm1l.
35829         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35830         Likewise.
35831         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35832         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35833         spurious underflow for some cosh tests.
35834         * math/auto-libm-test-out: Regenerated.
35835         * sysdeps/i386/fpu/libm-test-ulps: Update.
35837         [BZ #17050]
35838         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35839         (__ieee754_y1): Set errno if return value overflows.
35840         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35841         (__ieee754_y1f): Set errno if return value overflows.
35842         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35843         (__ieee754_y1l): Set errno if return value overflows.
35844         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35845         (__ieee754_y1l): Set errno if return value overflows.
35846         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35847         * math/auto-libm-test-out: Regenerated.
35849         * math/gen-auto-libm-tests.c: Document use of
35850         ignore-zero-inf-sign.
35851         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35852         (input_flags): Add ignore-zero-inf-sign.
35853         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35854         * math/gen-libm-test.pl (generate_testfile): Handle
35855         ignore-zero-inf-sign.
35856         * math/auto-libm-test-in: Mark some cpow tests with
35857         ignore-zero-inf-sign and some with xfail-rounding.
35858         * math/auto-libm-test-out: Regenerated.
35859         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35860         * sysdeps/i386/fpu/libm-test-ulps: Update.
35861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35863         [BZ #16315]
35864         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35865         overflowing or underflowing operations take place with sign of
35866         result.
35867         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35868         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35869         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35870         (__ieee754_pow): Recompute overflowing and underflowing results in
35871         original rounding mode.
35872         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35873         (__powl_helper): Allow negative argument X and scale negated value
35874         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35875         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35876         overflowing or underflowing operations take place with sign of
35877         result.
35878         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35879         Include <math.h>.
35880         * math/auto-libm-test-in: Add more tests of pow.
35881         * math/auto-libm-test-out: Regenerated.
35882         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35883         (pow_tonearest_test_data): Remove.
35884         (pow_test_tonearest): Likewise.
35885         (pow_towardzero_test_data): Likewise.
35886         (pow_test_towardzero): Likewise.
35887         (pow_downward_test_data): Likewise.
35888         (pow_test_downward): Likewise.
35889         (pow_upward_test_data): Likewise.
35890         (pow_test_upward): Likewise.
35891         (main): Don't call removed functions.
35892         * sysdeps/i386/fpu/libm-test-ulps: Update.
35893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35895 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35898         Moved ...
35899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35901         Moved ...
35902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35904         Moved ...
35905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35907         Moved ...
35908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35910         File removed.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35912         File removed.
35913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35914         File removed.
35915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35916         File removed.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35918         File removed.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35920         File removed.
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35922         File removed.
35923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35924         File removed.
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35926         File removed.
35927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35928         File removed.
35929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35930         File removed.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35932         File removed.
35933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35934         Moved ...
35935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35937         Moved ...
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35939         ... here.
35940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35941         Moved ...
35942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35944         Moved ...
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35947         Moved ...
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35950         Moved ...
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35953         Moved ...
35954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35959         Moved ...
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35963         ... here.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35965         Moved ...
35966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35968         Moved ...
35969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35970         ... here.
35971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35972         Moved ...
35973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35974         ... here.
35975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35976         Moved ...
35977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35978         ... here.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35980         Moved ...
35981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35983         Moved ...
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35988         Moved ...
35989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35990         ... here.
35991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35992         Moved ...
35993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35994         ... here.
35995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35996         Moved ...
35997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35999         Moved ...
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36002         Moved ...
36003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36005         Moved ...
36006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36008         Moved ...
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36010         ... here.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36012         Moved ...
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36015         Moved ...
36016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36018         Moved ...
36019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36021         Moved ...
36022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36026         Moved ...
36027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36029         Moved ...
36030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36032         Moved ...
36033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36034         ... here.
36035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36036         Moved ...
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36038         ... here.
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36040         Moved ...
36041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36042         ... here.
36043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36047         Moved ...
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36050         Moved ...
36051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36053         Moved ...
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36055         ... here.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36057         Moved ...
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36059         ... here.
36060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36061         Moved ...
36062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36063         ... here.
36064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36065         Moved ...
36066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36068         Moved ...
36069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36071 2014-06-23  Will Newton  <will.newton@linaro.org>
36072             Wilco  <wdijkstr@arm.com>
36074         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36075         implementation.  Include get-rounding-mode.h.
36076         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36077         [!libc_feholdsetround_noex_ctx]: Define
36078         libc_feholdsetround_noex_ctx.
36079         [!libc_feholdsetround_noexf_ctx]: Define
36080         libc_feholdsetround_noexf_ctx.
36081         [!libc_feholdsetround_noexl_ctx]: Define
36082         libc_feholdsetround_noexl_ctx.
36083         (libc_feholdsetround_ctx): New function.
36084         (libc_feresetround_ctx): New function.
36085         (libc_feholdsetround_noex_ctx): New function.
36086         (libc_feresetround_noex_ctx): New function.
36088 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36090         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36091         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36092         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36093         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36094         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36095         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36097         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36098         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36099         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36100         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36101         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36102         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36104         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36106         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36108         Moved ...
36109         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36110         ... here.
36111         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36112         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36114         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36116         Moved ...
36117         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36119         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36121         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36123         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36125         Moved ...
36126         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36128         Moved ...
36129         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36131         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36133         Moved ...
36134         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36136         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36137         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36138         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36139         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36140         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36142         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36144         Moved ...
36145         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36146         ... here.
36147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36148         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36150         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36152         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36154         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36156         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36158         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36160         Moved ...
36161         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36163         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36165         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36167         Moved ...
36168         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36170         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36171         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36172         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36174         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36175         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36176         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36177         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36178         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36179         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36180         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36181         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36182         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36183         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36184         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36185         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36186         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36187         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36188         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36189         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36190         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36191         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36192         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36193         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36194         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36195         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36196         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36197         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36198         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36199         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36200         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36201         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36203 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36206         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36207         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36208         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36209         (IPV6_PMTUDISC_INTERFACE): Likewise.
36210         (IPV6_PMTUDISC_OMIT): Likewise.
36212 2014-06-23  Andreas Schwab  <schwab@suse.de>
36214         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36215         Remove unused errout label.
36217 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36219         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36220         macro: hardware supports Vector Crypto instructions.
36222 2014-06-23  Will Newton  <will.newton@linaro.org>
36224         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36225         rather than __builtin_expect.
36227         * elf/dl-lookup.c (undefined_msg): Remove variable.
36228         (_dl_lookup_symbol_x): Replace undefined_msg with string
36229         literal.
36231         * elf/dl-lookup.c (do_lookup_unique): New function.
36232         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36233         to a separate function.
36235 2014-06-23  Andreas Schwab  <schwab@suse.de>
36237         [BZ #17079]
36238         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36239         before reading the next line.
36241 2014-06-23  Will Newton  <will.newton@linaro.org>
36243         * test-skeleton.c (signal_handler): Use printf and %m
36244         rather than perror.  Use printf rather than fprintf to
36245         stderr.  Use puts rather than fputs to stderr.
36246         (main): Likewise.
36248 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36250         * nscd/nscd.c (thread_info_t): Remove typedef.
36251         (thread_info): Remove variable.
36253 2014-06-21  Allan McRae  <allan@archlinux.org>
36255         * NEWS: Mention CVE-2014-4043.
36257 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36259         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36260         * nptl/smp.h: ... here.
36262         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36264         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36265         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36266         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36267         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36269         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36270         * nptl/stack-aliasing.h: New file.
36271         * sysdeps/i386/i686/stack-aliasing.h: New file.
36272         * sysdeps/i386/i686/nptl/Makefile: File removed.
36273         * sysdeps/x86_64/stack-aliasing.h: New file.
36274         * sysdeps/x86_64/nptl/Makefile
36275         (CFLAGS-pthread_create.c): Variable removed.
36277         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36278         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36279         old file.
36280         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36281         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36282         old file.
36284 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36287         (__ASSUME_SIGFRAME_V2): Remove macro.
36288         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36289         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36290         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36291         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36292         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36293         Declare as function.  Remove conditional macro definitions.
36294         (__default_rt_sa_restorer): Likewise.
36295         (__default_sa_restorer_v1): Remove declaration.
36296         (__default_sa_restorer_v2): Likewise.
36297         (__default_rt_sa_restorer_v1): Likewise.
36298         (__default_rt_sa_restorer_v2): Likewise.
36299         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36300         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36301         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36303 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36305         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36306         (libpthread-routines): Add sysdep.
36307         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36308         * sysdeps/unix/sysv/linux/sparc/Versions
36309         (libpthread: GLIBC_2.3.3): New version set.
36310         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36311         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36312         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36314         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36315         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36316         Moved ...
36317         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36318         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36319         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36320         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36321         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36322         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36323         * sysdeps/sparc/nptl/sem_init.c: ... here.
36324         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36325         * sysdeps/sparc/nptl/sem_post.c: ... here.
36326         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36327         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36328         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36329         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36330         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36331         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36332         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36333         (libpthread-routines): Add cpu_relax.
36334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36335         File removed.
36336         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36337         (librt: GLIBC_2.3.3): New version set.
36338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36339         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36340         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36341         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36344         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36346         Moved ...
36347         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36349         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36351         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36353         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36355         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36357         Moved ...
36358         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36359         Update #include.
36360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36361         Moved ...
36362         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36363         Update #include.
36364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36365         Moved ...
36366         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36367         Update #include.
36368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36369         Moved ...
36370         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36371         Update #include.
36372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36373         Moved ...
36374         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36375         Update #include.
36376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36377         Moved ...
36378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36379         Update #include.
36380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36381         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36387         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36389         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36391         Moved ...
36392         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36394         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36396         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36398 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36400         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36401         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36402         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36403         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36404         * nscd/nscd.c: Likewise.
36405         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36406         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36407         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36408         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36410         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36411         <kernel-features.h>.
36412         (init_mq_netlink): Remove conditional have_sock_cloexec
36413         definitions.  Remove code conditional on have_sock_cloexec < 0.
36414         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36415         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36416         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36417         <kernel-features.h>.
36418         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36419         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36421 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36424         Add tests for memset_chk and memset.
36426         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36427         with AVX2_Usable.
36429 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36431         [BZ #16046]
36432         * elf/tst-dl-iter-static.c: New file.
36433         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36435         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36436         error.
36438 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36440         * sysdeps/unix/sysv/linux/kernel-features.h
36441         (__ASSUME_F_GETOWN_EX): Remove macro.
36442         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36443         <kernel-features.h>.
36444         (miss_F_GETOWN_EX): Remove variable or macro.
36445         (do_fcntl): Do not check miss_F_GETOWN_EX.
36446         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36448         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36449         Remove macro.
36450         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36451         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36452         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36454         * sysdeps/unix/sysv/linux/kernel-features.h
36455         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36456         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36457         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36458         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36460 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36462         [BZ #17075]
36463         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36464         Fix calculation of the symbol's value.
36465         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36466         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36467         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36468         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36469         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36470         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36471         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36472         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36473         (modules-names): Add `tst-armtlsdescmod',
36474         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36475         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36476         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36477         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36478         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36479         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36480         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36481         ($(objpfx)tst-armtlsdescloc): New dependency.
36482         ($(objpfx)tst-armtlsdescextnow): Likewise.
36483         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36484         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36485         TLS scheme support.
36486         * sysdeps/arm/configure: Regenerate.
36488 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36490         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36491         (__atfct_seterrno_2): Likewise.
36492         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36493         <kernel-features.h>.
36494         (__ASSUME_ATFCTS): Do not undefine and redefine.
36495         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36496         (__have_atfcts): Remove conditional definition.
36497         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36498         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36499         unreachable if [__ASSUME_ATFCTS].
36500         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36501         not undefine and redefine.
36502         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36503         <kernel-features.h>.
36504         (faccessat) [__NR_faccessat]: Make code unconditional.
36505         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36506         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36507         <kernel-features.h>.
36508         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36509         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36510         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36511         <kernel-features.h>.
36512         (fchownat) [__NR_fchownat]: Make code unconditional.
36513         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36514         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36515         <kernel-features.h>.
36516         (futimesat) [__NR_futimesat]: Make code unconditional.
36517         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36518         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36519         <kernel-features.h>.
36520         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36521         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36522         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36523         <kernel-features.h>.
36524         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36525         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36526         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36527         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36528         <kernel-features.h>.
36529         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36530         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36531         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36532         <kernel-features.h>.
36533         (linkat) [__NR_linkat]: Make code unconditional.
36534         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36535         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36536         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36537         <kernel-features.h>.
36538         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36539         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36540         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36541         <kernel-features.h>.
36542         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36543         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36544         * sysdeps/unix/sysv/linux/openat.c: Do not include
36545         <kernel-features.h>.
36546         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36547         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36548         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36549         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36550         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36551         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36552         <kernel-features.h>.
36553         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36554         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36555         result of INLINE_SYSCALL directly, not via int variable.
36556         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36557         <kernel-features.h>.
36558         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36559         (renameat) [__NR_renameat]: Make code unconditional.
36560         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36561         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36562         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36563         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36564         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36565         (__ASSUME_ATFCTS): Do not undefine and redefine.
36566         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36567         <kernel-features.h>.
36568         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36569         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36570         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36571         <kernel-features.h>.
36572         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36573         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36574         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36575         (__ASSUME_ATFCTS): Do not undefine and redefine.
36576         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36577         <kernel-features.h>.
36578         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36579         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36580         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36581         <kernel-features.h>.
36582         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36583         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36585 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36587         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36589 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36591         [BZ #17069]
36592         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36593         constructed tree before returning error.
36594         * posix/bug-regexp36.c: Expand test case.
36596 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36598         [BZ #6803]
36599         * math/libm-test.inc (scalbln_test_date):
36600         Add errno expectations.
36601         * math/w_scalblnf.c: New File.
36602         Add wrapper which checks for setting errno to ERANGE.
36603         Add weak_alias for corresponding scalbln function.
36604         * math/w_scalbln.c: Likewise.
36605         * math/w_scalblnl.c: Likewise.
36606         * math/Makefile (libm-calls): Add w_scalbln.
36607         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36608         Remove weak_alias for corresponding scalbln function.
36609         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36611         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36613         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36614         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36615         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36616         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36617         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36618         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36619         Remove long_double_symbol for scalblnl function in libm, libc.
36620         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36621         Add wrapper which checks for setting errno to ERANGE.
36622         Add long_double_symbol for scalblnl function in libm, libc.
36623         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36624         Remove long_double_symbol for scalblnl in libm.
36625         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36626         Add wrapper which checks for setting errno to ERANGE.
36627         Add long_double_symbol for scalblnl function in libm.
36628         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36629         Do not use wrapper because of own implementation.
36631 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36633         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36634         3 bytes for __pad1 for x32.
36635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36637 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36638             H.J. Lu  <hongjiu.lu@intel.com>
36640         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36641         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36642         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36644         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36646 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36648         [BZ #17069]
36649         * posix/regcomp.c (parse_expression): Deallocate partially
36650         constructed tree before returning error.
36651         * posix/Makefile.c (tests): Add bug-regex36.
36652         (generated): Add bug-regex36.mtrace.
36653         (tests-special): Add $(objpfx)bug-regex36-mem.out
36654         (bug-regex36-ENV): New variable.
36655         ($(objpfx)bug-regex36-mem.out): New rule.
36656         * posix/bug-regex36.c: New file.
36658 2014-06-19  Will Newton  <will.newton@linaro.org>
36660         * malloc/malloc.c (systrim): If extra is zero then return
36661         early.
36663 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36665         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36667 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36669         * sysdeps/aarch64/strchr.S: New file.
36671 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36673         [BZ #17022]
36674         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36675         from arguments -2 or below.
36676         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36677         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36679 2014-06-18  Andreas Schwab  <schwab@suse.de>
36681         [BZ #17062]
36682         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36683         of a bracket expr not to run off the end of the string.
36684         * posix/Makefile (tests): Add tst-fnmatch3.
36685         * posix/tst-fnmatch3.c: New file.
36687 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36689         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36690         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36691         [$(cross-compiling) = no]: Likewise.
36692         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36693         [$(cross-compiling) = no]: Likewise.
36695 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36697         [BZ #17031]
36698         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36699         double, adjusted for any remainder from the high double.
36700         * math/libm-test.inc (nearbyint): Add tests.
36701         (rint): Likewise.
36703 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36705         * nptl/sysdeps/powerpc/Makefile: Moved ...
36706         * sysdeps/powerpc/nptl/Makefile: ... here.
36707         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36708         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36709         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36710         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36711         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36712         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36713         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36714         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36715         * nptl/sysdeps/powerpc/tls.h: Moved ...
36716         * sysdeps/powerpc/nptl/tls.h: ... here.
36718 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36720         [BZ #16681]
36721         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36722         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36723         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36724         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36725         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36726         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36727         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36728         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36729         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36731 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36733         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36735 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36737         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36738         defined operator.
36740         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36741         $TIMEOUTFACTOR.
36743 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36745         [BZ #17058]
36746         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36747         non-executed part of the test.
36749 2014-06-16  Andreas Schwab  <schwab@suse.de>
36751         * string/bits/string2.h (strdup, strndup): Update feature guard.
36753 2014-06-14  David S. Miller  <davem@davemloft.net>
36755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36757 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36759         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36760         that was previously under [RESET_PID].
36761         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36763         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36764         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36765         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36766         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36767         (__libc_vfork): New strong alias.
36768         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36770 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36772         * sysdeps/generic/elide.h: New file.
36774 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36776         * Makefile (installed-headers): Adjust path of pthread.h header.
36778 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36780         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36781         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36782         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36783         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36785         * nptl/sysdeps/s390/Makefile: Moved ...
36786         * sysdeps/s390/nptl/Makefile: ... here.
36787         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36788         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36789         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36790         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36791         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36792         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36793         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36794         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36795         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36796         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36797         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36798         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36799         * nptl/sysdeps/s390/tls.h: Moved ...
36800         * sysdeps/s390/nptl/tls.h: ... here.
36802         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36803         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36805 2014-06-13  David S. Miller  <davem@davemloft.net>
36807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36810         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36814         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36815         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36816         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36817         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36818         Remove RESET_PID cpp guards.
36819         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36820         Remove RESET_PID cpp guards.
36821         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36823 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36825         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36826         __sp to uintptr_t.
36828 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36830         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36831         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36835         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36840         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36841         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36842         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36845         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36851         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36852         (pthread_rwlock_rdlock): Add elision.
36853         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36854         (pthread_rwlock_wrlock): Add elision.
36855         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36856         (pthread_rwlock_trywrlock): Add elision.
36857         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36858         (pthread_rwlock_tryrdlock): Add elision.
36859         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36860         (pthread_rwlock_tryrdlock): Add elision unlock.
36861         * nptl/sysdeps/pthread/pthread.h:
36862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36863         (PTHREAD_RWLOCK_INITIALIZER,
36864         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36865         Handle new elision field.
36866         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36867         * sysdeps/arm/nptl/bits/pthreadtypes.h
36868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36869         * sysdeps/sh/nptl/bits/pthreadtypes.h
36870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36871         * sysdeps/tile/nptl/bits/pthreadtypes.h
36872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36873         * sysdeps/a/nptl/bits/pthreadtypes.h
36874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36875         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36877         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36879         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36883         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36885         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36887         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36889         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36891         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36892         (elision_init): Set try_xbegin to zero when no RTM.
36893         * sysdeps/x86/nptl/bits/pthreadtypes.h
36894         (pthread_rwlock_t): Change __pad1 to __rwelision.
36895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36897 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36899         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36900         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36901         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36902         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36904 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36906         [BZ #16996]
36907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36908         that the cached result has been set before returning it.
36910 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36912         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36913         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36914         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36915         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36916         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36917         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36919         * nptl/sysdeps/sparc/Makefile: Moved ...
36920         * sysdeps/sparc/nptl/Makefile: ... here.
36921         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36922         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36923         * nptl/sysdeps/sparc/tls.h: Moved ...
36924         * sysdeps/sparc/nptl/tls.h: ... here.
36925         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36926         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36927         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36928         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36929         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36930         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36931         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36932         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36933         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36934         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36935         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36936         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36937         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36938         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36939         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36940         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36941         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36943         Update #include.
36944         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36946         Update #include.
36947         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36949         Update #include.
36950         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36952         Update #include.
36954         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36956         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36957         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36959         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36960         (struct list_links): Type removed.
36961         (struct thread_node, struct timer_node): Replace struct list_links
36962         with struct list_head.
36963         (list_unlink_ip): Likewise.
36964         * sysdeps/pthread/timer_routines.c
36965         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36966         (list_append, list_insbefore): Likewise.
36967         (list_init): Function removed.
36968         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36969         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36970         * sysdeps/pthread/Makefile: ... here, new file.
36972         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36973         * sysdeps/nptl/Implies: ... here.
36974         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36975         * nptl/sysdeps/pthread/list.h: Moved ...
36976         * include/list.h: ... here.
36977         * nptl/sysdeps/pthread/createthread.c: Moved ...
36978         * nptl/createthread.c: ... here.
36979         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36980         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36981         * nptl/pt-longjmp.c: ... here.
36982         * nptl/sysdeps/pthread/Makefile: Moved ...
36983         * sysdeps/nptl/Makefile: ... here.
36984         * nptl/sysdeps/pthread/Subdirs: Moved ...
36985         * sysdeps/nptl/Subdirs: ... here.
36986         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36987         * sysdeps/nptl/aio_misc.h: ... here.
36988         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36989         * sysdeps/nptl/bits/libc-lock.h: ... here.
36990         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36991         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36992         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36993         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36994         * nptl/sysdeps/pthread/configure: Moved ...
36995         * sysdeps/nptl/configure: ... here.
36996         * nptl/sysdeps/pthread/configure.ac: Moved ...
36997         * sysdeps/nptl/configure.ac: ... here.
36998         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36999         * sysdeps/nptl/gai_misc.h: ... here.
37000         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37001         * sysdeps/nptl/librt-cancellation.c: ... here.
37002         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37003         * sysdeps/nptl/malloc-machine.h: ... here.
37004         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37005         * sysdeps/nptl/pthread-functions.h: ... here.
37006         * nptl/sysdeps/pthread/pthread.h: Moved ...
37007         * sysdeps/nptl/pthread.h: ... here.
37008         * nptl/sysdeps/pthread/setxid.h: Moved ...
37009         * sysdeps/nptl/setxid.h: ... here.
37010         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37011         * sysdeps/nptl/sigfillset.c: ... here.
37012         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37013         * sysdeps/nptl/tcb-offsets.h: ... here.
37014         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37015         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37016         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37017         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37018         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37019         * sysdeps/pthread/allocalim.h: ... here.
37020         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37021         * sysdeps/pthread/bits/sigthread.h: ... here.
37022         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37023         * sysdeps/pthread/flockfile.c: ... here.
37024         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37025         * sysdeps/pthread/ftrylockfile.c: ... here.
37026         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37027         * sysdeps/pthread/funlockfile.c: ... here.
37028         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37029         * sysdeps/pthread/posix-timer.h: ... here.
37030         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37031         * sysdeps/pthread/timer_create.c: ... here.
37032         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37033         * sysdeps/pthread/timer_delete.c: ... here.
37034         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37035         * sysdeps/pthread/timer_getoverr.c: ... here.
37036         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37037         * sysdeps/pthread/timer_gettime.c: ... here.
37038         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37039         * sysdeps/pthread/timer_routines.c: ... here.
37040         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37041         * sysdeps/pthread/timer_settime.c: ... here.
37042         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37043         * sysdeps/pthread/tst-timer.c: ... here.
37044         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37045         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37047         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37048         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37050         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37051         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37052         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37053         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37054         Update #include target.
37055         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37056         * sysdeps/i386/i686/nptl/Makefile: ... here.
37057         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37058         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37059         Update #include target.
37060         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37061         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37062         * nptl/sysdeps/i386/Makefile: Moved ...
37063         * sysdeps/i386/nptl/Makefile: ... here.
37064         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37065         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37066         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37067         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37068         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37069         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37070         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37071         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37072         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37073         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37074         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37075         * nptl/sysdeps/i386/tls.h: Moved ...
37076         * sysdeps/i386/nptl/tls.h: ... here.
37078         * sysdeps/sh/Makefile [$(subdir) = csu]
37079         (gen-as-const-headers): Add tcb-offsets.sym.
37080         * nptl/sysdeps/sh/Makefile: File removed.
37081         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37082         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37083         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37084         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37085         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37086         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37087         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37088         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37089         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37090         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37091         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37092         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37093         * nptl/sysdeps/sh/tls.h: Moved ...
37094         * sysdeps/sh/nptl/tls.h: ... here.
37095         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37096         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37097         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37098         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37099         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37100         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37101         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37104         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37106         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37108         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37110         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37112         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37114         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37116         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37118         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37120         Moved ...
37121         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37123         Moved ...
37124         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37126         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37128         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37129         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37130         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37131         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37132         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37133         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37134         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37135         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37136         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37137         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37138         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37139         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37140         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37141         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37142         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37144 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37146         * posix/spawn_faction_addopen.c: Include string.h.
37148 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37150         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37151         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37152         * nptl/sysdeps/x86_64/Makefile: Moved ...
37153         * sysdeps/x86_64/nptl/Makefile: ... here.
37154         * nptl/sysdeps/x86_64/configure: Moved ...
37155         * sysdeps/x86_64/nptl/configure: ... here.
37156         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37157         * sysdeps/x86_64/nptl/configure.ac: ... here.
37158         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37159         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37160         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37161         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37162         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37163         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37164         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37165         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37166         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37167         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37168         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37169         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37170         * nptl/sysdeps/x86_64/tls.h: Moved ...
37171         * sysdeps/x86_64/nptl/tls.h: ... here.
37172         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37173         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37174         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37175         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37177         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37179 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37183 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37185         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37186         type.
37187         [POSIX] (off_t): Likewise.
37188         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37189         [POSIX] (S_ISBLK): Require macro.
37190         [POSIX] (S_ISCHR): Likewise.
37191         [POSIX] (S_ISDIR): Likewise.
37192         [POSIX] (S_ISFIFO): Likewise.
37193         [POSIX] (S_ISREG): Likewise.
37194         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37195         optional-macro.
37196         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37197         type.
37198         [POSIX] (time_t): Likewise.
37199         [POSIX] (timer_t): Likewise.
37201 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37203         [BZ #17048]
37204         * posix/spawn_int.h (struct __spawn_action): Make the path string
37205         non-const to support deallocation.
37206         * posix/spawn_faction_addopen.c
37207         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37208         * posix/spawn_faction_destroy.c
37209         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37210         path in all spawn_do_open actions.
37211         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37212         posix_spawn_file_actions_addopen.
37214 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37216         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37217         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37218         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37219         conditional code always true.
37220         (__libc_vfork): New alias.
37222 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37224         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37225         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37227         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37229         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37230         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37232         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37233         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37235         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37236         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37238 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37240         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37241         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37242         multiarch strcmp for PPC64.
37243         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37244         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37246         multiarch optimizations.
37247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37248         (__libc_ifunc_impl_list): Likewise.
37250 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37252         * benchtests/scripts/validate_benchout.py: New script.
37253         * benchtests/Makefile (bench-func): Call it.
37254         * benchtests/scripts/benchout.schema.json: New file.
37256 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37258         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37259         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37260         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37261         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37262         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37263         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37264         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37265         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37266         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37267         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37268         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37269         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37270         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37271         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37272         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37273         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37275         Moved ...
37276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37277         ... here.
37278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37279         Moved ...
37280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37282         Moved ...
37283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37284         ... here.
37285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37286         Moved ...
37287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37288         ... here.
37289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37290         Moved ...
37291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37293         Moved ...
37294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37295         ... here.
37296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37297         Moved ...
37298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37299         ... here.
37300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37301         Moved ...
37302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37304         Moved ...
37305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37306         ... here.
37307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37308         Moved ...
37309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37310         ... here.
37311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37312         Moved ...
37313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37314         ... here.
37315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37316         Moved ...
37317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37319         Moved ...
37320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37321         ... here.
37322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37323         Moved ...
37324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37325         ... here.
37326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37327         Moved ...
37328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37329         ... here.
37330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37331         Moved ...
37332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37334         Moved ...
37335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37336         ... here.
37337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37338         Moved ...
37339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37340         ... here.
37341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37342         Moved ...
37343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37345         Moved ...
37346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37347         ... here.
37348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37349         Moved ...
37350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37352         Moved ...
37353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37355         Moved ...
37356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37357         ... here.
37358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37359         Moved ...
37360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37361         ... here.
37362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37363         Moved ...
37364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37365         ... here.
37366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37367         Moved ...
37368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37370         Moved ...
37371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37372         ... here.
37373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37374         Moved ...
37375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37376         ... here.
37377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37378         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37380         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37382         Moved ...
37383         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37384         ... here.
37385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37386         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37388         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37390         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37392         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37394         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37396         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37398         Moved ...
37399         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37401         Moved ...
37402         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37404         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37406         Moved ...
37407         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37409         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37410         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37411         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37412         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37413         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37415 2014-06-10  Wilco  <wdijkstr@arm.com>
37417         * math/test-fenv-return.c: New file.
37418         * math/Makefile: Add new test test-fenv-return.
37420 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37422         [BZ #17042]
37423         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37424         when x - 1 is zero.
37425         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37426         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37427         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37428         0.0L for an argument of 1.0L.
37429         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37430         Likewise.
37431         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37432         value when x - 1 is zero.
37433         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37434         * sysdeps/i386/fpu/libm-test-ulps: Update.
37435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37437 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37439         [BZ #15119]
37440         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37442 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37444         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37445         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37447 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37449         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37450         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37452         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37453         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37455         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37456         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37458         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37459         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37461         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37462         if not already defined.
37463         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37464         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37465         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37466         (TLS_INIT_TP): Use it.
37467         (TLS_DEFINE_INIT_TP): New macro.
37468         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37470 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37472         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37473         constant.
37474         [POSIX] (IXANY): Likewise.
37475         [POSIX] (OLCUC): Likewise.
37476         [POSIX || POSIX2008] (CBAUD): Do not allow.
37477         [POSIX || POSIX2008] (DEFECHO): Likewise.
37478         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37479         [POSIX || POSIX2008] (ECHOKE): Likewise.
37480         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37481         [POSIX || POSIX2008] (EXTA): Likewise.
37482         [POSIX || POSIX2008] (EXTB): Likewise.
37483         [POSIX || POSIX2008] (FLUSHO): Likewise.
37484         [POSIX || POSIX2008] (LOBLK): Likewise.
37485         [POSIX || POSIX2008] (PENDIN): Likewise.
37486         [POSIX || POSIX2008] (SWTCH): Likewise.
37487         [POSIX || POSIX2008] (VDISCARD): Likewise.
37488         [POSIX || POSIX2008] (VDSUSP): Likewise.
37489         [POSIX || POSIX2008] (VLNEXT): Likewise.
37490         [POSIX || POSIX2008] (VREPRINT): Likewise.
37491         [POSIX || POSIX2008] (VSTATUS): Likewise.
37492         [POSIX || POSIX2008] (VWERASE): Likewise.
37493         (B*): Change to B[0123456789]*.
37494         * conform/data/time.h-data [POSIX || UNIX98]
37495         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37496         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37497         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37498         [POSIX] (tm_*): Do not allow.
37500 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37502         * Makefile (install): Don't set LANGUAGE.
37503         * Makefile.in (install): Likewise.
37504         * assert/Makefile (test-assert-ENV): Remove variable.
37505         (test-assert-perr-ENV): Likewise.
37506         * elf/Makefile (neededtest4-ENV): Likewise.
37507         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37508         [$(cross-compiling) = no]: Don't set LANGUAGE.
37509         * io/ftwtest-sh (LANG): Remove variable.
37510         * libio/Makefile (tst-widetext-ENV): Likewise.
37511         * manual/install.texi (Running make install): Don't refer to
37512         environment settings for make install.
37513         * INSTALL: Regenerated.
37514         * nptl/tst-tls6.sh: Don't set LANG.
37515         * posix/globtest.sh (LANG): Remove variable.
37516         * string/Makefile (tester-ENV): Likewise.
37517         (inl-tester-ENV): Likewise.
37518         (noinl-tester-ENV): Likewise.
37519         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37520         [$(cross-compiling) = no]: Don't set LANGUAGE.
37521         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37522         without explicit environment settings.
37524 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37526         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37527         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37528         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37529         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37531 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37533         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37534         other files in the crypt directory.
37535         * crypt/crypt.c: Remove duplicate includes.
37536         * crypt/crypt-entry.c: Likewise.
37537         * crypt/crypt_util.c: Likewise.
37539 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37541         * Makeconfig (run-program-env): New variable.
37542         (run-program-prefix-before-env): Likewise.
37543         (run-program-prefix-after-env): Likewise.
37544         (run-program-prefix): Define in terms of new variables.
37545         (built-program-cmd-before-env): New variable.
37546         (built-program-cmd-after-env): Likewise.
37547         (built-program-cmd): Define in terms of new variables.
37548         (test-program-prefix-before-env): New variable.
37549         (test-program-prefix-after-env): Likewise.
37550         (test-program-prefix): Define in terms of new variables.
37551         (test-program-cmd-before-env): New variable.
37552         (test-program-cmd-after-env): Likewise.
37553         (test-program-cmd): Define in terms of new variables.
37554         * Rules (make-test-out): Use $(run-program-env).
37555         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37556         (help): Do not mention environment variables.  Mention
37557         --timeoutfactor option.
37558         (timeoutfactor): New variable.
37559         (blacklist_exports): Remove function.
37560         (exports): Remove variable.
37561         (command): Do not include ${exports}.
37562         * manual/install.texi (Configuring and compiling): Do not mention
37563         test wrappers preserving environment variables.  Mention that last
37564         assignment to a variable must take precedence.
37565         * INSTALL: Regenerated.
37566         * benchtests/Makefile (run-bench): Use $(run-program-env).
37567         * catgets/Makefile ($(objpfx)test1.cat): Use
37568         $(built-program-cmd-before-env), $(run-program-env) and
37569         $(built-program-cmd-after-env).
37570         ($(objpfx)test2.cat): Do not specify environment variables
37571         explicitly.
37572         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37573         $(run-program-env) and $(built-program-cmd-after-env).
37574         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37575         $(run-program-env) and $(test-program-cmd-after-env).
37576         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37577         explicitly.
37578         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37579         run_program_env and test_program_cmd_after_env arguments.
37580         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37581         * elf/tst-pathopt.sh: Use run_program_env argument.
37582         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37583         $(test-wrapper-env) and $(run-program-env).
37584         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37585         run_program_env arguments.
37586         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37587         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37588         $(test-program-prefix-before-env), $(run-program-env) and
37589         $(test-program-prefix-after-env).
37590         ($(objpfx)tst-gettext2.out): Likewise.
37591         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37592         run_program_env and test_program_prefix_after_env arguments.
37593         * intl/tst-gettext2.sh: Likewise.
37594         * intl/tst-gettext4.sh: Do not set environment variables
37595         explicitly.
37596         * intl/tst-gettext6.sh: Likewise.
37597         * intl/tst-translit.sh: Likewise.
37598         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37599         $(test-program-prefix-before-env), $(run-program-env) and
37600         $(test-program-prefix-after-env).
37601         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37602         run_program_env and test_program_prefix_after_env arguments.
37603         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37604         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37605         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37606         explicitly with each use of ${test_wrapper_env}.
37607         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37608         $(test-program-prefix-before-env), $(run-program-env) and
37609         $(test-program-prefix-after-env).
37610         * posix/tst-getconf.sh: Do not set environment variables
37611         explicitly.
37612         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37613         run_program_env and test_program_prefix_after_env arguments.
37614         * stdio-common/tst-printf.sh: Do not set environment variables
37615         explicitly.
37616         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37617         $(test-program-prefix-before-env), $(run-program-env) and
37618         $(test-program-prefix-after-env).
37619         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37620         run_program_env and test_program_prefix_after_env arguments.
37621         Split $test calls into $test_pre and $test.
37622         * timezone/Makefile (build-testdata): Use
37623         $(built-program-cmd-before-env), $(run-program-env) and
37624         $(built-program-cmd-after-env).
37626 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37628         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37629         strlen for non SHARED builds.
37631 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37633         * nptl/allocatestack.c (check_list): Inlined function...
37634         (__reclaim_stacks): ... here.
37636 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37638         [BZ #15698]
37639         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37640         memory overrun.
37642 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37644         * Rules (make-test-out): Include
37645         LOCPATH=$(common-objpfx)localedata in default environment.
37646         * debug/Makefile (tst-chk1-ENV): Remove variable.
37647         (tst-chk2-ENV): Likewise.
37648         (tst-chk3-ENV): Likewise.
37649         (tst-chk4-ENV): Likewise.
37650         (tst-chk5-ENV): Likewise.
37651         (tst-chk6-ENV): Likewise.
37652         (tst-lfschk1-ENV): Likewise.
37653         (tst-lfschk2-ENV): Likewise.
37654         (tst-lfschk3-ENV): Likewise.
37655         (tst-lfschk4-ENV): Likewise.
37656         (tst-lfschk5-ENV): Likewise.
37657         (tst-lfschk6-ENV): Likewise.
37658         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37659         (tst-iconv7-ENV): Likewise.
37660         * intl/Makefile (LOCPATH-ENV): Likewise.
37661         (tst-codeset-ENV): Likewise.
37662         (tst-gettext3-ENV): Likewise.
37663         (tst-gettext5-ENV): Likewise.
37664         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37665         (tst-fopenloc-ENV): Likewise.
37666         (tst-fgetws-ENV): Remove variable.
37667         (tst-ungetwc1-ENV): Likewise.
37668         (tst-ungetwc2-ENV): Likewise.
37669         (bug-ungetwc2-ENV): Likewise.
37670         (tst-swscanf-ENV): Likewise.
37671         (bug-ftell-ENV): Likewise.
37672         (tst-fgetwc-ENV): Likewise.
37673         (tst-fseek-ENV): Likewise.
37674         (tst-ftell-partial-wide-ENV): Likewise.
37675         (tst-ftell-active-handler-ENV): Likewise.
37676         (tst-ftell-append-ENV): Likewise.
37677         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37678         (tst-regexloc-ENV): Likewise.
37679         (bug-regex1-ENV): Likewise.
37680         (tst-regex-ENV): Likewise.
37681         (tst-regex2-ENV): Likewise.
37682         (bug-regex5-ENV): Likewise.
37683         (bug-regex6-ENV): Likewise.
37684         (bug-regex17-ENV): Likewise.
37685         (bug-regex18-ENV): Likewise.
37686         (bug-regex19-ENV): Likewise.
37687         (bug-regex20-ENV): Likewise.
37688         (bug-regex22-ENV): Likewise.
37689         (bug-regex23-ENV): Likewise.
37690         (bug-regex25-ENV): Likewise.
37691         (bug-regex26-ENV): Likewise.
37692         (bug-regex30-ENV): Likewise.
37693         (bug-regex32-ENV): Likewise.
37694         (bug-regex33-ENV): Likewise.
37695         (bug-regex34-ENV): Likewise.
37696         (bug-regex35-ENV): Likewise.
37697         (tst-rxspencer-ENV): Likewise.
37698         (tst-rxspencer-no-utf8-ENV): Likewise.
37699         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37700         (tst-sscanf-ENV): Likewise.
37701         (tst-swprintf-ENV): Likewise.
37702         (tst-swscanf-ENV): Likewise.
37703         (test-vfprintf-ENV): Likewise.
37704         (scanf13-ENV): Likewise.
37705         (bug14-ENV): Likewise.
37706         (tst-grouping-ENV): Likewise.
37707         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37708         (tst-strtod3-ENV): Likewise.
37709         (tst-strtod4-ENV): Likewise.
37710         (tst-strtod5-ENV): Likewise.
37711         (testmb2-ENV): Likewise./
37712         * string/Makefile (tst-strxfrm-ENV): Likewise.
37713         (tst-strxfrm2-ENV): Likewise.
37714         (bug-strcoll1-ENV): Likewise.
37715         (test-strcasecmp-ENV): Likewise.
37716         (test-strncasecmp-ENV): Likewise.
37717         * time/Makefile (tst-strptime-ENV): Likewise.
37718         (tst-ftime_l-ENV): Likewise.
37719         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37720         (tst-mbrtowc-ENV): Likewise.
37721         (tst-wcrtomb-ENV): Likewise.
37722         (tst-mbrtowc2-ENV): Likewise.
37723         (tst-c16c32-1-ENV): Likewise.
37724         (tst-mbsnrtowcs-ENV): Likewise.
37726 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37728         * manual/resource.texi (How to get information about the memory
37729         subsystem?): Fix typo.
37730         Reported by Peon de la Parra Ivan <peon@keba.com>
37732 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37734         [BZ #16882]
37735         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37736         (pthread_spin_lock): Branch out of spin loop to proper location.
37737         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37738         (pthread_spin_lock): Likewise.
37740         * nptl/tst-spin4.c: New test.
37741         * nptl/Makefile (tests): Add tst-spin4.
37743 2014-06-03  Andreas Schwab  <schwab@suse.de>
37745         [BZ #15946]
37746         * resolv/res_send.c (send_dg): Reload file descriptor after
37747         calling reopen.
37749 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37751         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37753 2014-06-03  Richard Henderson  <rth@redhat.com>
37755         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37756         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37757         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37758         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37759         in the SAVE_PID block.
37760         (__libc_vfork): New alias.
37761         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37763         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37764         child in registers, not on the stack.  Remove RESET_PID conditionals.
37765         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37767 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37769         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37771 2014-06-03  Wilco  <wdijkstr@arm.com>
37773         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37774         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37775         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37776         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37777         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37778         Likewise.
37780 2014-06-03  Wilco  <wdijkstr@arm.com>
37782         * sysdeps/aarch64/fpu/math_private.h
37783         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37784         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37785         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37786         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37787         Fix declarations.
37789 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37791         * crypt/crypt-private.h: Include ufc-crypt.h.
37792         (__b64_from_24bit): Declare extern.
37793         * crypt/crypt_util.c(__b64_from_24bit): New function.
37794         (b64t): New static const variable.
37795         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37796         (b64t): Remove variable.
37797         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37798         * crypt/sha256-crypt.c: Include crypt-private.h.
37799         (b64t): Remove variable.
37800         (__sha256_crypt_r): Remove b64_from_24bit and replace
37801         with __b64_from_24bit.
37802         * crypt/sha512-crypt.c: Likewise.
37804 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37806         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37807         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37808         Label the code __libc_vfork rather than __vfork.
37809         [!NOT_IN_libc] (vfork): Define as weak alias.
37810         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37811         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37812         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37814 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37816         * malloc/malloc.c (malloc_info): Fix format specifier for
37817         n_mmaps.
37819 2014-06-02  Wilco  <wdijkstr@arm.com>
37821         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37822         FPCR write.
37824 2014-06-02  Wilco  <wdijkstr@arm.com>
37826         [BZ #17009]
37827         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37828         Rewrite to reduce FPCR/FPSR accesses.
37830 2014-06-01  David S. Miller  <davem@davemloft.net>
37832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37834 2014-05-31  David S. Miller  <davem@davemloft.net>
37836         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37837         to occur in round to nearest mode when |x| >= 2.0
37839 2014-05-30  Richard Henderson  <rth@twiddle.net>
37841         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37842         (PSEUDO_RET_NOERRNO): Remove.
37843         (ret): Don't redefine.
37844         (ret_NOERRNO): Define in terms of ret.
37845         (ret_ERRVAL): Likewise.
37847         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37848         use of PSEUDO_RET; perform the error check directly.
37850 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37852         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37853         with __int128_t.
37855 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37857         * malloc/malloc (malloc_info): Fix formatting.
37859 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37860             Roland McGrath  <roland@hack.frob.com>
37862         * malloc/malloc (malloc_info): Also print mmapped statistics.
37864 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37866         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37867         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37869 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37871         * malloc/malloc.c (malloc_info): Inline mi_arena.
37873 2014-05-29  Richard Henderson  <rth@twiddle.net>
37875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37876         Remove comma before expanding ASM_ARGS_##nr.
37877         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37878         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37879         of ASM_ARGS_##nr.
37880         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37881         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37882         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37883         (ASM_ARGS_1): Add leading comma.
37885         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37886         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37887         to __errno_location.
37888         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37889         Remove the expected plt for __errno_location.
37891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37892         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37893         call to __read_tp.
37895         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37896         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37897         it and break it down.
37898         (DOCARGS_0, DOCARGS_1): Do nothing.
37899         (DOCARGS_2): Update to store into the new stack frame.
37900         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37901         (UNDOCARGS_1): Update to restore from the new stack frame.
37902         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37903         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37905         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37906         (SINGLE_THREAD_P): New parameter for result regno.
37907         (PSEUDO): Update to match; use cbz instead of beq.
37909         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37910         Use ENTRY to define the _nocancel entry point.  Share the syscall
37911         and syscall error check paths with the cancel path.
37912         (PSEUDO_END): New.
37914         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37915         whitespace; tabs before and after asm mnemonics.
37917 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37919         [BZ #15132]
37920         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37921         Call fstat64 or stat64 internally, depending on arguments passed.
37922         Replace stat buffer argument with file descriptor argument.
37923         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37924         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37925         Pass fd to __internal_statvfs instead of calling fstat64.
37926         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37927         Pass fd to __internal_statvfs64 instead of calling fstat64.
37928         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37929         Pass -1 to __internal_statvfs instead of calling stat64.
37930         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37931         Pass -1 to __internal_statvfs64 instead of calling stat64.
37933 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37935         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37936         that was previously under [RESET_PID].
37937         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37939         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37940         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37942 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37944         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37946         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37947         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37949 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37951         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37953 2014-05-27  Andreas Schwab  <schwab@suse.de>
37955         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37956         TLS_INIT_TP macro.
37957         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37958         * elf/rtld.c (init_tls, dl_main): Likewise.
37959         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37960         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37961         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37962         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37963         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37964         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37965         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37966         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37967         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37968         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37969         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37970         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37971         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37972         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37973         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37974         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37975         * sysdeps/generic/tls.h: Update description.
37977 2014-05-27  Will Newton  <will.newton@linaro.org>
37979         [BZ #16990]
37980         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37981         and restore r2 rather than just restoring.
37983 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37985         [BZ #16724]
37986         * libio/tst-ftell-append.c: New test case.
37987         * libio/Makefile (tests): Add test case.
37988         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37989         append mode.
37990         * libio/wfileops.c (do_ftell_wide): Likewise.
37992 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37996         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37997         ...
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38000         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38001         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38002         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38003         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38004         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38007         Moved ...
38008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38010         Moved ...
38011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38012         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38013         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38014         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38015         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38016         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38017         ...
38018         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38019         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38020         Moved ...
38021         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38022         here.
38023         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38024         ...
38025         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38026         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38027         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38029         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38030         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38031         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38032         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38035         merge into ...
38036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38038         ...
38039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38041         ...
38042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38044         Moved ...
38045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38046         here.
38047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38048         Moved ...
38049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38051         Moved ...
38052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38055         conditional [RESET_PID].
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38058         removed.
38059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38060         removed.
38062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38063         <tcb-offsets.h>.
38064         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38065         (__libc_vfork): New strong alias.
38066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38067         removed.
38068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38069         Removed.
38071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38072         <tcb-offsets.h>.
38073         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38074         (__libc_vfork): New strong alias.
38075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38076         removed.
38077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38078         removed.
38080 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38082         * malloc/malloc.c (mi_arena): New function.
38083         (malloc_info): Remove nested function mi_arena. Call non-nosted
38084         function mi_arena.
38086 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38088         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38089         by insrwi.
38090         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38091         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38092         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38093         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38094         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38095         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38096         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38098 2014-05-26  Andreas Schwab  <schwab@suse.de>
38100         [BZ #16984]
38101         * locale/programs/repertoire.c (repertoire_read): Add slash
38102         between I18NPATH element and file name.
38103         * locale/programs/locfile.c (locfile_read): Likewise.
38105 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38107         * nptl/pthread_mutexattr_settype.c
38108         (__pthread_mutexattr_settype):
38109         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38111 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38113         * nptl/tst-mutex5 (do_test):
38114         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38116 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38118         * benchtests/README: Document 'init' directive.
38119         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38120         BENCH_INIT.
38121         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38122         (parse_file): Recognize 'init' directive.
38124 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38126         [BZ #16796]
38127         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38128         alignment of struct pthread.
38130 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38132         [BZ #16878]
38133         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38134         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38135         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38136         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38138 2014-05-25  Richard Henderson  <rth@twiddle.net>
38140         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38141         (SINGLE_THREAD_P_PIC): Remove.
38142         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38143         (SINGLE_THREAD_P_PIC): Remove.
38145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38146         branch to syscall error ...
38147         (PSEUDO): ... here.
38148         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38149         from __local_syscall_error to .Lsyscall_error.
38150         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38151         (SYSCALL_ERROR): Update label name.
38153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38154         Do not use DOARGS/UNDOARGS.
38155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38156         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38157         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38158         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38159         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38161         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38162         block comment.
38164         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38165         define if !NOT_IN_libc.
38166         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38167         define with non-default symbol versions.
38169 2014-05-23  Richard Henderson  <rth@twiddle.net>
38171         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38172         (vfork, __vfork): Define via compat_symbol.
38174         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38175         [!HAVE_IFUNC] (vfork_compat): Remove.
38176         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38178 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38180         [BZ #16978]
38181         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38182         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38183         variable.
38185 2014-05-23  Richard Henderson  <rth@twiddle.net>
38187         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38188         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38189         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38190         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38192         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38193         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38194         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38195         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38196         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38197         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38198         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38199         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38200         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38201         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38202         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38203         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38204         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38205         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38206         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38207         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38208         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38209         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38210         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38211         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38212         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38213         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38214         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38215         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38216         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38217         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38218         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38219         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38220         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38221         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38222         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38223         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38224         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38225         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38226         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38227         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38228         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38229         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38230         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38231         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38232         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38233         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38234         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38235         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38236         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38237         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38239         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38240         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38241         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38242         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38243         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38245         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38247         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38249         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38250         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38251         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38252         before exiting on error.
38253         (__libc_vfork): New strong alias.
38254         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38255         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38257         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38258         that was previously under [RESET_PID].
38259         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38261         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38263 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38265         [BZ #16977]
38266         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38267         value when x - 1 is zero.
38268         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38269         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38270         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38271         0.0L for an argument of 1.0L.
38272         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38273         Likewise.
38274         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38275         value when x - 1 is zero.
38276         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38277         * sysdeps/i386/fpu/libm-test-ulps: Update.
38278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38280 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38282         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38283         alphasort and versionsort.
38285 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38287         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38288         macro.
38289         [copysignf]: Likewise.
38291 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38293         * crypt/md5-crypt.c: Fix formatting.
38295 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38297         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38298         (b64_from_24bit): New function.
38300 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38302         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38303         libc_hidden_builtin_def to ifunc.
38304         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38305         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38307 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38309         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38310         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38312 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38314         * nscd/Depend (linuxthreads): Remove.
38315         (nptl): Add.
38316         * resolv/Depend (linuxthreads): Remove.
38317         * rt/Depend (linuxthreads): Remove.
38319         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38320         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38321         $(common-objpfx)elf/.
38322         (link-libc-before-gnulib): Likewise.
38323         (elfobjdir): Remove variable.
38324         * Makefile (install): Use $(elf-objpfx) instead of
38325         $(common-objpfx)elf/.
38326         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38327         $(elfobjdir)/.
38328         (link-libc-deps): Likewise.
38329         ($(common-objpfx)libc.so): Likewise.
38330         ($(common-objpfx)linkobj/libc.so): Likewise.
38331         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38332         instead of $(common-objpfx)elf/.
38333         (symbolic-link-list): Likewise.
38334         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38335         [$(cross-compiling) = no]: Likewise.
38336         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38337         $(elfobjdir)/.
38338         (static-gnulib-arch): Likewise.
38339         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38340         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38341         $(common-objpfx)elf/.
38343 2014-05-21  Richard Henderson  <rth@redhat.com>
38345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38346         (SINGLE_THREAD_P): Use the correct width load.  Fold
38347         into the ldr offset.
38349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38350         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38352 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38354         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38355         (libgcc_s_resume): Use __attribute_used__.
38356         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38357         Likewise.
38359 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38362         optimization when used with float constants.
38364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38366 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38368         [BZ #16915]
38369         * locale/nl_langinfo_l.c: Make direct reference to every
38370         _nl_current_CATEGORY symbol.
38371         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38372         (tests-static): Add tst-langinfo-static.
38373         (tests-special): Add tst-langinfo-static.out.
38374         ($(objpfx)tst-langinfo.out): Redirect output.
38375         ($(objpfx)tst-langinfo-static.out): New.
38376         * localedata/tst-langinfo.sh: Send output to stdout.
38377         * localedata/tst-langinfo-static.c: New file.
38379         [BZ #16965]
38380         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38381         when the shift amount is modulo the limb size.
38383 2014-05-20  Richard Henderson  <rth@redhat.com>
38385         [BZ #16967]
38386         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38387         Change type of sa_flags from unsigned int to int.
38389         [BZ #16966]
38390         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38392         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38394 2014-05-20  Will Newton  <will.newton@linaro.org>
38396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38397         Test the return value of the system call in the nocancel case.
38399 2014-05-20  Will Newton  <will.newton@linaro.org>
38400             Yvan Roux  <yvan.roux@linaro.org>
38402         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38403         #include of asm/ptrace.h.
38404         (PTRACE_GET_THREAD_AREA): Remove #undef.
38405         (PTRACE_GETHBPREGS): Likewise.
38406         (PTRACE_SETHBPREGS): Likewise.
38407         (struct user_regs_struct): New structure.
38408         (struct user_fpsimd_struct): New structure.
38409         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38410         #include of asm/ptrace.h and second #include of sys/user.h.
38411         (PTRACE_GET_THREAD_AREA): Remove #undef.
38412         (PTRACE_GETHBPREGS): Likewise.
38413         (PTRACE_SETHBPREGS): Likewise.
38414         (ELF_NGREG): Use new struct user_regs_struct.
38415         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38417 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38419         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38422 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38424         [BZ #16958]
38425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38426         membar to avoid block loads/stores to overlap previous stores.
38428 2014-05-17  Richard Henderson  <rth@redhat.com>
38430         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38431         Create the __##syscall_name##_nocancel entry point.
38432         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38433         Remove; let the sysdep-cancel.h code create it.
38435 2014-05-17  David S. Miller  <davem@davemloft.net>
38437         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38438         Protect with __USE_GNU.
38439         (TIOCSET_TEMPT): Likewise.
38440         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38441         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38442         these are already provided in bits/ioctl-types.h
38444 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38446         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38447         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38449         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38450         Use wait4 regardless of [__NR_waitpid].
38452 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38454         PR libgcc/60166
38455         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38456         (_FP_NANSIGN_Q): Set the quiet bit.
38458 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38460         * benchtests/Makefile
38461         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38462         not $(common-objpfx)math/libm.so.
38463         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38464         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38465         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38466         $(common-objpfx)dlfcn/libdl.so.
38467         ($(objpfx)tst-audit8): Depend on $(libm), not
38468         $(common-objpfx)math/libm.so.
38469         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38470         not $(common-objpfx)dlfcn/libdl.so.
38471         * math/Makefile
38472         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38473         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38474         [$(build-shared) = yes].
38475         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38476         $(common-objpfx)nptl/libpthread.so.
38477         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38478         $(common-objpfx)math/libm.so$(libm.so-version) or
38479         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38480         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38481         $(common-objpfx)dlfcn/libdl.so.
38482         * setjmp/Makefile (link-libm): Remove variable.
38483         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38484         * stdio-common/Makefile (link-libm): Remove variable.
38485         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38486         * stdlib/Makefile (link-libm): Remove variable.
38487         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38488         ($(objpfx)tst-strtod-round): Likewise.
38489         ($(objpfx)tst-tininess): Likewise.
38490         ($(objpfx)tst-strtod-underflow): Likewise.
38491         ($(objpfx)tst-strtod6): Likewise.
38492         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38493         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38494         $(common-objpfx)dlfcn/libdl.so.
38496 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38498         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38499         BSD terminal modes definitions.
38501 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38503         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38504         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38506         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38507         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38508         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38509         Don't do #include_next.
38510         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38511         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38512         Don't do #include_next.
38513         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38514         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38515         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38516         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38518 2014-05-16  Allan McRae  <allan@archlinux.org>
38520         * po/sv.po: Update Swedish translation from translation project.
38522         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38523         in sed expression.
38525 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38527         [BZ #16917]
38528         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38529         errno if the TIOCGPTN ioctl fails with an error different than
38530         EINVAL.
38531         * login/tst-ptsname.c: New file.
38532         * login/Makefile (tests): Add tst-ptsname.
38534         [BZ #16943]
38535         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38536         and prlimit64.
38538 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38540         [BZ #16849]
38541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38542         herrno to return EAI_AGAIN.
38544 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38546         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38547         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38548         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38549         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38550         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38551         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38552         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38553         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38554         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38555         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38556         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38557         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38558         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38559         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38560         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38561         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38562         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38563         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38564         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38565         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38566         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38567         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38568         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38569         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38570         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38571         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38572         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38573         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38574         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38575         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38577         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38579         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38581         Moved ...
38582         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38584         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38586         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38588         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38590         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38592         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38594         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38596         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38598         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38600         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38602         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38604         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38606         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38608         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38610         Moved ...
38611         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38613         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38615         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38617         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38619         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38621         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38623         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38625         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38627         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38629         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38631         Moved ...
38632         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38634         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38636         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38637         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38638         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38639         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38640         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38641         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38642         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38643         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38644         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38645         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38646         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38647         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38648         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38649         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38650         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38651         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38652         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38653         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38654         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38655         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38656         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38657         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38658         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38659         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38660         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38661         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38662         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38663         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38664         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38665         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38666         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38668         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38669         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38671         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38672         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38673         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38674         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38675         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38677         Moved ...
38678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38679         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38680         Moved ...
38681         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38682         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38683         Moved ...
38684         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38686         Moved ...
38687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38688         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38689         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38691         Moved ...
38692         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38693         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38694         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38695         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38696         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38697         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38698         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38699         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38700         Moved ...
38701         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38703         Moved ...
38704         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38705         ... here.
38706         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38707         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38708         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38709         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38710         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38711         Moved ...
38712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38713         ... here.
38714         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38715         Moved ...
38716         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38717         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38718         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38719         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38720         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38722         Moved ...
38723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38724         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38725         Moved ...
38726         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38727         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38728         Moved ...
38729         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38731         Moved ...
38732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38733         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38734         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38736         Moved ...
38737         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38738         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38739         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38740         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38741         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38742         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38743         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38744         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38745         Moved ...
38746         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38748         Moved ...
38749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38750         ... here.
38751         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38752         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38753         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38754         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38755         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38756         Moved ...
38757         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38758         ... here.
38759         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38760         Moved ...
38761         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38762         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38763         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38764         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38765         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38766         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38767         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38768         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38769         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38771         Moved ...
38772         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38774         Moved ...
38775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38777         Moved ...
38778         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38779         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38780         Moved ...
38781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38782         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38783         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38784         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38785         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38787         Moved ...
38788         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38789         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38790         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38791         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38792         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38793         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38794         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38795         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38796         Moved ...
38797         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38799         Moved ...
38800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38801         ... here.
38802         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38803         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38804         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38805         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38806         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38807         Moved ...
38808         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38809         ... here.
38810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38811         Moved ...
38812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38813         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38814         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38815         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38816         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38817         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38818         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38819         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38820         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38821         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38822         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38824         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38825         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38827         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38828         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38830         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38831         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38832         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38833         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38834         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38835         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38836         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38837         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38838         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38839         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38840         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38841         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38843         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38844         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38846         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38848         Moved ...
38849         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38853         Moved ...
38854         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38856         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38858         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38862         Moved ...
38863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38865         Moved ...
38866         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38870         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38872         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38873         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38874         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38875         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38876         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38877         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38878         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38879         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38880         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38881         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38882         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38884         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38885         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38886         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38887         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38888         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38890         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38891         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38892         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38893         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38894         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38895         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38896         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38897         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38898         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38899         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38901         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38904         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38905         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38906         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38907         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38908         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38909         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38910         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38911         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38912         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38913         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38914         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38915         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38916         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38917         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38919         Update #include.
38920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38921         Likewise.
38922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38923         Likewise.
38924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38925         Likewise.
38926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38927         Likewise.
38928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38929         Likewise.
38930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38931         Likewise.
38932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38933         Likewise.
38934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38935         Likewise.
38936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38937         Likewise.
38938         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38939         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38943         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38944         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38948         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38949         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38954         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38955         that was previously under [RESET_PID].
38956         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38957         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38958         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38960         * sysdeps/i386/nptl/Implies: New file.
38961         * sysdeps/x86_64/nptl/Implies: New file.
38962         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38963         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38964         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38965         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38967         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38968         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38969         (__libc_vfork): New strong alias.
38970         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38971         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38973         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38975         (__libc_vfork): New strong alias.
38976         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38977         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38979         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38980         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38981         (__libc_vfork): New strong alias.
38982         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38983         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38984         * nptl/pt-vfork.c: New file.
38985         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38986         (libpthread: GLIBC_2.20): New version set (empty).
38988 2014-05-14  Will Newton  <will.newton@linaro.org>
38990         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38991         rather than #if.
38993 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38995         [BZ #16564]
38996         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38997         arguments with exponent 65 or above.
38998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38999         arguments 0x1p113L or above.
39000         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39001         to arguments 0x1p107L or above.
39002         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39003         positive arguments with exponent 65 or above.
39004         * math/auto-libm-test-in: Add more tests of log1p.
39005         * math/auto-libm-test-out: Regenerated.
39007         [BZ #16928]
39008         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39009         non-finite arguments is +0.
39010         * math/s_cacosf.c (__cacosf): Likewise.
39011         * math/s_cacosl.c (__cacosl): Likewise.
39012         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39013         * sysdeps/i386/fpu/libm-test-ulps: Update.
39014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39016         [BZ #16927]
39017         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39018         value.
39019         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39020         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39021         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39022         for explicit high bit of mantissa when testing for argument equal
39023         to 1.
39024         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39025         * sysdeps/i386/fpu/libm-test-ulps: Update.
39026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39028         [BZ #16516]
39029         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39030         (__erf): Scale by 16 instead of 8 in potentially underflowing
39031         case.  Ensure exception if result actually underflows.
39032         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39033         (__erff): Scale by 16 instead of 8 in potentially underflowing
39034         case.  Ensure exception if result actually underflows.
39035         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39036         (efx8): Remove variable.
39037         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39038         case.  Ensure exception if result actually underflows.
39039         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39040         (efx8): Remove variable.
39041         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39042         case.  Ensure exception if result actually underflows.
39043         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39044         (efx8): Remove variable.
39045         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39046         case.  Ensure exception if result actually underflows.
39047         * math/auto-libm-test-in: Add more tests of erf.
39048         * math/auto-libm-test-out: Regenerated.
39050 2014-05-14  Andreas Schwab  <schwab@suse.de>
39052         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39053         Remove code conditionalized on USE___THREAD.
39055         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39056         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39057         not definedness.
39059 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39061         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39062         Define unconditionally.
39063         (__ASSUME_O_CLOEXEC): Likewise.
39064         (__ASSUME_SOCK_CLOEXEC): Likewise.
39065         (__ASSUME_IN_NONBLOCK): Likewise.
39066         (__ASSUME_PIPE2): Likewise.
39067         (__ASSUME_EVENTFD2): Likewise.
39068         (__ASSUME_SIGNALFD4): Likewise.
39069         (__ASSUME_DUP3): Likewise.
39070         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39071         (__ASSUME_DUP3): Do not define.
39072         (__ASSUME_EVENTFD2): Likewise.
39073         (__ASSUME_IN_NONBLOCK): Likewise.
39074         (__ASSUME_O_CLOEXEC): Likewise.
39075         (__ASSUME_PIPE2): Likewise.
39076         (__ASSUME_SIGNALFD4): Likewise.
39077         (__ASSUME_SOCK_CLOEXEC): Likewise.
39078         (__ASSUME_UTIMES): Undefine.
39079         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39080         (__ASSUME_UTIMES): Do not define.
39081         (__ASSUME_O_CLOEXEC): Likewise.
39082         (__ASSUME_SOCK_CLOEXEC): Likewise.
39083         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39084         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39085         0x020621].
39086         (__ASSUME_PIPE2): Likewise.
39087         (__ASSUME_EVENTFD2): Likewise.
39088         (__ASSUME_SIGNALFD4): Likewise.
39089         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39090         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39091         Do not define.
39092         (__ASSUME_EVENTFD2): Likewise.
39093         (__ASSUME_SIGNALFD4): Likewise.
39094         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39095         (__ASSUME_32BITUIDS): Likewise.
39096         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39097         (__ASSUME_IPC64): Likewise.
39098         (__ASSUME_ST_INO_64_BIT): Likewise.
39099         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39100         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39101         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39102         (__ASSUME_UTIMES): Do not define.
39103         (__ASSUME_PSELECT): Likewise.
39104         (__ASSUME_PPOLL): 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/m68k/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/microblaze/kernel-features.h
39122         (__ASSUME_UTIMES): Likewise.
39123         (__ASSUME_O_CLOEXEC): Likewise.
39124         (__ASSUME_SOCK_CLOEXEC): Likewise.
39125         (__ASSUME_IN_NONBLOCK): Likewise.
39126         (__ASSUME_PIPE2): Likewise.
39127         (__ASSUME_EVENTFD2): Likewise.
39128         (__ASSUME_SIGNALFD4): Likewise.
39129         (__ASSUME_DUP3): Likewise.
39130         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39131         Likewise.
39132         (__ASSUME_UTIMES): Likewise.
39133         (__ASSUME_EVENTFD2): Likewise.
39134         (__ASSUME_SIGNALFD4): Likewise.
39135         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39136         (__ASSUME_O_CLOEXEC): Likewise.
39137         (__ASSUME_SOCK_CLOEXEC): Likewise.
39138         (__ASSUME_IN_NONBLOCK): Likewise.
39139         (__ASSUME_PIPE2): Likewise.
39140         (__ASSUME_EVENTFD2): Likewise.
39141         (__ASSUME_SIGNALFD4): Likewise.
39142         (__ASSUME_DUP3): Likewise.
39143         (__ASSUME_UTIMES): Undefine.
39145         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39146         feclearexcept.  Remove symbol versioning code.
39147         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39148         symbol versioning code.
39149         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39150         symbol versioning code.
39151         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39152         feupdateenv.  Remove symbol versioning code.
39153         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39154         fegetexceptflag.  Remove symbol versioning code.
39155         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39156         fesetexceptflag.  Remove symbol versioning code.
39157         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39158         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39159         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39160         (__posix_fadvise64_l32): Remove prototype.
39161         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39162         code.
39164 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39166         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39167         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39168         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39169         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39171 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39173         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39174         current working directory
39176 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39178         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39179         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39180         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39181         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39182         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39183         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39184         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39185         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39186         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39187         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39188         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39189         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39190         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39191         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39192         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39193         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39194         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39195         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39196         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39197         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39198         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39199         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39200         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39201         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39202         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39203         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39204         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39205         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39206         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39207         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39208         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39209         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39210         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39211         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39212         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39213         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39214         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39215         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39216         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39217         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39218         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39219         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39221         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39222         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39224         * sysdeps/unix/sysv/linux/arm/Makefile
39225         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39226         Add rt-aeabi_unwind_cpp_pr1.
39227         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39228         Add nptl-aeabi_unwind_cpp_pr1.
39229         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39230         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39231         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39232         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39233         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39234         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39236         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39237         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39238         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39239         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39241         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39242         Deconditionalize the code that was previously under [RESET_PID].
39243         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39245         * sysdeps/generic/exit-thread.h: New file.
39246         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39247         * include/unistd.h (__exit_thread): Remove declaration.
39248         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39249         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39250         * csu/libc-start.c: Include <exit-thread.h>.
39251         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39252         * nptl/pthread_create.c: Include <exit-thread.h>.
39253         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39254         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39255         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39256         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39257         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39258         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39259         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39260         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39261         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39262         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39263         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39264         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39265         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39266         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39267         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39268         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39269         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39271 2014-05-13  Andreas Schwab  <schwab@suse.de>
39273         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39275 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39277         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39278         (__ASSUME_UTIMES): Do not condition on kernel version.
39279         (__ASSUME_PSELECT): Define unconditionally.
39280         (__ASSUME_PPOLL): Likewise.
39281         (__ASSUME_ATFCTS): Likewise.
39282         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39283         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39284         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39285         (__ASSUME_UTIMENSAT): Define unconditionally.
39286         (__ASSUME_PRIVATE_FUTEX): Likewise.
39287         (__ASSUME_FALLOCATE): Likewise.
39288         (__ASSUME_O_CLOEXEC): Likewise.
39289         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39290         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39291         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39292         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39293         (__ASSUME_IN_NONBLOCK): Likewise.
39294         (__ASSUME_PIPE2): Likewise.
39295         (__ASSUME_EVENTFD2): Likewise.
39296         (__ASSUME_SIGNALFD4): Likewise.
39297         (__ASSUME_DUP3): Likewise.
39298         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39299         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39300         (__ASSUME_AT_RANDOM): Likewise.
39301         (__ASSUME_PREADV): Likewise.
39302         (__ASSUME_PWRITEV): Likewise.
39303         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39304         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39305         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39306         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39307         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39308         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39309         (__ASSUME_O_CLOEXEC): Define unconditionally.
39310         (__ASSUME_PSELECT): Do not undefine conditionally.
39311         (__ASSUME_PPOLL): Likewise.
39312         (__ASSUME_ATFCTS): Likewise.
39313         (__ASSUME_SET_ROBUST_LIST): Likewise.
39314         (__ASSUME_UTIMENSAT): Likewise.
39315         (__ASSUME_FDATASYNC): Define unconditionally.
39316         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39317         (__ASSUME_SIGFRAME_V2): Likewise.
39318         )__ASSUME_EVENTFD2): Likewise.
39319         (__ASSUME_SIGNALFD4): Likewise.
39320         (__ASSUME_PSELECT): Do not undefine conditionally.
39321         (__ASSUME_PPOLL): Likewise.
39322         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39323         (__ASSUME_PSELECT): Define unconditionally.
39324         (__ASSUME_PPOLL): Likewise.
39325         (__ASSUME_O_CLOEXEC): Likewise.
39326         (__ASSUME_SOCK_CLOEXEC): Likewise.
39327         (__ASSUME_IN_NONBLOCK): Likewise.
39328         (__ASSUME_PIPE2): Likewise.
39329         (__ASSUME_EVENTFD2): Likewise.
39330         (__ASSUME_SIGNALFD4): Likewise.
39331         (__ASSUME_DUP3): Likewise.
39332         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39333         (__ASSUME_O_CLOEXEC): Likewise.
39334         (__ASSUME_SOCK_CLOEXEC): Likewise.
39335         (__ASSUME_IN_NONBLOCK): Likewise.
39336         (__ASSUME_PIPE2): Likewise.
39337         (__ASSUME_EVENTFD2): Likewise.
39338         (__ASSUME_SIGNALFD4): Likewise.
39339         (__ASSUME_DUP3): Likewise.
39340         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39341         (__ASSUME_EVENTFD2): Likewise.
39342         (__ASSUME_SIGNALFD4): Likewise.
39343         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39345 2014-05-12  Andreas Schwab  <schwab@suse.de>
39347         [BZ #16932]
39348         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39349         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39350         than maximum RPC packet size.
39351         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39352         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39353         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39354         (_nss_nis_getservbyport_r): Likewise.
39356 2014-05-12  Will Newton  <will.newton@linaro.org>
39358         * malloc/Makefile (tests): Add tst-mallopt.
39359         * malloc/tst-mallopt.c: New file.
39361 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39363         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39364         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39366 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39368         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39369         (tst-tlsmod6.so): Likewise.
39371 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39373         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39375 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39377         [BZ #16064]
39378         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39379         and <dl-procinfo.h>.
39380         (__fegetenv): Save SSE state in envp->__eip if supported.
39381         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39382         envp->__eip if supported.
39383         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39384         and <dl-procinfo.h>.
39385         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39386         __data_offset and __data_selector in environment to 0.  Set SSE
39387         state if supported.
39388         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39389         test-fenv-sse.
39390         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39391         -mfpmath=sse.
39392         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39394 2014-05-09  Will Newton  <will.newton@linaro.org>
39396         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39397         and libc_relro_required for ARM.
39398         * sysdeps/arm/preconfigure: Regenerate.
39400 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39401             Stefan Liebler  <stli@linux.vnet.ibm.com>
39403         * config.make.in (enable-lock-elision): New Makefile variable.
39404         * configure.ac: Likewise.
39405         * configure: Regenerate.
39406         * sysdeps/s390/configure.ac:
39407         Add check for gcc transactions support.
39408         * sysdeps/s390/configure: Regenerate.
39409         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39410         Build elision files if enabled.
39411         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39412         Add lock elision support for s390.
39413         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39414         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39415         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39416         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39417         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39418         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39419         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39420         Likewise.
39421         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39422         Likewise.
39423         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39424         Likewise.
39425         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39426         Likewise.
39427         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39428         (__lll_timedlock_elision, __lll_lock_elision)
39429         (__lll_unlock_elision, __lll_trylock_elision)
39430         (lll_timedlock_elision, lll_lock_elision)
39431         (lll_unlock_elision, lll_trylock_elision): Add.
39432         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39433         (pthread_mutex_t): Add lock elision support for s390.
39435 2014-05-14  Wilco  <wdijkstr@arm.com>
39437         * sysdeps/arm/fclrexcpt.c: Cleanup.
39438         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39439         * sysdeps/arm/feenablxcpt.c: Cleanup.
39440         * sysdeps/arm/fegetenv.c: Cleanup.
39441         * sysdeps/arm/fegetexcept.c: Cleanup.
39442         * sysdeps/arm/fegetround.c: Cleanup.
39443         * sysdeps/arm/feholdexcpt.c: Cleanup.
39444         * sysdeps/arm/fesetenv.c: Cleanup.
39445         * sysdeps/arm/fesetround.c: Cleanup.
39446         * sysdeps/arm/feupdateenv.c: Cleanup.
39447         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39448         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39449         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39450         * sysdeps/arm/ftestexcept.c: Cleanup.
39451         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39452         * sysdeps/arm/setfpucw.c: Cleanup.
39454 2014-05-09  Will Newton  <will.newton@linaro.org>
39456         * sysdeps/arm/armv7/strcmp.S: New file.
39457         * NEWS: Mention addition of ARMv7 optimized strcmp.
39459 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39461         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39462         look for %.ac rather than %.in.
39464         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39465         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39466         * sysdeps/mach/hurd/configure: Regenerated.
39467         * sysdeps/unix/sysv/linux/configure: Regenerated.
39469         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39471 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39473         [BZ# 16922]
39474         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39475         (LONG_SUB): Ditto.
39476         (PTR_SUB): Ditto.
39478 2014-05-07  Andreas Schwab  <schwab@suse.de>
39480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39481         when skipping over non-matching result from nscd.
39483 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39485         [BZ #16876]
39486         * nptl/sockperf.c (client): Check socket return value.
39488         [BZ #16877]
39489         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39490         nscd security class.
39492 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39494         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39495         * sysdeps/arm/unwind.h: ... here.
39497 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39499         [BZ# 16916]
39500         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39501         Define.
39503 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39505         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39506         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39507         multiarch strncpy for PPC64.
39508         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39509         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39511         multiarch optimizations.
39512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39513         (__libc_ifunc_impl_list): Likewise.
39514         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39515         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39516         multiarch stpncpy for PPC64.
39517         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39518         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39520 2014-05-06  Andreas Schwab  <schwab@suse.de>
39522         [BZ #16912]
39523         * gmon/mcount.c (_MCOUNT_DECL): Use
39524         atomic_compare_and_exchange_bool_acq instead of
39525         catomic_compare_and_exchange_bool_acq.
39527 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39529         * elf/Makefile (others, install-bin): Remove pldd.
39530         (pldd-modules): Variable removed.
39531         ($(objpfx)pldd): Target removed.
39532         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39533         (others, install-bin): Append pldd here.
39534         ($(objpfx)pldd): New target.
39536         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39537         to 0, so the first #if test emitted later doesn't see it undefined.
39538         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39539         * sysdeps/gnu/errlist.c: Regenerated.
39541 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39543         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39544         [libc_hidden_builtin_def]: Define to empty value.
39545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39546         [libc_hidden_builtin_def]: Likewise.
39547         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39548         [libc_hidden_builtin_def]: Likewise.
39549         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39550         [libc_hidden_builtin_def]: Likewise.
39551         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39552         __redirect_memcpy and define ifunc as default hidden symbol.
39553         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39554         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39556 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39558         * locale/iso-4217.def: Reintroduce XDR currency.
39560 2014-05-04  Allan McRae  <allan@archlinux.org>
39562         * po/eo.po: Update Esperanto translation from translation project.
39564 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39566         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39567         and FEATURE_INDEX_MAX to 1.
39568         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39570 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39572         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39573         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39574         * iconvdata/big5.c (ONE_DIRECTION): Define.
39575         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39576         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39577         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39578         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39579         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39580         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39581         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39582         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39583         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39584         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39585         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39586         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39587         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39588         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39589         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39590         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39591         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39592         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39593         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39594         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39595         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39596         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39597         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39598         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39599         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39600         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39601         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39602         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39603         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39604         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39605         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39606         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39607         * iconvdata/johab.c (ONE_DIRECTION): Define.
39608         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39609         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39610         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39611         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39612         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39613         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39614         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39615         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39616         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39617         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39619 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39621         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39622         (_IO_JUMPS_OFFSET): Define to 0.
39624         * nptl/sysdeps/pthread/bits/libc-lock.h
39625         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39626         (__libc_lock_define_initialized_recursive): Always define using
39627         initializer.  Modern compilers treat uninitialized (implicit zero) and
39628         explicit zero initializers the same (i.e. put the datum in bss).
39630 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39632         * nscd/nscd-client.h: Include <string.h>.
39634 2014-05-01  David S. Miller  <davem@davemloft.net>
39636         [BZ #16885]
39637         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39638         multiple zero bytes exist at the end of a string.
39639         Reported by Aurelien Jarno <aurelien@aurel32.net>
39641         * string/test-strcmp.c (check): Add explicit test for situations where
39642         there are multiple zero bytes after the first.
39644 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39646         [BZ #16890]
39647         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39648         when compiling wprintf.
39649         * stdio-common/tstdiomisc.c (t3): New function.
39650         (main): Call it.
39652 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39654         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39655         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39656         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39657         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39659 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39661         * stdlib/longlong.h: Updated from GCC.
39663 2014-05-01  Will Newton  <will.newton@linaro.org>
39664             Bernard Ogden  <bernie.ogden@linaro.org>
39666         * NEWS: Update fixed bug list.
39668         [BZ #15119]
39669         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39671 2014-04-30  David S. Miller  <davem@davemloft.net>
39673         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39674         (libc_feholdexcept_setround_sparc_ctx): New function.
39675         (libc_fesetenv_sparc_ctx): Likewise.
39676         (libc_feupdateenv_sparc_ctx): Likewise.
39677         (libc_feholdsetround_sparc_ctx): Likewise.
39678         (libc_feholdexcept_setround_ctx): Define.
39679         (libc_feholdexcept_setroundf_ctx): Likewise.
39680         (libc_feholdexcept_setroundl_ctx): Likewise.
39681         (libc_fesetenv_ctx): Likewise.
39682         (libc_fesetenvf_ctx): Likewise.
39683         (libc_fesetenvl_ctx): Likewise.
39684         (libc_feupdateenv_ctx): Likewise.
39685         (libc_feupdateenvf_ctx): Likewise.
39686         (libc_feupdateenvl_ctx): Likewise.
39687         (libc_feresetround_ctx): Likewise.
39688         (libc_feresetroundf_ctx): Likewise.
39689         (libc_feresetroundl_ctx): Likewise.
39690         (libc_feholdsetround_ctx): Likewise.
39691         (libc_feholdsetroundf_ctx): Likewise.
39692         (libc_feholdsetroundl_ctx): Likewise.
39694         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39695         with __USE_GNU instead of XOPEN cpp guards.
39697         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39698         0.
39700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39701         with XOPEN cpp guards.
39703 2014-04-30  Julian Brown  <julian@codesourcery.com>
39705         [BZ #16888]
39706         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39707         handling.
39709 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39711         [BZ #9894]
39712         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39713         Change to 2.6.32.
39714         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39715         * sysdeps/unix/sysv/linux/configure: Regenerated.
39716         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39717         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39718         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39719         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39720         * README: Update reference to required Linux kernel version.
39721         * manual/install.texi (Linux): Update reference to required Linux
39722         kernel headers version.
39723         * INSTALL: Regenerated.
39725         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39726         header inclusion.
39727         [POSIX] (limits.h): Likewise.
39728         [POSIX] (math.h): Likewise.
39729         [POSIX] (sys/wait.h): Likewise.
39730         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39731         function.
39732         [POSIX] (stddef.h): Do not allow header inclusion.
39734 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39736         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39738 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39740         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39741         Return immediately after lll_futex_wake.
39743 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39745         [BZ #16791]
39746         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39747         structure.
39748         (datahead_init_pos): Call datahead_init_common early.
39749         (datahead_init_neg): Likewise.
39751         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39752         datahead_init_neg): New functions.
39753         * nscd/aicache.c (addhstaiX): Use them.
39754         * nscd/grpcache.c (cache_addgr): Likewise.
39755         * nscd/hstcache.c (cache_addhst): Likewise.
39756         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39757         * nscd/netgroupcache.c (do_notfound): Likewise.
39758         (addgetnetgrentX): Likewise.
39759         (addinnetgrX): Likewise.
39760         * nscd/pwdcache.c (cache_addpw): Likewise.
39761         * nscd/servicescache.c (cache_addserv): Likewise.
39763 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39764             Atsushi Onoe  <atsushi@onoe.org>
39766         [BZ #14308]
39767         [BZ #12994]
39768         [BZ #13651]
39769         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39770         one response is valid.
39771         * resolv/res_send.c (send_dg): Check for validity of other
39772         response if the current response is a referral.
39774 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39776         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39778 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39780         [BZ #16823]
39781         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39782         Always divide by positive zero when computing -Inf result.
39783         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39784         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39786 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39788         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39789         FPSCR if value do not change.
39790         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39791         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39792         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39793         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39794         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39795         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39796         function.
39798 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39800         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39801         * sysdeps/unix/sysv/linux/hppa: Move directory from
39802         ports/systeps/unix/sysv/linux/hppa.
39803         * README: Update listing for hppa-*-linux-gnu.
39805 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39807         [BZ #16754]
39808         * manual/stdio.texi (Hook functions): Fix types of stream hook
39809         functions.
39810         [BZ #16854]
39811         * socket/sys/socket.h: Fix typo in comment.
39813 2014-04-28  Wilco  <wdijkstr@arm.com>
39815         * sysdeps/arm/fenv_private.h: New file.
39816         * sysdeps/arm/math_private.h: New file.
39817         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39819 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39821         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39822         with __int128_t.
39823         (La_x86_64_retval): Likewise.
39825 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39827         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39828         fpsr if value didn't change.
39829         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39830         to fpcr if value didn't change.
39831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39832         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39833         fpsr or fpcr if value didn't change.
39834         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39835         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39836         fpcr if value didn't change.
39837         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39838         to fpsr if value didn't change.
39840 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39842         * nptl/tst-sem3.c: Use test-skeleton.c
39843         (main): Rename to do_test.  Use return instead of
39844         exit.
39845         * nptl/tst-sem4.c: Use test-skeleton.c
39846         (main): Rename to do_test.
39848 2014-04-22  David S. Miller  <davem@davemloft.net>
39850         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39851         (struct sigaction): New struct member __glibc_reserved0, change
39852         type of sa_flags to int.
39854 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39856         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39857         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39859 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39861         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39862         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39864 2014-04-22  Will Newton  <will.newton@linaro.org>
39865             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39867         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39868         (__longjmp): Add longjmp and longjmp_target SystemTap
39869         probes.
39870         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39871         (__sigsetjmp): Add setjmp SystemTap probe.
39873 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39875         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39876         match manual order.
39878 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39880         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39882         * sysdeps/powerpc/fpu/fenv_private.h
39883         (libc_feholdexcept_setroundl_ctx): Define to
39884         libc_feholdexcept_setround_ppc_ctx.
39885         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39886         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39887         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39888         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39890 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39892         * sysdeps/aarch64/math-tests.h: New file.
39894 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39896         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39897         New.
39898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39899         Check and set bit_AVX2_Usable.
39900         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39901         macro.
39902         (bit_AVX2): Likewise.
39903         (index_AVX2_Usable): Likewise.
39904         (CPUID_AVX2): Likewise.
39905         (HAS_AVX2): Likewise.
39907 2014-04-17  Will Newton  <will.newton@linaro.org>
39909         * manual/setjmp.texi (System V contexts): Add note that
39910         calling setcontext on a context created by a call to a
39911         signal handler is undefined.  Update text to note that
39912         setcontext from a signal handler is possible but not
39913         recommended.
39915         [BZ #16629]
39916         * stdlib/tst-setcontext.c: Include signal.h.
39917         (main): Check that the signal stack before and
39918         after swapcontext is the same.
39920         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39921         Re-implement to restore registers in user code and avoid
39922         rt_sigreturn system call.
39924 2014-04-17  Wilco  <wdijkstr@arm.com>
39926         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39927         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39928         * math/test-fenv.c: Skip exception trap tests on targets which only
39929         support non-stop mode.
39931 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39932             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39934         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39935         (libc_feholdsetround_aarch64_ctx)
39936         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39937         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39938         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39939         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39940         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39941         (libc_feresetround_noexl_ctx): Define.
39943 2014-04-16  Richard Henderson  <rth@redhat.com>
39945         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39947         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39948         unwind tables.
39950         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39951         const from the non-libc, non-ldso copy.
39953         * sysdeps/alpha/libm-test-ulps: Regenerate.
39955 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39956             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39958         * sysdeps/aarch64/fpu/math_private.h: New file.
39960 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39962         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39964 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39966         [BZ #16275]
39967         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39968         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39970         Intel MPX bound registers before _dl_profile_fixup.
39971         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39972         registers after _dl_profile_fixup.  Save and restore bound
39973         registers bnd0/bnd1 when calling _dl_call_pltexit.
39974         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39975         (LR_BND_OFFSET): Likewise.
39976         (LRV_BND0_OFFSET): Likewise.
39977         (LRV_BND1_OFFSET): Likewise.
39979 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39981         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39982         to...
39983         * sysdeps/mach/hurd/i386/tls.h: ... here.
39984         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39985         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39986         fields.
39988 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39990         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39992 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39994         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39996 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39998         [BZ #14770]
39999         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40000         * sysdeps/s390/configure: Regenerate.
40002         [BZ #16824]
40003         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40004         Set round-to-nearest internally to reduce error accumulation.
40006 2014-04-16  Alan Modra  <amodra@gmail.com>
40008         [BZ #16740]
40009         [BZ #16619]
40010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40011         * math/libm-test.inc (frexp_test_data): Add tests.
40012         * NEWS: Update fixed bug list.
40014 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40016         * benchtests/Makefile: Depend on libraries in build directory.
40017         (bench-math): Separate out math tests.
40018         (bench-pthread): Separate out pthread tests.
40019         (bench): Include math and pthread tests.
40021 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40023         [BZ #16831]
40024         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40025         _dl_debug_initialize.
40027         * configure.ac: Remove SELinux header check.
40028         * configure: Regenerate.
40029         * nscd/selinux.c (perms): Array of const char* to permission names.
40030         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40031         default policy. Call string_to_security_class and string_to_av_perm to
40032         translate strings. Enforce default policy and call avs_has_perm with
40033         results of translated strings.
40035 2014-04-13  David S. Miller  <davem@davemloft.net>
40037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40039 2014-04-12  Allan McRae  <allan@archlinux.org>
40041         [BZ #16838]
40042         * manual/string.texi (Collation Functions): Fix qsort argument
40043         order in example.
40044         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40046 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40048         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40049         Make the test a no-op if there are no exceptions defined.
40051 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40053         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40054         enable-hardcoded-path-in-tests
40056 2014-04-11  Will Newton  <will.newton@linaro.org>
40058         * benchtests/Makefile (extra-objs): Add json-lib.o.
40059         (bench-func): Tidy up JSON output.
40060         * benchtests/bench-skeleton.c: Include json-lib.h.
40061         (main): Use JSON library functions to do output of
40062         benchmark results.
40063         * benchtests/bench-timing-type.c (main): Output the
40064         timing type simply, leaving formatting to the user.
40065         * benchtests/json-lib.c: New file.
40066         * benchtests/json-lib.h: Likewise.
40068 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40070         [BZ #15215]
40071         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40072         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40073         memory barriers.  Add comments.
40074         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40075         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40076         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40077         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40078         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40079         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40081 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40083         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40084         * sysdeps/s390/s390-64/configure.ac: ... this ...
40085         * sysdeps/s390/configure.ac: ... to here.
40086         * sysdeps/s390/s390-32/configure: Delete file.
40087         * sysdeps/s390/s390-64/configure: Delete file.
40088         * sysdeps/s390/configure: Regenerate.
40090 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40092         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40094 2014-04-11  Will Newton  <will.newton@linaro.org>
40096         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40097         to zero if it is not defined elsewhere.  (mtrim): Test
40098         the value of MALLOC_DEBUG with #if rather than #ifdef.
40100 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40102         * benchtests/pthread_once-inputs: New file.
40103         * benchtests/pthread_once-source.c: New file.
40104         * benchtests/README: Update documentation.
40106 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40107             H.J. Lu  <hongjiu.lu@intel.com>
40109         [BZ #16275]
40110         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40111         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40112         * sysdeps/x86_64/configure: Regenerated.
40113         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40114         macro.
40115         (REGISTER_SAVE_RAX): Likewise.
40116         (REGISTER_SAVE_RCX): Likewise.
40117         (REGISTER_SAVE_RDX): Likewise.
40118         (REGISTER_SAVE_RSI): Likewise.
40119         (REGISTER_SAVE_RDI): Likewise.
40120         (REGISTER_SAVE_R8): Likewise.
40121         (REGISTER_SAVE_R9): Likewise.
40122         (REGISTER_SAVE_BND0): Likewise.
40123         (REGISTER_SAVE_BND1): Likewise.
40124         (REGISTER_SAVE_BND2): Likewise.
40125         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40126         bound registers when calling _dl_fixup.
40128 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40130         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40131         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40132         of its definition.
40133         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40134         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40135         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40136         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40137         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40138         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40139         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40141 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40143         [BZ #15514]
40144         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40145         pathconf(_PC_NAME_MAX).
40147 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40149         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40150         Remove macro usage.
40151         (__PTHREAD_SPINS): Move definition to ...
40152         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40153         (__PTHREAD_SPINS): ... here.
40154         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40155         (__PTHREAD_SPIN): Likewise.
40156         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40157         (__PTHREAD_SPIN): Likewise.
40158         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40159         (__PTHREAD_SPIN): Likewise.
40160         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40161         (__PTHREAD_SPIN): Likewise.
40162         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40163         (__PTHREAD_SPIN): Likewise.
40164         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40165         (__PTHREAD_SPIN): Likewise.
40166         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40167         (__PTHREAD_SPIN): Likewise.
40168         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40169         (__PTHREAD_SPIN): Likewise.
40170         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40171         (__PTHREAD_SPIN): Likewise.
40172         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40173         (__PTHREAD_SPIN): Likewise.
40174         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40175         (__PTHREAD_SPIN): Likewise.
40176         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40177         (__PTHREAD_SPIN): Likewise.
40179         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40180         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40181         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40182         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40183         imply folder.
40184         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40185         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40186         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40187         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40188         correct imply path.
40189         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40190         strlen symbol for non multi-arch builds.
40191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40192         missing hidden_def and weak_alias.
40194 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40196         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40198 2014-04-07  Will Newton  <will.newton@linaro.org>
40200         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40201         and contents.  [!_LIBC] Remove #ifndef and contents.
40202         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40203         * string/memccpy.c (__memccpy): Use ANSI prototype.
40204         * string/memfrob.c (memfrob): Likewise.
40205         * string/strcoll.c (STRCOLL): Likewise.
40206         * string/strlen.c (strlen): Likewise.
40207         * string/strtok.c (STRTOK): Likewise.
40208         * string/strcat.c: Remove unused #include of memcopy.h.
40209         (strcat): Use ANSI prototype.
40210         * string/strchr.c: Remove unused #include of memcopy.h.
40211         (strchr): Use ANSI prototype.
40212         * string/strcmp.c: Remove unused #include of memcopy.h.
40213         (strcmp): Use ANSI prototype.
40214         * string/strcpy.c: Remove unused #include of memcopy.h.
40215         (strcpy): Use ANSI prototype.
40217 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40219         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40220         * config.make.in (config-extra-cppflags): Set it from
40221         libc_extra_cppflags.
40222         * configure.ac (libc_extra_cflags): Make it accumulate over
40223         configure fragments.
40224         (libc_extra_cppflags): New flag.
40225         * configure. Regenerate.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40227         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40228         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40231         [BZ #16815]
40232         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40233         result for FE_DOWNWARD rounding mode.
40234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40235         Likewise.
40236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40238 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40240         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40241         in function argument name.
40243 2014-04-03  David Svoboda  <svoboda@cert.org>
40245         [BZ #5666]
40246         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40247         explicitly.
40249 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40251         * elf/dl-unmap-segments.h: New file.
40252         * sysdeps/generic/ldsodefs.h
40253         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40254         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40255         * elf/dl-fptr.c: Likewise.
40256         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40257         * sysdeps/aarch64/tlsdesc.c: Likewise.
40258         * sysdeps/arm/tlsdesc.c: Likewise.
40259         * sysdeps/i386/tlsdesc.c: Likewise.
40260         * sysdeps/tile/dl-runtime.c: Likewise.
40261         * sysdeps/x86_64/tlsdesc.c: Likewise.
40262         * elf/dl-load.h: New file.
40263         * elf/dl-load.c: Include it.
40264         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40265         Macros moved to dl-load.h.
40266         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40267         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40268         Use _dl_unmap_segments in place of __munmap.
40269         Break out segment-mapping loop into ...
40270         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40272 2014-04-03  Will Newton  <will.newton@linaro.org>
40274         * elf/dl-lookup.c (do_lookup_x): Remove comment
40275         referring to nested function and move variable
40276         declarations down to before first use.
40278 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40280         [BZ #16799]
40281         [BZ #16800]
40282         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40283         with 0 numerator.
40284         * math/s_catanf.c (__catanf): Likewise.
40285         * math/s_catanh.c (__catanh): Likewise.
40286         * math/s_catanhf.c (__catanhf): Likewise.
40287         * math/s_catanhl.c (__catanhl): Likewise.
40288         * math/s_catanl.c (__catanl): Likewise.
40289         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40290         by positive zero when computing -Inf result.
40291         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40292         (catanh_test): Likewise.
40293         * sysdeps/i386/fpu/libm-test-ulps: Update.
40294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40296         [BZ #16789]
40297         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40298         instead of using underflowing value in computing result.
40299         * math/s_clog10.c (__clog10): Likewise.
40300         * math/s_clog10f.c (__clog10f): Likewise.
40301         * math/s_clog10l.c (__clog10l): Likewise.
40302         * math/s_clogf.c (__clogf): Likewise.
40303         * math/s_clogl.c (__clogl): Likewise.
40304         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40305         (clog10_test): Likewise.
40306         * sysdeps/i386/fpu/libm-test-ulps: Update.
40307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40309 2014-04-02  Alan Modra  <amodra@gmail.com>
40311         [BZ #16739]
40312         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40313         output when value is near a power of two.  Use int64_t for lx and
40314         remove casts.  Use decimal rather than hex exponent constants.
40315         Don't use long double multiplication when double will suffice.
40316         * math/libm-test.inc (nextafter_test_data): Add tests.
40317         * NEWS: Add 16739 and 16786 to bug list.
40319         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40321         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40323 2014-04-01  Will Newton  <will.newton@linaro.org>
40325         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40326         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40328 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40330         [BZ #13347]
40331         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40332         * nptl/tst-setuid2.c: New file.
40333         * nptl/Makefile (xtests): Add tst-setuid2.
40335 2014-04-01  Alan Modra  <amodra@gmail.com>
40337         [BZ #16786]
40338         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40340 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40342         [BZ #6803]
40343         [BZ #6804]
40344         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40345         set errno as appropriate.
40346         * math/w_scalbf.c (__scalbf): Likewise.
40347         * math/w_scalbl.c (__scalbl): Likewise.
40348         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40349         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40350         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40351         Add more NaN tests.
40353         [BZ #16349]
40354         * math/w_atan2.c: Include <errno.h>.
40355         (__atan2): Set errno for result underflowing to zero.
40356         * math/w_atan2f.c: Include <errno.h>.
40357         (__atan2f): Set errno for result underflowing to zero.
40358         * math/w_atan2l.c: Include <errno.h>.
40359         (__atan2l): Set errno for result underflowing to zero.
40360         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40361         tests.
40362         * math/auto-libm-test-out: Regenerated.
40364 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40366         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40367         Encode instruction correctly in little endian.
40368         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40369         Likewise.
40370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40371         Likewise.
40372         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40373         Likewise.
40374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40375         Likewise.
40377 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40379         [BZ #9894]
40380         * sysdeps/unix/sysv/linux/kernel-features.h
40381         [__sparc__ && !__arch64__ && !__sparc_v9__]
40382         (__ASSUME_SET_ROBUST_LIST): Do not define.
40383         [__sparc__ && !__arch64__ && !__sparc_v9__]
40384         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40385         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40386         Likewise.
40387         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40388         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40389         (__ASSUME_REQUEUE_PI): Likewise.
40390         (__ASSUME_SET_ROBUST_LIST): Likewise.
40391         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40392         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40393         Undefine.
40394         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40395         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40396         Likewise.
40397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40398         Likewise.
40399         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40400         Likewise.
40401         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40402         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40403         Undefine.
40404         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40405         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40406         Likewise.
40408         [BZ #16648]
40409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40411         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40413 2014-03-31  Will Newton  <will.newton@linaro.org>
40415         * benchtests/Makefile (bench): Add ffs and ffsll to list
40416         of tests.
40417         * benchtests/ffs-inputs: New file.
40418         * benchtests/ffsll-inputs: Likewise.
40420 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40422         [BZ #16770]
40423         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40424         too large before casting to int.
40425         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40426         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40427         * math/libm-test.inc (scalb_test_data): Add more tests.
40429 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40431         * benchtests/Makefile (DETAILED_OPT): New make option.
40432         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40433         set.
40434         * benchtests/bench-skeleton.c: Include stdbool.h.
40435         (main): Store and print timings per input.
40436         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40437         member to each argument value.
40438         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40439         (_print_arg_data): Initialize per-input timing to 0.
40441         * benchtests/Makefile (timing-type): New binary.
40442         (bench-clean): Also remove bench-timing-type.
40443         (bench): New target for timing-type.
40444         (bench-func): Print output in JSON format.
40445         * benchtests/bench-skeleton.c (main): Print output in JSON
40446         format.
40447         * benchtests/bench-timing-type.c: New file.
40448         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40449         (TIMING_PRINT_STATS): Remove.
40450         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40451         name separately.
40453         * benchtests/bench-modf.c: Remove.
40454         * benchtests/modf-inputs: New inputs file.
40456 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40458         [BZ #16362]
40459         * math/s_clog10.c (M_PI_LOG10E): New macro.
40460         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40461         imaginary parts are 0.
40462         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40463         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40464         imaginary parts are 0.
40465         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40466         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40467         imaginary parts are 0.
40468         * math/libm-test.inc (clog10_test_data): Update expected results
40469         for when real and imaginary parts are 0.
40471 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40473         * elf/dl-load.c: Finish conversion of __builtin_expect into
40474         __glibc_{un}likely.
40476 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40478         [BZ #16348]
40479         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40480         1+x for argument with exponent below -67.
40481         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40482         Likewise.
40483         * math/auto-libm-test-in: Add more tests of exp.
40484         * math/auto-libm-test-out: Regenerated.
40486 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         [BZ #16759]
40489         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40490         (nscd_getnetgrent): Use it.
40492         [BZ #16760]
40493         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40494         of stpcpy.
40496 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40498         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40499         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40500         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40501         (lll_robust_unlock): Remove out of line section. Use cfi
40502         intrinsics.
40503         (LLL_STUB_UNWIND_INFO*): Remove.
40504         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40505         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40506         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40507         (lll_robust_unlock): Remove out of line section. Use cfi
40508         intrinsics.
40509         (LLL_STUB_UNWIND_INFO*): Remove.
40511 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40513         [BZ #16758]
40514         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40515         blank values.
40517 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40519         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40521 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40523         [BZ #16198]
40524         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40525         fnstenv.
40526         * math/test-fenv-preserve.c: New file.
40527         * math/Makefile (tests): Add test-fenv-preserve.
40529 2014-03-26  Will Newton <will.newton@linaro.org>
40531         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40533 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40535         * scripts/versionlist.awk: Partition the version sets and emit all
40536         GLIBC_* (sorted) before all others (sorted).
40538 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40540         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40541         GLIBC_2.2.5 version.
40543 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40545         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40546         calls.
40548         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40549         previous change.
40551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40553 2014-03-25  Andreas Schwab  <schwab@suse.de>
40555         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40556         label to be used after in6ailist is initialized.
40558 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40561         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40563 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40565         [BZ #16357]
40566         [BZ #16599]
40567         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40568         min_plus_half.
40569         (fp_formats): Update initializers.
40570         (init_fp_formats): Initialize new field.
40571         (output_for_one_input_case): Allow underflow for results up to
40572         min_plus_half.
40573         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40574         * math/auto-libm-test-in: Don't mark some underflows from asin and
40575         atanh as spurious.
40576         * math/auto-libm-test-out: Regenerated.
40577         * sysdeps/i386/fpu/libm-test-ulps: Update.
40578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40580 2014-03-25  Andreas Schwab  <schwab@suse.de>
40582         * libio/Makefile (tst-ftell-partial-wide-ENV)
40583         (tst-ftell-active-handler-ENV): Define.
40585 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40587         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40589 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40591         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40593 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40595         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40596         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40597         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40599 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40601         [BZ #16634]
40602         * elf/dl-load.c (open_verify): Add mode parameter.
40603         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40604         (open_path): Change from boolean 'secure' to complete flag 'mode'
40605         (_dl_map_object): Adjust.
40606         * elf/Makefile (tests): Add tst-dlopen-aout.
40607         * elf/tst-dlopen-aout.c: New test.
40609 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40611         [BZ #16714]
40612         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40613         (struct stat): Rename member pad0 to __glibc_reserved0.
40615         [BZ #16712]
40616         * sysdeps/s390/s390-32/bits/wordsize.h
40617         (__WORDSIZE32_SIZE_ULONG): New define.
40618         * sysdeps/s390/s390-64/bits/wordsize.h
40619         (__WORDSIZE32_SIZE_ULONG): Likewise.
40620         * sysdeps/generic/stdint.h (SIZE_MAX):
40621         Define as UL if __WORDSIZE32_SIZE_ULONG.
40623         [BZ #16713]
40624         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40625         (__glibc_reserved0): New variable.
40626         (sa_flags): Change type to int.
40628         * posix/Makefile (before-compile): Use += before-compile instead
40629         of a :=.
40631         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40632         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40634 2014-03-20  Andreas Schwab  <schwab@suse.de>
40636         [BZ #16743]
40637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40638         non-matching result from nscd.
40640 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40642         * scripts/bench.py: Moved to ...
40643         * benchtests/scripts/bench.py: ... here.
40644         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40646 2014-03-24  Andreas Schwab  <schwab@suse.de>
40648         [BZ #16002]
40649         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40650         alloca_account and account alloca use for struct in6ailist.
40652 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40654         [BZ #16284]
40655         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40656         rounding mode to recompute results that overflow to infinity or
40657         underflow to zero.
40658         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40659         bug 16284.
40660         * math/auto-libm-test-out: Regenerated.
40661         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40662         (ccosh_test): Likewise.
40663         (csin_test_data): Use plus_oflow.
40664         (csin_test): Use ALL_RM_TEST.
40665         (csinh_test_data): Use plus_oflow.
40666         (csinh_test): Use ALL_RM_TEST.
40667         * sysdeps/i386/fpu/libm-test-ulps: Update.
40668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40670 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40672         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40673         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40674         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40676         [BZ #16731]
40677         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40678         when x - 1 is zero.
40679         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40680         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40681         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40682         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40683         argument is 1.
40684         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40685         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40686         zero.
40687         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40688         * sysdeps/i386/fpu/libm-test-ulps: Update.
40689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40691 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40693         * scripts/bench.pl: Remove file.
40694         * scripts/bench.py: New benchmark script.
40695         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40696         * benchtests/README: Mention python dependency.
40697         * scripts/pylintrc: New file.
40698         * scripts/pylint: New file.
40700         * bits/mathdef.h: Use #ifdef instead of #if.
40701         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40702         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40703         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40704         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40705         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40706         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40708 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40709             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40711         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40713         and strpbrk-ppc64 objects.
40714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40715         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40716         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40717         multiarch strpbrk for POWER7.
40718         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40719         multiarch strpbrk for PPC64.
40720         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40721         ifunc selector.
40722         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40723         strpbrk for POWER7.
40725 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40727         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40728         (atan_test): Likewise.
40729         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40730         (atanh_test): Use ALL_RM_TEST.
40731         (atan2_test_data): Likewise.
40732         (cabs_test): Likewise.
40733         (cacosh_test): Likewise.
40734         (carg_test): Likewise.
40735         (casin_test): Likewise.
40736         (casinh_test): Likewise.
40737         (cbrt_test): Likewise.
40738         (csqrt_test): Likewise.
40739         (erf_test): Likewise.
40740         (erfc_test): Likewise.
40741         (pow10_test): Likewise.
40742         (exp2_test): Likewise.
40743         (hypot_test): Likewise.
40744         (j0_test): Likewise.
40745         (j1_test): Likewise.
40746         (lgamma_test): Likewise.
40747         (gamma_test): Likewise.
40748         (sincos_test): Likewise.
40749         (tanh_test): Likewise.
40750         (y0_test): Likewise.
40751         (y1_test): Likewise.
40752         * sysdeps/i386/fpu/libm-test-ulps: Update.
40753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40755 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40757         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40759         and strcspn-ppc64 objects.
40760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40761         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40762         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40763         multiarch strcspn for POWER7.
40764         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40765         multiarch strcspn for PPC64.
40766         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40767         ifunc selector.
40768         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40769         strcspn for POWER7.
40771 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40773         * math/gen-libm-test.pl (generate_testfile): Expect only function
40774         name as argument to AUTO_TESTS_* and pass results for all rounding
40775         modes to parse_args.
40776         (parse_auto_input): Separate inputs of automatic tests from
40777         outputs before storing in %auto_tests.
40778         * math/libm-test.inc (acos_test_data): Update call to
40779         AUTO_TESTS_f_f.
40780         (acos_test): Use ALL_RM_TEST.
40781         (acos_tonearest_test_data): Remove.
40782         (acos_test_tonearest): Likewise.
40783         (acos_towardzero_test_data): Likewise.
40784         (acos_test_towardzero): Likewise.
40785         (acos_downward_test_data): Likewise.
40786         (acos_test_downward): Likewise.
40787         (acos_upward_test_data): Likewise.
40788         (acos_test_upward): Likewise.
40789         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40790         (asin_test_data): Likewise.
40791         (asin_test): Use ALL_RM_TEST.
40792         (asin_tonearest_test_data): Remove.
40793         (asin_test_tonearest): Likewise.
40794         (asin_towardzero_test_data): Likewise.
40795         (asin_test_towardzero): Likewise.
40796         (asin_downward_test_data): Likewise.
40797         (asin_test_downward): Likewise.
40798         (asin_upward_test_data): Likewise.
40799         (asin_test_upward): Likewise.
40800         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40801         (atan_test_data): Likewise.
40802         (atanh_test_data): Likewise.
40803         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40804         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40805         (carg_test_data): Likewise.
40806         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40807         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40808         (ccosh_test_data): Likewise.
40809         (cexp_test_data): Likewise.
40810         (clog_test_data): Likewise.
40811         (clog10_test_data): Likewise.
40812         (cos_test_data): Update call to AUTO_TESTS_f_f.
40813         (cos_test): Use ALL_RM_TEST.
40814         (cos_tonearest_test_data): Remove.
40815         (cos_test_tonearest): Likewise.
40816         (cos_towardzero_test_data): Likewise.
40817         (cos_test_towardzero): Likewise.
40818         (cos_downward_test_data): Likewise.
40819         (cos_test_downward): Likewise.
40820         (cos_upward_test_data): Likewise.
40821         (cos_test_upward): Likewise.
40822         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40823         (cosh_test): Use ALL_RM_TEST.
40824         (cosh_tonearest_test_data): Remove.
40825         (cosh_test_tonearest): Likewise.
40826         (cosh_towardzero_test_data): Likewise.
40827         (cosh_test_towardzero): Likewise.
40828         (cosh_downward_test_data): Likewise.
40829         (cosh_test_downward): Likewise.
40830         (cosh_upward_test_data): Likewise.
40831         (cosh_test_upward): Likewise.
40832         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40833         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40834         (ctan_test_data): Likewise.
40835         (ctan_test): Use ALL_RM_TEST.
40836         (ctan_tonearest_test_data): Remove.
40837         (ctan_test_tonearest): Likewise.
40838         (ctan_towardzero_test_data): Likewise.
40839         (ctan_test_towardzero): Likewise.
40840         (ctan_downward_test_data): Likewise.
40841         (ctan_test_downward): Likewise.
40842         (ctan_upward_test_data): Likewise.
40843         (ctan_test_upward): Likewise.
40844         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40845         (ctanh_test): Use ALL_RM_TEST.
40846         (ctanh_tonearest_test_data): Remove.
40847         (ctanh_test_tonearest): Likewise.
40848         (ctanh_towardzero_test_data): Likewise.
40849         (ctanh_test_towardzero): Likewise.
40850         (ctanh_downward_test_data): Likewise.
40851         (ctanh_test_downward): Likewise.
40852         (ctanh_upward_test_data): Likewise.
40853         (ctanh_test_upward): Likewise.
40854         (erf_test_data): Update call to AUTO_TESTS_f_f.
40855         (erfc_test_data): Likewise.
40856         (exp_test_data): Likewise.
40857         (exp_test): Use ALL_RM_TEST.
40858         (exp_tonearest_test_data): Remove.
40859         (exp_test_tonearest): Likewise.
40860         (exp_towardzero_test_data): Likewise.
40861         (exp_test_towardzero): Likewise.
40862         (exp_downward_test_data): Likewise.
40863         (exp_test_downward): Likewise.
40864         (exp_upward_test_data): Likewise.
40865         (exp_test_upward): Likewise.
40866         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40867         (exp10_test): Use ALL_RM_TEST.
40868         (exp10_tonearest_test_data): Remove.
40869         (exp10_test_tonearest): Likewise.
40870         (exp10_towardzero_test_data): Likewise.
40871         (exp10_test_towardzero): Likewise.
40872         (exp10_downward_test_data): Likewise.
40873         (exp10_test_downward): Likewise.
40874         (exp10_upward_test_data): Likewise.
40875         (exp10_test_upward): Likewise.
40876         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40877         (expm1_test_data): Likewise.
40878         (expm1_test): Use ALL_RM_TEST.
40879         (expm1_tonearest_test_data): Remove.
40880         (expm1_test_tonearest): Likewise.
40881         (expm1_towardzero_test_data): Likewise.
40882         (expm1_test_towardzero): Likewise.
40883         (expm1_downward_test_data): Likewise.
40884         (expm1_test_downward): Likewise.
40885         (expm1_upward_test_data): Likewise.
40886         (expm1_test_upward): Likewise.
40887         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40888         (fma_test): Use ALL_RM_TEST.
40889         (fma_towardzero_test_data): Remove.
40890         (fma_test_towardzero): Likewise.
40891         (fma_downward_test_data): Likewise.
40892         (fma_test_downward): Likewise.
40893         (fma_upward_test_data): Likewise.
40894         (fma_test_upward): Likewise.
40895         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40896         (j0_test_data): Update call to AUTO_TESTS_f_f.
40897         (j1_test_data): Likewise.
40898         (jn_test_data): Update call to AUTO_TESTS_if_f.
40899         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40900         (log_test_data): Update call to AUTO_TESTS_f_f.
40901         (log10_test_data): Likewise.
40902         (log1p_test_data): Likewise.
40903         (log2_test_data): Likewise.
40904         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40905         (pow_tonearest_test_data): Likewise.
40906         (sin_test_data): Update call to AUTO_TESTS_f_f.
40907         (sin_test): Use ALL_RM_TEST.
40908         (sin_tonearest_test_data): Remove.
40909         (sin_test_tonearest): Likewise.
40910         (sin_towardzero_test_data): Likewise.
40911         (sin_test_towardzero): Likewise.
40912         (sin_downward_test_data): Likewise.
40913         (sin_test_downward): Likewise.
40914         (sin_upward_test_data): Likewise.
40915         (sin_test_upward): Likewise.
40916         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40917         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40918         (sinh_test): Use ALL_RM_TEST.
40919         (sinh_tonearest_test_data): Remove.
40920         (sinh_test_tonearest): Likewise.
40921         (sinh_towardzero_test_data): Likewise.
40922         (sinh_test_towardzero): Likewise.
40923         (sinh_downward_test_data): Likewise.
40924         (sinh_test_downward): Likewise.
40925         (sinh_upward_test_data): Likewise.
40926         (sinh_test_upward): Likewise.
40927         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40928         (sqrt_test): Use ALL_RM_TEST.
40929         (sqrt_tonearest_test_data): Remove.
40930         (sqrt_test_tonearest): Likewise.
40931         (sqrt_towardzero_test_data): Likewise.
40932         (sqrt_test_towardzero): Likewise.
40933         (sqrt_downward_test_data): Likewise.
40934         (sqrt_test_downward): Likewise.
40935         (sqrt_upward_test_data): Likewise.
40936         (sqrt_test_upward): Likewise.
40937         (tan_test_data): Update call to AUTO_TESTS_f_f.
40938         (tan_test): Use ALL_RM_TEST.
40939         (tan_tonearest_test_data): Remove.
40940         (tan_test_tonearest): Likewise.
40941         (tan_towardzero_test_data): Likewise.
40942         (tan_test_towardzero): Likewise.
40943         (tan_downward_test_data): Likewise.
40944         (tan_test_downward): Likewise.
40945         (tan_upward_test_data): Likewise.
40946         (tan_test_upward): Likewise.
40947         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40948         (tgamma_test_data): Likewise.
40949         (y0_test_data): Likewise.
40950         (y1_test_data): Likewise.
40951         (yn_test_data): Update call to AUTO_TESTS_if_f.
40952         (main): Do not call removed functions.
40954 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40956         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40957         (ldexp_test_data): Remove.
40958         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40959         scalbn_test_data.
40960         (scalb_test): Use ALL_RM_TEST.
40962 2014-03-19  Andreas Schwab  <schwab@suse.de>
40964         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40966 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40968         [BZ #16649]
40969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40970         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40971         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40972         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40973         (__ASSUME_PREADV): Undefine.
40974         (__ASSUME_PWRITEV): Likewise.
40976 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40978         * bits/mman-linux.h: Add comment about non-Linux use.
40979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40980         bits/mman-linux.h resting place.
40982         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40983         * bits/mman-linux.h: ... here.
40985 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40987         * conform/conformtest.pl: Add standard definition when calling C
40988         preprocessor on data files.
40989         (checknamespace): Remove unused variable.
40991 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40993         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40994         minus_oflow, plus_uflow and minus_uflow in expected results.
40995         * math/libm-test.inc (scalbn_test_data): Add more tests of
40996         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40997         minus_uflow.
40998         (scalbn_test): Use ALL_RM_TEST.
40999         (scalbln_test_data): Add more tests of negative arguments.  Use
41000         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41001         (scalbln_test): Use ALL_RM_TEST.
41003 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41005         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41007 2014-03-18  Will Newton  <will.newton@linaro.org>
41009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41010         inaccurate comment.
41012 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41014         * Makerules [!subdir] (check-abi): Exit with error status if a
41015         test failed.
41017 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41019         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41020         for rint.  Include results for all rounding modes.
41021         (nearbyint_test): Use ALL_RM_TEST.
41022         (rint_test_data): Include all tests used for nearbyint.
41024 2014-03-17  Will Newton  <will.newton@linaro.org>
41026         * nptl/sysdeps/pthread/pthread.h: Revert previous
41027         change.
41029         * sysdeps/generic/ldsodefs.h: Revert previous
41030         change.
41032         * libio/genops.c: Revert previous change.
41033         * libio/libioP.h: Likewise.
41034         * stdio-common/vfprintf.c: Likewise.
41036         * sysdeps/generic/math_private.h: Revert previous
41037         change.
41039         * sysdeps/generic/math_private.h: Check whether
41040         HAVE_RM_CTX is defined with #ifdef rather
41041         than #if.
41043         * argp/argp-fmtstream.h: Check whether
41044         __STRICT_ANSI__ is defined with #ifdef rather
41045         than #if.
41046         * argp/argp.h: Likewise.
41048         * libio/genops.c: Check whether
41049         _IO_JUMPS_OFFSET is defined with #ifdef rather
41050         than #if.
41051         * libio/libioP.h: Likewise.
41052         * stdio-common/vfprintf.c: Likewise.
41054         * sysdeps/generic/ldsodefs.h: Check whether
41055         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41056         than #if.
41058         * nptl/sysdeps/pthread/pthread.h: Check
41059         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41060         its value.
41062 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41064         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41065         setting O_APPEND.
41066         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41067         test case.
41069         [BZ #16680]
41070         * libio/fileops.c (_IO_file_open): Seek to end of file but
41071         don't cache the offset.
41072         (get_file_offset): Remove function.
41073         (do_ftell): Use cached offset when available.
41074         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41075         don't cache the offset.
41076         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41077         case.
41078         (do_one_test): Call it.
41079         (do_ftell_test): Fix up expected old offset for a+ mode.
41080         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41081         available.
41083         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41084         up test status with function return status.
41085         (do_write_test): Likewise.
41086         (do_append_test): Likewise.
41088         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41089         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41090         Remove.
41092 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41094         * math/gen-libm-test.pl (parse_args): Handle results specified for
41095         each rounding mode separately.
41096         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41097         tests and results from lrint_tonearest_test_data,
41098         lrint_towardzero_test_data, lrint_downward_test_data and
41099         lrint_upward_test_data.
41100         (lrint_test): Use ALL_RM_TEST.
41101         (lrint_tonearest_test_data): Remove.
41102         (lrint_test_tonearest): Likewise.
41103         (lrint_towardzero_test_data): Likewise.
41104         (lrint_test_towardzero): Likewise.
41105         (lrint_downward_test_data): Likewise.
41106         (lrint_test_downward): Likewise.
41107         (lrint_upward_test_data): Likewise.
41108         (lrint_test_upward): Likewise.
41109         (llrint_test_data): Merge in per-rounding-mode tests and results
41110         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41111         llrint_downward_test_data and llrint_upward_test_data.
41112         (llrint_test): Use ALL_RM_TEST.
41113         (llrint_tonearest_test_data): Remove.
41114         (llrint_test_tonearest): Likewise.
41115         (llrint_towardzero_test_data): Likewise.
41116         (llrint_test_towardzero): Likewise.
41117         (llrint_downward_test_data): Likewise.
41118         (llrint_test_downward): Likewise.
41119         (llrint_upward_test_data): Likewise.
41120         (llrint_test_upward): Likewise.
41121         (rint_test_data): Merge in per-rounding-mode tests and results
41122         from rint_tonearest_test_data, rint_towardzero_test_data,
41123         rint_downward_test_data and rint_upward_test_data.  Add
41124         per-rounding-mode results for tests not in those arrays.
41125         (rint_test): Use ALL_RM_TEST.
41126         (rint_tonearest_test_data): Remove.
41127         (rint_test_tonearest): Likewise.
41128         (rint_towardzero_test_data): Likewise.
41129         (rint_test_towardzero): Likewise.
41130         (rint_downward_test_data): Likewise.
41131         (rint_test_downward): Likewise.
41132         (rint_upward_test_data): Likewise.
41133         (rint_test_upward): Likewise.
41134         (main): Don't call removed functions.
41136 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41138         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41139         "Compiled on ..." crapola.  It is anti-useful.
41141 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41143         * scripts/evaluate-test.sh: Handle fourth argument to determine
41144         whether test run should stop on failure.
41145         * Makeconfig (stop-on-test-failure): New variable.
41146         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41147         $(stop-on-test-failure).
41148         * Makefile (tests): Give a summary of results from testing and
41149         exit with failure status if they include an ERROR or FAIL.
41150         (xtests): Likewise.
41151         * manual/install.texi (Configuring and compiling): Mention
41152         stop-on-test-failure=y.
41153         * INSTALL: Regenerated.
41155 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41157         * scripts/versionlist.awk: New file.
41158         * Makerules [$(build-shared) = yes]
41159         (postclean-generated): Add Versions.def, not Versions.def.v and
41160         Versions.def.v.i.
41161         ($(common-objpfx)Versions.def.v.i): Target removed.
41162         ($(common-objpfx)Versions.def): New target.
41163         ($(common-objpfx)Versions.all): Depend on that rather that
41164         $(common-objpfx)Versions.def.v.
41165         * Versions.def: File removed.
41167         * Makeconfig (+gccwarn): Add -Wundef.
41168         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41169         a dl-sysdep.h breaking its contract.
41170         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41171         * include/stackinfo.h: New file.
41172         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41173         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41174         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41175         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41176         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41177         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41178         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41179         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41180         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41181         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41182         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41183         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41184         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41185         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41186         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41188 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41190         [BZ #16707]
41191         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41192         implementation.
41193         * math/libm-test.inc (round_test_data): Add more tests.
41195         [BZ #16706]
41196         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41197         implementation.
41198         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41200         [BZ #16701]
41201         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41202         implementation.
41203         * math/libm-test.inc (ceil_test_data): Add more tests.
41205         * math/libm-test.inc (trunc_test_data): Add more tests related to
41206         BZ#16414.
41208 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41210         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41211         with #if rather than #ifdef.
41212         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41214 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41216         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41217         first.  Disable AVX-512 GCC support if assembler doesn't support
41218         it.
41219         * sysdeps/x86_64/configure: Regenerated.
41221 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41223         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41224         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41225         (__old_pthread_attr_setstack): Likewise.
41226         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41227         [!_STACK_GROWS_DOWN]: Likewise.
41229 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41231         * config.make.in (have-bash2): Delete.
41232         * configure.ac (libc_cv_have_bash2): Delete.
41233         * configure: Regenerate.
41234         * elf/Makefile (common-ldd-rewrite): Rename to ...
41235         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41236         (sh-ldd-rewrite): Delete.
41237         (bash-ldd-rewrite): Delete.
41238         (have-bash2): Delete checks.
41239         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41240         ldd-rewrite.
41242         * config.make.in (have-ksh): Delete.
41243         (KSH): Delete.
41244         * configure.ac (libc_cv_have_ksh): Delete.
41245         * configure: Regenerate.
41247         * elf/Makefile: Delete $(have-ksh) check.
41248         ($(objpfx)sotruss): Change KSH to BASH.
41249         * elf/sotruss.ksh: Rename to ...
41250         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41251         function style to match POSIX.  Drop ksh vim mode setting.
41253         * manual/time.texi (Specifying the Time Zone with TZ): Change
41254         Tuesday to Thursday.
41256         * debug/tst-longjmp_chk2.c: Update header comment.
41257         (stackoverflow_handler): Add comment.  Call assert on pass value.
41259 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41261         [BZ #16194]
41262         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41263         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41264         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41265         (La_x86_64_vector): Add zmm.
41266         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41267         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41268         ($(objpfx)tst-audit10): New target.
41269         ($(objpfx)tst-audit10.out): Likewise.
41270         (tst-audit10-ENV): New.
41271         (AVX512-CFLAGS): Likewise.
41272         (CFLAGS-tst-audit10.c): Likewise.
41273         (CFLAGS-tst-auditmod10a.c): Likewise.
41274         (CFLAGS-tst-auditmod10b.c): Likewise.
41275         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41276         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41277         * sysdeps/x86_64/configure: Regenerated.
41278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41279         AVX-512 zmm register support.
41280         (_dl_x86_64_save_sse): Likewise.
41281         (_dl_x86_64_restore_sse): Likewise.
41282         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41283         size vector registers.
41284         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41285         (ZMM_SIZE): Likewise.
41286         * sysdeps/x86_64/tst-audit10.c: New file.
41287         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41288         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41290 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41292         * configure.ac (HAVE_EHDR_START): New check.
41293         * configure: Regenerated.
41294         * config.h.in (HAVE_EHDR_START): New #undef.
41295         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41296         assuming the lowest-addressed segment maps the start of the file.
41298 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41300         * INSTALL: Regenerated.
41302 2014-03-13  Will Newton  <will.newton@linaro.org>
41304         * manual/setjmp.texi (System V contexts): Improve
41305         clarity and grammar of documentation.
41307 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41309         [BZ #16381]
41310         * elf/Makefile (tests): Add tst-pie2.
41311         (tests-pie): Add tst-pie2.
41312         * elf/tst-pie2.c: New file.
41313         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41314         for ET_EXEC.
41315         * elf/rtld.c (map_doit): Load executable as lt_executable.
41316         (dl_main): Likewise.
41318 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41320         [BZ #16642]
41321         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41322         (__ASSUME_PSELECT): Undefine.
41324 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41326         [BZ #16689]
41327         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41328         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41329         static build.
41330         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41331         selector for static builds.
41333 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41335         [BZ #16695]
41336         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41337         key in the buffer.
41339 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41341         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41342         IFUNC selector for static builds.
41344 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41346         * sysdeps/mips/math_private.h [__mips_hard_float]
41347         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41348         libc_feresetround_mips_ctx.
41349         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41350         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41351         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41353         [BZ #16677]
41354         * math/s_nextafter.c (__nextafter): Do not return value from
41355         overflowing computation.
41356         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41357         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41358         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41359         Likewise.
41360         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41361         Likewise.
41362         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41363         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41365 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41367         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41368         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41369         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41370         the new mov targetting sp.
41372 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41374         [BZ #16683]
41375         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41376         Define it for static builds as well.
41377         (NO_BZERO_IMPL): Likewise.
41379 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41381         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41382         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41383         multiarch strspn for PPC64.
41384         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41385         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41387         (__libc_ifunc_impl_list): Likewise.
41388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41389         multiarch optimizations
41390         * string/strspn.c (strspn): Using macro to redefine symbol name.
41392 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41393             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41395         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41396         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41397         multiarch strncat for PPC64.
41398         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41399         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41401         (__libc_ifunc_impl_list): Likewise.
41402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41403         multiarch optimizations
41405 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41407         [BZ #16639]
41408         * nscd/nscd.service: Make service type forking.
41410 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41412         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41413         sign in non default rounding modes.
41414         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41416 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41418         * math/libm-test.inc (ALL_RM_TEST): New macro.
41419         (ceil_test): Use ALL_RM_TEST.
41420         (cimag_test): Likewise.
41421         (conj_test): Likewise.
41422         (copysign_test): Likewise.
41423         (cproj_test): Likewise.
41424         (creal_test): Likewise.
41425         (fabs_test): Likewise.
41426         (floor_test): Likewise.
41427         (fmax_test): Likewise.
41428         (fmin_test): Likewise.
41429         (fmod_test): Likewise.
41430         (fpclassify_test): Likewise.
41431         (frexp_test): Likewise.
41432         (ilogb_test): Likewise.
41433         (isfinite_test): Likewise.
41434         (finite_test): Likewise.
41435         (isgreater_test): Likewise.
41436         (isgreaterequal_test): Likewise.
41437         (isinf_test): Likewise.
41438         (isless_test): Likewise.
41439         (islessequal_test): Likewise.
41440         (islessgreater_test): Likewise.
41441         (isnan_test): Likewise.
41442         (isnormal_test): Likewise.
41443         (issignaling_test): Likewise.
41444         (isunordered_test): Likewise.
41445         (logb_test): Likewise.
41446         (logb_downward_test_data): Remove.
41447         (logb_test_downward): Likewise.
41448         (lround_test): Use ALL_RM_TEST.
41449         (llround_test): Likewise.
41450         (modf_test): Likewise.
41451         (nexttoward_test): Likewise.
41452         (remainder_test): Likewise.
41453         (drem_test): Likewise.
41454         (remainder_tonearest_test_data): Likewise.
41455         (remainder_test_tonearest): Likewise.
41456         (drem_test_tonearest): Likewise.
41457         (remainder_towardzero_test_data): Likewise.
41458         (remainder_test_towardzero): Likewise.
41459         (drem_test_towardzero): Likewise.
41460         (remainder_downward_test_data): Likewise.
41461         (remainder_test_downward): Likewise.
41462         (drem_test_downward): Likewise.
41463         (remainder_upward_test_data): Likewise.
41464         (remainder_test_upward): Likewise.
41465         (drem_test_upward): Likewise.
41466         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41467         (round_test): Use ALL_RM_TEST.
41468         (signbit_test): Likewise.
41469         (trunc_test): Likewise.
41470         (significand_test): Likewise.
41471         (main): Don't call removed functions.
41473 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41475         [BZ #16674]
41476         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41477         || __USE_XOPEN2K8].
41478         (ILL_ILLOPN): Likewise.
41479         (ILL_ILLADR): Likewise.
41480         (ILL_ILLTRP): Likewise.
41481         (ILL_PRVOPC): Likewise.
41482         (ILL_PRVREG): Likewise.
41483         (ILL_COPROC): Likewise.
41484         (ILL_BADSTK): Likewise.
41485         (FPE_INTDIV): Likewise.
41486         (FPE_INTOVF): Likewise.
41487         (FPE_FLTDIV): Likewise.
41488         (FPE_FLTOVF): Likewise.
41489         (FPE_FLTUND): Likewise.
41490         (FPE_FLTRES): Likewise.
41491         (FPE_FLTINV): Likewise.
41492         (FPE_FLTSUB): Likewise.
41493         (SEGV_MAPERR): Likewise.
41494         (SEGV_ACCERR): Likewise.
41495         (BUS_ADRALN): Likewise.
41496         (BUS_ADRERR): Likewise.
41497         (BUS_OBJERR): Likewise.
41498         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41499         (TRAP_TRACE): Likewise.
41500         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41501         __USE_XOPEN2K8].
41502         (CLD_KILLED): Likewise.
41503         (CLD_DUMPED): Likewise.
41504         (CLD_TRAPPED): Likewise.
41505         (CLD_STOPPED): Likewise.
41506         (CLD_CONTINUED): Likewise.
41507         (POLL_IN): Likewise.
41508         (POLL_OUT): Likewise.
41509         (POLL_MSG): Likewise.
41510         (POLL_ERR): Likewise.
41511         (POLL_PRI): Likewise.
41512         (POLL_HUP): Likewise.
41513         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41514         Likewise.
41515         (ILL_ILLOPN): Likewise.
41516         (ILL_ILLADR): Likewise.
41517         (ILL_ILLTRP): Likewise.
41518         (ILL_PRVOPC): Likewise.
41519         (ILL_PRVREG): Likewise.
41520         (ILL_COPROC): Likewise.
41521         (ILL_BADSTK): Likewise.
41522         (FPE_INTDIV): Likewise.
41523         (FPE_INTOVF): Likewise.
41524         (FPE_FLTDIV): Likewise.
41525         (FPE_FLTOVF): Likewise.
41526         (FPE_FLTUND): Likewise.
41527         (FPE_FLTRES): Likewise.
41528         (FPE_FLTINV): Likewise.
41529         (FPE_FLTSUB): Likewise.
41530         (SEGV_MAPERR): Likewise.
41531         (SEGV_ACCERR): Likewise.
41532         (BUS_ADRALN): Likewise.
41533         (BUS_ADRERR): Likewise.
41534         (BUS_OBJERR): Likewise.
41535         (BUS_MCEERR_AR): Likewise.
41536         (BUS_MCEERR_AO): Likewise.
41537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41538         (TRAP_TRACE): Likewise.
41539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41540         __USE_XOPEN2K8].
41541         (CLD_KILLED): Likewise.
41542         (CLD_DUMPED): Likewise.
41543         (CLD_TRAPPED): Likewise.
41544         (CLD_STOPPED): Likewise.
41545         (CLD_CONTINUED): Likewise.
41546         (POLL_IN): Likewise.
41547         (POLL_OUT): Likewise.
41548         (POLL_MSG): Likewise.
41549         (POLL_ERR): Likewise.
41550         (POLL_PRI): Likewise.
41551         (POLL_HUP): Likewise.
41552         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41553         (ILL_ILLOPN): Likewise.
41554         (ILL_ILLADR): Likewise.
41555         (ILL_ILLTRP): Likewise.
41556         (ILL_PRVOPC): Likewise.
41557         (ILL_PRVREG): Likewise.
41558         (ILL_COPROC): Likewise.
41559         (ILL_BADSTK): Likewise.
41560         (FPE_INTDIV): Likewise.
41561         (FPE_INTOVF): Likewise.
41562         (FPE_FLTDIV): Likewise.
41563         (FPE_FLTOVF): Likewise.
41564         (FPE_FLTUND): Likewise.
41565         (FPE_FLTRES): Likewise.
41566         (FPE_FLTINV): Likewise.
41567         (FPE_FLTSUB): Likewise.
41568         (SEGV_MAPERR): Likewise.
41569         (SEGV_ACCERR): Likewise.
41570         (BUS_ADRALN): Likewise.
41571         (BUS_ADRERR): Likewise.
41572         (BUS_OBJERR): Likewise.
41573         (BUS_MCEERR_AR): Likewise.
41574         (BUS_MCEERR_AO): Likewise.
41575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41576         (TRAP_TRACE): Likewise.
41577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41578         __USE_XOPEN2K8].
41579         (CLD_KILLED): Likewise.
41580         (CLD_DUMPED): Likewise.
41581         (CLD_TRAPPED): Likewise.
41582         (CLD_STOPPED): Likewise.
41583         (CLD_CONTINUED): Likewise.
41584         (POLL_IN): Likewise.
41585         (POLL_OUT): Likewise.
41586         (POLL_MSG): Likewise.
41587         (POLL_ERR): Likewise.
41588         (POLL_PRI): Likewise.
41589         (POLL_HUP): Likewise.
41590         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41591         Likewise.
41592         (ILL_ILLOPN): Likewise.
41593         (ILL_ILLADR): Likewise.
41594         (ILL_ILLTRP): Likewise.
41595         (ILL_PRVOPC): Likewise.
41596         (ILL_PRVREG): Likewise.
41597         (ILL_COPROC): Likewise.
41598         (ILL_BADSTK): Likewise.
41599         (ILL_BADIADDR): Likewise.
41600         (ILL_BREAK): Likewise.
41601         (FPE_INTDIV): Likewise.
41602         (FPE_INTOVF): Likewise.
41603         (FPE_FLTDIV): Likewise.
41604         (FPE_FLTOVF): Likewise.
41605         (FPE_FLTUND): Likewise.
41606         (FPE_FLTRES): Likewise.
41607         (FPE_FLTINV): Likewise.
41608         (FPE_FLTSUB): Likewise.
41609         (FPE_DECOVF): Likewise.
41610         (FPE_DECDIV): Likewise.
41611         (FPE_DECERR): Likewise.
41612         (FPE_INVASC): Likewise.
41613         (FPE_INVDEC): Likewise.
41614         (SEGV_MAPERR): Likewise.
41615         (SEGV_ACCERR): Likewise.
41616         (SEGV_PSTKOVF): Likewise.
41617         (BUS_ADRALN): Likewise.
41618         (BUS_ADRERR): Likewise.
41619         (BUS_OBJERR): Likewise.
41620         (BUS_MCEERR_AR): Likewise.
41621         (BUS_MCEERR_AO): Likewise.
41622         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41623         (TRAP_TRACE): Likewise.
41624         (TRAP_BRANCH): Likewise.
41625         (TRAP_HWBKPT): Likewise.
41626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41627         __USE_XOPEN2K8].
41628         (CLD_KILLED): Likewise.
41629         (CLD_DUMPED): Likewise.
41630         (CLD_TRAPPED): Likewise.
41631         (CLD_STOPPED): Likewise.
41632         (CLD_CONTINUED): Likewise.
41633         (POLL_IN): Likewise.
41634         (POLL_OUT): Likewise.
41635         (POLL_MSG): Likewise.
41636         (POLL_ERR): Likewise.
41637         (POLL_PRI): Likewise.
41638         (POLL_HUP): Likewise.
41639         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41640         (ILL_ILLOPN): Likewise.
41641         (ILL_ILLADR): Likewise.
41642         (ILL_ILLTRP): Likewise.
41643         (ILL_PRVOPC): Likewise.
41644         (ILL_PRVREG): Likewise.
41645         (ILL_COPROC): Likewise.
41646         (ILL_BADSTK): Likewise.
41647         (FPE_INTDIV): Likewise.
41648         (FPE_INTOVF): Likewise.
41649         (FPE_FLTDIV): Likewise.
41650         (FPE_FLTOVF): Likewise.
41651         (FPE_FLTUND): Likewise.
41652         (FPE_FLTRES): Likewise.
41653         (FPE_FLTINV): Likewise.
41654         (FPE_FLTSUB): Likewise.
41655         (SEGV_MAPERR): Likewise.
41656         (SEGV_ACCERR): Likewise.
41657         (BUS_ADRALN): Likewise.
41658         (BUS_ADRERR): Likewise.
41659         (BUS_OBJERR): Likewise.
41660         (BUS_MCEERR_AR): Likewise.
41661         (BUS_MCEERR_AO): Likewise.
41662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41663         (TRAP_TRACE): Likewise.
41664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41665         __USE_XOPEN2K8].
41666         (CLD_KILLED): Likewise.
41667         (CLD_DUMPED): Likewise.
41668         (CLD_TRAPPED): Likewise.
41669         (CLD_STOPPED): Likewise.
41670         (CLD_CONTINUED): Likewise.
41671         (POLL_IN): Likewise.
41672         (POLL_OUT): Likewise.
41673         (POLL_MSG): Likewise.
41674         (POLL_ERR): Likewise.
41675         (POLL_PRI): Likewise.
41676         (POLL_HUP): Likewise.
41677         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41678         (ILL_ILLOPN): Likewise.
41679         (ILL_ILLADR): Likewise.
41680         (ILL_ILLTRP): Likewise.
41681         (ILL_PRVOPC): Likewise.
41682         (ILL_PRVREG): Likewise.
41683         (ILL_COPROC): Likewise.
41684         (ILL_BADSTK): Likewise.
41685         (FPE_INTDIV): Likewise.
41686         (FPE_INTOVF): Likewise.
41687         (FPE_FLTDIV): Likewise.
41688         (FPE_FLTOVF): Likewise.
41689         (FPE_FLTUND): Likewise.
41690         (FPE_FLTRES): Likewise.
41691         (FPE_FLTINV): Likewise.
41692         (FPE_FLTSUB): Likewise.
41693         (SEGV_MAPERR): Likewise.
41694         (SEGV_ACCERR): Likewise.
41695         (BUS_ADRALN): Likewise.
41696         (BUS_ADRERR): Likewise.
41697         (BUS_OBJERR): Likewise.
41698         (BUS_MCEERR_AR): Likewise.
41699         (BUS_MCEERR_AO): Likewise.
41700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41701         (TRAP_TRACE): Likewise.
41702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41703         __USE_XOPEN2K8].
41704         (CLD_KILLED): Likewise.
41705         (CLD_DUMPED): Likewise.
41706         (CLD_TRAPPED): Likewise.
41707         (CLD_STOPPED): Likewise.
41708         (CLD_CONTINUED): Likewise.
41709         (POLL_IN): Likewise.
41710         (POLL_OUT): Likewise.
41711         (POLL_MSG): Likewise.
41712         (POLL_ERR): Likewise.
41713         (POLL_PRI): Likewise.
41714         (POLL_HUP): Likewise.
41715         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41716         (ILL_ILLOPN): Likewise.
41717         (ILL_ILLADR): Likewise.
41718         (ILL_ILLTRP): Likewise.
41719         (ILL_PRVOPC): Likewise.
41720         (ILL_PRVREG): Likewise.
41721         (ILL_COPROC): Likewise.
41722         (ILL_BADSTK): Likewise.
41723         (FPE_INTDIV): Likewise.
41724         (FPE_INTOVF): Likewise.
41725         (FPE_FLTDIV): Likewise.
41726         (FPE_FLTOVF): Likewise.
41727         (FPE_FLTUND): Likewise.
41728         (FPE_FLTRES): Likewise.
41729         (FPE_FLTINV): Likewise.
41730         (FPE_FLTSUB): Likewise.
41731         (SEGV_MAPERR): Likewise.
41732         (SEGV_ACCERR): Likewise.
41733         (BUS_ADRALN): Likewise.
41734         (BUS_ADRERR): Likewise.
41735         (BUS_OBJERR): Likewise.
41736         (BUS_MCEERR_AR): Likewise.
41737         (BUS_MCEERR_AO): Likewise.
41738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41739         (TRAP_TRACE): Likewise.
41740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41741         __USE_XOPEN2K8].
41742         (CLD_KILLED): Likewise.
41743         (CLD_DUMPED): Likewise.
41744         (CLD_TRAPPED): Likewise.
41745         (CLD_STOPPED): Likewise.
41746         (CLD_CONTINUED): Likewise.
41747         (POLL_IN): Likewise.
41748         (POLL_OUT): Likewise.
41749         (POLL_MSG): Likewise.
41750         (POLL_ERR): Likewise.
41751         (POLL_PRI): Likewise.
41752         (POLL_HUP): Likewise.
41753         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41754         (ILL_ILLOPN): Likewise.
41755         (ILL_ILLADR): Likewise.
41756         (ILL_ILLTRP): Likewise.
41757         (ILL_PRVOPC): Likewise.
41758         (ILL_PRVREG): Likewise.
41759         (ILL_COPROC): Likewise.
41760         (ILL_BADSTK): Likewise.
41761         (ILL_DBLFLT): Likewise.
41762         (ILL_HARDWALL): Likewise.
41763         (FPE_INTDIV): Likewise.
41764         (FPE_INTOVF): Likewise.
41765         (FPE_FLTDIV): Likewise.
41766         (FPE_FLTOVF): Likewise.
41767         (FPE_FLTUND): Likewise.
41768         (FPE_FLTRES): Likewise.
41769         (FPE_FLTINV): Likewise.
41770         (FPE_FLTSUB): Likewise.
41771         (SEGV_MAPERR): Likewise.
41772         (SEGV_ACCERR): Likewise.
41773         (BUS_ADRALN): Likewise.
41774         (BUS_ADRERR): Likewise.
41775         (BUS_OBJERR): Likewise.
41776         (BUS_MCEERR_AR): Likewise.
41777         (BUS_MCEERR_AO): Likewise.
41778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41779         (TRAP_TRACE): Likewise.
41780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41781         __USE_XOPEN2K8].
41782         (CLD_KILLED): Likewise.
41783         (CLD_DUMPED): Likewise.
41784         (CLD_TRAPPED): Likewise.
41785         (CLD_STOPPED): Likewise.
41786         (CLD_CONTINUED): Likewise.
41787         (POLL_IN): Likewise.
41788         (POLL_OUT): Likewise.
41789         (POLL_MSG): Likewise.
41790         (POLL_ERR): Likewise.
41791         (POLL_PRI): Likewise.
41792         (POLL_HUP): Likewise.
41793         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41794         (ILL_ILLOPN): Likewise.
41795         (ILL_ILLADR): Likewise.
41796         (ILL_ILLTRP): Likewise.
41797         (ILL_PRVOPC): Likewise.
41798         (ILL_PRVREG): Likewise.
41799         (ILL_COPROC): Likewise.
41800         (ILL_BADSTK): Likewise.
41801         (FPE_INTDIV): Likewise.
41802         (FPE_INTOVF): Likewise.
41803         (FPE_FLTDIV): Likewise.
41804         (FPE_FLTOVF): Likewise.
41805         (FPE_FLTUND): Likewise.
41806         (FPE_FLTRES): Likewise.
41807         (FPE_FLTINV): Likewise.
41808         (FPE_FLTSUB): Likewise.
41809         (SEGV_MAPERR): Likewise.
41810         (SEGV_ACCERR): Likewise.
41811         (BUS_ADRALN): Likewise.
41812         (BUS_ADRERR): Likewise.
41813         (BUS_OBJERR): Likewise.
41814         (BUS_MCEERR_AR): Likewise.
41815         (BUS_MCEERR_AO): Likewise.
41816         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41817         (TRAP_TRACE): Likewise.
41818         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41819         __USE_XOPEN2K8].
41820         (CLD_KILLED): Likewise.
41821         (CLD_DUMPED): Likewise.
41822         (CLD_TRAPPED): Likewise.
41823         (CLD_STOPPED): Likewise.
41824         (CLD_CONTINUED): Likewise.
41825         (POLL_IN): Likewise.
41826         (POLL_OUT): Likewise.
41827         (POLL_MSG): Likewise.
41828         (POLL_ERR): Likewise.
41829         (POLL_PRI): Likewise.
41830         (POLL_HUP): Likewise.
41831         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41832         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41834         [BZ #16670]
41835         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41836         before #include of <time.h>.
41837         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41838         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41839         (test-xfail-UNIX98/sched.h/conform): Likewise.
41841 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41843         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41844         error absence of trapping exception support.
41845         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41847 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41849         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41850         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41851         * timezone/Makefile (testdata): Move definition above include of
41852         Rules.
41853         (test-zones): New variable.
41854         (tests-special): Add zone files.
41855         (build-testdata): Use $(evaluate-test).
41857         * elf/Makefile (tests-special): Rename tests to end with .out.
41858         ($(objpfx)noload-mem): Likewise.
41859         ($(objpfx)tst-leaks1-mem): Likewise.
41860         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41861         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41862         $(objpfx)test-iconvconfig.out.
41863         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41864         set -e inside subshell and redirect output to file.
41865         * iconvdata/Makefile (generated): Rename tests to end with .out.
41866         Correct type.
41867         (tests-special): Rename tests to end with .out.
41868         ($(objpfx)mtrace-tst-loading): Likewise.
41869         * intl/Makefile (generated): Likewise.
41870         (tests-special): Likewise.
41871         ($(objpfx)mtrace-tst-gettext): Likewise.
41872         * misc/Makefile (generated): Likewise.
41873         (tests-special): Likewise.
41874         ($(objpfx)tst-error1-mem): Likewise.
41875         * nptl/Makefile (tests-special): Likewise.
41876         ($(objpfx)tst-stack3-mem): Likewise.
41877         (generated): Likewise.
41878         * posix/Makefile (generated): Likewise.
41879         (tests-special): Likewise.
41880         (xtests-special): Likewise.
41881         ($(objpfx)tst-fnmatch-mem): Likewise.
41882         ($(objpfx)bug-regex2-mem): Likewise.
41883         ($(objpfx)bug-regex14-mem): Likewise.
41884         ($(objpfx)bug-regex21-mem): Likewise.
41885         ($(objpfx)bug-regex31-mem): Likewise.
41886         ($(objpfx)tst-vfork3-mem): Likewise.
41887         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41888         ($(objpfx)tst-pcre-mem): Likewise.
41889         ($(objpfx)tst-boost-mem): Likewise.
41890         ($(objpfx)bug-ga2-mem): Likewise.
41891         ($(objpfx)bug-glob2-mem): Likewise.
41892         * resolv/Makefile (generate): Likewise.
41893         (tests-special): Likewise.
41894         (xtests-special): Likewise.
41895         (generated): Likewise.
41896         ($(objpfx)mtrace-tst-leaks): Likewise.
41897         ($(objpfx)mtrace-tst-leaks2): Likewise.
41899         * scripts/merge-test-results.sh: New file.
41900         * Makefile (tests-special-notdir): New variable.
41901         (tests): Run merge-test-results.sh.
41902         (xtests): Likewise.
41903         * Rules (tests-special-notdir): New variable.
41904         (xtests-special-notdir): Likewise.
41905         (tests): Run merge-test-results.sh
41906         (xtests): Likewise.
41908         * Makeconfig (test-xfail-name): New variable.
41909         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41910         compute variable name for expected failures.
41911         * conform/Makefile (conformtest-headers-data): New variable.
41912         (conformtest-standards): Likewise.
41913         (conformtest-headers-ISO): Likewise.
41914         (conformtest-headers-ISO99): Likewise.
41915         (conformtest-headers-ISO11): Likewise.
41916         (conformtest-headers-POSIX): Likewise.
41917         (conformtest-headers-XPG3): Likewise.
41918         (conformtest-headers-XPG4): Likewise.
41919         (conformtest-headers-UNIX98): Likewise.
41920         (conformtest-headers-XOPEN2K): Likewise.
41921         (conformtest-headers-POSIX2008): Likewise.
41922         (conformtest-headers-XOPEN2K8): Likewise.
41923         (conformtest-header-list-base): Likewise.
41924         (conformtest-header-list-tests): Likewise.
41925         (conformtest-header-base): Likewise.
41926         (conformtest-header-tests): Likewise.
41927         (tests-special): Add $(conformtest-header-list-tests).  If
41928         [$(fast-check) && !$(cross-compiling)], add
41929         $(conformtest-header-tests) instead of
41930         $(objpfx)run-conformtest.out.
41931         (generated): Add $(conformtest-header-list-base).  If
41932         [$(fast-check) && !$(cross-compiling)], add
41933         $(conformtest-header-base).  Remove previous setting.
41934         ($(conformtest-header-list-tests)): New target.
41935         (test-xfail-run-conformtest): Remove variable.
41936         ($(objpfx)run-conformtest.out): Remove target.
41937         (test-xfail-ISO11/complex.h/conform): New variable.
41938         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41939         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41940         (test-xfail-XPG3/varargs.h/conform): Likewise.
41941         (test-xfail-XPG4/varargs.h/conform): Likewise.
41942         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41943         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41944         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41945         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41946         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41947         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41948         (test-xfail-XPG3/ftw.h/conform): Likewise.
41949         (test-xfail-XPG3/grp.h/conform): Likewise.
41950         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41951         (test-xfail-XPG3/limits.h/conform): Likewise.
41952         (test-xfail-XPG3/pwd.h/conform): Likewise.
41953         (test-xfail-XPG3/search.h/conform): Likewise.
41954         (test-xfail-XPG3/signal.h/conform): Likewise.
41955         (test-xfail-XPG3/stdio.h/conform): Likewise.
41956         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41957         (test-xfail-XPG3/string.h/conform): Likewise.
41958         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41959         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41960         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41961         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41962         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41963         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41964         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41965         (test-xfail-XPG3/termios.h/conform): Likewise.
41966         (test-xfail-XPG3/time.h/conform): Likewise.
41967         (test-xfail-XPG3/unistd.h/conform): Likewise.
41968         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41969         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41970         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41971         (test-xfail-XPG4/netdb.h/conform): Likewise.
41972         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41973         (test-xfail-XPG4/signal.h/conform): Likewise.
41974         (test-xfail-XPG4/stdio.h/conform): Likewise.
41975         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41976         (test-xfail-XPG4/stropts.h/conform): Likewise.
41977         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41978         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41979         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41980         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41981         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41982         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41983         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41984         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41985         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41986         (test-xfail-XPG4/termios.h/conform): Likewise.
41987         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41988         (test-xfail-XPG4/unistd.h/conform): Likewise.
41989         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41990         (test-xfail-POSIX/sched.h/conform): Likewise.
41991         (test-xfail-POSIX/signal.h/conform): Likewise.
41992         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41993         (test-xfail-POSIX/tar.h/conform): Likewise.
41994         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41995         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41996         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41997         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41998         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41999         (test-xfail-UNIX98/sched.h/conform): Likewise.
42000         (test-xfail-UNIX98/signal.h/conform): Likewise.
42001         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42002         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42003         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42004         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42005         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42006         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42007         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42008         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42009         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42010         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42011         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42012         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42013         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42014         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42015         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42016         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42017         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42018         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42019         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42020         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42021         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42022         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42023         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42024         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42025         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42026         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42027         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42028         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42029         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42030         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42031         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42032         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42033         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42034         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42035         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42036         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42037         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42038         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42039         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42040         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42041         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42042         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42043         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42044         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42045         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42046         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42047         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42048         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42049         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42050         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42051         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42052         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42053         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42054         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42055         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42056         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42057         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42058         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42059         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42060         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42061         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42062         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42063         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42064         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42065         (conformtest-cc-flags): Likewise.
42066         ($(conformtest-header-tests): New target.
42067         * conform/check-header-lists.sh: New file.
42068         * conform/run-conformtest.sh: Remove.
42070         * conform/conformtest.pl: Allow ' and \ in values given for
42071         constants.
42072         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42073         inclusion.
42074         [POSIX] (sys/types.h): Likewise.
42075         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42076         inclusion.
42077         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42078         inclusion.
42079         * conform/data/signal.h-data (SIGIO): Remove expectation.
42080         [XPG3] (SIGBUS): Do not expect.
42081         [POSIX || XPG3] (SIGPOLL): Likewise.
42082         [POSIX || XPG3] (SIGPROF): Likewise.
42083         [POSIX || XPG3] (SIGSYS): Likewise.
42084         [XPG3] (SIGTRAP): Likewise.
42085         [POSIX || XPG3] (SIGURG): Likewise.
42086         [POSIX || XPG3] (SIGVTALRM): Likewise.
42087         [POSIX || XPG3] (SIGXCPU): Likewise.
42088         [POSIX || XPG3] (SIGXFSZ): Likewise.
42089         [POSIX] (SA_SIGINFO): Expect.
42090         [XPG3] (siginfo_t): Do not expect type or contents.
42091         [POSIX] (si_pid): Do not expect element.
42092         [POSIX] (si_uid): Likewise.
42093         [POSIX] (si_addr): Likewise.
42094         [POSIX] (si_status): Likewise.
42095         [POSIX] (si_band): Likewise.
42096         [XPG4] (si_value): Likewise.
42097         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42098         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42099         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42100         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42101         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42102         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42103         [POSIX || XPG3] (ILL_COPROC): Likewise.
42104         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42105         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42106         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42107         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42108         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42109         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42110         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42111         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42112         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42113         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42114         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42115         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42116         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42117         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42118         [POSIX || XPG3] (CLD_EXITED): Likewise.
42119         [POSIX || XPG3] (CLD_KILLED): Likewise.
42120         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42121         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42122         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42123         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42124         [POSIX || XPG3] (POLL_IN): Likewise.
42125         [POSIX || XPG3] (POLL_OUT): Likewise.
42126         [POSIX || XPG3] (POLL_MSG): Likewise.
42127         [POSIX || XPG3] (POLL_ERR): Likewise.
42128         [POSIX || XPG3] (POLL_PRI): Likewise.
42129         [POSIX || XPG3] (POLL_HUP): Likewise.
42130         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42131         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42132         (SIG*): Do not allow.
42133         [XPG3] (si_*): Likewise.
42134         [XPG3] (SI_*): Likewise.
42135         [XPG3 || XPG4] (sigev_*): Likewise.
42136         [XPG3 || XPG4] (SIGEV_*): Likewise.
42137         [XPG3 || XPG4] (sival_*): Likewise.
42138         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42139         [POSIX || XPG3] (BUS_*): Likewise.
42140         [POSIX || XPG3] (CLD_*): Likewise.
42141         [POSIX || XPG3] (FPE_*): Likewise.
42142         [POSIX || XPG3] (ILL_*): Likewise.
42143         [POSIX || XPG3] (POLL_*): Likewise.
42144         [POSIX || XPG3] (SEGV_*): Likewise.
42145         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42146         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42147         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42148         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42149         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42150         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42151         Specify type and value.
42152         (TVERSLEN): Likewise.
42153         (REGTYPE): Likewise.
42154         (AREGTYPE): Likewise.
42155         (LNKTYPE): Likewise.
42156         (SYMTYPE): Likewise.
42157         (CHRTYPE): Likewise.
42158         (BLKTYPE): Likewise.
42159         (DIRTYPE): Likewise.
42160         (FIFOTYPE): Likewise.
42161         (CONTTYPE): Likewise.
42162         (TSUID): Likewise.
42163         (TSGID): Likewise.
42164         (TSVTX): Likewise.
42165         (TUREAD): Likewise.
42166         (TUWRITE): Likewise.
42167         (TUEXEC): Likewise.
42168         (TGREAD): Likewise.
42169         (TGWRITE): Likewise.
42170         (TGEXEC): Likewise.
42171         (TOREAD): Likewise.
42172         (TOWRITE): Likewise.
42173         (TOEXEC): Likewise.
42174         [POSIX] (TSVTX): Expect constant.
42176 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42178         * Makefile (tests): Change dependencies to ....
42179         (tests-special): ... additions to this variable.
42180         (tests): Depend on $(tests-special).
42181         * Makerules (check-abi-list): New variable.
42182         (check-abi): Depend on $(check-abi-list).
42183         [$(subdir) = elf] (tests-special): Add
42184         $(objpfx)check-abi-libc.out.
42185         [$(build-shared) = yes && subdir] (tests-special): Add
42186         $(check-abi-list).
42187         [$(build-shared) = yes && subdir] (tests): Do not depend on
42188         check-abi.
42189         * Rules (tests): Depend on $(tests-special).
42190         (xtests): Depend on $(xtests-special).
42191         * catgets/Makefile (tests): Change dependencies to ....
42192         (tests-special): ... additions to this variable.
42193         * conform/Makefile (tests): Change dependencies to ....
42194         (tests-special): ... additions to this variable.
42195         * elf/Makefile (tests): Change dependencies to ....
42196         (tests-special): ... additions to this variable.
42197         * grp/Makefile (tests): Change dependencies to ....
42198         (tests-special): ... additions to this variable.
42199         * iconv/Makefile (xtests): Change dependencies to ....
42200         (xtests-special): ... additions to this variable.
42201         * iconvdata/Makefile (tests): Change dependencies to ....
42202         (tests-special): ... additions to this variable.
42203         * intl/Makefile (tests): Change dependencies to ....
42204         (tests-special): ... additions to this variable.  Also add
42205         $(objpfx)tst-gettext.out.
42206         * io/Makefile (tests): Change dependencies to ....
42207         (tests-special): ... additions to this variable.
42208         * libio/Makefile (tests): Change dependencies to ....
42209         (tests-special): ... additions to this variable.
42210         * malloc/Makefile (tests): Change dependencies to ....
42211         (tests-special): ... additions to this variable.
42212         * misc/Makefile (tests): Change dependencies to ....
42213         (tests-special): ... additions to this variable.
42214         * nptl/Makefile (tests): Change dependencies to ....
42215         (tests-special): ... additions to this variable.
42216         * nptl_db/Makefile (tests): Change dependencies to ....
42217         (tests-special): ... additions to this variable.
42218         * posix/Makefile (tests): Change dependencies to ....
42219         (tests-special): ... additions to this variable.
42220         (xtests): Change dependencies to ....
42221         (xtests-special): ... additions to this variable.
42222         * resolv/Makefile (tests): Change dependencies to ....
42223         (tests-special): ... additions to this variable.
42224         (xtests): Change dependencies to ....
42225         (xtests-special): ... additions to this variable.
42226         * stdio-common/Makefile (tests): Change dependencies to ....
42227         (tests-special): ... additions to this variable.
42228         (do-tst-unbputc): Remove target.
42229         (do-tst-printf): Likewise.
42230         * stdlib/Makefile (tests): Change dependencies to ....
42231         (tests-special): ... additions to this variable.
42232         * string/Makefile (tests): Change dependencies to ....
42233         (tests-special): ... additions to this variable.
42234         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42235         (tests-special): ... additions to this variable.
42237         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42238         whole file.
42239         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42240         whole file.
42241         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42242         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42244         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42245         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42246         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42247         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42248         * conform/data/libgen.h-data [XPG3]: Likewise.
42249         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42250         * conform/data/ndbm.h-data [XPG3]: Likewise.
42251         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42252         * conform/data/netdb.h-data [XPG3]: Likewise.
42253         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42254         * conform/data/poll.h-data [XPG3]: Likewise.
42255         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42256         * conform/data/strings.h-data [XPG3]: Likewise.
42257         * conform/data/stropts.h-data [XPG3]: Likewise.
42258         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42259         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42260         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42261         Likewise.
42262         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42263         * conform/data/sys/time.h-data [XPG3]: Likewise.
42264         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42265         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42266         * conform/data/sys/un.h-data [XPG3]: Likewise.
42267         * conform/data/syslog.h-data [XPG3]: Likewise.
42268         * conform/data/ucontext.h-data [XPG3]: Likewise.
42269         * conform/data/utmpx.h-data [XPG3]: Likewise.
42270         * conform/data/varargs.h-data [UNIX98]: Enable file.
42272         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42274         * math/libm-test.inc (struct test_f_f_data): Move expected results
42275         into structure for each rounding mode.
42276         (struct test_ff_f_data): Likewise.
42277         (struct test_ff_f_data_nexttoward): Likewise.
42278         (struct test_fi_f_data): Likewise.
42279         (struct test_fl_f_data): Likewise.
42280         (struct test_if_f_data): Likewise.
42281         (struct test_fff_f_data): Likewise.
42282         (struct test_c_f_data): Likewise.
42283         (struct test_f_f1_data): Likewise.
42284         (struct test_fF_f1_data): Likewise.
42285         (struct test_ffI_f1_data): Likewise.
42286         (struct test_c_c_data): Likewise.
42287         (struct test_cc_c_data): Likewise.
42288         (struct test_f_i_data): Likewise.
42289         (struct test_ff_i_data): Likewise.
42290         (struct test_f_l_data): Likewise.
42291         (struct test_f_L_data): Likewise.
42292         (struct test_fFF_11_data): Likewise.
42293         (RM_): New macro.
42294         (RM_FE_DOWNWARD): Likewise.
42295         (RM_FE_TONEAREST): Likewise.
42296         (RM_FE_TOWARDZERO): Likewise.
42297         (RM_FE_UPWARD): Likewise.
42298         (RUN_TEST_LOOP_f_f): Update references to expected results.
42299         (RUN_TEST_LOOP_2_f): Likewise.
42300         (RUN_TEST_LOOP_fff_f): Likewise.
42301         (RUN_TEST_LOOP_c_f): Likewise.
42302         (RUN_TEST_LOOP_f_f1): Likewise.
42303         (RUN_TEST_LOOP_fF_f1): Likewise.
42304         (RUN_TEST_LOOP_fI_f1): Likewise.
42305         (RUN_TEST_LOOP_ffI_f1): Likewise.
42306         (RUN_TEST_LOOP_c_c): Likewise.
42307         (RUN_TEST_LOOP_cc_c): Likewise.
42308         (RUN_TEST_LOOP_f_i): Likewise.
42309         (RUN_TEST_LOOP_f_i_tg): Likewise.
42310         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42311         (RUN_TEST_LOOP_f_b): Likewise.
42312         (RUN_TEST_LOOP_f_b_tg): Likewise.
42313         (RUN_TEST_LOOP_f_l): Likewise.
42314         (RUN_TEST_LOOP_f_L): Likewise.
42315         (RUN_TEST_LOOP_fFF_11): Likewise.
42316         * math/gen-libm-test.pl (parse_args): Output four copies of
42317         expected results for each test.
42319         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42320         (__ASSUME_UTIMES): Remove.
42321         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42322         (__ASSUME_UTIMES): Likewise.
42324         * math/gen-auto-libm-tests.c: Update comment on output format.
42325         (output_for_one_input_case): Generate before-rounding and
42326         after-rounding information as conditions on output flags not
42327         floating-point format.
42328         * math/auto-libm-test-out: Regenerated.
42329         * math/gen-libm-test.pl (cond_value): New function.
42330         (or_cond_value): Use cond_value.
42331         (generate_testfile): Handle conditional exceptions.
42333 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42335         * math/libm-test.inc (max_valid_error): New variable.
42336         (init_max_error): Take new argument specifying whether function
42337         results are exactly determined.  Set max_valid_error and bound
42338         other variables for errors based on this argument.
42339         (set_max_error): Do not record results above max_valid_error.
42340         (check_float_internal): Only accept errors of up to 0.5ulps if
42341         also at most max_valid_error.
42342         (START): Take new argument EXACT and pass it to init_max_error.
42343         (acos_test): Update call to START.
42344         (acos_test_tonearest): Likewise.
42345         (acos_test_towardzero): Likewise.
42346         (acos_test_downward): Likewise.
42347         (acos_test_upward): Likewise.
42348         (acosh_test): Likewise.
42349         (asin_test): Likewise.
42350         (asin_test_tonearest): Likewise.
42351         (asin_test_towardzero): Likewise.
42352         (asin_test_downward): Likewise.
42353         (asin_test_upward): Likewise.
42354         (asinh_test): Likewise.
42355         (atan_test): Likewise.
42356         (atanh_test): Likewise.
42357         (atan2_test): Likewise.
42358         (cabs_test): Likewise.
42359         (cacos_test): Likewise.
42360         (cacosh_test): Likewise.
42361         (carg_test): Likewise.
42362         (casin_test): Likewise.
42363         (casinh_test): Likewise.
42364         (catan_test): Likewise.
42365         (catanh_test): Likewise.
42366         (cbrt_test): Likewise.
42367         (ccos_test): Likewise.
42368         (ccosh_test): Likewise.
42369         (ceil_test): Likewise.
42370         (cexp_test): Likewise.
42371         (cimag_test): Likewise.
42372         (clog_test): Likewise.
42373         (clog10_test): Likewise.
42374         (conj_test): Likewise.
42375         (copysign_test): Likewise.
42376         (cos_test): Likewise.
42377         (cos_test_tonearest): Likewise.
42378         (cos_test_towardzero): Likewise.
42379         (cos_test_downward): Likewise.
42380         (cos_test_upward): Likewise.
42381         (cosh_test): Likewise.
42382         (cosh_test_tonearest): Likewise.
42383         (cosh_test_towardzero): Likewise.
42384         (cosh_test_downward): Likewise.
42385         (cosh_test_upward): Likewise.
42386         (cpow_test): Likewise.
42387         (cproj_test): Likewise.
42388         (creal_test): Likewise.
42389         (csin_test): Likewise.
42390         (csinh_test): Likewise.
42391         (csqrt_test): Likewise.
42392         (ctan_test): Likewise.
42393         (ctan_test_tonearest): Likewise.
42394         (ctan_test_towardzero): Likewise.
42395         (ctan_test_downward): Likewise.
42396         (ctan_test_upward): Likewise.
42397         (ctanh_test): Likewise.
42398         (ctanh_test_tonearest): Likewise.
42399         (ctanh_test_towardzero): Likewise.
42400         (ctanh_test_downward): Likewise.
42401         (ctanh_test_upward): Likewise.
42402         (erf_test): Likewise.
42403         (erfc_test): Likewise.
42404         (exp_test): Likewise.
42405         (exp_test_tonearest): Likewise.
42406         (exp_test_towardzero): Likewise.
42407         (exp_test_downward): Likewise.
42408         (exp_test_upward): Likewise.
42409         (exp10_test): Likewise.
42410         (exp10_test_tonearest): Likewise.
42411         (exp10_test_towardzero): Likewise.
42412         (exp10_test_downward): Likewise.
42413         (exp10_test_upward): Likewise.
42414         (pow10_test): Likewise.
42415         (exp2_test): Likewise.
42416         (expm1_test): Likewise.
42417         (expm1_test_tonearest): Likewise.
42418         (expm1_test_towardzero): Likewise.
42419         (expm1_test_downward): Likewise.
42420         (expm1_test_upward): Likewise.
42421         (fabs_test): Likewise.
42422         (fdim_test): Likewise.
42423         (floor_test): Likewise.
42424         (fma_test): Likewise.
42425         (fma_test_towardzero): Likewise.
42426         (fma_test_downward): Likewise.
42427         (fma_test_upward): Likewise.
42428         (fmax_test): Likewise.
42429         (fmin_test): Likewise.
42430         (fmod_test): Likewise.
42431         (fpclassify_test): Likewise.
42432         (frexp_test): Likewise.
42433         (hypot_test): Likewise.
42434         (ilogb_test): Likewise.
42435         (isfinite_test): Likewise.
42436         (finite_test): Likewise.
42437         (isgreater_test): Likewise.
42438         (isgreaterequal_test): Likewise.
42439         (isinf_test): Likewise.
42440         (isless_test): Likewise.
42441         (islessequal_test): Likewise.
42442         (islessgreater_test): Likewise.
42443         (isnan_test): Likewise.
42444         (isnormal_test): Likewise.
42445         (issignaling_test): Likewise.
42446         (isunordered_test): Likewise.
42447         (j0_test): Likewise.
42448         (j1_test): Likewise.
42449         (jn_test): Likewise.
42450         (ldexp_test): Likewise.
42451         (lgamma_test): Likewise.
42452         (gamma_test): Likewise.
42453         (lrint_test): Likewise.
42454         (lrint_test_tonearest): Likewise.
42455         (lrint_test_towardzero): Likewise.
42456         (lrint_test_downward): Likewise.
42457         (lrint_test_upward): Likewise.
42458         (llrint_test): Likewise.
42459         (llrint_test_tonearest): Likewise.
42460         (llrint_test_towardzero): Likewise.
42461         (llrint_test_downward): Likewise.
42462         (llrint_test_upward): Likewise.
42463         (log_test): Likewise.
42464         (log10_test): Likewise.
42465         (log1p_test): Likewise.
42466         (log2_test): Likewise.
42467         (logb_test): Likewise.
42468         (logb_test_downward): Likewise.
42469         (lround_test): Likewise.
42470         (llround_test): Likewise.
42471         (modf_test): Likewise.
42472         (nearbyint_test): Likewise.
42473         (nextafter_test): Likewise.
42474         (nexttoward_test): Likewise.
42475         (pow_test): Likewise.
42476         (pow_test_tonearest): Likewise.
42477         (pow_test_towardzero): Likewise.
42478         (pow_test_downward): Likewise.
42479         (pow_test_upward): Likewise.
42480         (remainder_test): Likewise.
42481         (drem_test): Likewise.
42482         (remainder_test_tonearest): Likewise.
42483         (drem_test_tonearest): Likewise.
42484         (remainder_test_towardzero): Likewise.
42485         (drem_test_towardzero): Likewise.
42486         (remainder_test_downward): Likewise.
42487         (drem_test_downward): Likewise.
42488         (remainder_test_upward): Likewise.
42489         (drem_test_upward): Likewise.
42490         (remquo_test): Likewise.
42491         (rint_test): Likewise.
42492         (rint_test_tonearest): Likewise.
42493         (rint_test_towardzero): Likewise.
42494         (rint_test_downward): Likewise.
42495         (rint_test_upward): Likewise.
42496         (round_test): Likewise.
42497         (scalb_test): Likewise.
42498         (scalbn_test): Likewise.
42499         (scalbln_test): Likewise.
42500         (signbit_test): Likewise.
42501         (sin_test): Likewise.
42502         (sin_test_tonearest): Likewise.
42503         (sin_test_towardzero): Likewise.
42504         (sin_test_downward): Likewise.
42505         (sin_test_upward): Likewise.
42506         (sincos_test): Likewise.
42507         (sinh_test): Likewise.
42508         (sinh_test_tonearest): Likewise.
42509         (sinh_test_towardzero): Likewise.
42510         (sinh_test_downward): Likewise.
42511         (sinh_test_upward): Likewise.
42512         (sqrt_test): Likewise.
42513         (sqrt_test_tonearest): Likewise.
42514         (sqrt_test_towardzero): Likewise.
42515         (sqrt_test_downward): Likewise.
42516         (sqrt_test_upward): Likewise.
42517         (tan_test): Likewise.
42518         (tan_test_tonearest): Likewise.
42519         (tan_test_towardzero): Likewise.
42520         (tan_test_downward): Likewise.
42521         (tan_test_upward): Likewise.
42522         (tanh_test): Likewise.
42523         (tgamma_test): Likewise.
42524         (trunc_test): Likewise.
42525         (y0_test): Likewise.
42526         (y1_test): Likewise.
42527         (yn_test): Likewise.
42528         (significand_test): Likewise.
42530         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42531         individual tests in comment.
42532         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42533         (prev_max_error): New variable.
42534         (prev_real_max_error): Likewise.
42535         (prev_imag_max_error): Likewise.
42536         (compare_ulp_data): Don't refer to test names in comment.
42537         (find_test_ulps): Remove function.
42538         (find_function_ulps): Likewise.
42539         (find_complex_function_ulps): Likewise.
42540         (init_max_error): Take function name as argument.  Look up ulps
42541         for that function.
42542         (print_ulps): Remove function.
42543         (print_max_error): Use prev_max_error instead of calling
42544         find_function_ulps.
42545         (print_complex_max_error): Use prev_real_max_error and
42546         prev_imag_max_error instead of calling find_complex_function_ulps.
42547         (check_float_internal): Take max_ulp parameter instead of calling
42548         find_test_ulps.  Don't call print_ulps.
42549         (check_float): Update call to check_float_internal.
42550         (check_complex): Update calls to check_float_internal.
42551         (START): Pass argument to init_max_error.
42552         * math/gen-libm-test.pl (%results): Don't include "kind"
42553         information.
42554         (parse_ulps): Don't handle ulps of individual tests.
42555         (print_ulps_file): Likewise.
42556         (output_ulps): Likewise.
42557         * math/README.libm-test: Update.
42558         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42559         individual tests.
42560         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42561         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42562         * sysdeps/arm/libm-test-ulps: Likewise.
42563         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42564         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42565         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42566         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42567         * sysdeps/microblaze/libm-test-ulps: Likewise.
42568         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42569         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42571         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42573         * sysdeps/sh/libm-test-ulps: Likewise.
42574         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42575         * sysdeps/tile/libm-test-ulps: Likewise.
42576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42578 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42580         * math/libm-test.inc (print_complex_max_error): Check separately
42581         whether real and imaginary errors are within allowed range and
42582         pass 0 to print_complex_function_ulps instead of value within
42583         allowed range.
42585 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42587         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42588         formatting.
42589         (get_handles_fopen): Likewise.
42590         (do_write_test): Likewise.
42592         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42594         * libio/fileops.c (do_ftell): Use cached offset when
42595         available.
42596         * libio/iofwide.c (do_ftell_wide): Likewise.
42597         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42598         _IO_file_attach.
42599         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42601         [BZ #16532]
42602         * libio/libioP.h (get_file_offset): New function.
42603         * libio/fileops.c (get_file_offset): Likewise.
42604         (do_ftell): Likewise.
42605         (_IO_new_file_seekoff): Split out ftell logic.
42606         * libio/wfileops.c (do_ftell_wide): Likewise.
42607         (_IO_wfile_seekoff): Split out ftell logic.
42608         * libio/tst-ftell-active-handler.c: New test case.
42609         * libio/Makefile (tests): Add it.
42611 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42613         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42614         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42616 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42618         [BZ #16639]
42619         * nscd/connections.c (nscd_init): Call do_exit.
42620         (start_threads): Call do_exit and notify_parent.
42621         (begin_drop_privileges): Call do_exit.
42622         (finish_drop_privileges): Likewise.
42623         * nscd/selinux.c (preserve_capabilities): Likewise.
42624         (install_real_capabilities): Likewise.
42625         (nscd_selinux_enabled): Likewise.
42626         (avc_create_thread): Likewise.
42627         (avc_alloc_lock): Likewise.
42628         (nscd_avc_init): Likewise.
42629         * nscd/nscd.c (parent_fd): New static variable.
42630         (main): Create a pipe between parent and child processes.
42631         Skip closing parent_fd.
42632         (monitor_child): New function.
42633         (do_exit): Likewise.
42634         (notify_parent): Likewise.
42635         * nscd/nscd.h (notify_parent): Likewise.
42636         (do_exit): Likewise.
42638 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42640         * malloc/malloc.c (__libc_calloc): Revert last change.
42642 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42646 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42648         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42650         implementation.
42651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42652         (__libc_ifunc_impl_list): Likewise.
42653         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42654         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42655         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42656         * string/strrchr.c: Define STRRCHR.
42658 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42660         * benchtest/bench-strtok.c (simple_strtok): Delete.
42661         (strtok_string): Use as benchmark.
42662         * string/strtok (STRTOK): New macro.
42664 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42666         * manual/threads.texi: Add header and standard comments to all
42667         functions.
42669         * elf/dl-lookup.c (check_match): New function.
42670         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42671         (do_lookup_x): Remove nested function check_match. Use non-nested
42672         function check_match.
42674 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42676         * csu/Makefile (generated, before-compile): Use += rather than =.
42677         * catgets/Makefile (generated, generated-dirs): Likewise.
42678         * debug/Makefile (generated): Likewise.
42679         * dlfcn/Makefile (generated): Likewise.
42680         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42681         * iconvdata/Makefile (before-compile, generated): Likewise.
42682         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42683         * libio/Makefile (generated): Likewise.
42684         * malloc/Makefile (generated): Likewise.
42685         * manual/Makefile (generated, generated-dirs): Likewise.
42686         * misc/Makefile (generated): Likewise.
42687         * posix/Makefile (generated): Likewise.
42688         * resolv/Makefile (generated): Likewise.
42689         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42690         * timezone/Makefile (generated, generated-dirs): Likewise.
42692         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42694 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42697         power8 implementation.
42698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42699         file: POWER8 llround ifunc implementation.
42700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42701         (__lllround): Add POWER8 implementation.
42702         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42703         POWER8 llround implementation.
42705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42706         power8 implementation.
42707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42708         file: POWER8 llrint ifunc implementation.
42709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42710         Add POWER8 implementation.
42711         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42712         POWER8 llrint implementation.
42714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42715         power8 implementation.
42716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42717         file: POWER8 finite ifunc implementation.
42718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42719         Add POWER8 implementation.
42720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42721         Likewise.
42722         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42723         POWER8 finite implementation.
42724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42727         power8 implementation.
42728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42729         file: POWER8 isinf ifunc implementation.
42730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42731         POWER8 implementation.
42732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42733         Likewise.
42734         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42735         isinf implementation.
42736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42738         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42739         (INIT_ARCH): Add hwcap2 initialization.
42740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42741         power8 implementation.
42742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42743         file: POWER8 isnan ifunc implementation.
42744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42745         POWER8 implementation.
42746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42747         Likewise.
42748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42749         isnan implementation.
42750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42752 2014-02-27  Joey Ye  <joey.ye@arm.com>
42754         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42755         (_FP_NANFRAC_Q): Set to zero.
42757 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42759         [BZ #16623]
42760         * math/auto-libm-test-in: New test inputs.
42761         * math/auto-libm-test-out: Regenerate.
42762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42763         and DA.
42764         (__cos): Likewise.
42765         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42767 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42769         * scripts/evaluate-test.sh: Take new argument indicating whether
42770         failure is expected.
42771         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42772         indicating whether failure is expected.
42773         * conform/Makefile (test-xfail-run-conformtest): New variable.
42774         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42775         level.
42776         * posix/Makefile (test-xfail-annexc): New variable.
42777         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42779 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42781         * argp/Makefile: Include Makeconfig immediately after defining
42782         subdir.
42783         * assert/Makefile: Likewise.
42784         * benchtests/Makefile: Likewise.
42785         * catgets/Makefile: Likewise.
42786         * conform/Makefile: Likewise.
42787         * crypt/Makefile: Likewise.
42788         * csu/Makefile: Likewise.
42789         (all): Remove target.
42790         * ctype/Makefile: Include Makeconfig immediately after defining
42791         subdir.
42792         * debug/Makefile: Likewise.
42793         * dirent/Makefile: Likewise.
42794         * dlfcn/Makefile: Likewise.
42795         * gmon/Makefile: Likewise.
42796         * gnulib/Makefile: Likewise.
42797         * grp/Makefile: Likewise.
42798         * gshadow/Makefile: Likewise.
42799         * hesiod/Makefile: Likewise.
42800         * hurd/Makefile: Likewise.
42801         (all): Remove target.
42802         * iconvdata/Makefile: Include Makeconfig immediately after
42803         defining subdir.
42804         * inet/Makefile: Likewise.
42805         * intl/Makefile: Likewise.
42806         * io/Makefile: Likewise.
42807         * libio/Makefile: Likewise.
42808         (all): Remove target.
42809         * locale/Makefile: Include Makeconfig immediately after defining
42810         subdir.
42811         * login/Makefile: Likewise.
42812         * mach/Makefile: Likewise.
42813         (all): Remove target.
42814         * malloc/Makefile: Include Makeconfig immediately after defining
42815         subdir.
42816         (all): Remove target.
42817         * manual/Makefile: Include Makeconfig immediately after defining
42818         subdir.
42819         * math/Makefile: Likewise.
42820         * misc/Makefile: Likewise.
42821         * nis/Makefile: Likewise.
42822         * nss/Makefile: Likewise.
42823         * po/Makefile: Likewise.
42824         (all): Remove target.
42825         * posix/Makefile: Include Makeconfig immediately after defining
42826         subdir.
42827         * pwd/Makefile: Likewise.
42828         * resolv/Makefile: Likewise.
42829         * resource/Makefile: Likewise.
42830         * rt/Makefile: Likewise.
42831         * setjmp/Makefile: Likewise.
42832         * shadow/Makefile: Likewise.
42833         * signal/Makefile: Likewise.
42834         * socket/Makefile: Likewise.
42835         * soft-fp/Makefile: Likewise.
42836         * stdio-common/Makefile: Likewise.
42837         * stdlib/Makefile: Likewise.
42838         * streams/Makefile: Likewise.
42839         * string/Makefile: Likewise.
42840         * sunrpc/Makefile: Likewise.
42841         (all): Remove target.
42842         * sysvipc/Makefile: Include Makeconfig immediately after defining
42843         subdir.
42844         * termios/Makefile: Likewise.
42845         * time/Makefile: Likewise.
42846         * timezone/Makefile: Likewise.
42847         (all): Remove target.
42848         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42849         subdir.
42850         * wctype/Makefile: Likewise.
42852 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42854         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42855         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42856         (libc_feholdexcept_setround_mips): Ditto.
42857         (libc_feholdsetround): New.
42858         (libc_feholdsetroundf): New.
42859         (libc_feholdsetroundl): New.
42860         (libc_feupdateenv_test_mips): New.
42861         (libc_feupdateenv_test): New.
42862         (libc_feupdateenv_testf): New.
42863         (libc_feupdateenv_testl): New.
42864         (libc_feresetround): New.
42865         (libc_feresetroundf): New.
42866         (libc_feresetroundl): New.
42867         (libc_fetestexcept_mips): New.
42868         (libc_fetestexcept): New.
42869         (libc_fetestexceptf): New.
42870         (libc_fetestexceptl): New.
42871         (HAVE_RM_CTX): New.
42872         (libc_feholdexcept_setround_mips_ctx): New.
42873         (libc_feholdexcept_setround_ctx): New.
42874         (libc_feholdexcept_setroundf_ctx): New.
42875         (libc_feholdexcept_setroundl_ctx): New.
42876         (libc_fesetenv_mips_ctx): New.
42877         (libc_fesetenv_ctx): New.
42878         (libc_fesetenv_ctxf): New.
42879         (libc_fesetenv_ctxl): New.
42880         (libc_feupdateenv_mips_ctx): New.
42881         (libc_feupdateenv_ctx): New.
42882         (libc_feupdateenvf_ctx): New.
42883         (libc_feupdateenvl_ctx): New.
42884         (libc_feholdsetround_mips_ctx): New.
42885         (libc_feholdsetround_ctx): New.
42886         (libc_feholdsetroundf_ctx): New.
42887         (libc_feholdsetroundl_ctx): New.
42888         (libc_feresetround_mips_ctx): New.
42889         (libc_feresetround_ctx): New.
42890         (libc_feresetroundf_ctx): New.
42891         (libc_feresetroundl_ctx): New.
42893 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42895         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42897         * manual/ipc.texi: New file.
42898         * manual/Makefile (chapters): Add ipc.
42899         * manual/job.texi: Add "Inter-Process Communication" to next.
42900         * manual/process.texi: Add "Inter-Process Communication" to prev.
42902 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42906 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42908         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42910         * manual/arith.texi: Fix spaces after sentences.
42911         * manual/charset.texi: Likewise.
42912         * manual/errno.texi: Likewise.
42913         * manual/install.texi: Likewise.
42914         * manual/llio.texi: Likewise.
42915         * manual/locale.texi: Likewise.
42916         * manual/maint.texi: Likewise.
42917         * manual/math.texi: Likewise.
42918         * manual/memory.texi: Likewise.
42919         * manual/message.texi: Likewise.
42920         * manual/probes.texi: Likewise.
42921         * manual/resource.texi: Likewise.
42922         * manual/signal.texi: Likewise.
42923         * manual/socket.texi: Likewise.
42924         * manual/stdio.texi: Likewise.
42925         * manual/string.texi: Likewise.
42926         * manual/time.texi: Likewise.
42927         * manual/users.texi: Likewise.
42929 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42931         [BZ #16632]
42932         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42933         _DEFAULT_SOURCE is defined.
42935 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42936             Carlos O'Donell  <carlos@redhat.com>
42938         [BZ #16613]
42939         * elf/dl-tls.c (_dl_count_modids): New function.
42940         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42941         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42942         audit library and increment generation counter.
42943         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42944         * elf/tst-audit9.c: New file.
42945         * elf/tst-auditmod9a.c: New file.
42946         * elf/tst-auditmod9b.c: New file.
42947         * elf/Makefile: Add rules to build and run tst-audit9.
42949 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42951         [BZ #15347]
42952         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42954 2014-02-25  Will Newton  <will.newton@linaro.org>
42956         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42957         (__longjmp): Restore sp and lr before restoring callee
42958         saved registers.  Add longjmp and longjmp_target
42959         SystemTap probe point.
42960         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42961         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42962         Define to zero to match jmpbuf layout.
42963         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42964         (__sigsetjmp): Save sp and lr before saving callee
42965         saved registers.  Add setjmp SystemTap probe point.
42967 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42969         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42971 2014-02-24  Andreas Schwab  <schwab@suse.de>
42973         [BZ #15804]
42974         * elf/pldd.c (wait_for_ptrace_stop): New function.
42975         (main): Call it after attaching.
42977 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42979         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42980         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42981         Versions files is now verboten.
42982         * hurd/Versions (libc: GLIBC_2.0):
42983         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42984         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42985         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42986         * mach/Versions: Likewise.
42988         * csu/Versions: Remove unused %include.
42989         * resolv/Versions: Likewise.
42991 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42993         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42994         ($(objpfx)check-local-headers.out): Likewise.
42995         ($(objpfx)begin-end-check.out): Likewise.
42996         * Makerules (check-abi-%.out): Likewise.
42997         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42998         ($(objpfx)test2.cat): Likewise.
42999         ($(objpfx)de/libc.cat): Likewise.
43000         ($(objpfx)test-gencat.out): Likewise.
43001         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43002         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43003         ($(objpfx)noload-mem): Likewise.
43004         ($(objpfx)tst-pathopt.out): Likewise.
43005         ($(objpfx)tst-rtld-load-self.out): Likewise.
43006         ($(objpfx)tst-array1-cmp.out): Likewise.
43007         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43008         ($(objpfx)tst-array2-cmp.out): Likewise.
43009         ($(objpfx)tst-array3-cmp.out): Likewise.
43010         ($(objpfx)tst-array4-cmp.out): Likewise.
43011         ($(objpfx)tst-array5-cmp.out): Likewise.
43012         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43013         ($(objpfx)check-textrel.out): Likewise.
43014         ($(objpfx)check-execstack.out): Likewise.
43015         ($(objpfx)check-localplt.out): Likewise.
43016         ($(objpfx)order2-cmp.out): Likewise.
43017         ($(objpfx)tst-leaks1-mem): Likewise.
43018         ($(objpfx)tst-leaks1-static-mem): Likewise.
43019         ($(objpfx)tst-initorder-cmp.out): Likewise.
43020         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43021         ($(objpfx)tst-unused-dep.out): Likewise.
43022         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43023         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43024         * iconv/Makefile (test-iconvconfig): Likewise.
43025         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43026         ($(objpfx)iconv-test.out): Likewise.
43027         ($(objpfx)tst-tables.out): Likewise.
43028         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43029         ($(objpfx)tst-gettext.out): Likewise.
43030         ($(objpfx)tst-translit.out): Likewise.
43031         ($(objpfx)tst-gettext2.out): Likewise.
43032         ($(objpfx)tst-gettext4.out): Likewise.
43033         ($(objpfx)tst-gettext6.out): Likewise.
43034         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43035         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43036         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43037         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43038         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43039         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43040         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43041         ($(objpfx)wordexp-tst.out): Likewise.
43042         ($(objpfx)annexc.out): Likewise.
43043         ($(objpfx)tst-fnmatch-mem): Likewise.
43044         ($(objpfx)bug-regex2-mem): Likewise.
43045         ($(objpfx)bug-regex14-mem): Likewise.
43046         ($(objpfx)bug-regex21-mem): Likewise.
43047         ($(objpfx)bug-regex31-mem): Likewise.
43048         ($(objpfx)tst-vfork3-mem): Likewise.
43049         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43050         ($(objpfx)tst-pcre-mem): Likewise.
43051         ($(objpfx)tst-boost-mem): Likewise.
43052         ($(objpfx)tst-getconf.out): Likewise.
43053         ($(objpfx)bug-ga2-mem): Likewise.
43054         ($(objpfx)bug-glob2-mem): Likewise.
43055         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43056         ($(objpfx)mtrace-tst-leaks2): Likewise.
43057         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43058         ($(objpfx)tst-printf.out): Likewise.
43059         ($(objpfx)tst-setvbuf1.out): Likewise.
43060         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43061         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43062         ($(objpfx)tst-fmtmsg.out): Likewise.
43063         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43064         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43066         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43067         * bits/sigaction.h [__USE_MISC]: Likewise.
43068         * bits/waitstatus.h: Update #endif comments.
43069         * ctype/ctype.h: Likewise.
43070         * dirent/dirent.h: Likewise.
43071         [__USE_MISC]: Remove redundant conditionals.
43072         * grp/grp.h: Update #endif comments.
43073         [__USE_GNU]: Remove redundant conditionals.
43074         [__USE_MISC]: Likewise.
43075         * inet/netinet/in.h [__USE_GNU]: Likewise.
43076         * io/sys/stat.h [__USE_MISC]: Likewise.
43077         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43078         * libio/bits/stdio.h: Update #endif comments.
43079         [__USE_MISC]: Remove redundant conditionals.
43080         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43081         * libio/stdio.h: Update #endif comments.
43082         [__USE_MISC]: Remove redundant conditionals.
43083         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43084         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43085         * math/math.h: Update #else and #endif comments.
43086         [__USE_MISC]: Remove redundant conditionals.
43087         * misc/sys/uio.h: Update #endif comments.
43088         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43089         * posix/glob.h [__USE_MISC]: Likewise.
43090         * posix/sys/types.h: Update #endif comments.
43091         [__USE_MISC]: Remove redundant conditionals.
43092         * posix/sys/wait.h: Update #endif comments.
43093         [__USE_MISC]: Remove redundant conditionals.
43094         * posix/unistd.h: Update #endif comments.
43095         [__USE_MISC]: Remove redundant conditionals.
43096         * pwd/pwd.h [__USE_GNU]: Likewise.
43097         [__USE_MISC]: Likewise.
43098         * resolv/netdb.h [__USE_GNU]: Likewise.
43099         * signal/signal.h: Update #endif comments.
43100         [__USE_MISC]: Remove redundant conditionals.
43101         * stdlib/stdlib.h: Update #else and #endif comments.
43102         [__USE_MISC]: Remove redundant conditionals.
43103         [__USE_GNU]: Likewise.
43104         * string/bits/string2.h [__USE_MISC]: Likewise.
43105         * string/string.h: Update #endif comments.
43106         [__USE_MISC]: Remove redundant conditionals.
43107         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43108         Likewise.
43109         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43110         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43111         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43112         Likewise.
43113         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43114         Likewise.
43115         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43116         comments.
43117         [__USE_MISC]: Remove redundant conditionals.
43118         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43119         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43120         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43121         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43122         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43123         Likewise.
43124         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43125         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43126         Likewise.
43127         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43128         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43129         Likewise.
43130         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43131         Likewise.
43132         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43133         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43134         Likewise.
43135         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43136         Likewise.
43137         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43138         * sysdeps/x86/bits/string.h: Update #endif comments.
43139         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43140         conditionals.
43141         * time/sys/time.h: Update #endif comments.
43142         * time/time.h: Likewise.
43143         [__USE_MISC]: Remove redundant conditionals.
43145 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43147         [BZ #16600]
43148         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43150 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43152         * Versions.def (librt): Add GLIBC_2.17.
43154 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43156         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43157         synonym for _SYS_AUXV_H to allow direct inclusion.
43158         * sysdeps/sparc/bits/hwcap.h: Likewise.
43159         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43160         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43161         * sysdeps/sparc/sysdep.h: Likewise.
43163 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43165         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43167 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43169         * benchtests/bench-strrchr.c: Print length instead of position.
43171 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43173         [BZ #16611]
43174         * sysdeps/unix/sysv/linux/kernel-features.h
43175         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43176         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43177         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43178         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43179         Likewise.
43180         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43181         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43182         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43183         (__ASSUME_SENDMMSG): Define instead of using previous
43184         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43185         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43186         (__ASSUME_SENDMMSG_SYSCALL): Define.
43187         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43188         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43189         Likewise.
43190         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43191         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43192         Likewise.
43193         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43194         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43195         Likewise.
43196         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43197         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43198         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43199         [__ASSUME_SENDMMSG]: Change conditionals to
43200         [__ASSUME_SENDMMSG_SOCKETCALL].
43201         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43202         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43203         Define.
43204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43205         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43206         Likewise.
43207         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43208         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43209         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43210         [!__ASSUME_SENDMMSG]: Change conditional to
43211         [!__ASSUME_SENDMMSG_SOCKETCALL].
43212         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43213         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43214         Define.
43216         [BZ #16610]
43217         * sysdeps/unix/sysv/linux/kernel-features.h
43218         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43219         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43220         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43221         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43222         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43223         [__i386__ || __sparc__]
43224         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43225         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43226         (__ASSUME_RECVMMSG): Define instead of using previous
43227         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43228         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43229         (__ASSUME_RECVMMSG_SYSCALL): Define.
43230         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43231         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43232         Likewise.
43233         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43234         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43235         Likewise.
43236         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43238         Likewise.
43239         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43240         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43241         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43242         [__ASSUME_RECVMMSG]: Change condition to
43243         [__ASSUME_RECVMMSG_SOCKETCALL].
43244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43246         Define.
43247         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43248         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43250         Likewise.
43251         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43252         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43253         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43254         [!__ASSUME_RECVMMSG]: Change condition to
43255         [!__ASSUME_RECVMMSG_SOCKETCALL].
43256         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43257         (__ASSUME_RECVMMSG_SYSCALL): Define.
43259         [BZ #16609]
43260         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43261         __powerpc__ || __s390__ || __sh__ || __sparc__]
43262         (__ASSUME_SOCKETCALL): Define.
43263         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43264         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43265         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43266         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43267         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43268         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43269         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43270         (__ASSUME_ACCEPT4): Define instead of using previous
43271         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43272         __powerpc__ || __sparc__ || __s390__)] condition.
43273         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43274         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43275         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43276         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43277         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43278         [!__ASSUME_ACCEPT4]: Change condition to
43279         [!__ASSUME_ACCEPT4_SOCKETCALL].
43280         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43281         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43282         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43284         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43285         __ASSUME_ACCEPT4_SYSCALL.
43286         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43287         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43288         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43289         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43290         __ASSUME_ACCEPT4_SYSCALL.
43291         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43292         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43293         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43294         [__ASSUME_ACCEPT4]: Change condition to
43295         [__ASSUME_ACCEPT4_SOCKETCALL].
43296         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43297         (__ASSUME_SOCKETCALL): Define.
43298         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43299         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43300         (__ASSUME_SOCKETCALL): Define.
43301         (__ASSUME_ACCEPT4): Remove.
43302         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43303         Define.
43304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43305         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43306         Likewise.
43307         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43308         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43310         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43311         macro.
43312         (HWCAP_ARM_LPAE): Likewise.
43313         (HWCAP_ARM_EVTSTRM): Likewise.
43314         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43315         Add vpfd32, lpae and evtstrm.
43316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43317         Increase to 22.
43319 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43321         * math/auto-libm-test-in: Add tests of clog10.
43322         * math/auto-libm-test-out: Regenerated.
43323         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43324         * sysdeps/i386/fpu/libm-test-ulps: Update.
43325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43327 2014-02-18  Andreas Schwab  <schwab@suse.de>
43329         [BZ #16574]
43330         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43331         Store non-zero if the second buffer was newly allocated.
43332         (send_dg): Likewise.
43333         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43334         to send_vc and send_dg.
43335         (res_nsend): Pass NULL for ansp2_malloced.
43336         * resolv/res_query.c (__libc_res_nquery): Add parameter
43337         answerp2_malloced and pass it down to __libc_res_nsend.
43338         (res_nquery): Pass additional NULL to __libc_res_nquery.
43339         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43340         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43341         second answer buffer if answerp2_malloced was set.
43342         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43343         (__libc_res_nquerydomain): Add parameter
43344         answerp2_malloced and pass it down to __libc_res_nquery.
43345         (res_nquerydomain): Pass additional NULL to
43346         __libc_res_nquerydomain.
43347         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43348         additional NULL to __libc_res_nsend and __libc_res_nquery.
43349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43350         additional NULL to __libc_res_nsearch.
43351         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43352         parameter of __libc_res_nsearch to check for separately allocated
43353         second buffer.
43354         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43355         __libc_res_nquery.
43356         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43357         additional NULL to __libc_res_nquery.
43358         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43359         __libc_res_nsearch.
43360         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43361         * include/resolv.h: Update prototypes of __libc_res_nquery,
43362         __libc_res_nsearch, __libc_res_nsend.
43364 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43366         * math/auto-libm-test-in: Add tests of fma.
43367         * math/auto-libm-test-out: Regenerated.
43368         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43369         (fma_towardzero_test_data): Likewise.
43370         (fma_downward_test_data): Likewise.
43371         (fma_upward_test_data): Likewise.
43372         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43373         mpc_mode.
43374         (rounding_modes): Add values for new field.
43375         (func_calc_method): Add value mpfr_fff_f.
43376         (func_calc_desc): Add mpfr_fff_f union field.
43377         (test_function): Add field exact_args.
43378         (FUNC): Add macro argument EXACT_ARGS.
43379         (FUNC_mpfr_f_f): Update call to FUNC.
43380         (FUNC_mpfr_f_f): Likewise.
43381         (FUNC_mpfr_ff_f): Likewise.
43382         (FUNC_mpfr_if_f): Likewise.
43383         (FUNC_mpc_c_f): Likewise.
43384         (FUNC_mpc_c_c): Likewise.
43385         (test_functions): Add fma.  Update calls to FUNC.
43386         (handle_input_arg): Add argument exact_args.
43387         (add_test): Update call to handle_input_arg.
43388         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43389         (output_for_one_input_case): Update call to calc_generic_results.
43390         Recalculate exact zero results in each rounding mode.
43392         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43393         non-negative before setting low bit.
43394         * math/auto-libm-test-in: Mark one asin test possibly having
43395         spurious underflow.
43396         * math/auto-libm-test-out: Regenerated.
43397         * sysdeps/i386/fpu/libm-test-ulps: Update.
43398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43400 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43402         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43403         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43404         ports/sysdeps/unix/sysv/linux/microblaze.
43405         * README: Add missing listing for microblaze*-*-linux-gnu.
43407 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43409         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43410         duplicate code
43412 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43414         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43415         * sysdeps/unix/sysv/linux/ia64: Move directory from
43416         ports/sysdeps/unix/sysv/linux/ia64.
43417         * README: Update listing for ia64-*-linux-gnu.
43419 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43420             Joseph Myers  <joseph@codesourcery.com>
43422         * Makeconfig (test-name): New variable.
43423         (evaluate-test): Likewise.
43424         * Makerules (do-test-clean): Remove .test-result files.
43425         (common-mostlyclean): Likewise.
43426         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43427         * scripts/evaluate-test.sh: New file.
43429 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43431         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43432         separate $(objpfx)tst-fopenloc-cmp.out and
43433         $(objpfx)tst-fopenloc-mem.out targets.
43434         (tests): Update dependencies.
43435         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43436         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43437         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43438         (tst-rxspencer-no-utf8-ARGS): New variable.
43439         (tst-rxspencer-no-utf8-ENV): Likewise.
43440         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43441         instead of $(objpfx)tst-rxspencer-mem.
43442         ($(objpfx)tst-rxspencer-mem): Change target to
43443         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43444         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43445         * posix/tst-rxspencer-no-utf8.c: New file.
43447         * elf/Makefile ($(objpfx)order.out): Remove rule.
43448         [$(run-built-tests) = yes] (tests): Depend on
43449         $(objpfx)order-cmp.out.
43450         ($(objpfx)order-cmp.out): New rule.
43451         [$(run-built-tests) = yes] (tests): Depend on
43452         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43453         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43454         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43455         $(objpfx)tst-array5-static-cmp.out.
43456         ($(objpfx)tst-array1.out): Remove rule.
43457         ($(objpfx)tst-array1-cmp.out): New rule.
43458         ($(objpfx)tst-array1-static.out): Remove rule.
43459         ($(objpfx)tst-array1-static-cmp.out): New rule.
43460         ($(objpfx)tst-array2.out): Remove rule.
43461         ($(objpfx)tst-array2-cmp.out): New rule.
43462         ($(objpfx)tst-array3.out): Remove rule.
43463         ($(objpfx)tst-array3-cmp.out): New rule.
43464         ($(objpfx)tst-array4.out): Remove rule.
43465         ($(objpfx)tst-array4-cmp.out): New rule.
43466         ($(objpfx)tst-array5.out): Remove rule.
43467         ($(objpfx)tst-array5-cmp.out): New rule.
43468         ($(objpfx)tst-array5-static.out): Remove rule.
43469         ($(objpfx)tst-array5-static-cmp.out): New rule.
43470         [$(run-built-tests) = yes] (tests): Depend on
43471         $(objpfx)order2-cmp.out.
43472         ($(objpfx)order2.out): Remove rule.
43473         ($(objpfx)order2-cmp.out): New rule.
43474         ($(objpfx)tst-initorder.out): Remove rule.
43475         [$(run-built-tests) = yes] (tests): Depend on
43476         $(objpfx)tst-initorder-cmp.out.
43477         ($(objpfx)tst-initorder-cmp.out): New rule.
43478         ($(objpfx)tst-initorder2.out): Remove rule.
43479         [$(run-built-tests) = yes] (tests): Depend on
43480         $(objpfx)tst-initorder2-cmp.out.
43481         ($(objpfx)tst-initorder2-cmp.out): New rule.
43482         [$(run-built-tests) = yes] (tests): Depend on
43483         $(objpfx)tst-unused-dep-cmp.out.
43484         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43485         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43486         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43487         on $(objpfx)tst-setvbuf1-cmp.out.
43488         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43489         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43490         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43491         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43492         ($(objpfx)tst-svc.out): Remove rule.
43493         ($(objpfx)tst-svc-cmp.out): New rule.
43495 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43497         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43498         * ctype/ctype.h [__USE_MISC]: Likewise.
43499         * dirent/dirent.h [__USE_MISC]: Likewise.
43500         * grp/grp.h [__USE_MISC]: Likewise.
43501         * io/fcntl.h [__USE_MISC]: Likewise.
43502         * io/sys/stat.h [__USE_MISC]: Likewise.
43503         * libio/stdio.h [__USE_MISC]: Likewise.
43504         * posix/unistd.h [__USE_MISC]: Likewise.
43505         * pwd/pwd.h [__USE_MISC]: Likewise.
43506         * stdlib.h [__USE_MISC]: Likewise.
43507         * string/bits/string2.h [__USE_MISC]: Likewise.
43508         * string/string.h [__USE_MISC]: Likewise.
43509         * time/time.h [__USE_MISC]: Likewise.
43511 2014-02-13  Andreas Schwab  <schwab@suse.de>
43513         [BZ #16574]
43514         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43515         second answer buffer if it was separately allocated.
43517 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43519         * sysdeps/mips/math-tests.h: Include <features.h>.
43520         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43521         (ROUNDING_TESTS_long_double): Do not define.
43522         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43523         (EXCEPTION_TESTS_long_double): Likewise.
43524         * sysdeps/mips/mips64/libm-test-ulps: Update.
43526         * include/features.h (__USE_BSD): Remove macro definitions.
43527         (__USE_SVID): Likewise.
43528         (_BSD_SOURCE): Likewise.
43529         (_SVID_SOURCE): Likewise.
43530         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43531         from definition of _DEFAULT_SOURCE.
43532         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43533         [_DEFAULT_SOURCE].
43534         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43535         * bits/mman.h [__USE_BSD]: Likewise.
43536         * bits/termios.h [__USE_BSD]: Likewise.
43537         * bits/waitstatus.h [__USE_BSD]: Likewise.
43538         * ctype/ctype.h [__USE_SVID]: Likewise.
43539         * dirent/dirent.h [__USE_BSD]: Likewise.
43540         * grp/grp.h [__USE_SVID]: Likewise.
43541         [__USE_BSD]: Likewise.
43542         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43543         * io/fcntl.h [__USE_BSD]: Likewise.
43544         * io/ftw.h [__USE_BSD]: Likewise.
43545         * io/sys/stat.h [__USE_BSD]: Likewise.
43546         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43547         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43548         * libio/stdio.h [__USE_SVID]: Likewise.
43549         [__USE_BSD]: Likewise.
43550         * math/math.h [__USE_SVID]: Likewise.
43551         [__USE_BSD]: Likewise.
43552         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43553         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43554         * misc/search.h [__USE_SVID]: Likewise.
43555         * misc/sys/mman.h [__USE_BSD]: Likewise.
43556         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43557         * misc/sys/uio.h [__USE_BSD]: Likewise.
43558         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43559         * posix/glob.h [__USE_BSD]: Likewise.
43560         * posix/regex.h [__USE_BSD]: Likewise.
43561         * posix/sys/types.h [__USE_BSD]: Likewise.
43562         [__USE_SVID]: Likewise.
43563         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43564         * posix/sys/wait.h [__USE_BSD]: Likewise.
43565         [__USE_SVID]: Likewise.
43566         * posix/unistd.h [__USE_BSD]: Likewise.
43567         [__USE_SVID]: Likewise.
43568         * pwd/pwd.h [__USE_SVID]: Likewise.
43569         * resolv/netdb.h [__USE_BSD]: Likewise.
43570         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43571         * signal/signal.h [__USE_BSD]: Likewise.
43572         [__USE_SVID]: Likewise.
43573         * socket/sys/socket.h [__USE_BSD]: Likewise.
43574         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43575         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43576         [__USE_SVID]: Likewise.
43577         * string/bits/string2.h [__USE_BSD]: Likewise.
43578         [__USE_SVID]: Likewise.
43579         * string/bits/string3.h [__USE_BSD]: Likewise.
43580         * string/endian.h [__USE_BSD]: Likewise.
43581         * string/string.h [__USE_SVID]: Likewise.
43582         [__USE_BSD]: Likewise.
43583         * string/strings.h [__USE_BSD]: Likewise.
43584         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43585         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43586         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43587         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43588         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43589         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43590         Likewise.
43591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43592         Likewise.
43593         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43594         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43595         Likewise.
43596         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43597         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43598         Likewise.
43599         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43600         Likewise.
43601         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43602         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43603         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43604         Likewise.
43605         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43606         Likewise.
43607         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43608         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43609         * termios/termios.h [__USE_BSD]: Likewise.
43610         * time/sys/time.h [__USE_BSD]: Likewise.
43611         * time/time.h [__USE_BSD]: Likewise.
43612         [__USE_SVID]: Likewise.
43614         * Makefile (subdir_targets): Remove subdir_lint.out.
43616         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43617         (do-tst-printf): Likewise.
43618         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43619         $(objpfx)tst-printf.out.
43621         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43623         * Makerules (check-abi-%): Change target to
43624         $(objpfx)check-abi-%.out.
43625         (check-abi target): Update dependencies.
43626         (check-abi-pattern variable): Redirect output of diff to $@.
43627         (check-abi variable): Likewise.
43628         * elf/Makefile (check-abi): Update dependencies.
43630         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43631         unused.
43632         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43633         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43634         subnormal range.
43635         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43636         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43637         value has largest subnormal exponent.
43638         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43639         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43640         * sysdeps/aarch64/soft-fp/sfp-machine.h
43641         (_FP_TININESS_AFTER_ROUNDING): New macro.
43642         * sysdeps/alpha/soft-fp/sfp-machine.h
43643         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43644         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43645         Likewise.
43646         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43647         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43648         * sysdeps/mips/soft-fp/sfp-machine.h
43649         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43650         * sysdeps/powerpc/soft-fp/sfp-machine.h
43651         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43652         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43653         Likewise.
43654         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43655         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43656         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43658         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43659         Likewise.
43661 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43663         [BZ #16545]
43664         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43665         model 1.
43667 2014-02-12  Richard Henderson  <rth@redhat.com>
43669         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43670         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43671         * sysdeps/unix/sysv/linux/alpha: Move directory from
43672         ports/sysdeps/unix/sysv/linux/alpha.
43673         * README: Update listing for alpha-*-linux-gnu.
43675 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43677         * include/features.h: Update comment documenting feature test
43678         macros.
43679         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43680         _DEFAULT_SOURCE.
43681         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43682         (_SVID_SOURCE): Likewise.
43683         (_DEFAULT_SOURCE): Update description of default features.
43684         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43685         with _GNU_SOURCE.
43686         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43687         (S_ISVTX): Likewise.
43688         * manual/math.texi (Mathematical Constants): Likewise.
43689         * manual/signal.texi (Interrupted Primitives): Likewise.
43690         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43691         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43692         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43693         Don't refer to _SVID_SOURCE in warning text.
43695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43697         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43698         already defined.
43699         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43700         * sysdeps/mips/dl-lookup.c: Remove.
43701         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43703 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43705         [BZ #16447]
43706         * math/auto-libm-test-in: Add testcase for expl.
43707         * math/auto-libm-test-out: Regenerate.
43708         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43709         calculation of unsafe.
43710         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43712 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43714         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43715         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43716         ports/sysdeps/unix/sysv/linux/aarch64.
43717         * README: Update listing for aarch64*-*-linux-gnu.
43719 2014-02-11  Will Newton  <will.newton@linaro.org>
43721         * manual/probes.texi (Mathematical Function Probes): Use
43722         "triggered" instead of "hit".
43724         * manual/probes.texi (Internal Probes): Add documentation
43725         of setjmp, longjmp and longjmp_target probes.
43727         * include/stap-probe.h: Add comment about probe argument
43728         format.
43730         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43731         definition.  (tr_where, tr_freehook, tr_mallochook,
43732         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43734 2014-02-11  David S. Miller  <davem@davemloft.net>
43736         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43737         processing int_tests.
43739 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43741         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43742         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43743         * sysdeps/unix/sysv/linux/mips: Move directory from
43744         ports/sysdeps/unix/sysv/linux/mips.
43745         * README: Update listing for mips-*-linux-gnu and
43746         mips64-*-linux-gnu.
43748 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43750         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43751         * sysdeps/unix/sysv/linux/m68k: Move directory from
43752         ports/sysdeps/unix/sysv/linux/m68k.
43753         * README: Update listing for m68k-*-linux-gnu.
43755 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43757         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43758         * sysdeps/unix/sysv/linux/generic: Move directory from
43759         ports/sysdeps/unix/sysv/linux/generic.
43760         * sysdeps/unix/sysv/linux/tile: Move directory from
43761         ports/sysdeps/unix/sysv/linux/tile.
43762         * README: Update listing for tile*-*-linux-gnu.
43764 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43766         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43767         __builtin_expect.
43768         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43769         * catgets/open_catalog.c (__open_catalog): Likewise.
43770         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43771         * debug/confstr_chk.c: Likewise.
43772         * debug/fread_chk.c (__fread_chk): Likewise.
43773         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43774         * debug/getgroups_chk.c: Likewise.
43775         * debug/mbsnrtowcs_chk.c: Likewise.
43776         * debug/mbsrtowcs_chk.c: Likewise.
43777         * debug/mbstowcs_chk.c: Likewise.
43778         * debug/memcpy_chk.c: Likewise.
43779         * debug/memmove_chk.c: Likewise.
43780         * debug/mempcpy_chk.c: Likewise.
43781         * debug/memset_chk.c: Likewise.
43782         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43783         * debug/strcat_chk.c (__strcat_chk): Likewise.
43784         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43785         * debug/strncat_chk.c (__strncat_chk): Likewise.
43786         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43787         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43788         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43789         * debug/wcpncpy_chk.c: Likewise.
43790         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43791         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43792         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43793         * debug/wcsncpy_chk.c: Likewise.
43794         * debug/wcsnrtombs_chk.c: Likewise.
43795         * debug/wcsrtombs_chk.c: Likewise.
43796         * debug/wcstombs_chk.c: Likewise.
43797         * debug/wmemcpy_chk.c: Likewise.
43798         * debug/wmemmove_chk.c: Likewise.
43799         * debug/wmempcpy_chk.c: Likewise.
43800         * debug/wmemset_chk.c: Likewise.
43801         * dirent/scandirat.c (SCANDIRAT): Likewise.
43802         * dlfcn/dladdr1.c (dladdr1): Likewise.
43803         * dlfcn/dladdr.c (dladdr): Likewise.
43804         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43805         * dlfcn/dlerror.c (__dlerror): Likewise.
43806         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43807         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43808         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43809         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43810         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43811         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43812         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43813         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43814         Likewise.
43815         * elf/dl-conflict.c: Likewise.
43816         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43817         * elf/dl-dst.h: Likewise.
43818         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43819         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43820         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43821         * elf/dl-init.c (call_init, _dl_init): Likewise.
43822         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43823         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43824         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43825         Likewise.
43826         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43827         Likewise.
43828         * elf/dl-minimal.c (__libc_memalign): Likewise.
43829         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43830         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43831         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43832         * elf/dl-sym.c (do_sym): Likewise.
43833         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43834         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43835         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43836         * elf/dl-writev.h (_dl_writev): Likewise.
43837         * elf/ldconfig.c (search_dir): Likewise.
43838         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43839         (dl_main): Likewise.
43840         * elf/setup-vdso.h (setup_vdso): Likewise.
43841         * grp/compat-initgroups.c (compat_call): Likewise.
43842         * grp/fgetgrent.c (fgetgrent): Likewise.
43843         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43844         * grp/putgrent.c (putgrent): Likewise.
43845         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43846         Likewise.
43847         * hurd/hurdinit.c: Likewise.
43848         * iconvdata/8bit-gap.c (struct): Likewise.
43849         * iconvdata/ansi_x3.110.c : Likewise.
43850         * iconvdata/big5.c : Likewise.
43851         * iconvdata/big5hkscs.c : Likewise.
43852         * iconvdata/cp1255.c: Likewise.
43853         * iconvdata/cp1258.c : Likewise.
43854         * iconvdata/cp932.c : Likewise.
43855         * iconvdata/euc-cn.c: Likewise.
43856         * iconvdata/euc-jisx0213.c : Likewise.
43857         * iconvdata/euc-jp.c: Likewise.
43858         * iconvdata/euc-jp-ms.c : Likewise.
43859         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43860         * iconvdata/gb18030.c : Likewise.
43861         * iconvdata/gbbig5.c (const): Likewise.
43862         * iconvdata/gbgbk.c: Likewise.
43863         * iconvdata/gbk.c : Likewise.
43864         * iconvdata/ibm1364.c : Likewise.
43865         * iconvdata/ibm930.c : Likewise.
43866         * iconvdata/ibm932.c: Likewise.
43867         * iconvdata/ibm933.c : Likewise.
43868         * iconvdata/ibm935.c : Likewise.
43869         * iconvdata/ibm937.c : Likewise.
43870         * iconvdata/ibm939.c : Likewise.
43871         * iconvdata/ibm943.c: Likewise.
43872         * iconvdata/iso_11548-1.c: Likewise.
43873         * iconvdata/iso-2022-cn.c : Likewise.
43874         * iconvdata/iso-2022-cn-ext.c : Likewise.
43875         * iconvdata/iso-2022-jp-3.c: Likewise.
43876         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43877         * iconvdata/iso-2022-kr.c : Likewise.
43878         * iconvdata/iso646.c (gconv_end): Likewise.
43879         * iconvdata/iso_6937-2.c : Likewise.
43880         * iconvdata/iso_6937.c : Likewise.
43881         * iconvdata/iso8859-1.c: Likewise.
43882         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43883         * iconvdata/shift_jisx0213.c : Likewise.
43884         * iconvdata/sjis.c : Likewise.
43885         * iconvdata/t.61.c : Likewise.
43886         * iconvdata/tcvn5712-1.c : Likewise.
43887         * iconvdata/tscii.c: Likewise.
43888         * iconvdata/uhc.c : Likewise.
43889         * iconvdata/unicode.c (gconv_end): Likewise.
43890         * iconvdata/utf-16.c (gconv_end): Likewise.
43891         * iconvdata/utf-32.c (gconv_end): Likewise.
43892         * iconvdata/utf-7.c (base64): Likewise.
43893         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43894         * iconv/gconv_close.c (__gconv_close): Likewise.
43895         * iconv/gconv_open.c (__gconv_open): Likewise.
43896         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43897         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43898         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43899         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43900         (ucs4le_internal_loop_single): Likewise.
43901         * iconv/iconv.c (iconv): Likewise.
43902         * iconv/iconv_close.c: Likewise.
43903         * iconv/loop.c (SINGLE): Likewise.
43904         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43905         * include/atomic.h: Likewise.
43906         * inet/inet6_option.c (option_alloc): Likewise.
43907         * intl/bindtextdom.c (set_binding_values): Likewise.
43908         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43909         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43910         * intl/localealias.c (read_alias_file): Likewise.
43911         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43912         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43913         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43914         * libio/fmemopen.c (fmemopen): Likewise.
43915         * libio/iofgets.c (_IO_fgets): Likewise.
43916         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43917         * libio/iofgetws.c (fgetws): Likewise.
43918         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43919         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43920         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43921         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43922         * locale/findlocale.c (_nl_find_locale): Likewise.
43923         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43924         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43925         Likewise.
43926         * locale/setlocale.c (setlocale): Likewise.
43927         * login/programs/pt_chown.c (main): Likewise.
43928         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43929         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43930         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43931         (mmap, mmap64, mremap, munmap): Likewise.
43932         * math/e_exp2l.c: Likewise.
43933         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43934         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43935         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43936         * math/s_catan.c (__catan): Likewise.
43937         * math/s_catanf.c (__catanf): Likewise.
43938         * math/s_catanh.c (__catanh): Likewise.
43939         * math/s_catanhf.c (__catanhf): Likewise.
43940         * math/s_catanhl.c (__catanhl): Likewise.
43941         * math/s_catanl.c (__catanl): Likewise.
43942         * math/s_ccosh.c (__ccosh): Likewise.
43943         * math/s_ccoshf.c (__ccoshf): Likewise.
43944         * math/s_ccoshl.c (__ccoshl): Likewise.
43945         * math/s_cexp.c (__cexp): Likewise.
43946         * math/s_cexpf.c (__cexpf): Likewise.
43947         * math/s_cexpl.c (__cexpl): Likewise.
43948         * math/s_clog10.c (__clog10): Likewise.
43949         * math/s_clog10f.c (__clog10f): Likewise.
43950         * math/s_clog10l.c (__clog10l): Likewise.
43951         * math/s_clog.c (__clog): Likewise.
43952         * math/s_clogf.c (__clogf): Likewise.
43953         * math/s_clogl.c (__clogl): Likewise.
43954         * math/s_csin.c (__csin): Likewise.
43955         * math/s_csinf.c (__csinf): Likewise.
43956         * math/s_csinh.c (__csinh): Likewise.
43957         * math/s_csinhf.c (__csinhf): Likewise.
43958         * math/s_csinhl.c (__csinhl): Likewise.
43959         * math/s_csinl.c (__csinl): Likewise.
43960         * math/s_csqrt.c (__csqrt): Likewise.
43961         * math/s_csqrtf.c (__csqrtf): Likewise.
43962         * math/s_csqrtl.c (__csqrtl): Likewise.
43963         * math/s_ctan.c (__ctan): Likewise.
43964         * math/s_ctanf.c (__ctanf): Likewise.
43965         * math/s_ctanh.c (__ctanh): Likewise.
43966         * math/s_ctanhf.c (__ctanhf): Likewise.
43967         * math/s_ctanhl.c (__ctanhl): Likewise.
43968         * math/s_ctanl.c (__ctanl): Likewise.
43969         * math/w_pow.c: Likewise.
43970         * math/w_powf.c: Likewise.
43971         * math/w_powl.c: Likewise.
43972         * math/w_scalb.c (sysv_scalb): Likewise.
43973         * math/w_scalbf.c (sysv_scalbf): Likewise.
43974         * math/w_scalbl.c (sysv_scalbl): Likewise.
43975         * misc/error.c (error_tail): Likewise.
43976         * misc/pselect.c (__pselect): Likewise.
43977         * nis/nis_callback.c (__nis_create_callback): Likewise.
43978         * nis/nis_call.c (__nisfind_server): Likewise.
43979         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43980         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43981         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43982         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43983         * nis/nis_lookup.c (nis_lookup): Likewise.
43984         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43985         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43986         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43987         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43988         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43989         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43990         * nis/nss_compat/compat-initgroups.c (add_group)
43991         (internal_getgrent_r): Likewise.
43992         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43993         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43994         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43995         (internal_getspnam_r): Likewise.
43996         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43997         (_nss_nis_getaliasbyname_r): Likewise.
43998         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43999         (_nss_nis_getntohost_r): Likewise.
44000         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44001         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44002         (_nss_nis_getgrgid_r): Likewise.
44003         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44004         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44005         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44006         (_nss_nis_gethostbyname4_r): Likewise.
44007         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44008         (initgroups_netid): Likewise.
44009         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44010         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44011         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44012         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44013         (_nss_nis_getprotobynumber_r): Likewise.
44014         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44015         (_nss_nis_getsecretkey): Likewise.
44016         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44017         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44018         (_nss_nis_getpwuid_r): Likewise.
44019         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44020         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44021         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44022         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44023         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44024         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44025         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44026         Likewise.
44027         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44028         (_nss_nisplus_getntohost_r): Likewise.
44029         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44030         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44031         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44032         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44033         Likewise.
44034         * nis/nss_nisplus/nisplus-initgroups.c
44035         (_nss_nisplus_initgroups_dyn): Likewise.
44036         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44037         (_nss_nisplus_getnetbyaddr_r): Likewise.
44038         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44039         (_nss_nisplus_getprotobynumber_r): Likewise.
44040         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44041         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44042         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44043         Likewise.
44044         * nis/nss_nisplus/nisplus-service.c
44045         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44046         (_nss_nisplus_getservbyport_r): Likewise.
44047         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44048         (_nss_nisplus_getspnam_r): Likewise.
44049         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44050         Likewise.
44051         * nscd/aicache.c (addhstaiX): Likewise.
44052         * nscd/cache.c (cache_search, prune_cache): Likewise.
44053         * nscd/connections.c (register_traced_file, send_ro_fd)
44054         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44055         (main_loop_epoll): Likewise.
44056         * nscd/grpcache.c (addgrbyX): Likewise.
44057         * nscd/hstcache.c (addhstbyX): Likewise.
44058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44059         * nscd/mem.c (gc, mempool_alloc): Likewise.
44060         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44061         (addinnetgrX): Likewise.
44062         * nscd/nscd-client.h (__nscd_acquire_maplock)
44063         (__nscd_drop_map_ref): Likewise.
44064         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44065         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44066         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44067         Likewise.
44068         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44069         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44070         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44071         (__nscd_get_map_ref): Likewise.
44072         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44073         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44074         Likewise.
44075         * nscd/pwdcache.c (addpwbyX): Likewise.
44076         * nscd/selinux.c (preserve_capabilities): Likewise.
44077         * nscd/servicescache.c (addservbyX): Likewise.
44078         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44079         * posix/fnmatch.c (fnmatch): Likewise.
44080         * posix/getopt.c (_getopt_internal_r): Likewise.
44081         * posix/glob.c (glob, glob_in_dir): Likewise.
44082         * posix/wordexp.c (exec_comm_child): Likewise.
44083         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44084         (getanswer_r, gaih_getanswer_slice): Likewise.
44085         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44086         * resolv/res_init.c: Likewise.
44087         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44088         * resolv/res_query.c (__libc_res_nquery): Likewise.
44089         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44090         Likewise.
44091         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44092         * stdio-common/perror.c (perror): Likewise.
44093         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44094         * stdio-common/tmpnam.c (tmpnam): Likewise.
44095         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44096         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44097         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44098         Likewise.
44099         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44100         * stdlib/putenv.c (putenv): Likewise.
44101         * stdlib/setenv.c (__add_to_environ): Likewise.
44102         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44103         * stdlib/strtol_l.c (INTERNAL): Likewise.
44104         * string/memmem.c (memmem): Likewise.
44105         * string/strerror.c (strerror): Likewise.
44106         * string/strnlen.c (__strnlen): Likewise.
44107         * string/test-memmem.c (simple_memmem): Likewise.
44108         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44109         * sunrpc/pm_getport.c (__get_socket): Likewise.
44110         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44111         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44112         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44113         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44114         Likewise.
44115         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44116         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44117         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44118         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44119         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44120         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44121         Likewise.
44122         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44123         Likewise.
44124         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44125         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44126         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44127         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44128         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44130         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44131         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44132         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44133         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44134         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44135         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44136         Likewise.
44137         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44138         Likewise.
44139         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44140         Likewise.
44141         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44142         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44144         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44145         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44146         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44147         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44148         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44150         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44151         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44152         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44153         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44154         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44156         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44157         Likewise.
44158         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44159         Likewise.
44160         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44161         Likewise.
44162         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44163         Likewise.
44164         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44165         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44166         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44167         Likewise.
44168         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44169         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44170         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44171         * sysdeps/posix/sleep.c: Likewise.
44172         * sysdeps/posix/tempname.c: Likewise.
44173         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44174         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44175         Likewise.
44176         * sysdeps/powerpc/powerpc32/dl-machine.h
44177         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44180         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44181         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44182         Likewise.
44183         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44185         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44186         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44187         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44188         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44189         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44190         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44191         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44192         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44193         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44194         (elf_machine_lazy_rel): Likewise.
44195         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44196         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44197         (elf_machine_lazy_rel): Likewise.
44198         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44199         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44200         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44201         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44202         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44203         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44204         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44206         Likewise.
44207         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44208         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44209         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44210         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44211         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44212         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44213         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44214         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44215         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44216         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44217         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44218         Likewise.
44219         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44220         (__posix_fallocate64_l64): Likewise.
44221         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44222         (posix_fallocate): Likewise.
44223         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44224         Likewise.
44225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44226         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44227         (getifaddrs_internal): Likewise.
44228         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44229         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44230         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44231         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44232         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44233         (__posix_fallocate64_l64): Likewise.
44234         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44235         Likewise.
44236         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44237         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44238         (__get_clockfreq): Likewise.
44239         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44240         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44241         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44244         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44245         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44246         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44247         Likewise.
44248         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44249         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44250         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44251         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44252         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44253         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44254         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44255         Likewise.
44256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44257         (posix_fallocate): Likewise.
44258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44259         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44260         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44261         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44262         (elf_machine_rela, elf_machine_rela_relative)
44263         (elf_machine_lazy_rel): Likewise.
44264         * time/asctime.c (asctime_internal): Likewise.
44265         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44266         * time/tzset.c (__tzset_parse_tz): Likewise.
44267         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44268         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44269         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44270         * wcsmbs/wcsmbsload.h: Likewise.
44272         [BZ #15894]
44273         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44275         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44276         (arena_get2): Remove THREAD_STATS conditionals.
44277         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44278         (__malloc_stats, int): Likewise.
44280 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44282         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44283         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44285         * manual/setjmp.texi: Fix typos/grammar errors.
44287         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44288         Only return early when n is <= 0.  Delete unused return statement.
44290         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44291         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44292         * debug/tst-longjmp_chk3.c: New file.
44294         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44295         (test_main): Replace code with set_fortify_handler call.
44296         * debug/test-strcpy_chk.c: Likewise.
44297         * debug/tst-chk1.c: Likewise.
44298         * debug/tst-longjmp_chk.c: Likewise.
44299         * test-skeleton.c: Include fcntl.h & paths.h
44300         (set_fortify_handler): Define.
44302         * debug/tst-longjmp_chk.c: Add header comment and include
44303         ../test-skeleton.c.
44304         (do_test): Mark static.
44305         (TEST_FUNCTION): Define.
44307         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44308         (IP_PMTUDISC_INTERFACE): Likewise.
44309         (IP_MULTICAST_IF): Likewise.
44310         (IP_MULTICAST_TTL): Likewise.
44311         (IP_MULTICAST_LOOP): Likewise.
44312         (IP_ADD_MEMBERSHIP): Likewise.
44313         (IP_DROP_MEMBERSHIP): Likewise.
44314         (IP_UNBLOCK_SOURCE): Likewise.
44315         (IP_BLOCK_SOURCE): Likewise.
44316         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44317         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44318         (IP_MSFILTER): Likewise.
44319         (MCAST_JOIN_GROUP): Likewise.
44320         (MCAST_BLOCK_SOURCE): Likewise.
44321         (MCAST_UNBLOCK_SOURCE): Likewise.
44322         (MCAST_LEAVE_GROUP): Likewise.
44323         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44324         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44325         (MCAST_MSFILTER): Likewise.
44326         (IP_MULTICAST_ALL): Likewise.
44327         (IP_UNICAST_IF): Likewise.
44329         * timezone/Makefile: Delete $(have-ksh) check.
44330         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44331         * timezone/tzselect.ksh: Add +x mode bits.
44333         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44334         (ANON_INODE_FS_MAGIC): Likewise.
44335         (BDEVFS_MAGIC): Likewise.
44336         (BINFMTFS_MAGIC): Likewise.
44337         (BTRFS_TEST_MAGIC): Likewise.
44338         (CRAMFS_MAGIC_WEND): Likewise.
44339         (DEBUGFS_MAGIC): Likewise.
44340         (ECRYPTFS_SUPER_MAGIC): Likewise.
44341         (EXT3_SUPER_MAGIC): Likewise.
44342         (EXT4_SUPER_MAGIC): Likewise.
44343         (FUTEXFS_SUPER_MAGIC): Likewise.
44344         (HOSTFS_SUPER_MAGIC): Likewise.
44345         (HUGETLBFS_MAGIC): Likewise.
44346         (MINIX3_SUPER_MAGIC): Likewise.
44347         (MTD_INODE_FS_MAGIC): Likewise.
44348         (NILFS_SUPER_MAGIC): Likewise.
44349         (OPENPROM_SUPER_MAGIC): Likewise.
44350         (PIPEFS_MAGIC): Likewise.
44351         (PSTOREFS_MAGIC): Likewise.
44352         (QNX6_SUPER_MAGIC): Likewise.
44353         (RAMFS_MAGIC): Likewise.
44354         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44355         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44356         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44357         (SECURITYFS_MAGIC): Likewise.
44358         (SELINUX_MAGIC): Likewise.
44359         (SMACK_MAGIC): Likewise.
44360         (SOCKFS_MAGIC): Likewise.
44361         (SQUASHFS_MAGIC): Likewise.
44362         (STACK_END_MAGIC): Likewise.
44363         (TMPFS_MAGIC): Likewise.
44364         (USBDEVICE_SUPER_MAGIC): Likewise.
44365         (V9FS_MAGIC): Likewise.
44366         (XENFS_SUPER_MAGIC): Likewise.
44367         (CRAMFS_MAGIC): Fix typo in comment.
44368         (EXT2_SUPER_MAGIC): Update comment.
44369         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44371 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44373         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44374         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44375         * sysdeps/unix/sysv/linux/arm: Move directory from
44376         ports/sysdeps/unix/sysv/linux/arm.
44377         * README: Update listing for arm-*-linux-gnueabi.
44379         * README: Remove mention of am33.
44381 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44383         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44384         than the comma operator, to avoid "rhs of comma has no effect"
44385         compiler warnings.
44386         (__sigfillset, __sigandset, __sigorset): Likewise.
44387         * include/signal.h (__sigemptyset): Likewise.
44388         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44390 2014-02-07  Allan McRae  <allan@archlinux.org>
44392         * version.h (RELEASE): Set to "development".
44393         (VERSION): Set to "2.19.90"
44394         * NEWS: Add 2.20 section.
44396 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44398         [BZ #16529]
44399         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44401 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44403         * manual/contrib.texi: Update entry for Carlos O'Donell,
44404         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44406 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44408         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44410         * sysdeps/unix/sysv/linux/kernel-features.h
44411         [__LINUX_KERNEL_VERSION >= 0x020621]
44412         (__ASSUME_PROC_PID_TASK_COMM): Define.
44414 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44416         [BZ #16398]
44417         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44418         conversion when destination buffer does not have enough space.
44419         * libio/tst-ftell-partial-wide.c: New test case.
44420         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44422         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44423         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44424         Leonard and Allan McRae.
44426 2014-02-04  David S. Miller  <davem@davemloft.net>
44428         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44429         32-bit.
44431 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44434         New file
44435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44436         New file
44437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44438         New file.
44439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44440         New file.
44441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44442         New file.
44443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44444         New file.
44445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44446         New file.
44447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44448         New file.
44449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44450         New file.
44451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44452         New file.
44453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44454         New file.
44455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44456         New file.
44457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44458         New file.
44460 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44462         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44463         * shlib-versions: Likewise.
44465 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44466             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44468         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44469         (abilist-pattern): New variable, set to %-le.abilist.
44471         * Makerules (abilist-pattern): New variable.
44472         (vpath): Use $(abilist-pattern) in place of %.abilist.
44473         (check-abi-% pattern rule): Likewise.
44474         (check-abi, update-abi): Likewise.
44476 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44480 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44482         * manual/startup.texi: Add next, previous, and top entries for
44483         the `Program Arguments' and `Environment Variables' nodes.
44485 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44487         * manual/macros.texi: Add comments before MTASC-safety macros.
44489         * manual/users.texi: Document MTASC-safety properties.
44491         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44492         (pthread_getspecific, pthread_setspecific): Format with
44493         @deftypefun, and add @safety note.
44494         * manual/signal.texi: Move comments that analyze the above
44495         functions to their home place.
44497 2014-02-03  Allan McRae  <allan@archlinux.org>
44499         * po/sl.po: Update Slovenian translation from translation project.
44501 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44503         * manual/time.texi (timegm): Add missing blank after @c.
44504         Reported by Joseph Myers <joseph@codesourcery.com>.
44506 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44508         * manual/check-safety.sh: New.
44509         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44511         * manual/terminal.texi: Document MTASC-safety properties.
44513         * manual/filesys.texi: Document MTASC-safety properties.
44515         * manual/errno.texi: Document MTASC-safety properties.
44517         * manual/intro.texi: Document safety identifiers and
44518         conditionals.
44520         * manual/string.texi (wcstok): Fix prototype.
44521         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44523         * manual/time.texi: Document MTASC-safety properties.
44525         * manual/string.texi: Document MTASC-safety properties.
44527         * manual/threads.texi: Document MTASC-safety properties.
44529         * manual/stdio.texi: Document MTASC-safety properties.
44531         * manual/syslog.texi: Document MTASC-safety properties.
44533         * manual/sysinfo.texi: Document MTASC-safety properties.
44535         * manual/startup.texi: Document MTASC-safety properties.
44537         * manual/socket.texi: Document MTASC-safety properties.
44539         * manual/signal.texi: Document MTASC-safety properties.
44541 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44543         * manual/setjmp.texi: Document MTASC-safety properties.
44545         * manual/search.texi: Document MTASC-safety properties.
44547         * manual/resource.texi: Document MTASC-safety properties.
44549         * manual/process.texi: Document MTASC-safety properties.
44551         * manual/platform.texi: Document MTASC-safety properties.
44553         * manual/pipe.texi: Document MTASC-safety properties.
44555         * manual/pattern.texi: Document MTASC-safety properties.
44557         * manual/message.texi: Document MTASC-safety properties.
44559         [BZ #12751]
44560         * manual/memory.texi: Document MTASC-safety properties.
44562         * manual/math.texi: Document MTASC-safety properties.
44564         * manual/locale.texi: Document MTASC-safety properties.
44566         * manual/llio.texi: Document MTASC-safety properties.
44568         * manual/libdl.texi: New.
44570         * manual/lang.texi: Document MTASC-safety properties.
44572         * manual/job.texi: Document MTASC-safety properties.
44574         * manual/getopt.texi: Document MTASC-safety properties.
44576         * manual/ctype.texi: Document MTASC-safety properties.
44578 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44580         [BZ #16046]
44581         * csu/libc-tls.c (static_map): Remove variable.
44582         (__libc_setup_tls): Use main executable's link map for TLS data.
44583         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44584         casing for LM_ID_BASE and GL(dl_nns).
44585         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44586         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44587         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44588         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44589         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44590         member.
44591         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44592         l_phnum members.
44594 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44596         * manual/debug.texi: Document MTASC-safety properties.
44598 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44600         [BZ #16510]
44601         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44602         of __x86_64__ when disabling x87 inline functions.
44604 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44606         * manual/charset.texi: Document MTASC-safety properties.
44608         * manual/crypt.texi: Document MTASC-safety properties.
44610         * manual/conf.texi: Document MTASC-safety properties.
44612         * manual/arith.texi: Document MTASC-safety properties.
44614         * manual/argp.texi: Document MTASC-safety properties.
44616         * manual/macros.texi: Introduce macros to document multi
44617         thread, asynchronous signal and asynchronous cancellation
44618         safety properties.
44619         * manual/intro.texi: Introduce the properties themselves.
44621 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44623         * sysdeps/sh/sh4/Makefile: New file.
44625 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44627         * math/gen-libm-test.pl ($srcdir): New variable.
44628         ($auto_input): Use it.
44630 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44632         [BZ #16506]
44633         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44634         access beyond array bounds when parsing netgroups file.
44636         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44637         the old buffer before realloc.
44639 2014-01-27  Allan McRae  <allan@archlinux.org>
44641         * po/fr.po: Update French translation from translation project.
44643 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44645         * sysdeps/sh/libm-test-ulps: Regenerate.
44647 2014-01-24  David S. Miller  <davem@davemloft.net>
44649         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44651 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44653         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44654         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44656 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44658         [BZ #16474]
44659         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44660         string pointers after reallocation.
44662 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44664         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44665         __SH4A__ instead of __SH_FPU_ANY__.
44667 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44669         * sysdeps/sh/fpu_control.h: New file.
44670         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44671         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44672         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44673         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44674         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44675         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44676         * sysdeps/sh/sys/ucontext.h: Remove.
44677         * sysdeps/sh/sys: Remove directory.
44679 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44681         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44682         s390/sys/ucontext.h.
44683         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44686 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44688         [BZ #15605]
44689         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44691 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44693         [BZ#16431]
44694         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44695         Adjust the vDSO correctly for internal calls.
44696         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44698 2014-01-20  Allan McRae  <allan@archlinux.org>
44700         * po/ca.po: Update Catalan translation from translation project.
44702 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44704         * sysdeps/s390/sotruss-lib.c: New file.
44706 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44708         [BZ#16430]
44709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44710         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44711         local calls issues by not having a PLT stub required for IFUNC calls.
44712         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44714 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44716         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44717         * math/test-fpucw-static.c: Likewise.
44719 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44721         [BZ #16453]
44722         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44724 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44726         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44727         implementation for powerpc.
44729 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44731         [BZ #14782]
44732         * sysdeps/posix/system.c (__libc_system): Do not enable
44733         asynchronous cancellation.
44735 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44737         [BZ #16427]
44738         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44739         handling only for numbers special also in the IEEE case.
44741 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44743         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44745 2014-01-11  Allan McRae  <allan@archlinux.org>
44747         * po/bg.po: Update Bulgarian translation from translation project.
44749         * po/de.po: Update German translation from translation project.
44751 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44753         * sysdeps/generic/gcc-compat.h: New file.
44755 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44757         * benchtests/asin-inputs: Correct slow inputs.
44758         * benchtests/acos-inputs: Likewise.
44760 2014-01-10  Allan McRae  <allan@archlinux.org>
44762         * po:sv.po: Update Swedish translation from translation project.
44764         * po/vi.po: Update Vietnamese translation from translation project.
44766         * po/eo.po: Update Esperanto translation from translation project.
44768         * po/cs.po: Update Czech translation from translation project.
44770         * po/nl.po: Update Dutch translation from translation project.
44772         * po/pl.po: Update Polish translation from translation project.
44774         * po/ru.po: Update Russian translation from translation project.
44776         * po/uk.po: Update Ukrainian translation from translation project.
44778 2014-01-08  Brooks Moses  <bmoses@google.com>
44780         * elf/dl-load.c: Fix comment typo.
44782 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44784         * po/header.pot: Rename to...
44785         * po/pot.header: ... this.
44786         * po/Makefile: Use pot.header.
44788 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44789             Maxim Kuvyrkov  <maxim@kugelworks.com>
44791         [BZ #16394]
44792         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44793         SRC and DEST against LEN.
44795 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44797         [BZ #16414]
44798         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44799         implementation.
44800         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44802 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44806 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44808         [BZ #16408]
44809         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44810         for large positive arguments.
44812 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44814         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44816         * math/auto-libm-test-in: Mark various tests with
44817         xfail-rounding:ldbl-128ibm.
44818         * math/auto-libm-test-out: Regenerated.
44820         [BZ #16407]
44821         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44822         Increase overflow threshold.
44824 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44826         [BZ #14286]
44827         * stdio-common/vfprintf.c: Check for integer overflow.
44829 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44831         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44832         the first argument and return value of __tls_get_addr_internal.
44834 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44836         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44837         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44839 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44841         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44842         * sysdeps/s390/rtld-global-offsets.sym: New file.
44843         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44844         GLIBC_2.19 symbol.
44845         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44846         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44848         ... this.
44849         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44851         ... this.
44852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44853         Regenerate.
44854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44855         Regenerate.
44856         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44857         halfs of GPRs for high_gprs contexts.
44858         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44859         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44860         field.
44861         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44862         uc_flags field.
44863         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44864         64 bit versions:
44865         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44866         for high GPRs (uc_high_gprs) and for future extensions
44867         (__reserved).
44868         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44869         for future extensions (__reserved).
44870         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44871         64 bit versions:
44872         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44873         SC_HIGHGPRS offset definition.
44874         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44875         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44877         * Versions.def: Add GLIBC_2.19 for libpthread.
44878         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44879         siglongjmp for libpthread with GLIBC_2.19 symver.
44880         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44881         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44882         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44883         * sysdeps/s390/__longjmp.c: New file.
44884         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44885         * sysdeps/s390/longjmp.c: New file.
44886         * sysdeps/s390/setjmp.S: New file.
44887         * sysdeps/s390/sigjmp.S: New file.
44888         * sysdeps/s390/v1-longjmp.c: New file.
44889         * sysdeps/s390/v1-setjmp.h: New file.
44890         * sysdeps/s390/v1-sigjmp.c: New file.
44891         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44892         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44893         GLIBC_2.19 version.
44894         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44895         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44896         versioned symbols for ____longjmp_chk.
44897         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44898         Likewise.
44899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44900         Regenerate.
44901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44902         Regenerate.
44903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44904         Regenerate.
44905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44906         Regenerate.
44907         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44908         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44909         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44910         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44911         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44912         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44913         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44914         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44915         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44916         * sysdeps/s390/rtld-__longjmp.c: New file.
44917         * sysdeps/s390/rtld-setjmp.S: New file.
44919 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44921         [BZ #16400]
44922         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44923         Return -__logl (x) for small positive arguments without evaluating
44924         a polynomial.
44926 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44928         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44929         Rename to ...
44930         (__ptrace_peeksiginfo_args): ... this.
44931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44932         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44933         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44935 2014-01-06  Allan McRae  <allan@archlinux.org>
44937         * inet/netinet/in.h: Fix typo in comment.
44939 2014-01-05  Andreas Jaeger  <aj@suse.de>
44941         * sysdeps/i386/fpu/libm-test-ulps: Update.
44943 2014-01-05  Allan McRae  <allan@archlinux.org>
44945         * po/libc.pot: Regenerated.
44947         * malloc/memusagestat.c: Fix gettext call formatting.
44949 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44951         * nscd/nscd.c: Improve usage() output.
44953 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44955         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44956         * sysdeps/unix/sysv/linux/configure: Regenerated.
44957         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44958         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44960 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44962         [BZ #16390]
44963         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44964         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44966 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44969         extra tokens at end of #undef directive.
44970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44971         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44972         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44974 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44976         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44978         * math/auto-libm-test-in: Mark various tests with
44979         xfail-rounding:ldbl-128ibm.
44980         * math/auto-libm-test-out: Regenerated.
44982 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44984         [BZ #16386]
44985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44986         numbers with subnormal high part when calculating exponent.
44988         [BZ #16385]
44989         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44990         fabs.
44992         [BZ #16384]
44993         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44994         M_LN2l.
44995         (__ieee754_acoshl): Use __log1pl not __log1p.
44997 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44999         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45000         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45001         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45002         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45003         (reused_arena, arena_get2): Convert to GNU style.
45004         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45005         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45006         (memalign_check, __malloc_set_state): Likewise.
45007         * malloc/mallocbug.c (main): Likewise.
45008         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45009         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45010         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45011         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45012         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45013         (__posix_memalign, malloc_info): Likewise.
45014         * malloc/malloc.h: Likewise.
45015         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45016         (mallochook, memalignhook, reallochook, mabort): Likewise.
45017         * malloc/mcheck.h: Likewise.
45018         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45019         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45020         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45021         * malloc/morecore.c (__default_morecore): Likewise.
45022         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45023         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45024         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45025         (print_and_abort): Likewise.
45026         * malloc/obstack.h: Likewise.
45027         * malloc/set-freeres.c (__libc_freeres): Likewise.
45028         * malloc/tst-mallocstate.c (main): Likewise.
45029         * malloc/tst-mtrace.c (main): Likewise.
45030         * malloc/tst-realloc.c (do_test): Likewise.
45032 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45034         [BZ #16366]
45035         * nscd/netgroupcache.c (do_notfound): New function.
45036         (addgetnetgrentX): Use it.
45038         [BZ # 16365]
45039         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45040         NSS_STATUS_NOTFOUND.
45042 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45044         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45047 2014-01-01  Allan McRae  <allan@archlinux.org>
45049         * scripts/update-copyrights: Update configure input file suffix.
45051         * NEWS: Update copyright year.
45052         * catgets/gencat.c: Likewise.
45053         * csu/version.c: Likewise.
45054         * debug/catchsegv.sh: Likewise.
45055         * debug/pcprofiledump.c: Likewise.
45056         * debug/xtrace.sh: Likewise.
45057         * elf/ldconfig.c: Likewise.
45058         * elf/ldd.bash.in: Likewise.
45059         * elf/pldd.c: Likewise.
45060         * elf/sotruss.ksh: Likewise.
45061         * elf/sprof.c: Likewise.
45062         * iconv/iconv_prog.c: Likewise.
45063         * iconv/iconvconfig.c: Likewise.
45064         * locale/programs/locale.c: Likewise.
45065         * locale/programs/localedef.c: Likewise.
45066         * login/programs/pt_chown.c: Likewise.
45067         * malloc/memusage.sh: Likewise.
45068         * malloc/memusagestat.c: Likewise.
45069         * malloc/mtrace.pl: Likewise.
45070         * manual/libc.texinfo: Likewise.
45071         * nscd/nscd.c: Likewise.
45072         * nss/getent.c: Likewise.
45073         * nss/makedb.c: Likewise.
45074         * posix/getconf.c: Likewise.
45075         * scripts/test-installation.pl: Likewise.
45077         * All files with FSF copyright notices: Update copyright dates
45078         using scripts/update-copyrights.
45079         * intl/plural.c: Regenerated.
45080         * locale/programs/charmap-kw.h: Likewise.
45081         * locale/programs/locfile-kw.h: Likewise.
45083 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45085         * sysdeps/unix/sysv/linux/configure: Regenerated.
45086         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45087         the linux/fanotify.h header.
45088         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45089         HAVE_LINUX_FANOTIFY_H is defined.
45091 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45093         * benchtests/cos-inputs: New inputs.
45094         * benchtests/sin-inputs: Likewise.
45096         * benchtests/atan-inputs: New inputs. Fix name of multiple
45097         precision fallback inputs.
45099         * benchtests/atanh-inputs: New inputs.
45100         * benchtests/tanh-inputs: Likewise.
45102         * benchtests/acosh-inputs: New inputs.
45103         * benchtests/asinh-inputs: Likewise.
45105         * benchtests/cosh-inputs: New inputs.
45106         * benchtests/sinh-inputs: Likewise.
45108         * benchtests/acos-inputs: Add more inputs.
45109         * benchtests/asin-inputs: Likewise.
45111 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45113         [BZ #16375]
45114         * manual/arith.texi: Fix spelling.
45115         * manual/charset.texi: Likewise.
45116         * manual/errno.texi: Likewise.
45117         * manual/filesys.texi: Likewise.
45118         * manual/lang.texi: Likewise.
45119         * manual/llio.texi: Likewise.
45120         * manual/locale.texi: Likewise.
45121         * manual/message.texi: Likewise.
45122         * manual/resource.texi: Likewise.
45123         * manual/search.texi: Likewise.
45124         * manual/setjmp.texi: Likewise.
45125         * manual/stdio.texi: Likewise.
45126         * manual/string.texi: Likewise.
45127         * manual/sysinfo.texi: Likewise.
45128         * manual/time.texi: Likewise.
45130 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45132         * po/sl.po: New file.
45134 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45136         * .gitignore: Add core/.gdbinit/.gdb_history.
45138 2013-12-27  Allan McRae  <allan@archlinux.org>
45140         [BZ #16369]
45141         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45142         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45144 2013-12-24  Brooks Moses  <bmoses@google.com>
45146         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45147         all compilers that claim C++98 compliance, not just GCC.
45148         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45149         Likewise.
45151 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45153         * NEWS: Restore accidentally deleted bug-fix entries.
45155 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45156             Ondřej Bílka  <neleai@seznam.cz>
45158         [BZ #15073]
45159         * malloc/malloc.c (_int_free): Perform sanity check only if we
45160         have_lock.
45162 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45164         [BZ #12986]
45165         * manual/stdio.texi (String Input Conversions): Clarify that character
45166         classes are not supported.
45168 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45172 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45174         [BZ #16337]
45175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45176         Calculate results for small negative arguments directly rather
45177         than using reflection formula with special underflow handling.
45179         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45180         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45181         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45182         (fchflags): Likewise.
45183         (revoke): Likewise.
45184         (setlogin): Likewise.
45185         (sigaltstack): Likewise.
45186         (wait4): Likewise.
45187         (sigblock): Remove.
45188         (sigsetmask): Likewise.
45189         (wait3): Likewise.
45190         (waitpid): Likewise.
45191         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45192         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45193         file.
45194         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45195         * sysdeps/unix/bsd/Makefile: ... here.
45196         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45197         * sysdeps/unix/bsd/Versions: ... here.
45198         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45199         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45200         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45201         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45202         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45203         * sysdeps/unix/bsd/sigblock.c: ... here.
45204         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45205         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45206         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45207         * sysdeps/unix/bsd/sigvec.c: ... here.
45208         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45209         * sysdeps/unix/bsd/tcdrain.c: ... here.
45210         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45211         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45212         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45213         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45214         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45215         * sysdeps/unix/bsd/wait.c: ... here.
45216         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45217         * sysdeps/unix/bsd/wait3.c: ... here.
45218         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45219         * sysdeps/unix/bsd/waitpid.c: ... here.
45221 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45223         [BZ #16356]
45224         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45225         round-to-nearest for [!USE_AS_EXPM1L].
45226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45227         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45228         more tests of exp and exp10.  Expect some exp10 tests to miss
45229         exceptions or fail in directed rounding modes.
45230         * math/auto-libm-test-out: Regenerated.
45231         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45232         (exp10_test_tonearest): New function.
45233         (exp10_towardzero_test_data): New array.
45234         (exp10_test_towardzero): New function.
45235         (exp10_downward_test_data): New array.
45236         (exp10_test_downward): New function.
45237         (exp10_upward_test_data): New array.
45238         (exp10_test_upward): New function.
45239         (main): Call the new functions.
45240         * sysdeps/i386/fpu/libm-test-ulps: Update.
45241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45243 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45245         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45246         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45247         * math/auto-libm-test-out: Regenerated.
45248         * math/libm-test.inc (acosh_test_data): Add more tests.
45249         (atanh_test_data): Likewise.
45250         (ceil_test_data): Likewise.
45251         (copysign_test_data): Likewise.
45252         * sysdeps/i386/fpu/libm-test-ulps: Update.
45253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45255         * timezone/checktab.awk: Update from tzcode 2013i.
45256         * timezone/private.h: Likewise.
45257         * timezone/scheck.c: Likewise.
45258         * timezone/tzfile.h: Likewise.
45259         * timezone/tzselect.ksh: Likewise.
45260         * timezone/zdump.c: Likewise.
45261         * timezone/zic.c: Likewise.
45263         * math/auto-libm-test-in: Add tests of cpow.
45264         * math/auto-libm-test-out: Regenerated.
45265         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45267         mpc_cc_c.
45268         (func_calc_desc): Add mpc_cc_c union field.
45269         (test_functions): Add cpow.
45270         (special_fill_2pi): New function.
45271         (special_real_inputs): Add 2pi.
45272         (calc_generic_results): Handle mpc_cc_c.
45273         * sysdeps/i386/fpu/libm-test-ulps: Update.
45274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45276         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45277         csqrt, ctan and ctanh.
45278         * math/auto-libm-test-out: Regenerated.
45279         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45280         (TEST_COND_x86): Likewise.
45281         (ccos_test_data): Use AUTO_TESTS_c_c.
45282         (ccosh_test_data): Likewise.
45283         (cexp_test_data): Likewise.
45284         (clog_test_data): Likewise.
45285         (csqrt_test_data): Likewise.
45286         (ctan_test_data): Likewise.
45287         (ctan_tonearest_test_data): Likewise.
45288         (ctan_towardzero_test_data): Likewise.
45289         (ctan_downward_test_data): Likewise.
45290         (ctan_upward_test_data): Likewise.
45291         (ctanh_test_data): Likewise.
45292         (ctanh_tonearest_test_data): Likewise.
45293         (ctanh_towardzero_test_data): Likewise.
45294         (ctanh_downward_test_data): Likewise.
45295         (ctanh_upward_test_data): Likewise.
45296         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45297         mpc_c_c.
45298         (func_calc_desc): Add mpc_c_c union field.
45299         (FUNC_mpc_c_c): New macro.
45300         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45301         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45302         ctanh.
45303         (special_fill_min_subnorm_p120): New function.
45304         (special_real_inputs): Add min_subnorm_p120.
45305         (calc_generic_results): Handle mpc_c_c.
45306         * sysdeps/i386/fpu/libm-test-ulps: Update.
45307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45309 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45311         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45312         (do_sin_slow): New functions.
45313         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45314         (cslow2, csloww1, csloww2): Use the new functions.
45316         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45317         Use M to change sign of result instead of X.  Assume X is
45318         positive.
45319         (csloww1): Likewise.
45320         (__sin): Adjust.
45321         (__cos): Adjust.
45323         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45324         arguments A and DA.
45325         (__sin): Adjust.
45326         (__cos): Likewise.
45328         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45329         (__cos): Likewise.
45330         (sloww1): Don't adjust sign of DX.
45331         (csloww1): Likewise.
45332         (sloww2): Use X directly and don't adjust sign of DX.
45333         (csloww2): Likewise.
45335 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45337         * math/auto-libm-test-in: Add tests of cabs and carg.
45338         * math/auto-libm-test-out: Regenerated.
45339         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45340         (carg_test_data): Likewise.
45341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45342         mpc_c_f.
45343         (func_calc_desc): Add mpc_c_f union field.
45344         (test_functions): Add cabs and carg.
45345         (calc_generic_results): Handle mpc_c_f.
45347         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45348         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45349         as a macro and a compat symbol.
45350         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45351         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45352         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45353         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45354         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45355         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45356         not use .hidden.
45357         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45358         Likewise.
45359         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45360         Likewise.
45361         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45362         Likewise.
45363         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45364         Likewise.
45365         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45366         Likewise.
45367         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45368         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45369         from GLIBC_2.3.2.
45371 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45375 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45377         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45378         trailing whitespace removed.
45379         * scripts/config.guess: Update to version 2013-11-29.
45380         * scripts/config.sub: Update to version 2013-10-01.
45382         * math/auto-libm-test-in: Add tests of sincos.
45383         * math/auto-libm-test-out: Regenerated.
45384         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45385         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45386         mpfr_f_11.
45387         (func_calc_desc): Add mpfr_f_11 union field.
45388         (test_functions): Add sincos.
45389         (calc_generic_results): Handle mpfr_f_11.
45390         * sysdeps/i386/fpu/libm-test-ulps: Update.
45391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45393 2013-12-19  Andreas Schwab  <schwab@suse.de>
45395         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45396         CALL_MCOUNT.
45397         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45398         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45399         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45401 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45403         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45404         * sysdeps/i386/fpu/libm-test-ulps: Update.
45405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45407         [BZ #16293]
45408         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45409         round-to-nearest mode when using frndint.
45410         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45411         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45412         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45413         Likewise.
45414         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45415         sinh test to fail.
45416         * math/auto-libm-test-out: Regenerated.
45417         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45418         (TEST_COND_x86): Likewise.
45419         (expm1_tonearest_test_data): New array.
45420         (expm1_test_tonearest): New function.
45421         (expm1_towardzero_test_data): New array.
45422         (expm1_test_towardzero): New function.
45423         (expm1_downward_test_data): New array.
45424         (expm1_test_downward): New function.
45425         (expm1_upward_test_data): New array.
45426         (expm1_test_upward): New function.
45427         (main): Run the new test functions.
45428         * sysdeps/i386/fpu/libm-test-ulps: Update.
45429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45431         * include/features.h: Update comment documenting feature test
45432         macros.  Mention _DEFAULT_SOURCE in comment.
45433         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45434         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45435         _BSD_SOURCE and _SVID_SOURCE.
45436         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45437         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45438         !_SVID_SOURCE]: Likewise.
45439         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45440         (__USE_POSIX_IMPLICITLY): Define.
45441         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45442         (_POSIX_SOURCE): Undefine and redefine.
45443         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45444         (_POSIX_C_SOURCE): Likewise.
45445         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45446         (Feature Test Macros): Update documentation of default features.
45448 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45450         * benchtests/Makefile: Add bench-strtok.
45451         * benchtests/bench-strtok.c: New file: strtok benchtest.
45453 2013-12-19  Allan McRae  <allan@archlinux.org>
45455         * manual/install.texi: Suppress menu for plain text output.
45456         * INSTALL: Regenerated.
45458 2013-12-18  Brooks Moses  <bmoses@google.com>
45460         [BZ #15846]
45461         * misc/getauxval.c: Include errno.h.
45462         (__getauxval): Set errno to ENOENT if the requested type is not
45463         found.
45464         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45465         don't declare with __attribute_const__.
45466         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45467         * manual/startup.texi: Document that getauxval sets errno.
45469 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45471         * math/auto-libm-test-in: Add tests of jn and yn.
45472         * math/auto-libm-test-out: Regenerated.
45473         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45474         (yn_test_data): Likewise.
45475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45476         mpfr_if_f.
45477         (func_calc_desc): Add mpfr_if_f union field.
45478         (FUNC_mpfr_if_f): New macro.
45479         (test_functions): Add jn and yn.
45480         (calc_generic_results): Assert type of second input for
45481         mpfr_ff_f.  Handle mpfr_if_f.
45482         (output_for_one_input_case): Disable all checking for arguments
45483         fitting floating-point types in case of an integer argument.
45484         * sysdeps/i386/fpu/libm-test-ulps: Update.
45485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45488         Don't expect fegetround reference in libm.so.
45490 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45492         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45493         $(config-cflags-nofma).
45495 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45497         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45498         * math/auto-libm-test-out: Regenerated.
45500         [BZ #16338]
45501         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45502         to determine exponent and adjust argument to have exponent of -1.
45503         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45504         log2.
45505         * math/auto-libm-test-out: Regenerated.
45506         * sysdeps/i386/fpu/libm-test-ulps: Update.
45507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45509 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45511         * manual/probes.texi: Remove cases when per-thread arenas are
45512         disabled.
45514 2013-12-18  Andreas Schwab  <schwab@suse.de>
45516         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45517         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45518         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45519         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45520         * sysdeps/i386/i686/multiarch/Makefile: Update.
45521         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45523 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45525         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45526         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45528 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45530         [BZ #15968]
45531         Support TZ transition times < 00:00:00.
45532         This is needed for version-3 tz-format files; it supports time
45533         stamps past 2037 for America/Godthab (the only entry in the tz
45534         database for which this change is relevant).
45535         * manual/time.texi (TZ Variable): Document transition times
45536         from -167:59:59 through -00:00:01.
45537         * time/tzset.c (tz_rule): Time of day is now signed.
45538         (__tzset_parse_tz): Parse negative time of day.
45540         Document TZ transition times >= 25:00:00.
45541         * manual/time.texi (TZ Variable): Document transition times from
45542         25:00:00 through 167:59:59.  These are already supported, and this
45543         support will help with version-3 tz-format files.
45545         * manual/time.texi (TZ Variable): Modernize North America example
45546         to reflect current (i.e., 2007-and-later) daylight saving rules.
45548         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45550 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45552         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45553         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45554         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45556         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45557         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45558         * sysdeps/unix/bsd/clock.c: Likewise.
45559         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45560         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45561         * sysdeps/unix/bsd/init-posix.c: Likewise.
45562         * sysdeps/unix/bsd/poll.c: Likewise.
45563         * sysdeps/unix/bsd/ptsname.c: Likewise.
45564         * sysdeps/unix/bsd/seekdir.c: Likewise.
45565         * sysdeps/unix/bsd/setegid.c: Likewise.
45566         * sysdeps/unix/bsd/seteuid.c: Likewise.
45567         * sysdeps/unix/bsd/setgid.c: Likewise.
45568         * sysdeps/unix/bsd/setrgid.c: Likewise.
45569         * sysdeps/unix/bsd/setruid.c: Likewise.
45570         * sysdeps/unix/bsd/setsid.c: Likewise.
45571         * sysdeps/unix/bsd/setuid.c: Likewise.
45572         * sysdeps/unix/bsd/sigaction.c: Likewise.
45573         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45574         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45575         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45576         * sysdeps/unix/bsd/telldir.c: Likewise.
45577         * sysdeps/unix/bsd/times.c: Likewise.
45578         * sysdeps/unix/bsd/usleep.c: Likewise.
45580         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45581         ($(objpfx)libbsd-compat.a): Remove rule.
45583         * include/features.h (__FAVOR_BSD): Do not define.
45584         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45585         features conflicting with POSIX.
45586         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45587         (_BSD_SOURCE): Remove description of not being a subset of other
45588         feature test macros.
45589         * manual/job.texi (getpgrp): Do not document BSD version.
45590         (getpgid): Do not document by reference to BSD getpgrp.
45591         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45592         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45593         * signal/signal.h [__FAVOR_BSD]: Likewise.
45594         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45595         instead of making contents conditional on [__FAVOR_BSD].
45596         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45598 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45602 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45604         [BZ #16314]
45605         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45606         values below 2**-450, not 2**-500.
45607         * math/auto-libm-test-in: Don't allow spurious underflow from
45608         hypot.
45609         * math/auto-libm-test-out: Regenerated.
45611         [BZ #16316]
45612         [BZ #16330]
45613         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45614         values of ha and hb and sort them after adjusting subnormal
45615         arguments.
45616         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45617         Likewise.
45618         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45619         values of ea and eb and sort them after adjusting subnormal
45620         arguments.
45621         * math/auto-libm-test-in: Do not expect some hypot tests of
45622         subnormals to fail.  Add more hypot tests.
45623         * math/auto-libm-test-out: Regenerated.
45625 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45627         [BZ #13304]
45628         * sysdeps/sh/s_fma.c: New file.
45629         * sysdeps/sh/s_fmaf.c: New file.
45630         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45631         version.
45632         * sysdeps/sh/Implies: Add sh/soft-fp.
45634 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45636         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45637         level of indirection to members `objname', `errstring', `malloced'.
45638         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45639         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45640         it as the __longjmp argument (just pass 1 instead).
45641         (_dl_catch_error): Initialize C with argument pointers and address of
45642         volatile local ERRCODE rather than copying values out of C at return.
45644 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45646         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45647         * math/auto-libm-test-out: Regenerated.
45648         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45649         (hypot_test_data): Likewise.
45650         (pow_test_data): Likewise.
45651         (pow_tonearest_test_data): Likewise.
45652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45653         mpfr_ff_f.
45654         (func_calc_desc): Add mpfr_ff_f union field.
45655         (FUNC_mpfr_ff_f): New macro.
45656         (test_functions): Add atan2, hypot and pow.
45657         (special_fill_min): New function.
45658         (special_fill_minus_min): Likewise.
45659         (special_fill_min_subnorm): Likewise.
45660         (special_fill_minus_min_subnorm): Likewise.
45661         (special_real_inputs): Add min, -min, min_subnorm and
45662         -min_subnorm.
45663         (calc_generic_results): Handle mpfr_ff_f.
45664         * sysdeps/i386/fpu/libm-test-ulps: Update.
45665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45667 2013-12-16  Will Newton  <will.newton@linaro.org>
45669         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45670         (Aligned Memory Blocks): Add documentation for aligned_alloc
45671         and suggest it as an alternative to posix_memalign.
45672         (Hooks for Malloc): Document __memalign_hook is also called
45673         for aligned_alloc.  (Summary of Malloc): Add summary for
45674         aligned alloc.  Document __memalign_hook is also called
45675         for aligned_alloc.
45677 2013-12-16  Will Newton  <will.newton@linaro.org>
45679         * manual/memory.texi (Malloc Examples): Clarify default
45680         alignment documentation.  Suggest posix_memalign rather
45681         than memalign or valloc.
45682         (Aligned Memory Blocks): Remove suggestion to use memalign
45683         or valloc.  Remove obsolete comment about BSD.
45684         Document memalign errno values and mark the function obsolete.
45685         Document posix_memalign returned error codes.  Mark valloc
45686         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45687         called for posix_memalign and valloc.
45688         (Summary of Malloc): Add posix_memalign to function summary.
45689         __memalign_hook is also called for posix_memalign and valloc.
45691 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45693         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45694         TAYLOR_SIN.
45695         (__sin): Adjust.
45696         (__cos): Likewise.
45697         (sloww): Use mynumber union.  Expand ternary operator into
45698         if-else statements.
45699         (cslow): use mynumber union.
45701 2013-12-16  Allan McRae  <allan@archlinux.org>
45703         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45704         * configure: Regenerated.
45706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45708         [BZ #14120]
45709         * configure.ac: Added --enable-maintainer-mode. Check for
45710         autoconf when enabled.
45711         * configure: Regenerated.
45713         * nscd/nscd.service: New file.
45714         * nscd/nscd.tmpfiles: New file.
45716 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45718         [BZ #12100]
45719         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45720         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45721         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45722         (strstr): Add __strstr_sse2_unaligned ifunc.
45723         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45724         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45725         (strcasestr): Remove __strcasestr_sse42 ifunc.
45726         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45730 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45732         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45733         * sysdeps/sh/bits/fenv.h: ... here.
45734         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45736 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45738         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45741         hypotf multiarch implementations.
45742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45743         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45745         multiarch hypot for PPC64.
45746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45747         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45748         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45749         multiarch hypotf for PPC64.
45751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45752         modff multiarch implementations.
45753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45756         multiarch modf for PPC64.
45757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45760         multiarch modff for PPC64.
45762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45763         and logl multiarch implementations.
45764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45767         multiarch logb for PPC64.
45768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45771         multiarch logb for PPC64.
45772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45775         multiarch logb for PPC64.
45777         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45778         isinff multiarch implementation.
45779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45780         file.
45781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45783         multiarch isinf for PPC64.
45784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45785         file.
45786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45787         multiarch isinff for PPC64.
45789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45790         finitef multiarch implementation.
45791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45792         file.
45793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45795         multiarch finite for PPC64.
45796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45797         file.
45798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45799         multiarch finitef for PPC64.
45801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45802         lrint multiarch implementation.
45803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45804         file.
45805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45807         multiarch llrint for PPC64.
45808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45809         multiarch lrint for PPC64.
45811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45812         copysignf multiarch implementation.
45813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45814         file.
45815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45816         file.
45817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45818         multiarch copysign for PPC64.
45819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45820         multiarch copysignf for PPC64.
45822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45823         multiarch implementation.
45824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45825         file.
45826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45827         file.
45828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45829         file.
45830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45831         file.
45832         multiarch llround for PPC64.
45833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45834         multiarch trunc for PPC64.
45835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45836         multiarch truncf for PPC64.
45838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45839         multiarch implementation.
45840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45841         file.
45842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45843         file.
45844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45845         file.
45846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45847         file.
45848         multiarch llround for PPC64.
45849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45850         multiarch round for PPC64.
45851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45852         multiarch roundf for PPC64.
45854         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45855         multiarch implementation.
45856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45857         file.
45858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45859         file.
45860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45861         file.
45862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45863         file.
45864         multiarch llround for PPC64.
45865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45866         multiarch floor for PPC64.
45867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45868         multiarch floorf for PPC64.
45870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45871         multiarch implementation.
45872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45873         file.
45874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45875         file.
45876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45877         file.
45878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45879         file.
45880         multiarch llround for PPC64.
45881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45882         multiarch ceil for PPC64.
45883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45884         multiarch ceilf for PPC64.
45886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45887         multiarch implementation.
45888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45889         file.
45890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45891         file.
45892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45893         file.
45894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45895         multiarch llround for PPC64.
45896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45897         multiarch lround for PPC64.
45899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45900         multiarch implementation.
45901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45904         file.
45905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45908         multiarch isnan for PPC64.
45909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45910         multiarch isnanf for PPC64.
45912         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45913         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45914         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45915         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45916         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45919         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45920         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45925         multiarch implementations.
45926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45927         (__libc_ifunc_impl_list): Likewise.
45928         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45929         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45931         multiarch stpcpy for PPC64.
45933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45934         multiarch implementations.
45935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45936         (__libc_ifunc_impl_list): Likewise.
45937         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45938         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45939         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45940         multiarch strcpy for PPC64.
45942         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45943         redefine function name.
45944         (_wordcopy_fwd_dest_aligned): Likewise.
45945         (_wordcopy_bwd_aligned): Likewise.
45946         (_wordcopy_bwd_dest_aligned): Likewise.
45947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45948         multiarch implementations.
45949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45950         (__libc_ifunc_impl_list): Likewise.
45951         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45955         multiarch wcscpy for PPC64.
45957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45958         multiarch implementations.
45959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45960         (__libc_ifunc_impl_list): Likewise.
45961         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45962         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45965         multiarch wcscpy for PPC64.
45967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45968         multiarch implementations.
45969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45970         (__libc_ifunc_impl_list): Likewise.
45971         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45972         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45975         multiarch wcsrchr for PPC64.
45977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45978         multiarch implementations.
45979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45980         (__libc_ifunc_impl_list): Likewise.
45981         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45982         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45983         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45984         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45985         multiarch wcschr for PPC64.
45987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45988         multiarch implementations.
45989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45990         (__libc_ifunc_impl_list): Likewise.
45991         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45992         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45994         multiarch strchrnul for PPC64.
45996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45997         implementations.
45998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45999         (__libc_ifunc_impl_list): Likewise.
46000         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46001         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46002         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46003         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46004         strchr for PPC64.
46006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46007         implementations.
46008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46009         (__libc_ifunc_impl_list): Likewise.
46010         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46011         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46013         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46014         strncmp for PPC64.
46016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46017         multiarch implementations.
46018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46019         (__libc_ifunc_impl_list): Likewise.
46020         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46021         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46022         strncasecmp for PPC64.
46023         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46024         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46025         multiarch strncasecmp_l for PPC64.
46027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46028         multiarch implementations.
46029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46030         (__libc_ifunc_impl_list): Likewise.
46031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46032         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46033         multiarch strcasecmp for PPC64.
46034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46035         file.
46036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46037         multiarch strcasecmp_l for PPC64.
46039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46040         implementations.
46041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46042         (__libc_ifunc_impl_list): Likewise.
46043         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46044         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46045         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46046         strnlen for PPC64.
46048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46049         implementations.
46050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46051         (__libc_ifunc_impl_list): Likewise.
46052         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46053         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46054         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46055         strlen for PPC64.
46057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46058         implementations.
46059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46060         (__libc_ifunc_impl_list): Likewise.
46061         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46062         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46064         rawmemrchr for PPC64.
46066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46067         implementation.
46068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46069         (__libc_ifunc_impl_list): Likewise.
46070         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46071         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46072         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46073         memrchr for PPC64.
46075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46076         implementation.
46077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46078         (__libc_ifunc_impl_list): Likewise.
46079         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46080         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46081         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46082         memchr for PPC64.
46084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46085         implementation.
46086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46087         (__libc_ifunc_impl_list): Likewise.
46088         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46089         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46090         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46091         mempcpy for PPC64.
46093         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46094         avoid cretion of __bzero symbol.
46095         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46096         Likewise.
46097         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46098         Likewise.
46099         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46100         Likewise.
46101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46102         multiarch implementations.
46103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46104         (__libc_ifunc_impl_list): Likewise.
46105         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46106         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46108         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46109         bzero for PPC32.
46110         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46111         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46112         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46113         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46114         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46115         memset for PPC64.
46116         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46118         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46120         implementations.
46121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46122         (__libc_ifunc_impl_list): Likewise.
46123         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46124         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46125         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46126         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46127         memcmp for PPC64.
46129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46130         multiarch for POWER/PPC64.
46131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46132         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46133         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46134         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46135         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46138         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46139         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46140         memcpy for PPC64.
46142         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46143         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46144         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46145         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46146         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46147         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46148         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46149         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46150         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46151         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46152         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46153         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46154         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46155         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46156         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46165 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46167         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46169 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46171         * benchtests/Makefile (bench): Add exp2 and log2.
46172         (LDLIBS-bench-exp2): Add -lm.
46173         (LDLIBS-bench-log2): Likewise.
46174         * benchtests/exp2-inputs: New inputs file.
46175         * benchtests/log2-inputs: New inputs file.
46176         * benchtests/log-inputs: Add new inputs.
46177         * benchtests/tan-inputs: Likewise.
46179 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46181         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46182         definition...
46183         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46184         (csloww2): ... from here.
46186         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46187         instead of structures.
46188         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46189         (POLYNOMIAL): Likewise.
46190         (TAYLOR_SLOW): Likewise.
46191         (__sin): Likewise.
46192         (__cos): Likewise.
46193         (slow1): Likewise.
46194         (slow2): Likewise.
46195         (sloww): Likewise.
46196         (sloww1); Likewise.
46197         (sloww2): Likewise.
46198         (bsloww1): Likewise.
46199         (bsloww2): Likewise.
46200         (cslow2): Likewise.
46201         (csloww): Likewise.
46202         (csloww1): Likewise.
46203         (csloww2): Likewise.
46205 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46207         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46208         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46209         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46210         * malloc/hooks.c (realloc_check): Likewise.
46212         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46213         * malloc/arena.c: Remove PER_THREAD conditional.
46214         [!PER_THREAD]: Remove code.
46215         (ptmalloc_unlock_all2): Likewise.
46216         (ptmalloc_init): Likewise.
46217         (_int_new_arena): Likewise.
46218         (arena_get2): Likewise.
46219         * malloc/hooks.c (__malloc_get_state): Likewise.
46220         (__malloc_set_state): Likewise.
46221         * malloc/malloc.c: Likewise.
46222         (struct malloc_state): Likewise.
46223         (struct malloc_par): Likewise.
46224         (__libc_realloc): Likewise.
46225         (__libc_mallopt): Likewise.
46227 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46229         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46231 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46233         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46234         macro to a function.  Check for zero perturb_byte.
46235         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46237         * malloc/malloc.c: (force_reg): Remove.
46238         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46239         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46240         force_reg by atomic_forced_read.
46241         * malloc/arena.c (ptmalloc_init): Likewise.
46242         * malloc/hooks.c (top_check): Likewise.
46244 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46248 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46252 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46254         * math/auto-libm-test-in: Add tests of lgamma.
46255         * math/auto-libm-test-out: Regenerated.
46256         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46257         (M_LOG_2_SQRT_PIl): Likewise.
46258         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46259         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46260         mpfr_f_f1.
46261         (func_calc_desc): Add mpfr_f_f1 union field.
46262         (ARGS1): New macro.
46263         (ARGS2): Likewise.
46264         (ARGS3): Likewise.
46265         (ARGS4): Likewise.
46266         (RET1): Likewise.
46267         (RET2): Likewise.
46268         (CALC): Likewise.
46269         (FUNC): Likewise.
46270         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46271         (test_functions): Add lgamma.
46272         (calc_generic_results): Handle mpfr_f_f1.
46273         * sysdeps/i386/fpu/libm-test-ulps: Update.
46274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46276 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46278         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46279         __mpn_add_n for PowerPC64/POWER7.
46280         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46281         __mpn_sub_n for PowerPC64/POWER7.
46283         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46284         __mpn_addmul_1 for PowerPC64.
46285         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46286         __mpn_submul_1 for PowerPC64.
46287         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46288         for PowerPC64.
46289         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46290         for PowerPC64.
46292 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46294         [BZ #15089]
46295         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46299         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46301         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46302         add multiarch folders.
46303         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46304         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46305         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46306         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46307         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46308         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46309         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46310         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46311         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46312         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46313         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46322         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46324         New file.
46325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46326         New file.
46327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46328         multiarch __ieee754_hypot for PowerPC32.
46329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46330         New file.
46331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46332         New file.
46333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46334         multiarch __ieee754_hypotf for PowerPC32.
46336         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46337         long_double_symbol only if __logbl is defined.
46338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46339         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46341         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46343         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46345         path for implementation.
46346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46347         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46349         logb, and logbl multiarch implementations for PowerPC32.
46350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46351         file.
46352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46353         file.
46354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46355         multiarch logb for PowerPC32.
46356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46357         file.
46358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46359         file.
46360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46361         multiarch logbf for PowerPC32.
46362         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46364         file.
46365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46366         multiarch logbl implementation for PowerPC32.
46368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46369         and modff multiarch implementations.
46370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46371         New file.
46372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46373         New file.
46374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46375         multiarch modf for PowerPC32.
46376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46377         New file.
46378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46379         New file.
46380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46381         multiarch modff for PowerPC32.
46383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46384         and lrintf multiarch implementations.
46385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46386         New file.
46387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46388         New file.
46389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46390         multiarch lrint for PowerPC32.
46391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46392         file: multiarch lrintf for PowerPC32.
46394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46395         and lroundf multiarch implementations.
46396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46397         New file.
46398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46399         New file.
46400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46401         New file.
46402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46403         multiarch lround for PowerPC32.
46404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46405         file: multiarch lroundf for PowerPC32.
46407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46408         copysign and copysignf multiarch implementations.
46409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46410         New file.
46411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46412         New file.
46413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46414         file: multiarch copysign for PowerPC32.
46415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46416         file: multiarch copysignf for PowerPC32.
46418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46419         and truncf multiarch implementations.
46420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46421         New file.
46422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46423         file.
46424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46425         multiarch trunc for PowerPC32.
46426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46427         New file.
46428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46429         New file.
46430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46431         multiarch truncf for PowerPC32.
46433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46434         and roundf multiarch implementations.
46435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46436         New file.
46437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46438         file.
46439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46440         multiarch round for PowerPC32.
46441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46442         New file.
46443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46444         New file.
46445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46446         multiarch roundf for PowerPC32.
46448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46449         and floorf multiarch implementations.
46450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46451         New file.
46452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46453         file.
46454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46455         multiarch floor for PowerPC32.
46456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46457         New file.
46458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46459         New file.
46460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46461         multiarch floorf for PowerPC32.
46463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46464         and ceilf multiarch implementations.
46465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46466         New file.
46467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46468         file.
46469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46470         multiarch ceil for PowerPC32.
46471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46472         New file.
46473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46474         file.
46475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46476         multiarch ceilf for PowerPC32.
46478         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46479         is defined.
46480         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46481         FINITEF is defined.
46482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46483         and finitef multiarch implementations.
46484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46485         New file.
46486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46487         file.
46488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46489         multiarch finite for PowerPC32.
46490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46491         New file.
46492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46493         file: multiarch finitef for PowerPC32.
46495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46496         and isinff multiarch implementations.
46497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46498         file.
46499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46500         file.
46501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46502         multiarch isinf for PowerPC32.
46503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46504         New file.
46505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46506         multiarch isinff for PowerPC32.
46508         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46509         alias when __isnan is defined.
46510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46511         and isnanf multiarch implementations.
46512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46513         file.
46514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46515         file.
46516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46517         file.
46518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46519         file.
46520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46521         multiarch isnan for PowerPC32.
46522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46523         New file.
46524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46525         New file.
46526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46527         multiarch isnanf for PowerPC32.
46529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46530         and sqrtf multiarch implementations.
46531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46532         file.
46533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46534         file.
46535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46536         multiarch sqrt for PowerPC32.
46537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46538         file.
46539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46540         file.
46541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46542         multiarch sqrtf for PowerPC32.
46544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46545         and llroundf multiarch implementations.
46546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46547         New file.
46548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46549         New file.
46550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46551         New file.
46552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46553         file: multiarch llround for PowerPC32.
46554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46555         file: multiarch llroundf for PowerPC32.
46557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46558         multiarch PowerPC32 fpu implementations.
46559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46560         New file.
46561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46562         New file.
46563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46564         multiarch llrint for PowerPC32.
46565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46566         New file.
46567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46568         New file.
46569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46570         file.
46572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46574         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46575         file.
46576         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46577         file.
46578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46579         file.
46580         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46581         multiarch wordcopy for PPC32.
46582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46583         wordcopy objects.
46584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46585         (__libc_ifunc_impl_list): Likewise.
46586         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46587         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46588         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46589         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46590         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46591         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46593         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46595         file.
46596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46597         file.
46598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46599         file.
46600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46601         multiarch wcscpy for PPC32.
46602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46603         multiarch objects.
46604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46605         (__libc_ifunc_impl_list): Likewise.
46606         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46607         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46608         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46609         sysdeps/powerpc/power6/wcscpy.c.
46611         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46613         file.
46614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46615         file.
46616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46617         file.
46618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46619         multiarch wcsrchr for PPC32.
46620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46621         multiarch objects.
46622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46623         (__libc_ifunc_impl_list): Likewise.
46624         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46625         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46626         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46627         sysdeps/powerpc/power6/wcsrchr.c.
46629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46630         file.
46631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46632         file.
46633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46635         multiarch wcschr for PPc32.
46636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46637         multiarch objects.
46638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46639         (__libc_ifunc_impl_list): Likewise.
46640         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46641         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46642         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46643         sysdeps/powerpc/power6/wcschr.c.
46645         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46646         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46647         file.
46648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46649         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46650         file: multiarch strchr for PPC32.
46651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46652         multiarch objects.
46653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46654         (__libc_ifunc_impl_list): Likewise.
46656         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46657         name.
46658         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46659         file.
46660         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46661         file.
46662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46663         multiarch strchrnul for PPC32.
46664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46665         multiarch objects.
46666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46667         (__libc_ifunc_impl_list): Likewise.
46669         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46670         file.
46671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46672         multiarch strncasecmp for PPC32.
46673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46674         file.
46675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46676         multiarch strncasecmp_l for PPC32.
46677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46678         strncasecmp multiarch objects.
46679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46680         (__libc_ifunc_impl_list): Likewise.
46682         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46683         file.
46684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46685         multiarch strncasecmp for PPC32.
46686         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46687         New file.
46688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46689         multiarch strcasecmp_l for PPC32.
46690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46691         multiarch objects.
46692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46693         (__libc_ifunc_impl_list): Likewise.
46695         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46696         file.
46697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46698         file.
46699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46700         multiarch strncmp for PPC32.
46701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46702         multiarch objects.
46703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46704         (__libc_ifunc_impl_list): Likewise.
46706         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46707         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46708         file.
46709         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46710         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46712         multiarch objects.
46713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46714         (__libc_ifunc_impl_list): Likewise.
46716         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46717         file.
46718         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46719         file.
46720         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46722         multiarch objects.
46723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46724         (__libc_ifunc_impl_list): Likewise.
46726         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46727         file.
46728         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46729         file.
46730         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46731         multiarch rawmemchr for PPC32.
46732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46733         multiarch objects.
46734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46735         (__libc_ifunc_impl_list): Likewise.
46737         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46738         file.
46739         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46740         file.
46741         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46742         file: memrchr multiarch for PPC32.
46743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46744         multiarch objects.
46745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46746         (__libc_ifunc_impl_list): Likewise.
46748         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46749         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46750         file.
46751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46753         multiarch memchr for PPC32.
46754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46755         multiarch objects.
46756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46757         (__libc_ifunc_impl_list): Likewise.
46759         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46760         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46761         file.
46762         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46763         file.
46764         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46765         file: multiarch mempcpy for PPC32.
46766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46767         multiarch objects.
46768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46769         (__libc_ifunc_impl_list): Likewise.
46771         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46772         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46775         multiarch bzero for PPC32.
46776         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46777         file.
46778         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46779         file.
46780         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46781         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46782         file: multiarch memset for PPC32.
46783         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46785         memset multiarch objects.
46786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46787         (__libc_ifunc_impl_list): Likewise.
46789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46790         file.
46791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46793         memcmp for PPC32.
46794         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46796         multiarch objects.
46797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46798         (__libc_ifunc_impl_list): Likewise.
46800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46803         file.
46804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46805         file.
46806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46807         file.
46808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46809         multiarch memcpy for PPC32.
46810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46811         multiarch objects.
46812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46813         (__libc_ifunc_impl_list): Likewise.
46815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46816         support multiarch for POWER/PPC32.
46817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46818         Likewise.
46819         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46821         Implies file to make multiarch folder appers before the fpu and
46822         default folder for power4 configuration.
46824 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46826         * scripts/bench.pl: Append volatile keyword to type.
46828 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46830         * sysdeps/sh/sotruss-lib.c: New file.
46831         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46833 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46837 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46839         [BZ #6810]
46840         * math/w_tgamma.c: Include <errno.h>.
46841         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46842         * math/w_tgammaf.c: Include <errno.h>.
46843         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46844         * math/w_tgammal.c: Include <errno.h>.
46845         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46846         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46847         underflow.  Add more tgamma tests.
46848         * math/auto-libm-test-out: Regenerated.
46849         * sysdeps/i386/fpu/libm-test-ulps: Update.
46850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46852         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46853         sin, sinh, tan, tanh, tgamma, y0 and y1.
46854         * math/auto-libm-test-out: Regenerated.
46855         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46856         (TEST_COND_x86): Likewise.
46857         (M_E2l): Remove macro.
46858         (M_E3l): Likewise.
46859         (M_2_SQRT_PIl): Likewise.
46860         (M_SQRT_PIl): Likewise.
46861         (M_1_DIV_El): Likewise.
46862         (log_test_data): Use AUTO_TESTS_f_f.
46863         (log10_test_data): Likewise.
46864         (log1p_test_data): Likewise.
46865         (log2_test_data): Likewise.
46866         (sin_test_data): Likewise.
46867         (sin_tonearest_test_data): Likewise.
46868         (sin_towardzero_test_data): Likewise.
46869         (sin_downward_test_data): Likewise.
46870         (sin_upward_test_data): Likewise.
46871         (sinh_test_data): Likewise.
46872         (sinh_tonearest_test_data): Likewise.
46873         (sinh_towardzero_test_data): Likewise.
46874         (sinh_downward_test_data): Likewise.
46875         (sinh_upward_test_data): Likewise.
46876         (tan_test_data): Likewise.
46877         (tan_tonearest_test_data): Likewise.
46878         (tan_towardzero_test_data): Likewise.
46879         (tan_downward_test_data): Likewise.
46880         (tan_upward_test_data): Likewise.
46881         (tanh_test_data): Likewise.
46882         (tgamma_test_data): Likewise.
46883         (y0_test_data): Likewise.
46884         (y1_test_data): Likewise.
46885         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46886         (special_real_inputs): Add pi/4.
46887         * sysdeps/i386/fpu/libm-test-ulps: Update.
46888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46890 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46893         "longjmp_target" static probes.
46894         (__longjmp): Rename to __longjmp_symbol.
46895         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46896         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46897         on which longjmp to generate.
46898         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46899         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46900         probe.
46901         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46902         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46904         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46905         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46906         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46908         __longjmp_symbol based on which __longjmp to generate.
46909         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46910         probe.
46911         (setjmp): Rename to setjmp_symbol.
46912         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46913         (_setjmp): Rename to _setjmp_symbol.
46914         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46915         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46916         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46917         which setjmp to generate.
46918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46919         "longjmp_target" static probes.
46921 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46923         * benchtests/README: Add note about output arguments.
46924         * benchtests/bench-sincos.c: Remove file.
46925         * benchtests/sincos-inputs: New file.
46926         * scripts/bench.pl: Identify output arguments and define
46927         static variables for them.
46929         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46931         [BZ #15941]
46932         * Makefile (INSTALL): Add install-plain.texi as the primary
46933         dependency.
46934         * manual/install-plain.texi: New file.
46935         * manual/install.texi: Include node directive only for
46936         non-plaintext output.
46938 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46940         * stdlib/longlong.h: Update from GCC.
46942         [BZ #6807]
46943         [BZ #15901]
46944         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46945         * math/w_j0f.c (y0f): Likewise.
46946         * math/w_j0l.c (__y0l): Likewise.
46947         * math/w_j1.c (y1): Likewise.
46948         * math/w_j1f.c (y1f): Likewise.
46949         * math/w_j1l.c (__y1l): Likewise.
46950         * math/w_jn.c (yn): Likewise.
46951         * math/w_jnf.c (ynf): Likewise.
46952         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46953         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46954         value for Bessel function domain errors outside _SVID_ mode.
46955         Adjust sign of return value for yn (negative integer, 0).
46956         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46957         by zero in return for negative x and set sign appropriately for
46958         negative n.
46959         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46960         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46961         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46962         expectations in error cases.
46963         (y1_test_data): Likewise.
46964         (yn_test_data): Likewise.
46965         * sysdeps/i386/fpu/libm-test-ulps: Update.
46966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46968 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46970         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46971         "64" to "64-v1".  Add "64-v2".
46972         (abi-64-options): Rename to ...
46973         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46974         (abi-64-condition): Rename to ...
46975         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46976         (abi-64-ld-soname): Rename to ...
46977         (abi-64-v1-ld-soname): ... this.
46978         (abi-64-v2-options): Define.
46979         (abi-64-v2-condition): Likewise.
46980         (abi-64-v2-ld-soname): Likewise.
46981         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46982         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46987 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46988             Alan Modra  <amodra@gmail.com>
46990         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46991         New versions for use with the ELFv2 ABI.
46992         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46993         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46994         declaration.
46995         (struct La_ppc64v2_retval): Likewise.
46996         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46997         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46998         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46999         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47000         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47001         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47002         Do not save or restore CR.
47003         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47004         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47005         return values for ELFv2 ABI.  Fix location of FPR return registers.
47006         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47007         updated values for _CALL_ELF == 2.
47008         (La_regs, La_retval, int_retval): Likewise.
47010 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47012         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47013         (FRAME_MIN_SIZE_PARM): Likewise.
47014         (FRAME_BACKCHAIN): Likewise.
47015         (FRAME_CR_SAVE): Likewise.
47016         (FRAME_LR_SAVE): Likewise.
47017         (FRAME_TOC_SAVE): Likewise.
47018         (FRAME_PARM_SAVE): Likewise.
47019         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47020         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47021         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47022         (call_mcount_parm_offset): New macro.
47023         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47024         (PROF): Use symbolic stack frame offsets.
47025         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47026         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47027         Redefine in terms of FRAME_MIN_SIZE.
47028         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47029         (_dl_profile_resolve): Likewise.  Update comment.
47030         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47031         symbols stack frame offsets.
47032         (__sigsetjmp): Likewise.
47033         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47034         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47035         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47036         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47039         (FRAME_BACKCHAIN): Remove.
47040         (FRAME_CR_SAVE): Likewise.
47041         (FRAME_LR_SAVE): Likewise.
47042         (FRAME_COMPILER_DW): Likewise.
47043         (FRAME_LINKER_DW): Likewise.
47044         (FRAME_TOC_SAVE): Likewise.
47045         (FRAME_PARM_SAVE): Likewise.
47046         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47047         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47048         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47050         (CHECK_SP): Use symbolic stack frame offsets.
47051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47052         zone" instead of caller's parameter save area for temp storage.
47053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47054         Likewise.  Also, use symbolic stack frame offsets.
47055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47056         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47057         our own stack frame instead of the caller's.
47058         (__socket): Use symbolic stack frame offsets.
47060 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47061             Alan Modra  <amodra@gmail.com>
47063         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47064         Define.
47065         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47066         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47067         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47068         New function.
47069         (elf_machine_fixup_plt): Call it.
47070         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47071         reloc arguments.
47072         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47073         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47074         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47075         r2 before calling target.
47077 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47078             Alan Modra  <amodra@gmail.com>
47080         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47081         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47082         versions of macros to support ELFv2 ABI.
47083         (LOCALENTRY): New macro.
47084         (ENTRY, EALIGN): Use it.
47085         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47086         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47087         fall through into ENTRY entry point.
47088         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47089         Only define if _CALL_ELF != 2.
47091         (elf_machine_matches_host): Verify ABI version matches.
47092         (RTLD_START): Use LOCALENTRY.
47093         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47094         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47095         (PLT_ENTRY_WORDS): New macro.
47096         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47097         (elf_machine_runtime_setup): Support ELFv2 ABI.
47098         (elf_machine_fixup_plt): Likewise.
47099         (elf_machine_plt_conflict): Likewise.
47100         (resolve_ifunc): Likewise.
47101         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47102         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47103         Likewise.
47104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47105         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47107         (makecontext): Support ELFv2 ABI.
47108         * elf/elf.h (EF_PPC64_ABI): Define.
47110 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47112         * sysdeps/powerpc/powerpc64/sysdep.h
47113         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47114         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47115         (ENTRY) [ASSEMBLER]: ... but instead here ...
47116         (EALIGN) [ASSEMBLER]: ... and here.
47117         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47118         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47119         (ENTRY_2) [!ASSEMBLER]: Use it.
47120         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47121         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47122         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47123         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47124         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47126         Use PPC64_LOAD_FUNCPTR.
47128         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47130 2013-12-04  Alan Modra  <amodra@gmail.com>
47132         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47133         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47134         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47135         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47138         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47139         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47140         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47141         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47142         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47144 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47147         (__makecontext): Fix incorrect CFI when backtracing out of
47148         context created via makecontext.
47149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47150         (__setcontext): Fix incorrect CFI during switch to new context.
47151         (__novec_setcontext): Likewise.
47153 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47155         [BZ #4772]
47156         * time/strptime_l.c (__strptime_internal): Allow modifiers
47157         in strptime.
47158         * time/tst-strptime.c (day_tests): Add testcase.
47160 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47162         * scripts/bench.pl: Skip over blank lines.
47164 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47166         [BZ #926]
47167         * manual/time.texi (Calendar Time): Clarify what timezone functions
47168         use.
47170 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47174 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47176         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47177         implementation.
47178         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47179         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47180         * debug/memset_chk.c (__memset_chk): Likewise.
47181         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47182         * debug/strncpy_chk.c: Likewise.
47184 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47186         [BZ #15268]
47187         [BZ #15425]
47188         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47189         (__ieee754_exp): For possibly underflowing results, check size of
47190         result and force underflow exception if required.
47191         * math/auto-libm-test-in: Add more tests of exp.
47192         * math/auto-libm-test-out: Regenerated.
47193         * sysdeps/i386/fpu/libm-test-ulps: Update.
47194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47196         [BZ #16283]
47197         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47198         * math/w_exp2f.c (__exp2f): Likewise.
47199         * math/w_exp2l.c (__exp2l): Likewise.
47200         * math/auto-libm-test-in: Do not allow missing errno on exp2
47201         underflow.
47202         * math/auto-libm-test-out: Regenerated.
47204 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47206         [BZ #16274]
47207         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47208         handle filename validation.
47209         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47210         (do_open): Delete.
47212 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47214         [BZ #6786]
47215         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47216         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47217         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47218         <float.h>.
47219         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47220         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47221         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47223         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47224         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47225         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47226         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47227         Add more erfc tests.
47228         * math/auto-libm-test-out: Regenerated.
47229         * sysdeps/i386/fpu/libm-test-ulps: Update.
47230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47232         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47233         exp2, expm1, j0 and j1.
47234         * math/auto-libm-test-out: Regenerated.
47235         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47236         (erfc_test_data): Likewise.
47237         (exp_test_data): Likewise.
47238         (exp_tonearest_test_data): Likewise.
47239         (exp_towardzero_test_data): Likewise.
47240         (exp_downward_test_data): Likewise.
47241         (exp_upward_test_data): Likewise.
47242         (exp10_test_data): Likewise.
47243         (exp2_test_data): Likewise.
47244         (expm1_test_data): Likewise.
47245         (j0_test_data): Likewise.
47246         (j1_test_data): Likewise.
47247         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47248         (input_flag_type): Add flag_xfail_rounding.
47249         (input_flags): Add xfail-rounding.
47250         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47251         (output_for_one_input_case): Handle flag_xfail_rounding.
47252         * sysdeps/i386/fpu/libm-test-ulps: Update.
47253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47255 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47257         [BZ #16289]
47258         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47259         division by 0.
47261 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47263         [BZ #16195]
47264         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47265         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47266         (STAP_PROBE0): New macro.
47267         (STAP_PROBE1): Likewise.
47268         (STAP_PROBE2): Likewise.
47269         (STAP_PROBE3): Likewise.
47270         (STAP_PROBE4): Likewise.
47272 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47274         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47276 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47278         * benchtests/Makefile (bench): Add sqrt.
47279         (LDLIBS-bench-sqrt): New.
47280         * benchtests/sqrt-input: New.
47282 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47284         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47285         (GAIH_EAI): Likewise.
47286         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47287         (gaih_inet): Likewise.
47288         (getaddrinfo): Don't use GAIH_EAI.
47290         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47291         (struct gaih): Remove definition.
47293 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47295         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47296         Use HERRNOP directly.
47298 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47302 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47304         * math/gen-auto-libm-tests.c (test_functions): Add more
47305         single-argument functions.
47306         (special_fill_pi_2): New function.
47307         (special_fill_minus_pi_2): Likewise.
47308         (special_fill_pi_6): Likewise.
47309         (special_fill_minus_pi_6): Likewise.
47310         (special_fill_pi_3): Likewise.
47311         (special_fill_2pi_3): Likewise.
47312         (special_fill_e): Likewise.
47313         (special_fill_1_e): Likewise.
47314         (special_fill_e_minus_1): Likewise.
47315         (special_real_inputs): Add more special inputs.
47316         (output_for_one_input_case): Do not require ERANGE on underflow to
47317         zero if round-to-nearest result does not underflow to zero, unless
47318         exact results required.
47319         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47320         atan, atanh, cbrt, cos and cosh.
47321         * math/auto-libm-test-out: Regenerated.
47322         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47323         (acos_tonearest_test_data): Likewise.
47324         (acos_towardzero_test_data): Likewise.
47325         (acos_downward_test_data): Likewise.
47326         (acos_upward_test_data): Likewise.
47327         (acosh_test_data): Likewise.
47328         (asin_test_data): Likewise.
47329         (asin_tonearest_test_data): Likewise.
47330         (asin_towardzero_test_data): Likewise.
47331         (asin_upward_test_data): Likewise.
47332         (asinh_test_data): Likewise.
47333         (atan_test_data): Likewise.
47334         (atanh_test_data): Likewise.
47335         (cbrt_test_data): Likewise.
47336         (cos_test_data): Likewise.
47337         (cos_tonearest_test_data): Likewise.
47338         (cos_towardzero_test_data): Likewise.
47339         (cos_downward_test_data): Likewise.
47340         (cos_upward_test_data): Likewise.
47341         (cosh_test_data): Likewise.
47342         (cosh_tonearest_test_data): Likewise.
47343         (cosh_towardzero_test_data): Likewise.
47344         (cosh_downward_test_data): Likewise.
47345         (cosh_upward_test_data): Likewise.
47346         * sysdeps/i386/fpu/libm-test-ulps: Update.
47347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47349 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47351         [BZ #6787]
47352         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47353         * math/w_exp10f.c (__exp10f): Likewise.
47354         * math/w_exp10l.c (__exp10l): Likewise.
47355         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47356         errno settings in existing tests.
47358         [BZ #14032]
47359         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47360         precision control set to double precision.
47361         * sysdeps/i386/fpu/w_sqrt.c: New file.
47362         * math/auto-libm-test-in: Add more tests.
47363         * math/auto-libm-test-out: Update.
47365         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47366         (sqrt_test_tonearest): New function.
47367         (sqrt_towardzero_test_data): New variable.
47368         (sqrt_test_towardzero): New function.
47369         (sqrt_downward_test_data): New variable.
47370         (sqrt_test_downward): New function.
47371         (sqrt_upward_test_data): New variable.
47372         (sqrt_test_upward): New function.
47373         (main): Call the new functions.
47375         * math/gen-auto-libm-tests.c: New file.
47376         * math/auto-libm-test-in: Likewise.
47377         * math/auto-libm-test-out: New generated file.
47378         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47379         variables.
47380         (%beautify): Add generated representations of zero.
47381         (top level): Set $auto_input and call parse_auto_input.
47382         (beautify): Remove trailing "f" from hex float constants.
47383         (parse_args): Handle XFAIL_TEST.
47384         (convert_condition): New function.
47385         (or_value): Likewise.
47386         (or_cond_value): Likewise.
47387         (generate_testfile): Handle AUTO_TESTS_* lines.
47388         (parse_auto_input): New function.
47389         * math/libm-test.inc (XFAIL_TEST): New macro.
47390         (ERRNO_UNCHANGED): Update value.
47391         (ERRNO_EDOM): Likewise.
47392         (ERRNO_ERANGE): Likewise.
47393         (IGNORE_RESULT): Likewise.
47394         (TEST_COND_flt_32): New macro.
47395         (TEST_COND_dbl_64): Likewise.
47396         (TEST_COND_ldbl_96_intel): Likewise.
47397         (TEST_COND_ldbl_96_m68k): Likewise.
47398         (TEST_COND_ldbl_128): Likewise.
47399         (TEST_COND_ldbl_128ibm): Likewise.
47400         (TEST_COND_long32): Likewise.
47401         (TEST_COND_long64): Likewise.
47402         (TEST_COND_before_rounding): Likewise.
47403         (TEST_COND_after_rounding): Likewise.
47404         (enable_test): Handle XFAIL_TEST flag.
47405         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47406         with finite results.
47407         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47408         auto-libm-test-out.
47410 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47411             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47413         [BZ #16214]
47414         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47415         __tls_get_addr_internal instead of __tls_get_offset in order to
47416         avoid GOT pointer dependency.  Make rtld export
47417         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47418         __tls_get_addr since we are a __tls_get_offset platform.
47419         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47420         GOT pointer being set up before.
47421         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47423 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47425         * manual/math.texi (Errors in Math Functions): Document accuracy
47426         goals.
47428         [BZ #15004]
47429         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47430         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47431         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47432         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47433         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47434         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47435         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47436         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47437         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47439         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47440         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47441         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47442         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47443         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47444         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47446         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47447         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47448         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47449         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47450         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47451         Likewise.
47452         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47453         Likewise.
47454         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47455         Likewise.
47456         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47457         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47458         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47459         atomic-feupdateenv and flt-rounds.
47460         * sysdeps/powerpc/nofpu/Versions (libc): Add
47461         __atomic_feholdexcept, __atomic_feclearexcept,
47462         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47464         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47465         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47466         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47467         here.
47468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47469         Update.
47471         * manual/arith.texi (FP Exceptions): Document that exceptions may
47472         not be raised when matherr is used.
47473         (Math Error Reporting): Document overflow in directed rounding
47474         modes.  Document that errno may not be set when finite values are
47475         returned on overflow.  Document intent to set errno on underflow
47476         only for underflow to zero.
47478         [BZ #16271]
47479         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47480         round-to-nearest then adjust result for other rounding modes.
47481         * include/fenv.h (fegetround): Use libm_hidden_proto.
47482         * math/fegetround.c (fegetround): Use libm_hidden_def.
47483         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47484         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47485         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47487         Likewise.
47488         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47489         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47490         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47491         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47493 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47495         [BZ #16077]
47496         * nss/Versions (libnss_files): Add
47497         _nss_files_gethostbyname3_r.
47498         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47499         New function.
47500         (HOST_DB_LOOKUP): Remove macro.
47501         (_nss_files_gethostbyname_r): Implement function without the
47502         HOST_DB_LOOKUP macro.
47503         (_nss_files_gethostbyname2_r): Likewise.
47505 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47507         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47509 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47511         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47512         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47513         warning.
47515 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47517         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47518         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47519         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47520         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47521         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47522         __fe_nomask_env_priv and attribute_hidden.
47523         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47524         (libc_feupdateenv_test_ppc): Likewise.
47525         (libc_feresetround_ppc): Likewise.
47526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47527         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47528         compat_symbol macro.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47530         (__fe_nomask_env): Likewise.
47531         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47533 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47535         * string/Makefile: Remove ifunc tests.
47536         * string/test-string.h: Define TEST_IFUNC.
47537         * string/test-bcopy-ifunc.c: Remove.
47538         * string/test-bzero-ifunc.c: Likewise.
47539         * string/test-memccpy-ifunc.c: Likewise.
47540         * string/test-memchr-ifunc.c: Likewise.
47541         * string/test-memcmp-ifunc.c: Likewise.
47542         * string/test-memcpy-ifunc.c: Likewise.
47543         * string/test-memmem-ifunc.c: Likewise.
47544         * string/test-memmove-ifunc.c: Likewise.
47545         * string/test-mempcpy-ifunc.c: Likewise.
47546         * string/test-memrchr-ifunc.c: Likewise.
47547         * string/test-memset-ifunc.c: Likewise.
47548         * string/test-rawmemchr-ifunc.c: Likewise.
47549         * string/test-stpcpy-ifunc.c: Likewise.
47550         * string/test-stpncpy-ifunc.c: Likewise.
47551         * string/test-strcasecmp-ifunc.c: Likewise.
47552         * string/test-strcasestr-ifunc.c: Likewise.
47553         * string/test-strcat-ifunc.c: Likewise.
47554         * string/test-strchr-ifunc.c: Likewise.
47555         * string/test-strchrnul-ifunc.c: Likewise.
47556         * string/test-strcmp-ifunc.c: Likewise.
47557         * string/test-strcpy-ifunc.c: Likewise.
47558         * string/test-strcspn-ifunc.c: Likewise.
47559         * string/test-strlen-ifunc.c: Likewise.
47560         * string/test-strncasecmp-ifunc.c: Likewise.
47561         * string/test-strncat-ifunc.c: Likewise.
47562         * string/test-strncmp-ifunc.c: Likewise.
47563         * string/test-strncpy-ifunc.c: Likewise.
47564         * string/test-strnlen-ifunc.c: Likewise.
47565         * string/test-strpbrk-ifunc.c: Likewise.
47566         * string/test-strrchr-ifunc.c: Likewise.
47567         * string/test-strspn-ifunc.c: Likewise.
47568         * string/test-strstr-ifunc.c: Likewise.
47570 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47572         * benchtests/Makefile: Remove ifunc tests.
47573         * benchtests/bench-string.h: Define TEST_IFUNC.
47574         * benchtests/bench-bcopy-ifunc.c: Remove.
47575         * benchtests/bench-bzero-ifunc.c: Likewise.
47576         * benchtests/bench-memccpy-ifunc.c: Likewise.
47577         * benchtests/bench-memchr-ifunc.c: Likewise.
47578         * benchtests/bench-memcmp-ifunc.c: Likewise.
47579         * benchtests/bench-memcpy-ifunc.c: Likewise.
47580         * benchtests/bench-memmem-ifunc.c: Likewise.
47581         * benchtests/bench-memmove-ifunc.c: Likewise.
47582         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47583         * benchtests/bench-memrchr-ifunc.c: Likewise.
47584         * benchtests/bench-memset-ifunc.c: Likewise.
47585         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47586         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47587         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47588         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47589         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47590         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47591         * benchtests/bench-strcat-ifunc.c: Likewise.
47592         * benchtests/bench-strchr-ifunc.c: Likewise.
47593         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47594         * benchtests/bench-strcmp-ifunc.c: Likewise.
47595         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47596         * benchtests/bench-strcpy-ifunc.c: Likewise.
47597         * benchtests/bench-strcspn-ifunc.c: Likewise.
47598         * benchtests/bench-strlen-ifunc.c: Likewise.
47599         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47600         * benchtests/bench-strncat-ifunc.c: Likewise.
47601         * benchtests/bench-strncmp-ifunc.c: Likewise.
47602         * benchtests/bench-strncpy-ifunc.c: Likewise.
47603         * benchtests/bench-strnlen-ifunc.c: Likewise.
47604         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47605         * benchtests/bench-strrchr-ifunc.c: Likewise.
47606         * benchtests/bench-strsep-ifunc.c: Likewise.
47607         * benchtests/bench-strspn-ifunc.c: Likewise.
47608         * benchtests/bench-strstr-ifunc.c: Likewise.
47610 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47612         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47614 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47616         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47617         * rt/aio.h: Likewise.
47618         * sysdeps/gnu/bits/utmp.h: Likewise.
47619         * sysdeps/gnu/bits/utmpx.h: Likewise.
47620         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47621         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47622         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47623         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47624         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47625         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47626         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47627         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47628         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47629         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47630         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47631         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47632         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47634         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47635         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47636         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47637         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47638         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47639         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47640         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47641         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47642         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47643         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47644         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47646         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47647         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47648         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47649         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47650         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47651         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47652         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47653         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47654         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47655         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47656         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47657         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47658         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47659         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47660         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47661         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47663 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47665         [BZ #16245]
47666         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47667         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47669 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47671         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47672         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47673         Likewise.
47675 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47678         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47679         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47680         (__fesetround): Remove define.
47681         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47682         rounding and exceptions handling.
47683         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47684         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47685         (__fe_nomask_env): Likewise.
47686         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47687         __fegetround instead of fegetround.
47688         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47689         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47691 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47693         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47694         it's there.
47696         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47698 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47700         [BZ #11157]
47701         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47702         (encrypt_r): Likewise.
47703         * malloc/obstack.h (obstack_free): Likewise.
47704         * posix/unistd.h (encrypt): Likewise.
47706 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47708         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47709         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47710         DL_CALL_DT_FINI() that call the functions directly.
47711         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47712         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47713         * elf/dl-fini.c: Likewise.
47715 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47717         * malloc/hooks.c (memalign_check): Add alignment rounding.
47718         * malloc/malloc.c (_mid_memalign): New function.
47719         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47720         Implement by calling _mid_memalign.
47721         * manual/probes.texi (Memory Allocation Probes): Remove
47722         memory_valloc_retry and memory_pvalloc_retry.
47724 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47726         * locale/programs/locarchive.c (open_archive): Add const
47727         qualifier to ARCHIVEFNAME and copy default fname to
47728         DEFAULT_FNAME.
47730         [BZ #15601]
47731         * libio/tst-widetext.input: Rename Oriya to Odia.
47732         * locale/iso-639.def: Likewise.
47734         * manual/probes.texi (Mathematical Function Probes): Add
47735         documentation for sin, cos, asin and acos probes.
47736         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47737         (__sin32): Add slowasin probe.
47738         (__cos32): Add slowacos probe.
47739         (__mpsin): Add slowsin probe.
47740         (__mpcos): Add slowcos probe.
47742 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47744         [BZ #15483]
47745         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47746         thread-local __sim_exceptions_thread and global
47747         __sim_exceptions_global.
47748         (__sim_disabled_exceptions): Change to thread-local
47749         __sim_disabled_exceptions_thread and global
47750         __sim_disabled_exceptions_global.
47751         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47752         and global __sim_round_mode_global.
47753         (__simulate_exceptions): Use thread-local floating-point state and
47754         set global state from it as needed.
47755         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47756         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47757         __sim_round_mode_thread.
47758         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47759         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47760         and global __sim_exceptions_global.
47761         (__sim_disabled_exceptions): Change to thread-local
47762         __sim_disabled_exceptions_thread and global
47763         __sim_disabled_exceptions_global.
47764         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47765         and global __sim_round_mode_global.
47766         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47767         (SIM_SET_GLOBAL): Likewise.
47768         * sysdeps/powerpc/soft-fp/sfp-machine.h
47769         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47770         __sim_round_mode_thread.
47771         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47772         __sim_disabled_exceptions_thread.
47773         (__sim_exceptions): Change to __sim_exceptions_thread.
47774         (__sim_disabled_exceptions): Change to
47775         __sim_disabled_exceptions_thread.
47776         (__sim_round_mode): Change to __sim_round_mode_thread.
47777         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47778         thread-local floating-point state and set global state from it as
47779         needed.
47780         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47781         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47782         (__sim_disabled_exceptions): Remove extern declaration.
47783         (feenableexcept): Use thread-local floating-point state and set
47784         global state from it as needed.
47785         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47786         extern declaration.
47787         (__sim_disabled_exceptions): Likewise.
47788         (__sim_round_mode): Likewise.
47789         (__fegetenv): Use thread-local floating-point state.
47790         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47791         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47792         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47793         floating-point state and set global state from it as needed.
47794         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47795         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47796         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47797         Likewise.
47798         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47799         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47800         Likewise.
47801         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47802         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47803         Use __sim_round_mode_thread.
47804         * math/test-fenv-tls.c: New file.
47805         * math/Makefile (tests): Add test-fenv-tls.
47806         ($(objpfx)test-fenv-tls): Depend on
47807         $(common-objpfx)nptl/libpthread.so.
47809 2013-11-19  Andreas Schwab  <schwab@suse.de>
47811         * locale/programs/locale.c (show_info): Decode wordarray elements.
47812         * locale/categories.def (LC_MONETARY): Add element for
47813         _NL_MONETARY_CRNCYSTR.
47814         * locale/C-monetary.c (conversion_rate): New variable.
47815         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47816         element.
47818 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47820         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47821         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47823 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47825         * elf/Makefile (tst-auxv): New test.
47826         * elf/tst-auxv.c: New
47827         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47829 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47831         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47832         (hidden_proto): Caller changed.
47833         (hidden_tls_proto): New macro.
47834         (libc_hidden_tls_proto): Likewise.
47835         (rtld_hidden_tls_proto): Likewise.
47836         (libm_hidden_tls_proto): Likewise.
47837         (libresolv_hidden_tls_proto): Likewise.
47838         (librt_hidden_tls_proto): Likewise.
47839         (libdl_hidden_tls_proto): Likewise.
47840         (libnss_files_hidden_tls_proto): Likewise.
47841         (libnsl_hidden_tls_proto): Likewise.
47842         (libnss_nisplus_hidden_tls_proto): Likewise.
47843         (libutil_hidden_tls_proto): Likewise.
47845 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47847         [BZ #10253]
47848         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47849         (decompose_rpath): Defer expansion to fillin_rpath.
47850         (_dl_init_paths): Pass linkmap to fillin_rpath.
47852 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47854         * benchtests/Makefile: Add strsep.
47855         * benchtests/bench-strsep.c: New file: strsep benchtest.
47856         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47858 2013-11-18  Andreas Schwab  <schwab@suse.de>
47860         * locale/programs/locale.c (show_info) [case byte]: Check for
47861         '\377' instead of '\177'.
47862         * locale/C-monetary.c (not_available): Always use "\377".
47863         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47864         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47865         detect unavailable sign_posn locale elements.
47866         * locale/localeconv.c (__localeconv): For grouping and
47867         mon_grouping handle "\177" and "\377" like no grouping.
47868         (INT_ELEM): New macro.  Use it to set all numeric members.
47869         * locale/programs/ld-monetary.c (monetary_read)
47870         <tok_mon_grouping>: Normalize single -1 to the empty string.
47871         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47872         Likewise.
47874 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47876         [BZ #16055]
47877         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47878         when we match (nil).
47879         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47881 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47883         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47884         (NO_TEST_INLINE): Update value.
47885         (ERRNO_UNCHANGED): Likewise.
47886         (ERRNO_EDOM): Likewise.
47887         (ERRNO_ERANGE): Likewise.
47888         (IGNORE_RESULT): Likewise.
47889         (check_float_internal): Check signs of NaN results if
47890         TEST_NAN_SIGN used.
47891         (check_complex): Pass TEST_NAN_SIGN flag through to second
47892         check_float_internal call.
47893         (copysign_test_data): Add tests with quiet NaNs as second
47894         argument.  Use TEST_NAN_SIGN.
47895         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47896         TEST_NAN_SIGN.
47897         (signbit_test_data): Add tests of quiet NaN argument.
47898         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47900         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47901         $ignore_result.
47902         (parse_args): Handle function results specified as IGNORE.
47903         * math/libm-test.inc (IGNORE_RESULT): New macro.
47904         (check_float_internal): Do not check numerical result if flag
47905         IGNORE_RESULT set.
47906         (check_complex): Pass through IGNORE_RESULT to second
47907         check_float_internal call.
47908         (check_int): Do not check numerical result if flag IGNORE_RESULT
47909         set.
47910         (check_long): Likewise.
47911         (check_bool): Likewise.
47912         (check_longlong): Likewise.
47913         (lrint_test_data): Add tests of infinite and NaN arguments.
47914         (lrint_tonearest_test_data): Likewise.
47915         (lrint_towardzero_test_data): Likewise.
47916         (lrint_downward_test_data): Likewise.
47917         (lrint_upward_test_data): Likewise.
47918         (llrint_test_data): Likewise.
47919         (llrint_tonearest_test_data): Likewise.
47920         (llrint_towardzero_test_data): Likewise.
47921         (llrint_downward_test_data): Likewise.
47922         (llrint_upward_test_data): Likewise.
47923         (lround_test_data): Likewise.
47924         (llround_test_data): Likewise.
47926         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47927         (ERRNO_UNCHANGED): Update value.
47928         (ERRNO_EDOM): Likewise.
47929         (ERRNO_ERANGE): Likewise.
47930         (NO_TEST_INLINE_FLOAT): New macro.
47931         (NO_TEST_INLINE_DOUBLE): Likewise.
47932         (enable_test): New function.
47933         (RUN_TEST_f_f): Check enable_test before running test.
47934         (RUN_TEST_2_f): Likewise.
47935         (RUN_TEST_fff_f): Likewise.
47936         (RUN_TEST_c_f): Likewise.
47937         (RUN_TEST_f_f1): Likewise.
47938         (RUN_TEST_fF_f1): Likewise.
47939         (RUN_TEST_fI_f1): Likewise.
47940         (RUN_TEST_ffI_f1): Likewise.
47941         (RUN_TEST_c_c): Likewise.
47942         (RUN_TEST_cc_c): Likewise.
47943         (RUN_TEST_f_i): Likewise.
47944         (RUN_TEST_f_i_tg): Likewise.
47945         (RUN_TEST_ff_i_tg): Likewise.
47946         (RUN_TEST_f_b): Likewise.
47947         (RUN_TEST_f_b_tg): Likewise.
47948         (RUN_TEST_f_l): Likewise.
47949         (RUN_TEST_f_L): Likewise.
47950         (RUN_TEST_fFF_11): Likewise.
47951         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47952         conditionals.
47953         (cosh_test_data): Likewise.
47954         (exp_test_data): Likewise.
47955         (expm1_test_data): Likewise.
47956         (hypot_test_data): Likewise.
47957         (pow_test_data): Likewise.
47958         (sinh_test_data): Likewise.
47959         (tanh_test_data): Likewise.
47960         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47961         flags argument.
47963         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47964         tests with quiet NaN input and output.
47965         (acosh_test_data): Likewise.
47966         (asin_test_data): Likewise.
47967         (asinh_test_data): Likewise.
47968         (atan_test_data): Likewise.
47969         (atanh_test_data): Likewise.
47970         (atan2_test_data): Likewise.
47971         (cbrt_test_data): Likewise.
47972         (cos_test_data): Likewise.
47973         (cosh_test_data): Likewise.
47974         (erf_test_data): Likewise.
47975         (erfc_test_data): Likewise.
47976         (exp_test_data): Likewise.
47977         (exp10_test_data): Likewise.
47978         (exp2_test_data): Likewise.
47979         (expm1_test_data): Likewise.
47980         (hypot_test_data): Likewise.
47981         (j0_test_data): Likewise.
47982         (j1_test_data): Likewise.
47983         (jn_test_data): Likewise.
47984         (lgamma_test_data): Likewise.
47985         (log_test_data): Likewise.
47986         (log10_test_data): Likewise.
47987         (log1p_test_data): Likewise.
47988         (log2_test_data): Likewise.
47989         (pow_test_data): Likewise.
47990         (scalb_test_data): Likewise.
47991         (sin_test_data): Likewise.
47992         (sincos_test_data): Likewise.
47993         (sinh_test_data): Likewise.
47994         (tan_test_data): Likewise.
47995         (tanh_test_data): Likewise.
47996         (tgamma_test_data): Likewise.
47997         (y0_test_data): Likewise.
47998         (y1_test_data): Likewise.
47999         (yn_test_data): Likewise.
48001         [BZ #16167]
48002         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48003         argument being NaN and avoid computations with second argument in
48004         that case.
48005         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48006         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48007         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48009 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48011         * locale/iso-639.def: Add Chitwani Tharu (the).
48013 2013-11-14  Andreas Schwab  <schwab@suse.de>
48015         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48016         word instead of empty string.
48018 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48021         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48023         (__fe_nomask_env): Likewise.
48025 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48027         * benchtests/bench-timing.h: Include time.h.
48029 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48031         [BZ #15997]
48032         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48033         to 3.4.0 for x32.
48034         * sysdeps/unix/sysv/linux/configure: Regenerated.
48036 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48038         [BZ #16151]
48039         * stdlib/strtod_l.c (round_and_return): Do not consider
48040         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48041         exponent one less than half the least subnormal exponent.
48042         * stdlib/test-strtod-round-data: Add more tests.
48043         * stdlib/tst-strtod-round.c (tests): Regenerated.
48045 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48047         [BZ #14143]
48048         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48049         (__fe_mask_env): Likewise.
48050         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48051         libm_hidden_proto and add function prototype.
48052         (__fe_mask_env): Add function prototype.
48053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48054         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48056         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48058         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48060 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48062         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48063         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48065 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48067         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48068         of htab_find_slot().
48070 2013-11-11  David S. Miller  <davem@davemloft.net>
48072         [BZ #16150]
48073         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48074         symbol in the non-vis3 case in static builds.
48075         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48076         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48077         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48078         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48080 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48082         [BZ #387]
48083         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48084         it is empty.
48086 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48088         * benchtests/Makefile: Add bench-strtod.
48089         * benchtests/bench-strtod.c: New file: strtod benchtest
48091 2013-11-11  Andreas Schwab  <schwab@suse.de>
48093         [BZ #16153]
48094         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48095         terminating NUL in key length.
48097 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48100         Add artificial ODP entry for vDSO symbol for PPC64.
48101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48102         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48104 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48106         [BZ #15374]
48107         * nss/getent.c (services_keys): Recognize services starting with digit.
48109 2013-11-06  David S. Miller  <davem@davemloft.net>
48111         [BZ #15985]
48112         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48113         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48115 2013-11-06  Will Newton  <will.newton@linaro.org>
48117         * manual/memory.texi (Malloc Examples): Remove register
48118         keyword from examples.
48120 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48122         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48124 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48126         [BZ #6981]
48127         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48128         depending on [__GCC_IEC_559 > 0].
48129         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48130         depending on [__GCC_IEC_559_COMPLEX > 0].
48132 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48134         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48135         to iso-639.def.
48137 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48139         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48141 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48143         [BZ #16112]
48144         * malloc/malloc (malloc_info): Do not handle first bin as
48145         special case.
48147 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48149         * locale/iso-639.def: Add Central Nahuatl (nhn).
48151 2013-11-01  Bruno Haible  <bruno@clisp.org>
48153         [BZ #7003]
48154         * manual/math.texi (BSD Random): Specify range upper bound as
48155         in POSIX.
48157 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48159         * locale/iso-639.def: Add Meadow Mari (mhr).
48161 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48163         [BZ #14752], [BZ #15763]
48164         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48165         Validate name.
48166         * rt/tst_shm.c: Add test for escaping directory.
48168 2013-10-31  Andreas Schwab  <schwab@suse.de>
48170         [BZ #15917]
48171         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48172         followed by 'x' as part of digit sequence.
48173         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48175 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48177         [BZ #16037]
48178         * configure.ac: allow GNU Make 4.0 and greater.
48179         * configure: Regenerated.
48181 2013-10-30  Will Newton  <will.newton@linaro.org>
48183         [BZ #16038]
48184         * malloc/hooks.c (memalign_check): Limit alignment to the
48185         maximum representable power of two.
48186         * malloc/malloc.c (__libc_memalign): Likewise.
48187         * malloc/tst-memalign.c (do_test): Add test for very
48188         large alignment values.
48189         * malloc/tst-posix_memalign.c (do_test): Likewise.
48191 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48193         [BZ #11087]
48194         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48195         (munmap_chunk): Likewise.
48196         (mremap_chunk): Likewise.
48198 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48200         [BZ #15799]
48201         * stdlib/div.c (div): Remove obsolete code.
48202         * stdlib/ldiv.c (ldiv): Likewise.
48203         * stdlib/lldiv.c (lldiv): Likewise.
48205 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48207         [BZ #16071]
48208         * nss/nss_files/files-XXX.c (get_contents_ret): New
48209         enumerator.
48210         (get_contents): New function.
48211         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48213 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48215         * configure.in: Moved to ...
48216         * configure.ac: ... here. Change reference to configure.in
48217         to configure.ac.
48218         * sysdeps/arm/preconfigure.ac: ... here.
48219         configure.in to configure.ac.
48220         * sysdeps/gnu/configure.in: Moved to ...
48221         * sysdeps/gnu/configure.ac: ... here.
48222         * sysdeps/i386/configure.in: Moved to ...
48223         * sysdeps/i386/configure.ac: ... here.
48224         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48225         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48226         * sysdeps/mach/configure.in: Moved to ...
48227         * sysdeps/mach/configure.ac: ... here.
48228         * sysdeps/mach/hurd/configure.in: Moved to ...
48229         * sysdeps/mach/hurd/configure.ac: ... here.
48230         * sysdeps/powerpc/configure.in: Moved to ...
48231         * sysdeps/powerpc/configure.ac: ... here.
48232         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48233         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48234         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48235         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48236         * sysdeps/s390/s390-32/configure.in: Moved to ...
48237         * sysdeps/s390/s390-32/configure.ac: ... here.
48238         * sysdeps/s390/s390-64/configure.in: Moved to ...
48239         * sysdeps/s390/s390-64/configure.ac: ... here.
48240         * sysdeps/sh/configure.in: Moved to ...
48241         * sysdeps/sh/configure.ac: ... here.
48242         * sysdeps/sparc/configure.in: Moved to ...
48243         * sysdeps/sparc/configure.ac: ... here.
48244         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48245         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48246         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48247         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48248         * sysdeps/x86_64/configure.in: Moved to ...
48249         * sysdeps/x86_64/configure.ac: ... here.
48250         * sysdeps/x86_64/preconfigure.in: Moved to ...
48251         * sysdeps/x86_64/preconfigure.ac: ... here.
48252         * aclocal.m4: Change reference to configure.in to configure.ac.
48253         * config.h.in: Likewise.
48254         * manual/install.texi: Likewise.
48255         * manual/maint.texi: Likewise.
48256         * Makefile: Likewise.
48257         * malloc/Makefile: Likewise.
48258         * nscd/Makefile: Likewise.
48259         * Makeconfig: Change reference to configure.in and
48260         preconfigure.in to configure.ac and preconfigure.ac
48261         respectively.
48262         * INSTALL: Regenerated.
48263         * configure: Likewise.
48264         * sysdeps/gnu/configure: Likewise.
48265         * sysdeps/i386/configure: Likewise.
48266         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48267         * sysdeps/mach/configure: Likewise.
48268         * sysdeps/mach/hurd/configure: Likewise.
48269         * sysdeps/powerpc/configure: Likewise.
48270         * sysdeps/powerpc/powerpc32/configure: Likewise.
48271         * sysdeps/powerpc/powerpc64/configure: Likewise.
48272         * sysdeps/s390/s390-32/configure: Likewise.
48273         * sysdeps/s390/s390-64/configure: Likewise.
48274         * sysdeps/sh/configure: Likewise.
48275         * sysdeps/sparc/configure: Likewise.
48276         * sysdeps/unix/sysv/linux/configure: Likewise.
48277         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48278         * sysdeps/x86_64/configure: Likewise.
48279         * sysdeps/x86_64/preconfigure: Likewise.
48281 2013-10-29  Andreas Schwab  <schwab@suse.de>
48283         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48285 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48287         * benchtests/pow-inputs: Add new inputs.
48289         * benchtests/exp-inputs: Add new inputs.
48291         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48292         conditional check for return value.
48293         (__cos32): Likewise.
48295 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48297         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48298         to provide a boost for large inputs with word alignment.
48299         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48300         implementation based on optimized PPC64 strcpy.
48301         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48302         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48303         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48304         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48306 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48308         [BZ #2801]
48309         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48311 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48313         [BZ #14876]
48314         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48315         * time/tst-strptime.c (day_tests): Add testcase.
48317 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48319         [BZ #14029]
48320         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48322 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48324         [BZ #16074]
48325         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48326         MAP_FAILED on error.
48328 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48330         [BZ #16072]
48331         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48332         heap for large requests.
48334 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48336         [BZ #9954]
48337         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48338         result if the result has no associated interface.
48339         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48340         interface for all 127.X.Y.Z addresses.
48342 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48344         * locale/iso-639.def: Add Ligurian (lij)
48346 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48348         [BZ #15825]
48349         * sunrpc/rpc_main.c: Document rpcgen -5.
48351 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48353         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48355 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48357         [BZ #10278]
48358         * posix/glob.c: Match only directories when trailing slash is present.
48359         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48360         (main): Add testcase.
48362 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48364         [BZ #15670]
48365         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48367 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48369         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48370         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48371         AUTH_DES and cindex for FIPS 140-2.
48372         (DES Encryption): Add cindex FIPS 46-3.
48374         * locale/locarchive.h (struct locarhandle): Add fname.
48375         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48376         if an optional argument was specified to --list-archive,
48377         otherwise NULL.
48378         * locale/programs/locarchive.c (show_archive_content): Take new
48379         argument fname and pass it via ah.fname to open_archive.
48380         * locale/programs/localedef.h: Update decl.
48381         (open_archive): If AH->fname is non-null, open that file
48382         rather than the default file name, and don't ignore ENOENT.
48383         (create_archive): Set AH.fname to NULL.
48384         (delete_locales_from_archive): Likewise.
48385         (add_locales_to_archive): Likewise.
48386         * locale/programs/locfile.c (write_all_categories): Likewise.
48388 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48389             Aldy Hernandez  <aldyh@redhat.com>
48391         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48392         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48393         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48394         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48395         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48398         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48399         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48401         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48402         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48403         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48404         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48405         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48406         Likewise.
48407         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48408         Likewise.
48409         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48410         Likewise.
48411         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48412         Likewise.
48413         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48414         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48415         Likewise.
48416         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48417         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48418         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48419         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48420         Likewise.
48421         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48422         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48423         * sysdeps/powerpc/preconfigure: Likewise.
48424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48425         Likewise.
48426         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48427         Replace contents of file by #include of <fenv_libc.h>.
48428         * sysdeps/powerpc/soft-fp/sfp-machine.h
48429         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48430         and <sys/prctl.h>.
48431         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48437         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48438         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48439         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48444         Allow copysignl PLT reference to be missing.
48446 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48447             Joseph Myers  <joseph@codesourcery.com
48449         [BZ #15948]
48450         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48451         single character.
48452         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48454 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48456         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48457         * elf/tst-tls1.c: Likewise.
48458         * elf/tst-tls10.h: Likewise.
48459         * elf/tst-tls14.c: Likewise.
48460         * elf/tst-tls2.c: Likewise.
48461         * elf/tst-tls3.c: Likewise.
48462         * elf/tst-tls4.c: Likewise.
48463         * elf/tst-tls5.c: Likewise.
48464         * elf/tst-tls6.c: Likewise.
48465         * elf/tst-tls7.c: Likewise.
48466         * elf/tst-tls8.c: Likewise.
48467         * elf/tst-tls9.c: Likewise.
48468         * elf/tst-tlsmod1.c: Likewise.
48469         * elf/tst-tlsmod13.c: Likewise.
48470         * elf/tst-tlsmod13a.c: Likewise.
48471         * elf/tst-tlsmod14a.c: Likewise.
48472         * elf/tst-tlsmod16a.c: Likewise.
48473         * elf/tst-tlsmod16b.c: Likewise.
48474         * elf/tst-tlsmod2.c: Likewise.
48475         * elf/tst-tlsmod3.c: Likewise.
48476         * elf/tst-tlsmod4.c: Likewise.
48477         * elf/tst-tlsmod5.c: Likewise.
48478         * elf/tst-tlsmod6.c: Likewise.
48480 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48482         [BZ #12486]
48483         * malloc/malloc.c: remove checks for statistics.
48485 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48487         [BZ #15277]
48488         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48489         * inet/tst-network.c: Add testcase.
48491 2013-10-17  Andreas Schwab  <schwab@suse.de>
48493         [BZ #15218]
48494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48495         to determine canonical name.
48497 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48499         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48500         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48502         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48504         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48506         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48507         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48508         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48509         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48510         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48511         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48512         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48513         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48514         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48515         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48516         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48517         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48518         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48522         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48523         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48524         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48525         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48526         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48527         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48528         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48529         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48530         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48531         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48532         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48533         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48534         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48535         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48536         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48537         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48538         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48539         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48540         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48541         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48542         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48543         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48544         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48545         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48546         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48547         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48549         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48550         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48551         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48552         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48553         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48554         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48556         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48558 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48560         [BZ #16041]
48561         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48562         make result into a quiet NaN.
48564 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48566         * soft-fp/adddf3.c: Fix horizontal whitespace.
48567         * soft-fp/addsf3.c: Likewise.
48568         * soft-fp/addtf3.c: Likewise.
48569         * soft-fp/divdf3.c: Likewise.
48570         * soft-fp/divsf3.c: Likewise.
48571         * soft-fp/divtf3.c: Likewise.
48572         * soft-fp/double.h: Likewise.
48573         * soft-fp/eqdf2.c: Likewise.
48574         * soft-fp/eqsf2.c: Likewise.
48575         * soft-fp/eqtf2.c: Likewise.
48576         * soft-fp/extenddftf2.c: Likewise.
48577         * soft-fp/extended.h: Likewise.
48578         * soft-fp/extendsfdf2.c: Likewise.
48579         * soft-fp/extendsftf2.c: Likewise.
48580         * soft-fp/extendxftf2.c: Likewise.
48581         * soft-fp/fixdfdi.c: Likewise.
48582         * soft-fp/fixdfsi.c: Likewise.
48583         * soft-fp/fixdfti.c: Likewise.
48584         * soft-fp/fixsfdi.c: Likewise.
48585         * soft-fp/fixsfsi.c: Likewise.
48586         * soft-fp/fixsfti.c: Likewise.
48587         * soft-fp/fixtfdi.c: Likewise.
48588         * soft-fp/fixtfsi.c: Likewise.
48589         * soft-fp/fixtfti.c: Likewise.
48590         * soft-fp/fixunsdfdi.c: Likewise.
48591         * soft-fp/fixunsdfsi.c: Likewise.
48592         * soft-fp/fixunsdfti.c: Likewise.
48593         * soft-fp/fixunssfdi.c: Likewise.
48594         * soft-fp/fixunssfsi.c: Likewise.
48595         * soft-fp/fixunssfti.c: Likewise.
48596         * soft-fp/fixunstfdi.c: Likewise.
48597         * soft-fp/fixunstfsi.c: Likewise.
48598         * soft-fp/fixunstfti.c: Likewise.
48599         * soft-fp/floatdidf.c: Likewise.
48600         * soft-fp/floatdisf.c: Likewise.
48601         * soft-fp/floatditf.c: Likewise.
48602         * soft-fp/floatsidf.c: Likewise.
48603         * soft-fp/floatsisf.c: Likewise.
48604         * soft-fp/floatsitf.c: Likewise.
48605         * soft-fp/floattidf.c: Likewise.
48606         * soft-fp/floattisf.c: Likewise.
48607         * soft-fp/floattitf.c: Likewise.
48608         * soft-fp/floatundidf.c: Likewise.
48609         * soft-fp/floatundisf.c: Likewise.
48610         * soft-fp/floatunditf.c: Likewise.
48611         * soft-fp/floatunsidf.c: Likewise.
48612         * soft-fp/floatunsisf.c: Likewise.
48613         * soft-fp/floatunsitf.c: Likewise.
48614         * soft-fp/floatuntidf.c: Likewise.
48615         * soft-fp/floatuntisf.c: Likewise.
48616         * soft-fp/floatuntitf.c: Likewise.
48617         * soft-fp/fmadf4.c: Likewise.
48618         * soft-fp/fmasf4.c: Likewise.
48619         * soft-fp/fmatf4.c: Likewise.
48620         * soft-fp/gedf2.c: Likewise.
48621         * soft-fp/gesf2.c: Likewise.
48622         * soft-fp/getf2.c: Likewise.
48623         * soft-fp/ledf2.c: Likewise.
48624         * soft-fp/lesf2.c: Likewise.
48625         * soft-fp/letf2.c: Likewise.
48626         * soft-fp/muldf3.c: Likewise.
48627         * soft-fp/mulsf3.c: Likewise.
48628         * soft-fp/multf3.c: Likewise.
48629         * soft-fp/negdf2.c: Likewise.
48630         * soft-fp/negsf2.c: Likewise.
48631         * soft-fp/negtf2.c: Likewise.
48632         * soft-fp/op-1.h: Likewise.
48633         * soft-fp/op-2.h: Likewise.
48634         * soft-fp/op-4.h: Likewise.
48635         * soft-fp/op-8.h: Likewise.
48636         * soft-fp/op-common.h: Likewise.
48637         * soft-fp/quad.h: Likewise.
48638         * soft-fp/single.h: Likewise.
48639         * soft-fp/soft-fp.h: Likewise.
48640         * soft-fp/sqrtdf2.c: Likewise.
48641         * soft-fp/sqrtsf2.c: Likewise.
48642         * soft-fp/sqrttf2.c: Likewise.
48643         * soft-fp/subdf3.c: Likewise.
48644         * soft-fp/subsf3.c: Likewise.
48645         * soft-fp/subtf3.c: Likewise.
48646         * soft-fp/truncdfsf2.c: Likewise.
48647         * soft-fp/trunctfdf2.c: Likewise.
48648         * soft-fp/trunctfsf2.c: Likewise.
48649         * soft-fp/trunctfxf2.c: Likewise.
48650         * soft-fp/unorddf2.c: Likewise.
48651         * soft-fp/unordsf2.c: Likewise.
48652         * soft-fp/unordtf2.c: Likewise.
48654 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48656         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48657         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48659 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48661         * elf/dl-libc.c: Clear initfini list after freeing.
48663 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48665         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48666         * soft-fp/addsf3.c: Likewise.
48667         * soft-fp/addtf3.c: Likewise.
48668         * soft-fp/divdf3.c: Likewise.
48669         * soft-fp/divsf3.c: Likewise.
48670         * soft-fp/divtf3.c: Likewise.
48671         * soft-fp/double.h: Likewise.
48672         * soft-fp/eqdf2.c: Likewise.
48673         * soft-fp/eqsf2.c: Likewise.
48674         * soft-fp/eqtf2.c: Likewise.
48675         * soft-fp/extenddftf2.c: Likewise.
48676         * soft-fp/extended.h: Likewise.
48677         * soft-fp/extendsfdf2.c: Likewise.
48678         * soft-fp/extendsftf2.c: Likewise.
48679         * soft-fp/extendxftf2.c: Likewise.
48680         * soft-fp/fixdfdi.c: Likewise.
48681         * soft-fp/fixdfsi.c: Likewise.
48682         * soft-fp/fixdfti.c: Likewise.
48683         * soft-fp/fixsfdi.c: Likewise.
48684         * soft-fp/fixsfsi.c: Likewise.
48685         * soft-fp/fixsfti.c: Likewise.
48686         * soft-fp/fixtfdi.c: Likewise.
48687         * soft-fp/fixtfsi.c: Likewise.
48688         * soft-fp/fixtfti.c: Likewise.
48689         * soft-fp/fixunsdfdi.c: Likewise.
48690         * soft-fp/fixunsdfsi.c: Likewise.
48691         * soft-fp/fixunsdfti.c: Likewise.
48692         * soft-fp/fixunssfdi.c: Likewise.
48693         * soft-fp/fixunssfsi.c: Likewise.
48694         * soft-fp/fixunssfti.c: Likewise.
48695         * soft-fp/fixunstfdi.c: Likewise.
48696         * soft-fp/fixunstfsi.c: Likewise.
48697         * soft-fp/fixunstfti.c: Likewise.
48698         * soft-fp/floatdidf.c: Likewise.
48699         * soft-fp/floatdisf.c: Likewise.
48700         * soft-fp/floatditf.c: Likewise.
48701         * soft-fp/floatsidf.c: Likewise.
48702         * soft-fp/floatsisf.c: Likewise.
48703         * soft-fp/floatsitf.c: Likewise.
48704         * soft-fp/floattidf.c: Likewise.
48705         * soft-fp/floattisf.c: Likewise.
48706         * soft-fp/floattitf.c: Likewise.
48707         * soft-fp/floatundidf.c: Likewise.
48708         * soft-fp/floatundisf.c: Likewise.
48709         * soft-fp/floatunsidf.c: Likewise.
48710         * soft-fp/floatunsisf.c: Likewise.
48711         * soft-fp/floatuntidf.c: Likewise.
48712         * soft-fp/floatuntisf.c: Likewise.
48713         * soft-fp/floatuntitf.c: Likewise.
48714         * soft-fp/fmadf4.c: Likewise.
48715         * soft-fp/fmasf4.c: Likewise.
48716         * soft-fp/fmatf4.c: Likewise.
48717         * soft-fp/gedf2.c: Likewise.
48718         * soft-fp/gesf2.c: Likewise.
48719         * soft-fp/getf2.c: Likewise.
48720         * soft-fp/ledf2.c: Likewise.
48721         * soft-fp/lesf2.c: Likewise.
48722         * soft-fp/letf2.c: Likewise.
48723         * soft-fp/muldf3.c: Likewise.
48724         * soft-fp/mulsf3.c: Likewise.
48725         * soft-fp/multf3.c: Likewise.
48726         * soft-fp/negdf2.c: Likewise.
48727         * soft-fp/negsf2.c: Likewise.
48728         * soft-fp/negtf2.c: Likewise.
48729         * soft-fp/op-1.h: Likewise.
48730         * soft-fp/op-2.h: Likewise.
48731         * soft-fp/op-4.h: Likewise.
48732         * soft-fp/op-8.h: Likewise.
48733         * soft-fp/op-common.h: Likewise.
48734         * soft-fp/quad.h: Likewise.
48735         * soft-fp/single.h: Likewise.
48736         * soft-fp/soft-fp.h: Likewise.
48737         * soft-fp/sqrtdf2.c: Likewise.
48738         * soft-fp/sqrtsf2.c: Likewise.
48739         * soft-fp/sqrttf2.c: Likewise.
48740         * soft-fp/subdf3.c: Likewise.
48741         * soft-fp/subsf3.c: Likewise.
48742         * soft-fp/subtf3.c: Likewise.
48743         * soft-fp/truncdfsf2.c: Likewise.
48744         * soft-fp/trunctfdf2.c: Likewise.
48745         * soft-fp/trunctfsf2.c: Likewise.
48746         * soft-fp/trunctfxf2.c: Likewise.
48747         * soft-fp/unorddf2.c: Likewise.
48748         * soft-fp/unordsf2.c: Likewise.
48749         * soft-fp/unordtf2.c: Likewise.
48751 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48753         [BZ #15672]
48754         * misc/error.c (error_tail): Fix possible buffer overflow.
48756 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48758         [BZ #13028]
48759         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48760         address.
48762 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48764         [BZ #832]
48765         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48766         testing pipefail option.
48768 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48770         * soft-fp/double.h: Indent preprocessor directives inside #if.
48771         * soft-fp/extended.h: Likewise.
48772         * soft-fp/op-2.h: Likewise.
48773         * soft-fp/op-4.h: Likewise.
48774         * soft-fp/op-common.h: Likewise.
48775         * soft-fp/quad.h: Likewise.
48776         * soft-fp/single.h: Likewise.
48777         * soft-fp/soft-fp.h: Likewise.
48779 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48781         * iconv/iconv_prog.c: Fix typos.
48782         * stdio-common/psiginfo-data.h: Likewise.
48784 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48786         [BZ #15764]
48787         * locale/setlocale.c: Fix typo.
48789 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48791         [BZ #16036]
48792         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48793         signaling NaN arguments.
48794         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48795         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48797         [BZ #14910]
48798         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48799         unordered operands.
48800         * soft-fp/gesf2.c (__gesf2): Likewise.
48801         * soft-fp/getf2.c (__getf2): Likewise.
48802         * soft-fp/ledf2.c (__ledf2): Likewise.
48803         * soft-fp/lesf2.c (__lesf2): Likewise.
48804         * soft-fp/letf2.c (__letf2): Likewise.
48806         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48807         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48808         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48809         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48810         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48811         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48812         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48813         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48814         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48815         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48816         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48817         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48818         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48819         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48820         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48821         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48822         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48823         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48824         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48825         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48826         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48827         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48828         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48829         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48830         * soft-fp/floattidf.c (__floattidf): Likewise.
48831         * soft-fp/floattisf.c (__floattisf): Likewise.
48832         * soft-fp/floattitf.c (__floattitf): Likewise.
48833         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48834         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48835         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48836         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48837         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48838         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48839         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48840         * soft-fp/gesf2.c (__gesf2): Likewise.
48841         * soft-fp/getf2.c (__getf2): Likewise.
48842         * soft-fp/ledf2.c (__ledf2): Likewise.
48843         * soft-fp/lesf2.c (__lesf2): Likewise.
48844         * soft-fp/letf2.c (__letf2): Likewise.
48846         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48847         Undefine and redefine.
48848         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48849         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48850         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48851         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48852         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48853         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48854         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48855         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48856         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48857         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48858         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48859         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48860         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48861         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48862         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48864         [BZ #16032]
48865         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48866         without decrementing exponent if mantissa >= that for the
48867         denominator, not >.
48868         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48869         denominator, not >.  Decrement exponent in < case instead of
48870         incrementing in >= case.
48871         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48872         without decrementing exponent if mantissa >= that for the
48873         denominator, not >.
48875         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48876         computing saturated result for unsigned overflow.
48878 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48879             Jeff Law  <law@redhat.com>
48881         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48882         (atan2Mp): Add systemtap probe marker.
48883         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48884         (__ieee754_log): Add systemtap probe marker.
48885         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48886         (atanMp): Add systemtap probe marker.
48887         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48888         (tanMp): Add systemtap probe marker.
48889         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48890         (__slowexp): Add systemtap probe marker.
48891         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48892         (__slowpow): Add systemtap probe marker.
48893         * manual/probes.texi: Document probes.
48895 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48897         [BZ #15362]
48898         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48899         written.
48900         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48901         written.
48902         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48903         written to buffer but not flushed.
48904         * libio/iofwrite_u.c:  Likewise.
48905         * libio/iopadn.c:  Return bytes returned even if EOF was
48906         encountered.
48907         * libio/iowpadn.c:  Likewise.
48908         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48909         if _IO_padn does not write the whole buffer.
48910         [!COMPILE_WPRINTF] (PAD): Likewise.
48912 2013-10-10  David S. Miller  <davem@davemloft.net>
48914         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48915         directory block.
48917 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48919         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48920         instead of FSF address.
48921         * soft-fp/fixdfti.c: Likewise.
48922         * soft-fp/fixsfti.c: Likewise.
48923         * soft-fp/fixtfti.c: Likewise.
48924         * soft-fp/fixunsdfti.c: Likewise.
48925         * soft-fp/fixunssfti.c: Likewise.
48926         * soft-fp/fixunstfti.c: Likewise.
48927         * soft-fp/floattidf.c: Likewise.
48928         * soft-fp/floattisf.c: Likewise.
48929         * soft-fp/floattitf.c: Likewise.
48930         * soft-fp/floatuntidf.c: Likewise.
48931         * soft-fp/floatuntisf.c: Likewise.
48932         * soft-fp/floatuntitf.c: Likewise.
48933         * soft-fp/trunctfxf2.c: Likewise.
48935         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48936         * soft-fp/fixdfti.c: Likewise.
48937         * soft-fp/fixsfti.c: Likewise.
48938         * soft-fp/fixtfti.c: Likewise.
48939         * soft-fp/fixunsdfti.c: Likewise.
48940         * soft-fp/fixunssfti.c: Likewise.
48941         * soft-fp/fixunstfti.c: Likewise.
48942         * soft-fp/floattidf.c: Likewise.
48943         * soft-fp/floattisf.c: Likewise.
48944         * soft-fp/floattitf.c: Likewise.
48945         * soft-fp/floatuntidf.c: Likewise.
48946         * soft-fp/floatuntisf.c: Likewise.
48947         * soft-fp/floatuntitf.c: Likewise.
48948         * soft-fp/trunctfxf2.c: Likewise.
48950 2013-10-10  David S. Miller  <davem@davemloft.net>
48952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48954 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48956         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48957         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48958         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48959         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48960         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48961         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48962         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48965         for NaNs before doing comparisons on argument.
48966         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48967         Likewise.
48969 2013-10-10  Will Newton  <will.newton@linaro.org>
48971         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48972         passed to _int_memalign does not overflow.
48974 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48976         * scripts/bench.pl: Add include-sources directive.
48977         * benchtests/README: Update documentation.
48979 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48981         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48982         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48983         instead of FP_INIT_ROUNDMODE.
48984         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48985         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48987         [BZ #16034]
48988         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48989         copy class of input value.
48990         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48991         not handle exceptions.
48992         * soft-fp/negsf2.c (__negsf2): Likewise.
48993         * soft-fp/negtf2.c (__negtf2): Likewise.
48994         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48996 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48998         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48999         semicolon.  From Linux kernel.
49001 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49003         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49005 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49007         [BZ #156]
49008         * manual/socket.texi: Added statement about buffer
49009         for gethostbyname2_r.
49011 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49013         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49014         Use .p2align directive instead, throughout.
49015         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49016         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49017         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49018         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49019         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49020         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49021         * sysdeps/x86_64/strchr.S: Likewise.
49022         * sysdeps/x86_64/strrchr.S: Likewise.
49024 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49026         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49028         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49030         * sysdeps/generic/math_private.h (__mpsin1): Remove
49031         declaration.
49032         (__mpcos1): Likewise.
49033         (__mpsin): New argument __range_reduce.
49034         (__mpcos): Likewise.
49035         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49036         (slow): Use __mpsin and __mpcos.
49037         (slow1): Likewise.
49038         (slow2): Likewise.
49039         (sloww): Likewise.
49040         (sloww1): Likewise.
49041         (sloww2): Likewise.
49042         (bsloww): Likewise.
49043         (bsloww1): Likewise.
49044         (bsloww2): Likewise.
49045         (cslow2): Likewise.
49046         (csloww): Likewise.
49047         (csloww1): Likewise.
49048         (csloww2): Likewise.
49049         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49050         range_reduce.  Merge in __mpsin1.
49051         (__mpcos): Likewise.
49052         (__mpsin1): Remove.
49053         (__mpcos1): Likewise.
49055 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49057         * locale/loadlocale.c (_nl_intern_locale_data): Use
49058         LOCFILE_ALIGNED_P.
49059         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49060         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49061         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49062         obstack data is appropriately aligned.
49063         (obstack_int32_grow_fast): Likewise.
49064         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49065         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49066         (add_locale_uint32_array): Likewise.
49068 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49070         * benchtests/Makefile: Remove ARGLIST and RET variables.
49071         ($(objpfx)bench-%.c): Pass only function name to the script.
49072         * benchtests/README: Update documentation.
49073         * benchtests/acos-inputs: Add new directives.
49074         * benchtests/acosh-inputs: Likewise.
49075         * benchtests/asin-inputs: Likewise.
49076         * benchtests/asinh-inputs: Likewise.
49077         * benchtests/atan-inputs: Likewise.
49078         * benchtests/atanh-inputs: Likewise.
49079         * benchtests/cos-inputs: Likewise.
49080         * benchtests/cosh-inputs: Likewise.
49081         * benchtests/exp-inputs: Likewise.
49082         * benchtests/log-inputs: Likewise.
49083         * benchtests/pow-inputs: Likewise.
49084         * benchtests/rint-inputs: Likewise.
49085         * benchtests/sin-inputs: Likewise.
49086         * benchtests/sinh-inputs: Likewise.
49087         * benchtests/tan-inputs: Likewise.
49088         * benchtests/tanh-inputs: Likewise.
49089         * scripts/bench.pl: Add support for new directives.
49091 2013-10-07  Alan Modra  <amodra@gmail.com>
49093         * README: Fix careless merge.
49095 2013-10-05  Alan Modra  <amodra@gmail.com>
49097         * NEWS: Mention powerpc64le support and bugs fixed.
49098         * README: Both big-endian and little-endian powerpc64 supported.
49100 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49102         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49103         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49104         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49105         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49107 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49109         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49110         match prototype.
49112 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49114         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49115         Move -mhard-float appending from
49116         ports/sysdeps/powerpc/powerpc32/Makefile.
49117         [$(with-fp) = yes] (ASFLAGS): Likewise.
49118         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49119         * sysdeps/powerpc/nofpu: Move directory from
49120         ports/sysdeps/powerpc/nofpu.
49121         * sysdeps/powerpc/soft-fp: Move directory from
49122         ports/sysdeps/powerpc/soft-fp.
49123         * sysdeps/powerpc/powerpc32/405: Move directory from
49124         ports/sysdeps/powerpc/powerpc32/405.
49125         * sysdeps/powerpc/powerpc32/440: Move directory from
49126         ports/sysdeps/powerpc/powerpc32/440.
49127         * sysdeps/powerpc/powerpc32/464: Move directory from
49128         ports/sysdeps/powerpc/powerpc32/464.
49129         * sysdeps/powerpc/powerpc32/476: Move directory from
49130         ports/sysdeps/powerpc/powerpc32/476.
49131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49132         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49134         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49136         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49138         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49140         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49141         * README: Update for powerpc-*-linux-gnu software floating point
49142         support in libc.
49144         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49145         case to powerpc/powerpc32*.
49146         * sysdeps/unix/sysv/linux/configure: Regenerated.
49148         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49149         (_FPU_MASK_OM): Define as 0x04.
49150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49152         0x00c10080.
49153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49154         0x0000003c.
49155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49158         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49159         getcontext_e500.
49160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49161         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49162         setcontext_e500.
49163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49164         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49165         and setcontext_e500.
49167 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49169         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49171 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49173         * manual/threads.texi (Default Thread Attributes): Fix typo.
49175 2013-10-04  Will Newton  <will.newton@linaro.org>
49177         * malloc/Makefile: Add tst-memalign.
49178         * malloc/tst-memalign.c: New file.
49180         * malloc/tst-posix_memalign.c: Add comments.
49181         (do_test): Add comments and call free on all potentially
49182         allocated pointers. Add space after cast.
49184         * malloc/tst-pvalloc.c: Add comments.
49185         (do_test): Add comments and call free on all potentially
49186         allocated pointers. Remove duplicate check for NULL pointer.
49187         Add space after cast.
49189         * malloc/tst-valloc.c: Add comments.
49190         (do_test): Add comments and call free on all potentially
49191         allocated pointers. Remove duplicate check for NULL pointer.
49192         Add space after cast.
49194 2013-10-04  Alan Modra  <amodra@gmail.com>
49196         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49197         Use stdint types in rather than __attribute__((mode())).
49198         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49200 2013-10-04  Alan Modra  <amodra@gmail.com>
49202         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49203         Correct handling of unaligned relocs for little-endian.
49204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49206 2013-10-04  Alan Modra  <amodra@gmail.com>
49208         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49209         * configure: Regenerate.
49210         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49211         * shlib-versions: Likewise.
49213 2013-10-04  Alan Modra  <amodra@gmail.com>
49215         * string/tester.c (test_memrchr): Increment reported test cycle.
49217 2013-10-04  Alan Modra  <amodra@gmail.com>
49219         * string/test-memcpy.c (do_one_test): When reporting errors, print
49220         string address and don't overrun end of string.
49222 2013-10-04  Alan Modra  <amodra@gmail.com>
49224         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49225         insrdi.  Make better use of reg selection to speed exit slightly.
49226         Schedule entry path a little better.  Remove useless "are we done"
49227         checks on entry to main loop.  Handle wrapping around zero address.
49228         Correct main loop count.  Handle single left-over word from main
49229         loop inline rather than by using loop_small.  Remove extra word
49230         case in loop_small caused by wrong loop count.  Add little-endian
49231         support.
49232         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49233         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49234         cache hint.
49235         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49236         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49237         support.  Avoid rlwimi.
49238         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49240 2013-10-04  Alan Modra  <amodra@gmail.com>
49242         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49243         insrdi.  Formatting.
49244         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49245         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49246         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49247         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49248         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49249         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49251 2013-10-04  Alan Modra  <amodra@gmail.com>
49253         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49255         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49256         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49257         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49258         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49259         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49260         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49261         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49262         use of regs.  Use power7 mtocrf.  Tidy function tails.
49264 2013-10-04  Alan Modra  <amodra@gmail.com>
49266         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49267         Formatting.  Consistently use rXXX register defines or rN defines.
49268         Use early exit labels that avoid restoring unused non-volatile regs.
49269         Make cr field use more consistent with rWORDn compares.  Rename
49270         regs used as shift registers for unaligned loop, using rN defines
49271         for short lifetime/multiple use regs.
49272         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49273         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49274         addi 1,1,64 to pop stack frame.  Simplify return value code.
49275         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49277 2013-10-04  Alan Modra  <amodra@gmail.com>
49279         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49280         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49281         rather than rlwimi.
49282         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49283         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49284         little-endian support.  Correct typos.
49285         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49286         rather than rlwimi.
49287         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49288         in loop and entry code to keep "and." results.
49289         (strchr): Add little-endian support.  Comment.  Move cntlzd
49290         earlier in tail.
49291         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49293 2013-10-04  Alan Modra  <amodra@gmail.com>
49295         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49296         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49297         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49298         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49300 2013-10-04  Alan Modra  <amodra@gmail.com>
49302         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49303         (rTMP): Define as r11.
49304         (strcmp): Add little-endian support.  Optimise tail.
49305         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49306         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49307         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49308         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49309         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49310         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49311         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49313 2013-10-04  Alan Modra  <amodra@gmail.com>
49315         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49316         little-endian support.  Remove unnecessary "are we done" tests.
49317         Handle "s" wrapping around zero and extremely large "size".
49318         Correct main loop count.  Handle single left-over word from main
49319         loop inline rather than by using small_loop.  Correct comments.
49320         Delete "zero" tail, use "end_max" instead.
49321         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49323 2013-10-04  Alan Modra  <amodra@gmail.com>
49325         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49326         support.  Don't branch over align.
49327         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49328         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49329         support.  Rearrange tmp reg use to suit.  Comment.
49330         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49332 2013-10-04  Alan Modra  <amodra@gmail.com>
49334         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49336 2013-10-04  Alan Modra  <amodra@gmail.com>
49338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49339         conditional form of branch and link when obtaining pc.
49340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49342 2013-10-04  Alan Modra  <amodra@gmail.com>
49344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49345         HIWORD/LOWORD.
49346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49349 2013-10-04  Alan Modra  <amodra@gmail.com>
49351         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49352         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49353         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49354         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49355         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49357         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49359         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49360         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49362 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49363             Alistair Popple <alistair@ozlabs.au.ibm.com>
49364             Alan Modra <amodra@gmail.com>
49366         [BZ #15723]
49367         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49368         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49369         _dl_hwcap access for little-endian.
49370         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49371         destroy vmx regs when saving unaligned.
49372         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49373         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49374         destroy vmx regs when saving unaligned.
49376 2013-10-04  Alan Modra  <amodra@gmail.com>
49378         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49379         Don't use a union to pack hi/low value.
49381 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49383         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49384         for little-endian.
49385         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49387         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49388         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49389         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49391 2013-10-04  Alan Modra  <amodra@gmail.com>
49393         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49394         constants to usual value for .cst8 section, and remove redundant
49395         high address load.
49396         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49397         constant for 0x1p52.  Load little-endian words of double from
49398         correct stack offsets.
49400 2013-10-04  Alan Modra  <amodra@gmail.com>
49402         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49403         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49404         words of double from correct stack offsets.
49405         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49406         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49407         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49408         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49409         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49410         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49411         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49412         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49413         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49414         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49415         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49417         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49418         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49419         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49420         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49421         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49423 2013-10-04  Alan Modra  <amodra@gmail.com>
49425         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49426         64-bit int/double union.
49427         (_FPU_SETCW): Likewise.
49428         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49429         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49431 2013-10-04  Alan Modra  <amodra@gmail.com>
49433         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49434         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49436 2013-10-04  Alan Modra  <amodra@gmail.com>
49438         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49439         use vector int constants.
49440         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49442 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49444         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49445         array with long long.
49446         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49447         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49448         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49449         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49450         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49451         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49452         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49453         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49454         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49455         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49456         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49458         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49460 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49462         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49463         (__signbit): Likewise.  Correct for little-endian.
49464         (__signbitl): Call __signbit.
49465         (lrint): Correct for little-endian.
49466         (lrintf): Call lrint.
49468 2013-10-04  Alan Modra  <amodra@gmail.com>
49470         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49471         union 32-bit int array member with 64-bit int array.
49472         (t515, tm256): Double rather than long double.
49473         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49475 2013-10-04  Alan Modra  <amodra@gmail.com>
49477         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49478         Delete.
49479         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49481         version of math_ldbl.h.
49483 2013-10-04  Alan Modra  <amodra@gmail.com>
49485         [BZ #15734], [BZ #15735]
49486         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49487         all uses of ieee875 long double macros and unions.  Simplify test
49488         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49489         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49490         normalize after ldbl_extract_mantissa, and don't add hidden bit
49491         already handled.  Don't treat low word of ieee854 mantissa like
49492         low word of IBM long double and mask off bit when testing for
49493         zero.
49494         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49495         all uses of ieee875 long double macros and unions.  Simplify tests
49496         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49497         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49498         two1022, instead use their values.  Recognise that tests for large
49499         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49500         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49501         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49502         test for 0.0L and nan.  Correct negation.
49503         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49504         ieee875 long double macros and unions.  Correct output for large
49505         magnitude x.  Correct absolute value calculation.
49506         (__erfcl): Likewise.
49507         * math/libm-test.inc: Add tests for errors discovered in IBM long
49508         double versions of fmodl, remainderl, erfl and erfcl.
49510 2013-10-04  Alan Modra  <amodra@gmail.com>
49512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49513         all uses of ieee854 long double macros and unions.  Simplify tests
49514         for long doubles that are fully specified by the high double.
49515         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49516         Likewise.
49517         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49518         Remove dead code too.
49519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49520         (__ieee754_ynl): Likewise.
49521         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49522         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49523         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49524         Remove dead code too.
49525         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49526         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49527         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49528         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49529         Simplify.
49530         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49531         Simplify.
49532         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49533         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49535         Comment on variable precision.
49536         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49537         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49538         Likewise.
49539         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49540         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49543         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49545 2013-10-04  Alan Modra  <amodra@gmail.com>
49547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49548         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49549         all uses of ieee854 long double macros and unions.
49550         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49551         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49552         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49553         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49554         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49555         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49556         Likewise.
49557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49558         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49559         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49560         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49561         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49562         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49563         Simplify sign and nan test too.
49564         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49565         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49566         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49567         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49568         Likewise.
49569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49570         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49571         Likewise.
49572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49573         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49574         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49575         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49576         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49577         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49579 2013-10-04  Alan Modra  <amodra@gmail.com>
49581         * stdio-common/printf_size.c (__printf_size): Don't use
49582         union ieee854_long_double in fpnum union.
49583         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49584         signbit macro to retrieve sign from long double.
49585         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49586         retrieve sign from long double.
49587         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49588         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49589         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49590         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49591         * math/test-misc.c (main): Don't use union ieee854_long_double.
49593 2013-10-04  Alan Modra  <amodra@gmail.com>
49595         [BZ #15680]
49596         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49597         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49598         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49599         calculation.  Remove unnecessary test for denormal exponent.
49600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49601         Correct handling of denormals.  Avoid undefined shift behaviour.
49602         Correct normalisation of low mantissa when low double is denormal.
49603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49604         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49605         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49606         Correct normalisation of low mantissa.  Test for overflow of high
49607         mantissa and normalise.
49608         (ldbl_nearbyint): Use more readable constant for two52.
49609         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49610         (__mpn_construct_long_double): Fix test for overflow of high
49611         mantissa and correct normalisation.  Avoid undefined shift.
49613 2013-10-04  Alan Modra  <amodra@gmail.com>
49615         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49616         (union ibm_extended_long_double): Define as an array of ieee754_double.
49617         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49618         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49619         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49620         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49621         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49622         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49624         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49625         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49626         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49627         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49629 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49631         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49632         page size instead of calling getpagesize.
49634         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49635         (LOCFILE_ALIGN_MASK): Likewise.
49636         (LOCFILE_ALIGN_UP): Likewise.
49637         (LOCFILE_ALIGNED_P): Likewise.
49638         * locale/programs/ld-collate.c (collate_output): Use the new
49639         macros instead of __alignof__ (int32_t).
49640         * locale/weight.h (findidx): Likewise.
49642 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49644         [BZ #431]
49645         * manual/string.texi: Fix strncat and wcsncat.
49647 2013-10-03  Brooks Moses  <bmoses@google.com>
49649         [BZ #15915]
49650         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49651         * Makerules: ...here, and adjust associated comments.
49653 2013-10-02  Will Newton  <will.newton@linaro.org>
49655         * malloc/Makefile: Add tst-pvalloc.
49656         * malloc/tst-pvalloc.c: New file.
49658 2013-10-02  Will Newton  <will.newton@linaro.org>
49660         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49661         improve test coverage.
49663 2013-10-02  Will Newton  <will.newton@linaro.org>
49665         * malloc/Makefile: Add tst-posix_memalign.
49666         * malloc/tst-posix_memalign.c: New file.
49668 2013-10-01  Eric Blake  <eblake@redhat.com>
49670         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49671         Use __THROWNL rather than __THROW on static functions.
49673 2013-09-30  Petr Machata  <pmachata@redhat.com>
49675         * elf/elf.h (R_AARCH64_ABS16): New macro.
49676         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49677         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49678         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49679         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49680         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49681         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49682         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49683         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49684         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49685         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49686         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49687         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49688         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49689         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49690         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49691         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49692         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49693         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49694         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49695         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49696         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49697         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49698         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49699         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49700         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49701         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49702         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49703         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49704         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49705         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49706         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49707         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49708         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49709         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49710         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49711         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49712         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49713         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49714         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49715         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49716         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49717         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49718         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49719         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49720         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49721         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49722         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49723         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49724         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49725         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49726         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49727         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49728         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49729         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49730         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49731         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49732         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49733         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49734         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49735         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49736         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49737         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49738         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49739         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49740         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49741         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49742         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49743         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49744         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49745         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49746         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49747         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49748         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49749         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49750         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49751         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49752         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49753         (R_AARCH64_TLSDESC_LDR): Likewise.
49754         (R_AARCH64_TLSDESC_ADD): Likewise.
49755         (R_AARCH64_TLSDESC_CALL): Likewise.
49757 2013-09-30  Andreas Schwab  <schwab@suse.de>
49759         [BZ #15048]
49760         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49761         the nss database lookup.
49762         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49765 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49767         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49769 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49771         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49772         ${Bash-specific parameter/pattern/string} parameter expansion.
49773         * sysdeps/unix/make-syscalls.sh: Likewise.
49775 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49777         * sysdeps/sh/stackguard-macros.h: New file.
49779 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49783         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49784         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49785         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49786         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49788 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49790         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49791         Fix thread ID register.
49793 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49795         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49796         [POSIX || UNIX98]: Require rather than permitting all symbols from
49797         <time.h>.
49798         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49799         element of struct sched_param.
49800         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49801         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49802         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49803         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49804         constant.
49806 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49808         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49809         argument calculation.
49811 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49813         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49814         Expect macro.
49815         [POSIX] (pthread_attr_t): Do not require type.
49816         [POSIX] (pthread_cond_t): Likewise.
49817         [POSIX] (pthread_condattr_t): Likewise.
49818         [POSIX] (pthread_key_t): Likewise.
49819         [POSIX] (pthread_mutex_t): Likewise.
49820         [POSIX] (pthread_mutexattr_t): Likewise.
49821         [POSIX] (pthread_once_t): Likewise.
49822         [POSIX] (pthread_t): Likewise.
49823         [POSIX-based standards] (pthread_atfork): Expect function.
49825 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49826             Richard Sandiford  <richard@codesourcery.com>
49828         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49829         (swap_endianness_p): New extern variable.
49830         (set_big_endian): New inline function.
49831         (maybe_swap_uint32): Likewise.
49832         (maybe_swap_uint32_array): Likewise.
49833         (maybe_swap_uint32_obstack): Likewise.
49834         * locale/programs/locfile.c: Include <stdbool.h>.
49835         (swap_endianness_p): New variable.
49836         (add_locale_uint32): Call maybe_swap_uint32.
49837         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49838         (write_locale_data): Call maybe_swap_uint32_array.
49839         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49840         maybe_swap_uint32.
49841         (obstack_int32_grow_fast): Likewise.
49842         (output_weightwc): Call maybe_swap_uint32_obstack.
49843         (collate_output): Likewise.
49844         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49845         (OPT_LITTLE_ENDIAN): Likewise.
49846         (options): Add --little-endian and --big-endian options.
49847         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49848         * locale/programs/locarchive.c: Include "locfile.h".
49849         (GET): New macro.
49850         (SET): Likewise.
49851         (INC): Likewise.
49852         (create_archive): Use the new macros to access fields of
49853         structures directly mapped from or written to locale archives.
49854         (oldlocrecentcmp): Likewise.
49855         (enlarge_archive): Likewise.
49856         (insert_name): Likewise.
49857         (add_alias): Likewise.
49858         (add_locale): Likewise.
49859         (delete_locales_from_archive): Likewise.
49860         (show_archive_content): Likewise.
49861         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49862         locale data.
49864 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49866         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49867         http://www.gnu.org/doc/freemanuals.texi.
49868         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49870 2013-09-24  Will Newton  <will.newton@linaro.org>
49872         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49873         macro.
49875 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49877         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49878         unsigned char.
49880 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49882         * manual/threads.texi (POSIX Threads): Fix a typo.
49884 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49886         [BZ #14547]
49887         * string/tst-strcoll-overflow.c: New test case.
49888         * string/Makefile (xtests): Add tst-strcoll-overflow.
49889         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49890         cache if string sizes may cause integer overflow.
49892         [BZ #14547]
49893         * string/strcoll_l.c (coll_seq): New members rule, idx,
49894         save_idx and back_us.
49895         (get_next_seq_nocache): New function.
49896         (do_compare_nocache): New function.
49897         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49898         when malloc fails.
49900 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49902         [BZ #15754]
49903         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49904         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49905         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49907         [BZ #15754]
49908         * elf/Makefile (tests): Add tst-ptrguard1.
49909         (tests-static): Add tst-ptrguard1-static.
49910         (tst-ptrguard1-ARGS): Define.
49911         (tst-ptrguard1-static-ARGS): Define.
49912         * elf/tst-ptrguard1.c: New file.
49913         * elf/tst-ptrguard1-static.c: New file.
49914         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49915         * sysdeps/i386/stackguard-macros.h: Likewise.
49916         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49917         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49918         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49919         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49920         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49921         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49923 2013-09-23  Hector Marco  <hecmargi@upv.es>
49924             Ismael Ripoll  <iripoll@disca.upv.es>
49925             Carlos O'Donell  <carlos@redhat.com>
49927         [BZ #15754]
49928         * sysdeps/generic/stackguard-macros.h: Define
49929         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49930         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49931         Define __pointer_chk_guard_local.
49932         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49933         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49935 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49937         [BZ #15859]
49938         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49940 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49942         * include/string.h (__ffs): Declare as hidden.
49943         * string/ffs.c (__ffs): Define as hidden.
49944         * sysdeps/i386/ffs.c (__ffs): Likewise.
49945         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49946         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49947         * sysdeps/s390/ffs.c (__ffs): Likewise.
49948         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49950 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49952         * NEWS: Mention malloc probes.
49954         * malloc/arena.c (new_heap): New memory_heap_new probe.
49955         (grow_heap): New memory_heap_more probe.
49956         (shrink_heap): New memory_heap_less probe.
49957         (heap_trim): New memory_heap_free probe.
49958         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49959         (systrim): New memory_sbrk_less probe.
49960         * manual/probes.texi: Document them.
49962         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49963         * manual/probes.texi: Document it.
49965         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49966         (__libc_realloc): Add memory_realloc_retry probe.
49967         (__libc_memalign): Add memory_memalign_retry probe.
49968         (__libc_valloc): Add memory_valloc_retry probe.
49969         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49970         (__libc_calloc): Add memory_calloc_retry probe.
49971         * manual/probes.texi: Document them.
49973         * malloc/arena.c (get_free_list): Add probe
49974         memory_arena_reuse_free_list.
49975         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49976         and memory_arena_reuse.
49977         (arena_get2) [!PER_THREAD]: Likewise.
49978         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49979         memory_arena_reuse_realloc.
49980         * manual/probes.texi: Document them.
49982         * malloc/malloc.c (__libc_free): Add
49983         memory_mallopt_free_dyn_thresholds probe.
49984         (__libc_mallopt): Add multiple memory_mallopt probes.
49985         * manual/probes.texi: Document them.
49987         * malloc/malloc.c: Include stap-probe.h.
49988         (__libc_mallopt): Add memory_mallopt probe.
49989         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49990         * manual/probes.texi: New.
49991         * manual/Makefile (chapters): Add probes.
49992         * manual/threads.texi: Set next node.
49994 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49996         [BZ #15963, #13985]
49997         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49998         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49999         Add `Chinese' to `nan' entry name.
50001 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50003         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50004         (POLYNOMIAL): Likewise.
50005         (TAYLOR_SINCOS): Likewise.
50006         (TAYLOR_SLOW): Likewise.
50007         (__sin): Use TAYLOR_SINCOS.
50008         (__cos): Likewise.
50009         (slow): Use TAYLOR_SLOW.
50010         (sloww): Likewise.
50011         (bsloww): Likewise.
50012         (csloww): Likewise.
50014 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50016         * stdlib/strtod_l.c: Fix buffer overrun.
50018 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020         * benchtests/Makefile (bench): Add sincos.
50021         * benchtests/bench-sincos.c: New file.
50023         * math/libm-test.inc (cos_test_data): New test inputs.
50024         (sin_test_data): Likewise.
50026         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50027         macro.
50028         (__sin): Use it.
50029         (__cos): Likewise.
50030         (slow1): Likewise.
50031         (slow2): Likewise.
50032         (sloww1): Likewise.
50033         (sloww2): Likewise.
50034         (bsloww1): Likewise.
50035         (bsloww2): Likewise.
50036         (cslow2): Likewise.
50037         (csloww1): Likewise.
50038         (csloww2): Likewise.
50040         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50041         function.
50042         (__sin): Use it.
50043         (__cos): Likewise.
50045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50046         gotos.
50047         (__cos): Likewise.
50049 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50051         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50052         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50053         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50054         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50055         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50056         * elf/cache.c (print_entry): Handle the new cache flags.
50058 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50059             Aldy Hernandez  <aldyh@redhat.com>
50061         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50062         Change condition to [_SOFT_FLOAT].
50063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50075         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50078         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50079         declaration.
50081 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50083         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50084         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50085         (__longjmp): Use LOAD_GP to load saved GPRs.
50086         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50087         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50088         (__sigsetjmp): Use SAVE_GP to save GPRs.
50090         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50091         Do not append -msoft-float.
50092         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50094 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50096         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50098 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50100         [BZ #15966]
50101         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50102         (_FPU_GETCW): Use initial "__" on variable and field names but not
50103         on macro parameter name.
50104         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50105         parentheses around reference to macro parameter.
50107 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50109         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50110         prototype.
50111         (ctype_startup): Use uint32_t in cast and sizeof for
50112         ctype->charnames.
50114 2013-09-11  Jia Liu  <proljc@gmail.com>
50116         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50117         __daddr_t_defined.
50118         [__FreeBSD__]: Likewise.
50120 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50123         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50124         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50125         (strchr): Remove __strchr_sse42 ifunc selection.
50126         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50127         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50129 2013-09-11  Will Newton  <will.newton@linaro.org>
50131         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50132         parameter to RES. Remove hardcoded 1000 value.
50133         * benchtests/bench-skeleton.c (main): Pass RES parameter
50134         to TIMING_INIT and multiply result by 1000.
50136 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50140 2013-09-11  Andreas Schwab  <schwab@suse.de>
50142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50143         if not defined.
50144         (O_TMPFILE) [__USE_GNU]: Define.
50145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50146         Define.
50148 2013-09-11  Will Newton  <will.newton@linaro.org>
50150         [BZ #15857]
50151         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50152         does not overflow.
50154 2013-09-11  Will Newton  <will.newton@linaro.org>
50156         [BZ #15856]
50157         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50158         does not overflow.
50160 2013-09-11  Will Newton  <will.newton@linaro.org>
50162         [BZ #15855]
50163         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50164         does not overflow.
50166 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50168         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50169         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50170         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50171         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50174 2013-09-10  Allan McRae  <allan@archlinux.org>
50176         [BZ #15748]
50177         * manual/arith.texi (Parsing of Floats): Clarify
50178         cross-reference.
50180         [BZ #15849]
50181         * manual/install.texi (Running make install): Mention
50182         --enable-pt-chown.
50183         * INSTALL: Regenerated.
50185 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50187         * csu/init-first.c (_init): Remove the !SHARED condition around
50188         FPU control word initialization.
50189         * elf/dl-support.c (_dl_fpu_control): New variable.
50190         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50191         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50192         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50193         * math/test-fpucw-static.c: New file.
50194         * math/test-fpucw-ieee.c: New file.
50195         * math/test-fpucw-ieee-static.c: New file.
50196         * math/Makefile (tests): Add `test-fpucw-ieee' and
50197         `$(tests-static)'.
50198         (tests-static): New variable.
50199         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50200         dependency to...
50201         [($(build-shared),yes)]
50202         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50203         ... this.
50204         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50205         New dependency.
50207 2013-09-09  Allan McRae  <allan@archlinux.org>
50209         [BZ #15939]
50210         * manual/string.texi (Collation Functions): Fix typo in
50211         strcoll example.
50212         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50214         [BZ #15893]
50215         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50217         [BZ #15892]
50218         * libio/memstream.c (open_memstream): Fix memory leak.
50219         * libio/wmemstream.c (open_wmemstream): Likewise.
50221         [BZ #15895]
50222         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50224 2013-09-09  Will Newton  <will.newton@linaro.org>
50226         * malloc/Makefile: Add tst-realloc to tests.
50227         * malloc/tst-realloc.c: New file.
50229 2013-09-09  Allan McRae  <allan@archlinux.org>
50231         [BZ #15844]
50232         * COPYING: Update from GNU website to fix FSF address.
50233         * COPYING.LIB: Likewise.
50235 2013-09-06  David S. Miller  <davem@davemloft.net>
50237         * po/zh_TW.po: Update Chinese (traditional) translation from
50238         translation project.
50240 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50241             Joseph Myers  <joseph@codesourcery.com>
50243         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50244         "localeinfo.h".
50245         (obstack_chunk_alloc): New macro.
50246         (obstack_chunk_free): Likewise.
50247         (record_offset): New function.
50248         (init_locale_data): Likewise.
50249         (align_locale_data): Likewise.
50250         (add_locale_empty): Likewise.
50251         (add_locale_raw_data): Likewise.
50252         (add_locale_raw_obstack): Likewise.
50253         (add_locale_string): Likewise.
50254         (add_locale_wstring): Likewise.
50255         (add_locale_uint32): Likewise.
50256         (add_locale_uint32_array): Likewise.
50257         (add_locale_char): Likewise.
50258         (start_locale_structure): Likewise.
50259         (end_locale_structure): Likewise.
50260         (start_locale_prelude): Likewise.
50261         (end_locale_prelude): Likewise.
50262         (write_locale_data): Take locale_file structure rather than an
50263         iovec.
50264         * locale/programs/locfile.h: Include "obstack.h".
50265         (struct locale_file): Change to store locale file contents instead
50266         of header.
50267         (init_locale_data): New prototype.
50268         (align_locale_data): Likewise.
50269         (add_locale_empty): Likewise.
50270         (add_locale_raw_data): Likewise.
50271         (add_locale_raw_obstack): Likewise.
50272         (add_locale_string): Likewise.
50273         (add_locale_wstring): Likewise.
50274         (add_locale_uint32): Likewise.
50275         (add_locale_uint32_array): Likewise.
50276         (add_locale_char): Likewise.
50277         (start_locale_structure): Likewise.
50278         (end_locale_structure): Likewise.
50279         (start_locale_prelude): Likewise.
50280         (end_locale_prelude): Likewise.
50281         (write_locale_data): Update prototype.
50282         * locale/programs/3level.h (struct TABLE): Remove result field.
50283         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50284         Use new locale_file interface.
50285         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50286         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50287         * locale/programs/ld-address.c (address_output): Use new
50288         locale_file interface.
50289         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50290         NO_ADD_LOCALE.
50291         (collate_finish): Don't call collseq_table_finalize.
50292         (collate_output): Use new locale_file interface.
50293         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50294         in file.
50295         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50296         (TABLE): Move defines earlier in file.
50297         (ELEMENT): Likewise.
50298         (DEFAULT): Likewise.
50299         (wctrans_table_add): Move macro and inline function earlier in
50300         file.
50301         (struct wctype_table): Move type earlier in file.
50302         (add_locale_wctype_table): New static prototype.
50303         (struct locale_ctype_t): Use logical types instead of struct iovec
50304         pointers for members.
50305         (ctype_output): Use new locale_file interface.
50306         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50307         new locale_file interface.
50308         (allocate_arrays): Update for use of new locale_file interface.
50309         * locale/programs/ld-identification.c (identification_output): Use
50310         new locale_file interface.
50311         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50312         * locale/programs/ld-messages.c (messages_output): Likewise.
50313         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50314         * locale/programs/ld-name.c (name_output): Likewise.
50315         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50316         * locale/programs/ld-paper.c (paper_output): Likewise.
50317         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50318         * locale/programs/ld-time.c (time_output): Likewise.
50320 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50322         * benchtests/Makefile: Add memrchr benchmark.
50323         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50324         benchmark as memrchr.
50325         * benchtests/bench-memrchr-ifunc.c: New file.
50326         * benchtests/bench-memrchr.c: New file.
50328 2013-09-06   Will Newton  <will.newton@linaro.org>
50330         * benchtests/Makefile (string-bench): Add memcpy.
50332 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50333             Cong Wang  <amwang@redhat.com>
50335         [BZ #15850]
50336         * sysdeps/unix/sysv/linux/bits/in.h
50337         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50338         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50339         before __USE_KERNEL_IPV6_DEFS uses.
50340         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50341         IPPROTO_BEETPH.
50342         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50343         sockaddr_in6, or ipv6_mreq.
50345 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50347         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50348         memory access for final bytes in some large inputs.
50349         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50351 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50353         * string/test-memrchr.c: New file.
50354         * string/test-memrchr-ifunc.c: New file.
50355         * string/Makefile: Add new memrchr testcase.
50357 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50359         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50360         fanotify_init returns EPERM.
50362 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50364         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50365         errors.
50366         (top level): Treat second token from macro or constant entries for
50367         allowed headers as allowed.
50368         * include/complex.h: Condition internal declarations on
50369         [!_ISOMAC].
50370         * include/fenv.h: Condition include of <stdbool.h> and internal
50371         declarations on [!_ISOMAC].
50373 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50375         [BZ #15923]
50376         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50378 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50380         * configure.in (--enable-versioning): Remove configure option.
50381         (libc_cv_asm_symver_directive): Remove configure test.
50382         (libc_cv_ld_version_script_option): Likewise.
50383         (VERSIONING): Remove variable and AC_SUBST.
50384         (DO_VERSIONING): Remove AC_DEFINE.
50385         * configure: Regenerated.
50386         * config.h.in (DO_VERSIONING): Remove macro.
50387         * Makerules [$(versioning) = yes]: Change conditionals to
50388         [$(build-shared) = yes].
50389         * config.make.in (versioning): Remove variable.
50390         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50391         [$(build-shared) = yes].
50392         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50393         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50394         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50395         [$(build-shared) = yes].
50396         * extra-lib.mk [$(versioning) = yes]: Likewise.
50397         * hurd/Makefile [$(versioning) = yes]: Likewise.
50398         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50399         [SHARED].
50400         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50401         [SHARED].
50402         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50403         [SHARED && !NO_HIDDEN].
50404         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50405         [SHARED].
50406         [SHARED && DO_VERSIONING]: Likewise..
50407         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50408         [$(build-shared) = yes].
50409         * manual/install.texi (--disable-versioning): Remove
50410         documentation.
50411         * INSTALL: Regenerated.
50412         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50413         to [SHARED].
50414         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50415         [$(build-shared) = yes].
50416         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50417         * sysdeps/i386/i686/multiarch/strstr-c.c
50418         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50419         [SHARED && !NO_HIDDEN].
50420         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50421         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50422         * sysdeps/powerpc/powerpc32/dl-machine.c
50423         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50424         * sysdeps/powerpc/powerpc32/sysdep.h
50425         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50426         to [SHARED && PIC && !NO_HIDDEN].
50427         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50428         conditional to [SHARED].
50430 2013-09-04   Will Newton  <will.newton@linaro.org>
50432         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50433         * benchtests/bench-string.h: Include bench-timing.h instead
50434         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50435         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50436         call to HP_TIMING_DIFF_INIT.
50437         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50438         instead of hp-timing.h macros.
50439         * benchtests/bench-memchr.c: Likewise.
50440         * benchtests/bench-memcmp.c: Likewise.
50441         * benchtests/bench-memcpy.c: Likewise.
50442         * benchtests/bench-memmem.c: Likewise.
50443         * benchtests/bench-memmove.c: Likewise.
50444         * benchtests/bench-memset.c: Likewise.
50445         * benchtests/bench-rawmemchr.c: Likewise.
50446         * benchtests/bench-strcasecmp.c: Likewise.
50447         * benchtests/bench-strcasestr.c: Likewise.
50448         * benchtests/bench-strcat.c: Likewise.
50449         * benchtests/bench-strchr.c: Likewise.
50450         * benchtests/bench-strcmp.c: Likewise.
50451         * benchtests/bench-strcpy.c: Likewise.
50452         * benchtests/bench-strcpy_chk.c: Likewise.
50453         * benchtests/bench-strlen.c: Likewise.
50454         * benchtests/bench-strncasecmp.c: Likewise.
50455         * benchtests/bench-strncat.c: Likewise.
50456         * benchtests/bench-strncmp.c: Likewise.
50457         * benchtests/bench-strncpy.c: Likewise.
50458         * benchtests/bench-strnlen.c: Likewise.
50459         * benchtests/bench-strpbrk.c: Likewise.
50460         * benchtests/bench-strrchr.c: Likewise.
50461         * benchtests/bench-strspn.c: Likewise.
50462         * benchtests/bench-strstr.c: Likewise.
50464 2013-09-04  Will Newton  <will.newton@linaro.org>
50466         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50468 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50470         [BZ #15427]
50471         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50472         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50473         * math/libm-test.inc (lgamma_test_data): Add more tests.
50474         * sysdeps/i386/fpu/libm-test-ulps: Update.
50475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50477 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50479         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50481         Add ifunc.
50482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50483         Add strcmp-sse2-unaligned
50484         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50486 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50488         * Versions.def (libc): Add GLIBC_2.19.
50490 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50492         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50493         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50495 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50497         [BZ #14155]
50498         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50499         intermediate calculations in recurrence.
50500         (__ieee754_ynf): Likewise.
50501         * math/libm-test.inc (jn_test_data): Do not allow spurious
50502         underflow exception.  Add more tests.
50503         (yn_test_data): Add more tests.
50504         * sysdeps/i386/fpu/libm-test-ulps: Update.
50505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50507 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50509         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50511 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50513         * csu/init-first.c: Fix then/than typos.
50514         * locale/programs/ld-collate.c: Likewise.
50515         * locale/programs/linereader.h: Likewise.
50516         * manual/charset.texi: Likewise.
50517         * manual/filesys.texi: Likewise.
50518         * manual/stdio.texi: Likewise.
50519         * manual/string.texi: Likewise.
50520         * stdlib/fmtmsg.c: Likewise.
50521         * sysdeps/i386/stpncpy.S: Likewise.
50522         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50523         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50524         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50525         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50527 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50529         * elf/dl-open.c: Fix typos.
50530         * iconvdata/gbbig5.c: Likewise.
50531         * iconvdata/iso-2022-jp.c: Likewise.
50532         * iconv/gconv_int.h: Likewise.
50533         * iconv/loop.c: Likewise.
50534         * nis/rpcsvc/nis.h: Likewise.
50535         * resolv/ns_name.c: Likewise.
50536         * stdio-common/vfscanf.c: Likewise.
50537         * streams/stropts.h: Likewise.
50538         * sunrpc/rpc_thread.c: Likewise.
50539         * sysdeps/i386/strpbrk.S: Likewise.
50540         * sysdeps/ieee754/k_standard.c: Likewise.
50541         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50543         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50544         * sysdeps/mach/hurd/profil.c: Likewise.
50545         * sysdeps/s390/dl-procinfo.h: Likewise.
50546         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50547         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50548         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50549         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50550         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50552 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50554         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50557 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50559         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50560         aix specific files.
50561         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50562         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50563         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50564         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50565         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50566         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50567         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50568         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50570 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50571             Roland McGrath  <roland@hack.frob.com>
50573         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50574         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50576 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50578         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50579         __executable_start symbol instead of _start.
50581 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50583         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50584         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50585         Move macros to...
50586         * sysdeps/gnu/ldsodefs.h: ... this new file.
50588         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50589         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50590         instead of ELFOSABI_LINUX.
50592         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50593         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50594         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50595         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50596         Likewise.
50597         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50598         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50599         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50600         Likewise.
50601         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50602         (ibm_extended_long_double): Add ieee_nan member.
50603         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50604         (do_test): New function.
50606         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50607         TEST_TRUNC.
50608         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50609         functions, renamed from truncdfsf_test, trunctfsf_test,
50610         trunctfdf_test.
50611         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50612         functions.
50613         (do_test): Run all these.
50615 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50617         * argp/argp-help.c: Fix typos.
50618         * argp/argp-parse.c: Likewise.
50619         * debug/backtracesyms.c: Likewise.
50620         * elf/elf.h: Likewise.
50621         * malloc/malloc.c: Likewise.
50622         * nis/nis_print.c: Likewise.
50623         * resolv/res_comp.c: Likewise.
50624         * stdlib/stdlib.h: Likewise.
50625         * sunrpc/clnt_tcp.c: Likewise.
50626         * sunrpc/clnt_udp.c: Likewise.
50627         * sunrpc/clnt_unix.c: Likewise.
50628         * sysdeps/unix/bsd/ptsname.c: Likewise.
50629         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50630         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50632         Likewise.
50633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50634         Likewise.
50635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50636         Likewise.
50637         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50639 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50641         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50644 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50646         [BZ #15897]
50647         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50648         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50649         ($(objpfx)bug-dl-leaf): New rule.
50650         ($(objpfx)bug-dl-leaf.so): Likewise.
50651         ($(objpfx)bug-dl-leaf.out): Likewise.
50652         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50653         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50654         * dlfcn/bug-dl-leaf.c: New test.
50655         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50656         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50657         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50658         (dlclose): Likewise.
50659         (dlmopen): Likewise.
50661 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50663         * include/netdb.h [!_ISOMAC]:
50664         Don't include <tls.h>.
50665         (h_errno, __libc_h_errno): Move declaration and macros out of
50666         [_LIBC_REENTRANT].
50668         * include/resolv.h [_RESOLV_H_]:
50669         Don't include <tls.h>.
50670         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50671         * resolv/res_libc.c: Don't include <tls.h>.
50672         (_res): Use __attribute__ ((nocommon)) in place of
50673         __attribute__ ((section (".bss"))).
50675         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50676         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50678         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50680         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50681         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50683         * resolv/res_mkquery.c: Include <sys/time.h>.
50685         * inet/ifreq.c: Moved to ...
50686         * sysdeps/unix/ifreq.c: ... here.
50687         * inet/ifreq.c: New file, true stub version.
50689         * socket/sa_len.c: New file.
50690         * socket/Makefile (aux): Add it.
50691         * sysdeps/unix/sysv/linux/Makefile
50692         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50693         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50694         and #include <socket/sa_len.c>.
50695         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50696         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50698         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50699         * bits/socket.h: ... here.
50701         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50702         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50703         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50705 2013-08-27  Andreas Schwab  <schwab@suse.de>
50707         [BZ #15736]
50708         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50709         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50710         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50711         * string/test-strcasecmp.c (test_main): Run tests in several
50712         locales.
50713         * string/test-strncasecmp.c (test_main): Likewise.
50715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50716         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50717         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50719         (__strncasecmp_ssse3) [PIC]: Likewise.
50721 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50723         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50725         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50726         instead of explicitly declaring xdecrypt.
50727         * nis/nss_nis/nis-publickey.c: Likewise.
50729 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50731         [BZ #15890]
50732         * nscd/aicache.c: Include res_hconf.h.
50733         (addhstaiX): Initialize res_hconf.
50735 2013-08-26  Andreas Schwab  <schwab@suse.de>
50737         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50738         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50740 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50742         * nscd/aicache.c (addhstaiX): Fix indentation.
50744 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50746         * configure.ac: Quote $build_pt_chown test.
50747         * configure: Regenerated.
50749 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50751         [BZ #15532]
50752         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50753         * math/s_cexpf.c (__cexpf): Likewise.
50754         * math/s_cexpl.c (__cexpl): Likewise.
50755         * math/libm-test.inc (cexp_test_data): Correct expected return
50756         value for NaN + i0.  Add another test.
50758 2013-08-22  David S. Miller  <davem@davemloft.net>
50760         * po/ca.po: Update Catalan translation from translation project.
50761         * po/uk.po: Add Ukrainian translations from translation project.
50763 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50765         [BZ #15797]
50766         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50767         is infinite, not alongside NaN test.
50768         * math/s_fdimf.c (__fdimf): Likewise.
50769         * math/s_fdiml.c (__fdiml): Likewise.
50770         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50771         errno is unchanged.
50773 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50775         * argp/argp-help.c: Fix typos.
50776         * crypt/speeds.c: Likewise.
50777         * csu/check_fds.c: Likewise.
50778         * elf/dl-load.c: Likewise.
50779         * elf/dl-open.c: Likewise.
50780         * elf/reldep3.c: Likewise.
50781         * elf/reldep.c: Likewise.
50782         * elf/sprof.c: Likewise.
50783         * iconv/iconv_charmap.c: Likewise.
50784         * iconv/skeleton.c: Likewise.
50785         * iconv/strtab.c: Likewise.
50786         * io/lockf64.c: Likewise.
50787         * libio/libioP.h: Likewise.
50788         * resolv/gai_notify.c: Likewise.
50789         * resolv/ns_name.c: Likewise.
50790         * resolv/ns_samedomain.c: Likewise.
50791         * resolv/res_send.c: Likewise.
50792         * stdlib/random.c: Likewise.
50793         * sunrpc/rpc/xdr.h: Likewise.
50794         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50795         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50796         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50797         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50798         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50799         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50801         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50802         * sysdeps/mach/hurd/check_fds.c: Likewise.
50803         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50804         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50805         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50806         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50807         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50808         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50809         * sysdeps/pthread/aio_notify.c: Likewise.
50810         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50811         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50812         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50813         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50814         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50816 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50818         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50819         version if bit_Slow_SSE4_2 is set.
50820         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50821         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50823 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50825         [BZ #15867]
50826         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50827         trampoline stack frame information.
50828         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50829         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50830         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50831         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50832         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50833         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50834         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50835         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50836         sa_flags value.
50837         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50838         interrupting a syscall and set with option SA_SIGINFO.
50840 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50842         [BZ #15531]
50843         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50844         argument is infinite.
50845         * math/s_cprojf.c (__cprojf): Likewise.
50846         * math/s_cprojl.c (__cprojl): Likewise.
50847         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50848         * math/libm-test.inc (cproj_test_data): Add more tests.
50850         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50852         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50853         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50854         size.  Use __ffs to determine corresponding shift.
50856 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50857             Roland McGrath  <roland@hack.frob.com>
50859         * Makefile (INSTALL): Remove trailing blank lines from output of
50860         makeinfo.
50862 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50864         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50865         Align 32 bit compat elf_greg to 8 bytes.
50867 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50869         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50871 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50873         * string/strcoll_l.c (coll_seq): New structure.
50874         (get_next_seq_cached): New function.
50875         (get_next_seq): New function.
50876         (do_compare): New function.
50877         (STRCOLL): Use GNU style definition.  Simplify implementation
50878         by using get_next_seq, get_next_seq_cached and do_compare.
50880 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50882         [BZ #14699]
50883         CVE-2013-4237
50884         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50885         member.
50886         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50887         member.
50888         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50889         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50890         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50891         conditional.
50892         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50893         GETDENTS_64BIT_ALIGNED.
50894         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50895         * manual/filesys.texi (Reading/Closing Directory): Document
50896         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50897         strongly.
50898         * manual/conf.texi (Limits for Files): Add portability note to
50899         NAME_MAX, PATH_MAX.
50900         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50902 2013-08-13  Andreas Schwab  <schwab@suse.de>
50904         [BZ #15749]
50905         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50906         of fabs.
50907         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50908         LDBL_MAX_EXP >= 16384]: Add tests for it.
50910 2013-08-12  David S. Miller  <davem@davemloft.net>
50912         * version.h (RELEASE): Set to "development".
50913         (VERSION): Set to "2.18.90".
50914         * NEWS: Add 2.19 section.
50916 2013-08-03  David S. Miller  <davem@davemloft.net>
50918         * po/ko.po: Update Korean translation from translation project.
50920 2013-08-01  David S. Miller  <davem@davemloft.net>
50922         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50923         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50924         Bilka.
50926 2013-07-30  David S. Miller  <davem@davemloft.net>
50928         * po/fr.po: Update French translation from translation project.
50930 2013-07-28  David S. Miller  <davem@davemloft.net>
50932         * po/cs.po: Update Czech translation from translation project.
50934         * po/sv.po: Update Swedish translation from translation project.
50936 2013-07-27  David S. Miller  <davem@davemloft.net>
50938         * po/eo.po: Update Esperanto translation from translation project.
50940         * po/vi.po: Update Vietnamese translation from translation project.
50942         * po/de.po: Update German translation from translation project.
50944 2013-07-26  David S. Miller  <davem@davemloft.net>
50946         * po/bg.po: Update Bulgarian translation from translation project.
50948         * po/nl.po: Update Dutch translation from translation project.
50949         * po/pl.po: Update Polish translation from translation project.
50950         * po/ru.po: Update Russian translation from translation project.
50952 2013-07-24  David S. Miller  <davem@davemloft.net>
50954         * po/libc.pot: Update.
50956 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50958         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50959         variable page size.
50960         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50961         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50962         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50964 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50966         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50968 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50969             Andreas Schwab  <schwab@suse.de>
50970             Roland McGrath  <roland@hack.frob.com>
50971             Joseph Myers  <joseph@codesourcery.com>
50972             Carlos O'Donell  <carlos@redhat.com>
50974         [BZ #15755]
50975         * config.h.in: Define HAVE_PT_CHOWN.
50976         * config.make.in (build-pt-chown): New variable.
50977         * configure.in (--enable-pt_chown): New configure option.
50978         * configure: Regenerate.
50979         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50980         build-pt-chown is enabled.
50981         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50982         pt_chown to fix pty ownership.
50983         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50984         CLOSE_ALL_FDS.
50985         * manual/install.texi (Configuring and compiling): Mention
50986         --enable-pt_chown. Add @findex for grantpt.
50987         * INSTALL: Regenerate.
50989 2013-07-20  David S. Miller  <davem@davemloft.net>
50991         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50992         difference between 32-bit and 64-bit.
50994 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50996         [BZ #15711]
50997         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50998         Avoid system header dependency with -ffreestanding.
50999         ($(objpfx)bits/syscall%d): Likewise.
51001 2013-07-13  David S. Miller  <davem@davemloft.net>
51003         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51004         underflows from atanl/atan2l due to bug 15319.
51005         (casinh_test_data): Likewise.
51007 2013-07-07  David S. Miller  <davem@davemloft.net>
51009         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51011 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51013         * sysdeps/i386/fpu/libm-test-ulps: Update.
51014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51016 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51018         * configure.in (--enable-lock-elision): Fix message text.
51019         * INSTALL: Regenerate.
51020         * configure: Regenerate.
51022 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51026 2013-07-03  Andreas Jaeger  <aj@suse.de>
51028         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51029         define.
51030         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51031         (ptrace_peeksiginfo_args): Add.
51032         (__ptrace_peeksiginfo_flags): Add.
51033         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51034         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51035         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51037 2013-07-03  Allan McRae  <allan@archlinux.org>
51039         * sysdeps/i386/fpu/libm-test-ulps: Update.
51041 2013-07-02  David S. Miller  <davem@davemloft.net>
51043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51045 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51049 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51051         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51054 2013-07-02  Andi Kleen <ak@linux.intel.com>
51056         * config.h.in (ENABLE_LOCK_ELISION): Add.
51057         * configure.in (--enable-lock-elision): Add option.
51058         * manual/install.texi: Document --enable lock elision.
51059         * configure: Regenerate
51060         * INSTALL: Regenerate.
51062 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51064         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51065         SSE4.2 strcasecmp for libc.a.
51066         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51068 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51070         [BZ #13304]
51071         * soft-fp/op-common.h (_FP_FMA): New macro.
51072         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51073         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51074         (_FP_MUL_MEAT_1_imm): ... here.
51075         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51076         (_FP_MUL_MEAT_1_wide): ... here.
51077         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51078         (_FP_MUL_MEAT_1_hard): ... here.
51079         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51080         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51081         (_FP_MUL_MEAT_2_wide): ... here.
51082         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51083         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51084         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51085         (_FP_MUL_MEAT_2_gmp): ... here.
51086         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51087         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51088         (_FP_MUL_MEAT_4_wide): ... here.
51089         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51090         (_FP_MUL_MEAT_4_gmp): ... here.
51091         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51092         (_FP_WFRACBITS_DW_S): Likewise.
51093         (_FP_WFRACXBITS_DW_S): Likewise.
51094         (_FP_HIGHBIT_DW_S): Likewise.
51095         (FP_FMA_S): Likewise.
51096         (_FP_FRAC_HIGH_DW_S): Likewise.
51097         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51098         (_FP_WFRACBITS_DW_D): Likewise.
51099         (_FP_WFRACXBITS_DW_D): Likewise.
51100         (_FP_HIGHBIT_DW_D): Likewise.
51101         (FP_FMA_D): Likewise.
51102         (_FP_FRAC_HIGH_DW_D): Likewise.
51103         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51104         (_FP_WFRACBITS_DW_E): Likewise.
51105         (_FP_WFRACXBITS_DW_E): Likewise.
51106         (_FP_HIGHBIT_DW_E): Likewise.
51107         (FP_FMA_E): Likewise.
51108         (_FP_FRAC_HIGH_DW_E): Likewise.
51109         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51110         (_FP_WFRACBITS_DW_Q): Likewise.
51111         (_FP_WFRACXBITS_DW_Q): Likewise.
51112         (_FP_HIGHBIT_DW_Q): Likewise.
51113         (FP_FMA_Q): Likewise.
51114         (_FP_FRAC_HIGH_DW_Q): Likewise.
51115         * soft-fp/fmasf4.c: New file.
51116         * soft-fp/fmadf4.c: Likewise.
51117         * soft-fp/fmatf4.c: Likewise.
51119 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51122         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51123         Silvermont.
51124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51125         macro.
51126         (index_Slow_SSE4_2): Likewise.
51127         (index_Prefer_PMINUB_for_stringop): Likewise.
51128         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51129         bit_Slow_SSE4_2 is set.
51130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51131         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51133 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51135         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51136         rtld_global._dl_hwcap2.
51137         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51138         POWER8.
51139         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51140         POWER8 feature descriptions defined in _dl_hwcap2.
51141         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51142         string handling for POWER8 feature bits.
51143         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51144         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51145         _dl_powerpc_cap_flags.
51146         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51147         * sysdeps/powerpc/rtld-global-offsets.sym
51148         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51149         _dl_hwcap2 in the rtld_global_ro structure.
51151 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51153         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51154         hardware capabilities in support of AT_HWCAP2.
51155         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51156         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51157         GLRO(dl_hwcap2).
51158         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51159         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51160         explicitly the unknown a_type display mechanism is used.
51161         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51162         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51163         struct member.
51164         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51165         to macro prototype for AT_HWCAP2 support.
51166         * sysdeps/i386/dl-procinfo.h: Likewise.
51167         * sysdeps/s390/dl-procinfo.h: Likewise.
51168         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51169         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51170         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51171         return -1 for unknown a_type display fallback.
51172         * sysdeps/sparc/dl-procinfo.h: Likewise.
51173         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51174         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51176 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51178         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51179         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51181 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51183         [BZ #12492]
51184         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51185         mprotect making __stack_prot writable.
51187 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51188             Joseph Myers  <joseph@codesourcery.com>
51190         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51191         as being properly aligned.
51193 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51195         * dlfcn/modstatic5.c: New file.
51196         * dlfcn/tststatic5.c: New file.
51197         * dlfcn/Makefile (tests): Add tststatic5.
51198         (tests-static): Likewise.
51199         (modules-names): Add modstatic5.
51200         (tststatic5-ENV): New variable.
51201         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51203         [BZ #15022]
51204         * elf/dl-support.c (_dl_main_map): New variable.
51205         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51206         (_dl_nns, _dl_load_adds): Set to 1.
51207         (_dl_initial_searchlist): Refer to _dl_main_map.
51208         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51209         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51210         call to _dl_get_origin.
51211         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51212         around call_map.
51213         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51214         * dlfcn/modstatic3.c: New file.
51215         * dlfcn/tststatic3.c: New file.
51216         * dlfcn/tststatic4.c: New file.
51217         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51218         (tests-static): Likewise.
51219         (modules-names): Add modstatic3.
51220         (tststatic3-ENV, tststatic4-ENV): New variables.
51221         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51222         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51224 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51226         * configure.in (CC): Require GCC version 4.4 or later.
51227         * configure: Regenerated.
51228         * manual/install.texi (Tools for Compilation): Update GCC version
51229         requirement.
51230         * INSTALL: Regenerated.
51232 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51234         [BZ #15674]
51235         * string/test-memcmp.c (check2): New.
51236         (main): Call check2.
51238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51240 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51242         [BZ #15022]
51243         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51244         over to...
51245         (dl_open_worker) [!SHARED]: ... here.
51247 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51249         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51251 2013-06-25  Richard Henderson  <rth@redhat.com>
51253         * locale/programs/locarchive.c: Include <libc-internal.h>
51255 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51257         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51258         trailing whitespace removed.
51260 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51262         [BZ #10283]
51263         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51264         * locale/programs/locarchive.c: Include libc-mmap.h.
51265         (prepare_address_space): Take two new outputs (the mmap base and len).
51266         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51267         values.
51268         (create_archive): Declare new mmap base and len values for
51269         prepare_address_space, and store the result in ah.
51270         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51271         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51272         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51273         Declare new mmap base and len values for
51274         prepare_address_space, and store the result in new_ah.
51275         (open_archive): Declare new mmap base and len values for
51276         prepare_address_space, and store the result in ah.
51277         (close_archive): If ah->mmap_base is not NULL, use that and
51278         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51279         * sysdeps/generic/libc-mmap.h: New file.
51281 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51283         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51284         (ALIGN_UP): Likewise.
51285         (PTR_ALIGN_DOWN): Likewise.
51286         (PTR_ALIGN_UP): Likewise.
51288 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51290         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51291         entry mapped to PPC_PLATFORM_POWER8.
51292         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51293         POWER8.
51294         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51295         (_dl_string_platform): Add case for exporting platform position for
51296         POWER8.
51297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51298         search path to sysdeps/powerpc/powerpc32/power8 directory.
51299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51300         search path to sysdeps/powerpc/powerpc64/power8 directory.
51301         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51302         power7 directories.
51303         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51304         power7 directories.
51306 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51308         * INSTALL: Regenerate.
51310         * nscd/connections.c (nscd_init): Fix comment.
51312 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51314         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51316         [BZ #15667]
51317         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51318         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51320 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51322         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51323         DL_DST_REQ_STATIC.
51324         (DL_DST_REQ_STATIC): Remove macro.
51326 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51328         [BZ #7006]
51329         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51330         with a shift of 0 bits.
51332 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51334         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51335         $(tststatic-ENV).
51337 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51339         [BZ #15655]
51340         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51342 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51344         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51345         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51346         accepts -fno-tree-loop-distribute-patterns.
51347         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51348         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51349         recursive call.
51350         * string/memset.c (memset): Likewise.
51351         * string/test-memmove.c (simple_memmove): Disable loop transformation
51352         to library calls.
51353         * string/test-memset.c (simple_memset): Likewise.
51354         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51355         * benchtests/bench-memset.c (simple_memset): Likewise.
51356         * configure: Regenerated.
51358 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51360         * math/test-misc.c (main): Ignore fesetround failure when failures
51361         of subsequent rounding tests would be ignored.
51363         [BZ #15654]
51364         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51365         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51366         * math/fegetenv.c (__fegetenv): Return 0.
51367         * math/fegetexcept.c (fegetexcept): Return 0.
51368         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51369         FE_TONEAREST.
51370         * math/feholdexcpt.c (feholdexcept): Return 0.
51371         * math/fesetenv.c (__fesetenv): Return 0.
51372         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51373         argument FE_TONEAREST.
51374         * math/feupdateenv.c (__feupdateenv): Return 0.
51375         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51377 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51379         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51380         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51381         ($(objpfx)rtld-%.os rules): Use them.
51383 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51385         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51386         fields.
51388 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51390         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51391         length of target pattern, then descending length of dependency pattern.
51392         * configure.in (AWK): Require gawk 3.1.2 or newer.
51393         * manual/install.texi (Tools for Compilation): Say that we do.
51394         * configure: Regenerated.
51396         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51397         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51398         * scripts/sysd-rules.awk: ... this new script.
51399         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51400         than a glob-style pattern.
51402 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51404         * math/test-misc.c (main): Do not treat incorrectly rounded
51405         conversions as failure unless ROUNDING_TESTS passes.
51407 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51409         [BZ #15631]
51410         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51411         restore exception state around main square root computation, then
51412         check for inexactness explicitly.
51414         * math/libm-test.inc (fma_test_data): Add another test.
51416 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51418         * manual/threads.texi (Non-POSIX Extensions): New document
51419         node.  Document pthread_getattr_default_np and
51420         pthread_setattr_default_np.
51422         * Versions.def (libpthread): Add GLIBC_2.18.
51423         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51425         Likewise.
51426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51427         Likewise.
51428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51429         Likewise.
51430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51431         Likewise.
51432         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51433         Likewise.
51434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51435         Likewise.
51436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51437         Likewise.
51438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51439         Likewise.
51440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51441         Likewise.
51443 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51446         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51448 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51449             H.J. Lu  <hjl.tools@gmail.com>
51451         [BZ #15627]
51452         * sysdeps/x86_64/rtld-memset.c: Remove file.
51453         * sysdeps/x86_64/rtld-memset.S: New file.
51455 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51457         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51458         (test_in_one_mode): Take arguments for whether the rounding mode
51459         is supported for each floating-point type.
51460         (do_test): Pass new arguments to test_in_one_mode using
51461         ROUNDING_TESTS.
51463 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51465         * posix/tst-waitid.c (do_test): Distinguish different instances of
51466         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51467         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51468         before entering the kernel for waitpid.
51470 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51472         * NEWS: Fix note on clock function precision.  Text by Roland
51473         McGrath.
51475 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51477         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51478         it into place only when and if the sanity check passes.
51480 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51482         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51483         output for whether conversion result is exact.  Take argument
51484         indicating whether type is IBM long double.
51485         (round_for_all): Change need_exact field to ibm_ld.
51486         * stdlib/tst-strtod-round.c (struct exactness): New type.
51487         (struct test): Change bool ld_ok field to struct exactness exact.
51488         (TEST): Update all definitions for change to field.
51489         (tests): Regenerate array contents.
51490         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51491         field value.  Check for IBM long double here.
51492         (do_test): Update calls to test_in_one_mode.
51494 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51496         [BZ #12515]
51497         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51498         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51500 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51502         [BZ #15605]
51503         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51504         generated by the compiler on loop optimizations.
51505         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51506         general definitions.
51508 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51510         * math/bug-nextafter.c: Include <math-tests.h>.
51511         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51512         the relevant type.
51513         * math/bug-nexttoward.c: Include <math-tests.h>.
51514         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51515         the relevant type.
51516         * math/test-misc.c: Include <math-tests.h>.
51517         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51518         the relevant type.
51520 2013-06-12  Andreas Jaeger  <aj@suse.de>
51522         * po/ia.po: Update Interlingua translation from translation
51523         project.
51525 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51527         * include/fenv.h: Include stdbool.h.
51528         (struct rm_ctx): New structure.
51529         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51530         Define macro.
51531         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51532         (SET_RESTORE_ROUNDF): Likewise.
51533         (SET_RESTORE_ROUNDL): Likewise.
51534         (SET_RESTORE_ROUND_NOEX): Likewise.
51535         (SET_RESTORE_ROUND_NOEXF): Likewise.
51536         (SET_RESTORE_ROUND_NOEXL): Likewise.
51537         (SET_RESTORE_ROUND_53BIT): Likewise.
51538         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51539         (libc_feresetround_noexf_ctx): Likewise.
51540         (libc_feresetround_noexl_ctx): Likewise.
51541         (libc_feholdsetround_53bit_ctx): Likewise.
51542         (libc_feresetround_53bit_ctx): Likewise.
51543         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51544         (libc_feholdexcept_setround_sse_ctx): New function.
51545         (libc_fesetenv_sse_ctx): Likewise.
51546         (libc_feupdateenv_sse_ctx): Likewise.
51547         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51548         (libc_feholdexcept_setround_387_ctx): Likewise.
51549         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51550         (libc_feholdsetround_387_prec_ctx): Likewise.
51551         (libc_feholdsetround_387_ctx): Likewise.
51552         (libc_feholdsetround_387_53bit_ctx): Likewise.
51553         (libc_feholdsetround_sse_ctx): Likewise.
51554         (libc_feresetround_sse_ctx): Likewise.
51555         (libc_feresetround_387_ctx): Likewise.
51556         (libc_feupdateenv_387_ctx): Likewise.
51557         (libc_feholdexcept_setroundf_ctx): Define macro.
51558         (libc_fesetenvf_ctx): Likewise.
51559         (libc_feupdateenvf_ctx): Likewise.
51560         (libc_feholdsetroundf_ctx): Likewise.
51561         (libc_feresetroundf_ctx): Likewise.
51562         (libc_feholdexcept_setround_ctx): Likewise.
51563         (libc_fesetenv_ctx): Likewise.
51564         (libc_feupdateenv_ctx): Likewise.
51565         (libc_feholdsetround_ctx): Likewise.
51566         (libc_feresetround_ctx): Likewise.
51567         (libc_feholdexcept_setroundl_ctx): Likewise.
51568         (libc_feupdateenvl_ctx): Likewise.
51569         (libc_feholdsetroundl_ctx): Likewise.
51570         (libc_feresetroundl_ctx): Likewise.
51571         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51572         (libc_feresetround_53bit_ctx): Likewise.
51574 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51576         * locale/iso-639.def: Convert to UTF-8.
51578 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51580         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51581         (EXCEPTION_TESTS_double): Likewise.
51582         (EXCEPTION_TESTS_long_double): Likewise.
51583         (EXCEPTION_TESTS): Likewise.
51584         * math/libm-test.inc (test_exceptions): Only test exceptions if
51585         EXCEPTION_TESTS (FLOAT).
51587 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51589         * benchtests/Makefile (string-bench): Add strcpy_chk and
51590         stpcpy_chk.
51591         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51592         * benchtests/bench-stpcpy_chk.c: New file.
51593         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51594         * benchtests/bench-strcpy_chk.c: New file.
51595         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51596         code.
51597         (do_test): Likewise.
51599 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51601         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51602         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51603         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51604         with tabs where appropriate.
51605         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51606         dl-procinfo.h.
51607         [PPC_PLATFORM_PPC440]: Likewise.
51608         [PPC_PLATFORM_PPC464]: Likewise.
51609         [PPC_PLATFORM_PPC476]: Likewise.
51610         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51611         ppc464, and ppc476 platform strings merging from ports/
51612         dl-procinfo.h.
51614 2013-06-11  Andreas Schwab  <schwab@suse.de>
51616         [BZ #14991]
51617         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51618         (from_ucs4_idx): Regenerate.
51619         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51620         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51621         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51622         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51623         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51624         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51625         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51626         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51627         from FROM_LOOP and TO_LOOP specific macros.
51628         (BODY): Handle combining characters.
51629         * iconvdata/BIG5HKSCS.irreversible: Update.
51630         * iconvdata/BIG5HKSCS.precomposed: New file.
51631         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51632         characters.
51633         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51635 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51637         * include/sys/time.h: Fix indentation and add copyright header.
51639         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51640         (do_test): Likewise.
51641         * string/test-memchr.c (do_one_test): Likewise.
51642         (do_test): Likewise.
51643         * string/test-memcmp.c (do_one_test): Likewise.
51644         (do_test): Likewise.
51645         * string/test-memcpy.c (do_one_test): Likewise.
51646         (do_test): Likewise.
51647         * string/test-memmem.c (do_one_test): Likewise.
51648         (do_test): Likewise.
51649         (do_random_tests): Likewise.
51650         * string/test-memmove.c (do_one_test): Likewise.
51651         (do_test): Likewise.
51652         * string/test-memset.c (do_one_test): Likewise.
51653         (do_test): Likewise.
51654         * string/test-rawmemchr.c (do_one_test): Likewise.
51655         (do_test): Likewise.
51656         * string/test-strcasecmp.c (do_one_test): Likewise.
51657         (do_test): Likewise.
51658         * string/test-strcasestr.c (do_one_test): Likewise.
51659         (do_test): Likewise.
51660         * string/test-strcat.c (do_one_test): Likewise.
51661         (do_test): Likewise.
51662         * string/test-strchr.c (do_one_test): Likewise.
51663         (do_test): Likewise.
51664         * string/test-strcmp.c (do_one_test): Likewise.
51665         (do_test): Likewise.
51666         * string/test-strcpy.c (do_one_test): Likewise.
51667         (do_test): Likewise.
51668         * string/test-string.h: Likewise.
51669         (test_init): Likewise.
51670         * string/test-strlen.c (do_one_test): Likewise.
51671         (do_test): Likewise.
51672         * string/test-strncasecmp.c (do_one_test): Likewise.
51673         (do_test): Likewise.
51674         * string/test-strncat.c (do_one_test): Likewise.
51675         (do_test): Likewise.
51676         * string/test-strncmp.c (do_one_test): Likewise.
51677         (do_test_limit): Likewise.
51678         (do_test): Likewise.
51679         * string/test-strncpy.c (do_one_test): Likewise.
51680         (do_test): Likewise.
51681         * string/test-strnlen.c (do_one_test): Likewise.
51682         (do_test): Likewise.
51683         * string/test-strpbrk.c (do_one_test): Likewise.
51684         (do_test): Likewise.
51685         * string/test-strrchr.c (do_one_test): Likewise.
51686         (do_test): Likewise.
51687         * string/test-strspn.c (do_one_test): Likewise.
51688         (do_test): Likewise.
51689         * string/test-strstr.c (do_one_test): Likewise.
51690         (do_test): Likewise.
51692         * benchtests/Makefile (string-bench): Add string benchmarks.
51693         * benchtests/bench-bcopy-ifunc.c: New file.
51694         * benchtests/bench-bcopy.c: New file.
51695         * benchtests/bench-bzero-ifunc.c: New file.
51696         * benchtests/bench-bzero.c: New file.
51697         * benchtests/bench-memccpy-ifunc.c: New file.
51698         * benchtests/bench-memccpy.c: New file.
51699         * benchtests/bench-memchr-ifunc.c: New file.
51700         * benchtests/bench-memchr.c: New file.
51701         * benchtests/bench-memcmp-ifunc.c: New file.
51702         * benchtests/bench-memcmp.c: New file.
51703         * benchtests/bench-memmem-ifunc.c: New file.
51704         * benchtests/bench-memmem.c: New file.
51705         * benchtests/bench-memmove-ifunc.c: New file.
51706         * benchtests/bench-memmove.c: New file.
51707         * benchtests/bench-mempcpy-ifunc.c: New file.
51708         * benchtests/bench-mempcpy.c: New file.
51709         * benchtests/bench-memset-ifunc.c: New file.
51710         * benchtests/bench-memset.c: New file.
51711         * benchtests/bench-rawmemchr-ifunc.c: New file.
51712         * benchtests/bench-rawmemchr.c: New file.
51713         * benchtests/bench-stpcpy-ifunc.c: New file.
51714         * benchtests/bench-stpcpy.c: New file.
51715         * benchtests/bench-stpncpy-ifunc.c: New file.
51716         * benchtests/bench-stpncpy.c: New file.
51717         * benchtests/bench-strcasecmp-ifunc.c: New file.
51718         * benchtests/bench-strcasecmp.c: New file.
51719         * benchtests/bench-strcasestr-ifunc.c: New file.
51720         * benchtests/bench-strcasestr.c: New file.
51721         * benchtests/bench-strcat-ifunc.c: New file.
51722         * benchtests/bench-strcat.c: New file.
51723         * benchtests/bench-strchr-ifunc.c: New file.
51724         * benchtests/bench-strchr.c: New file.
51725         * benchtests/bench-strchrnul-ifunc.c: New file.
51726         * benchtests/bench-strchrnul.c: New file.
51727         * benchtests/bench-strcmp-ifunc.c: New file.
51728         * benchtests/bench-strcmp.c: New file.
51729         * benchtests/bench-strcpy-ifunc.c: New file.
51730         * benchtests/bench-strcpy.c: New file.
51731         * benchtests/bench-strcspn-ifunc.c: New file.
51732         * benchtests/bench-strcspn.c: New file.
51733         * benchtests/bench-strlen-ifunc.c: New file.
51734         * benchtests/bench-strlen.c: New file.
51735         * benchtests/bench-strncasecmp-ifunc.c: New file.
51736         * benchtests/bench-strncasecmp.c: New file.
51737         * benchtests/bench-strncat-ifunc.c: New file.
51738         * benchtests/bench-strncat.c: New file.
51739         * benchtests/bench-strncmp-ifunc.c: New file.
51740         * benchtests/bench-strncmp.c: New file.
51741         * benchtests/bench-strncpy-ifunc.c: New file.
51742         * benchtests/bench-strncpy.c: New file.
51743         * benchtests/bench-strnlen-ifunc.c: New file.
51744         * benchtests/bench-strnlen.c: New file.
51745         * benchtests/bench-strpbrk-ifunc.c: New file.
51746         * benchtests/bench-strpbrk.c: New file.
51747         * benchtests/bench-strrchr-ifunc.c: New file.
51748         * benchtests/bench-strrchr.c: New file.
51749         * benchtests/bench-strspn-ifunc.c: New file.
51750         * benchtests/bench-strspn.c: New file.
51751         * benchtests/bench-strstr-ifunc.c: New file.
51752         * benchtests/bench-strstr.c: New file.
51754         * benchtests/Makefile: Disable parallel execution of targets.
51755         (string-bench): Add memcpy.
51756         (benchset): New variable to store a list of benchmark sets.
51757         (bench-func): Renamed from bench.
51758         (bench-set): New target.
51759         (bench): Depend on bench-func and bench-set.
51760         * benchtests/README: Add section on benchmark sets.
51761         * benchtests/bench-memcpy-ifunc.c: New file.
51762         * benchtests/bench-memcpy.c: New file.
51763         * benchtests/bench-string.h: New file.
51765 2013-06-11  Andreas Schwab  <schwab@suse.de>
51767         [BZ #15577]
51768         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51769         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51770         values in the triple.
51771         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51772         terminator in the group key.
51774 2013-06-11  Andreas Jaeger  <aj@suse.de>
51776         * po/zh_TW.po: Update Chinese (traditional) translation from
51777         translation project.
51779 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51781         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51782         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51783         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51784         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51785         (clock_getcpuclockid): Likewise.
51786         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51787         Add weak_alias and libc_hidden_def.
51788         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51789         * rt/clock_gettime.c (clock_gettime): Rename to
51790         __clock_gettime.  Add weak_alias and libc_hidden_def.
51791         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51792         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51793         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51794         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51795         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51796         Likewise.
51797         * rt/clock_settime.c (clock_settime): Rename to
51798         __clock_settime.  Add weak_alias and libc_hidden_def.
51799         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51801 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51803         * mach/err_boot.sub: Remove trailing whitespace.
51804         * mach/err_ipc.sub: Likewise.
51805         * mach/err_mach.sub: Likewise.
51807         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51808         (ROUNDING_TESTS_double): Likewise.
51809         (ROUNDING_TESTS_long_double): Likewise.
51810         (ROUNDING_TESTS): Likewise.
51811         * math/libm-test.inc: Include <math-tests.h>.
51812         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51813         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51814         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51815         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51817 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51819         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51820         of assigning.
51822 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51824         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51825         otherwise empty TRANS lines.
51826         * sysdeps/gnu/errlist.c: Regenerated.
51828         * catgets/gencat.c (error_print): Use (void) in function
51829         definition.
51830         * crypt/crypt_util.c (__init_des): Likewise.
51831         * crypt/speeds.c (Stop): Likewise.
51832         (main): Likewise.
51833         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51834         * inet/ruserpass.c (token): Likewise.
51835         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51836         * intl/localealias.c (extend_alias_table): Likewise.
51837         * intl/plural-exp.c (init_germanic_plural): Likewise.
51838         * libio/fcloseall.c (__fcloseall): Likewise.
51839         * libio/genops.c (_IO_flush_all): Likewise.
51840         (_IO_flush_all_linebuffered): Likewise.
51841         (_IO_cleanup): Likewise.
51842         (_IO_iter_begin): Likewise.
51843         (_IO_iter_end): Likewise.
51844         (_IO_list_lock): Likewise.
51845         (_IO_list_unlock): Likewise.
51846         (_IO_list_resetlock): Likewise.
51847         * libio/getchar.c (getchar): Likewise.
51848         * libio/getchar_u.c (getchar_unlocked): Likewise.
51849         * libio/getwchar.c (getwchar): Likewise.
51850         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51851         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51852         * login/getpt.c (__getpt): Likewise.
51853         * login/tst-utmp.c (main): Likewise.
51854         * malloc/hooks.c (__malloc_check_init): Likewise.
51855         * malloc/malloc.c (__malloc_stats): Likewise.
51856         * malloc/mtrace.c (tr_break): Likewise.
51857         (mtrace): Likewise.
51858         (muntrace): Likewise.
51859         * misc/fstab.c (endfsent): Likewise.
51860         * misc/getclktck.c (__getclktck): Likewise.
51861         * misc/getdtsz.c (__getdtablesize): Likewise.
51862         * misc/gethostid.c (gethostid): Likewise.
51863         * misc/getpagesize.c (__getpagesize): Likewise.
51864         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51865         (__get_nprocs): Likewise.
51866         (__get_phys_pages): Likewise.
51867         (__get_avphys_pages): Likewise.
51868         * misc/getttyent.c (getttyent): Likewise.
51869         (setttyent): Likewise.
51870         (endttyent): Likewise.
51871         * misc/getusershell.c (getusershell): Likewise.
51872         (endusershell): Likewise.
51873         (setusershell): Likewise.
51874         (initshells): Likewise.
51875         * misc/hsearch.c (__hdestroy): Likewise.
51876         * misc/sync.c (sync): Likewise.
51877         * misc/syslog.c (closelog_internal): Likewise.
51878         (closelog): Likewise.
51879         * misc/ttyslot.c (ttyslot): Likewise.
51880         * misc/vhangup.c (vhangup): Likewise.
51881         * posix/fork.c (__fork): Likewise.
51882         * posix/getegid.c (__getegid): Likewise.
51883         * posix/geteuid.c (__geteuid): Likewise.
51884         * posix/getgid.c (__getgid): Likewise.
51885         * posix/getpid.c (__getpid): Likewise.
51886         * posix/getppid.c (__getppid): Likewise.
51887         * posix/getuid.c (__getuid): Likewise.
51888         * posix/pause.c (pause): Likewise.
51889         * posix/setpgrp.c (setpgrp): Likewise.
51890         * posix/setsid.c (__setsid): Likewise.
51891         * posix/test-vfork.c (noop): Likewise.
51892         * resolv/gethnamaddr.c (_endhtent): Likewise.
51893         (_gethtent): Likewise.
51894         (ht_endhostent): Likewise.
51895         (gethostent): Likewise.
51896         (dns_service): Likewise.
51897         * stdlib/drand48.c (drand48): Likewise.
51898         * stdlib/lrand48.c (lrand48): Likewise.
51899         * stdlib/mrand48.c (mrand48): Likewise.
51900         * stdlib/rand.c (rand): Likewise.
51901         * stdlib/random.c (__random): Likewise.
51902         * stdlib/setenv.c (clearenv): Likewise.
51903         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51904         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51905         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51906         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51907         (__get_nprocs): Likewise.
51908         (__get_phys_pages): Likewise.
51909         (__get_avphys_pages): Likewise.
51910         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51911         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51912         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51913         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51914         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51915         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51916         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51917         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51918         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51919         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51920         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51921         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51922         * sysdeps/posix/clock.c (clock): Likewise.
51923         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51924         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51925         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51926         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51927         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51929         (__get_nprocs_conf): Likewise.
51930         (__get_phys_pages): Likewise.
51931         (__get_avphys_pages): Likewise.
51932         * time/clock.c (clock): Likewise.
51933         * time/tzset.c (__tzname_max): Likewise.
51935 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51937         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51938         (__bswap_32): Do not use "register".
51939         * crypt/crypt.c (_ufc_doit_r): Likewise.
51940         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51941         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51942         * gmon/gmon.c (__monstartup): Likewise.
51943         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51944         * hurd/hurdmalloc.c (more_memory): Likewise.
51945         (malloc): Likewise.
51946         (free): Likewise.
51947         (realloc): Likewise.
51948         (malloc_fork_prepare): Likewise.
51949         (malloc_fork_parent): Likewise.
51950         (malloc_fork_child): Likewise.
51951         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51952         (_svcauth_des): Likewise.
51953         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51954         * inet/inet_net.c (inet_network): Likewise.
51955         * inet/inet_netof.c (inet_netof): Likewise.
51956         * inet/rcmd.c (__validuser2_sa): Likewise.
51957         * io/fts.c (fts_open): Likewise.
51958         (fts_load): Likewise.
51959         (fts_close): Likewise.
51960         (fts_read): Likewise.
51961         (fts_children): Likewise.
51962         (fts_build): Likewise.
51963         (fts_stat): Likewise.
51964         (fts_sort): Likewise.
51965         (fts_alloc): Likewise.
51966         (fts_lfree): Likewise.
51967         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51968         (_IO_file_xsgetn): Likewise.
51969         (_IO_file_xsgetn_mmap): Likewise.
51970         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51971         (_IO_cookie_write): Likewise.
51972         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51973         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51974         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51975         * malloc/obstack.c (_obstack_begin): Likewise.
51976         (_obstack_begin_1): Likewise.
51977         (_obstack_newchunk): Likewise.
51978         (_obstack_allocated_p): Likewise.
51979         (obstack_free): Likewise.
51980         (_obstack_memory_used): Likewise.
51981         * misc/getttyent.c (getttynam): Likewise.
51982         (getttyent): Likewise.
51983         (skip): Likewise.
51984         (value): Likewise.
51985         * misc/getusershell.c (initshells): Likewise.
51986         * misc/syslog.c (__vsyslog_chk): Likewise.
51987         * misc/ttyslot.c (ttyslot): Likewise.
51988         * nis/nis_hash.c (__nis_hash): Likewise.
51989         * posix/fnmatch_loop.c (FCT): Likewise.
51990         * posix/getconf.c (print_all): Likewise.
51991         (main): Likewise.
51992         * posix/getopt.c (exchange): Likewise.
51993         * posix/glob.c (globfree): Likewise.
51994         (prefix_array): Likewise.
51995         (__glob_pattern_type): Likewise.
51996         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51997         (NS_GET32): Likewise.
51998         (NS_PUT16): Likewise.
51999         (NS_PUT32): Likewise.
52000         * resolv/gethnamaddr.c (getanswer): Likewise.
52001         (gethostbyname2): Likewise.
52002         (gethostbyaddr): Likewise.
52003         (_gethtent): Likewise.
52004         (_gethtbyname2): Likewise.
52005         (_gethtbyaddr): Likewise.
52006         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52007         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52008         * resolv/res_init.c (__res_vinit): Likewise.
52009         (net_mask): Likewise.
52010         * resolv/res_mkquery.c (outchar): Likewise.
52011         (PRINT): Likewise.
52012         * stdio-common/printf_fp.c (outchar): Likewise.
52013         (PRINT): Likewise.
52014         * stdio-common/printf_fphex.c (outchar): Likewise.
52015         (PRINT): Likewise.
52016         * stdio-common/printf_size.c (outchar): Likewise.
52017         (PRINT): Likewise.
52018         * stdio-common/test_rdwr.c (main): Likewise.
52019         * stdio-common/tfformat.c (matches): Likewise.
52020         * stdio-common/vfprintf.c (outchar): Likewise.
52021         (printf_unknown): Likewise.
52022         (buffered_vfprintf): Likewise.
52023         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52024         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52025         (ReadFile): Likewise.
52026         * stdlib/qsort.c (SWAP): Likewise.
52027         (_quicksort): Likewise.
52028         * stdlib/setenv.c (__add_to_environ): Likewise.
52029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52030         * stdlib/strtol_l.c (__strtol_l): Likewise.
52031         * stdlib/tst-strtod.c (main): Likewise.
52032         * stdlib/tst-strtol.c (main): Likewise.
52033         * stdlib/tst-strtoll.c (main): Likewise.
52034         * string/bits/string2.h (__strcmp_cc): Likewise.
52035         (__strcmp_cg): Likewise.
52036         (__strcspn_c1): Likewise.
52037         (__strcspn_c2): Likewise.
52038         (__strcspn_c3): Likewise.
52039         (__strspn_c1): Likewise.
52040         (__strspn_c2): Likewise.
52041         (__strspn_c3): Likewise.
52042         (__strsep_1c): Likewise.
52043         (__strsep_2c): Likewise.
52044         (__strsep_3c): Likewise.
52045         * string/memccpy.c (__memccpy): Likewise.
52046         * string/stpcpy.c (__stpcpy): Likewise.
52047         * string/strcmp.c (strcmp): Likewise.
52048         * string/strrchr.c (strrchr): Likewise.
52049         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52050         Likewise.
52051         * sysdeps/mach/hurd/getcwd.c
52052         (_hurd_canonicalize_directory_name_internal): Likewise.
52053         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52054         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52055         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52056         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52057         Likewise, in both definitions.
52058         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52059         definitions.
52060         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52061         64] (__bswap_64): Likewise.
52062         * time/test_time.c (main): Likewise.
52063         * time/tzfile.c (__tzfile_read): Likewise.
52064         (__tzfile_compute): Likewise.
52065         * time/tzset.c (__tzset_parse_tz): Likewise.
52066         (tzset_internal): Likewise.
52067         (compute_change): Likewise.
52068         * wcsmbs/wcscat.c (__wcscat): Likewise.
52069         * wcsmbs/wcschr.c (wcschr): Likewise.
52070         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52071         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52072         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52073         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52074         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52075         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52076         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52077         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52078         * wcsmbs/wmemset.c (wmemset): Likewise.
52080 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52082         * scripts/config.guess: Update to version 2013-05-16.
52083         * scripts/config.sub: Update to version 2013-04-24.
52084         * scripts/install-sh: Update to version 2011-11-20.07.
52085         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52086         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52088 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52090         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52091         * elf/sln.c: Likewise.
52092         * hurd/hurd/ioctl.h: Likewise.
52093         * hurd/hurdmalloc.c: Likewise.
52094         * hurd/xattr.c: Likewise.
52095         * include/shlib-compat.h: Likewise.
52096         * inet/ruserpass.c: Likewise.
52097         * libio/iofgets_u.c: Likewise.
52098         * libio/iofgetws_u.c: Likewise.
52099         * locale/programs/ld-identification.c: Likewise.
52100         * locale/programs/ld-time.c: Likewise.
52101         * mach/msg-destroy.c: Likewise.
52102         * nss/nss_files/files-netgrp.c: Likewise.
52103         * resolv/res_data.c: Likewise.
52104         * soft-fp/op-1.h: Likewise.
52105         * soft-fp/op-2.h: Likewise.
52106         * soft-fp/op-4.h: Likewise.
52107         * soft-fp/op-common.h: Likewise.
52108         * stdio-common/printf_fphex.c: Likewise.
52109         * stdlib/strtod_l.c: Likewise.
52110         * sunrpc/rpc/clnt.h: Likewise.
52111         * sysdeps/generic/framestate.c: Likewise.
52112         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52113         * sysdeps/i386/bsd-setjmp.S: Likewise.
52114         * sysdeps/i386/__longjmp.S: Likewise.
52115         * sysdeps/i386/setjmp.S: Likewise.
52116         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52117         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52118         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52119         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52120         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52121         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52122         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52123         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52124         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52125         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52126         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52127         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52128         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52129         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52130         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52131         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52132         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52133         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52134         * sysdeps/ieee754/support.c: Likewise.
52135         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52136         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52137         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52138         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52139         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52140         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52141         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52142         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52143         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52144         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52145         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52146         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52147         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52148         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52149         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52150         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52151         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52154 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52156         * posix/transbug.c: Remove executable mode.
52158 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52160         * crypt/speeds.c: Remove trailing whitespace.
52161         * dlfcn/default.c: Likewise.
52162         * elf/ifuncdep2.c: Likewise.
52163         * elf/ifuncmain1.c: Likewise.
52164         * elf/ifuncmain1vis.c: Likewise.
52165         * elf/testobj.h: Likewise.
52166         * elf/tst-stackguard1.c: Likewise.
52167         * gmon/sys/gmon.h: Likewise.
52168         * hurd/hurdmsg.c: Likewise.
52169         * hurd/new-fd.c: Likewise.
52170         * hurd/ports-get.c: Likewise.
52171         * iconvdata/ibm1008_420.c: Likewise.
52172         * inet/tst-getni1.c: Likewise.
52173         * inet/tst-getni2.c: Likewise.
52174         * libio/ioungetc.c: Likewise.
52175         * libio/wfiledoalloc.c: Likewise.
52176         * manual/libm-err-tab.pl: Likewise.
52177         * math/w_dremf.c: Likewise.
52178         * misc/ftruncate.c: Likewise.
52179         * posix/bug-glob2.c: Likewise.
52180         * posix/tst-pcre.c: Likewise.
52181         * posix/wait4.c: Likewise.
52182         * resolv/README: Likewise.
52183         * resolv/res_debug.h: Likewise.
52184         * resolv/tst-inet_ntop.c: Likewise.
52185         * setjmp/bug269-setjmp.c: Likewise.
52186         * soft-fp/extended.h: Likewise.
52187         * soft-fp/op-1.h: Likewise.
52188         * soft-fp/op-2.h: Likewise.
52189         * soft-fp/op-4.h: Likewise.
52190         * soft-fp/op-8.h: Likewise.
52191         * soft-fp/testit.c: Likewise.
52192         * stdio-common/bug16.c: Likewise.
52193         * stdlib/random.c: Likewise.
52194         * sunrpc/rpcsvc/rquota.x: Likewise.
52195         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52196         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52197         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52198         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52199         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52200         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52201         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52202         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52203         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52204         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52205         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52206         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52222         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52223         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52224         * sysdeps/ieee754/s_lib_version.c: Likewise.
52225         * sysdeps/mach/hurd/check_fds.c: Likewise.
52226         * sysdeps/mach/hurd/getsockname.c: Likewise.
52227         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52228         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52229         * sysdeps/powerpc/bits/link.h: Likewise.
52230         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52231         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52232         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52233         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52234         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52235         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52236         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52237         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52238         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52239         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52240         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52241         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52242         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52243         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52244         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52245         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52246         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52247         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52250         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52251         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52253         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52254         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52255         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52256         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52257         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52258         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52259         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52260         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52262         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52263         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52264         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52265         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52266         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52267         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52268         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52269         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52270         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52271         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52272         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52273         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52274         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52275         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52276         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52277         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52278         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52279         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52281         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52282         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52283         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52284         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52285         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52286         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52287         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52288         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52289         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52290         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52291         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52292         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52293         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52294         * sysdeps/powerpc/sysdep.h: Likewise.
52295         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52296         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52297         * sysdeps/sh/dl-trampoline.S: Likewise.
52298         * sysdeps/sh/memset.S: Likewise.
52299         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52300         * sysdeps/sh/strlen.S: Likewise.
52301         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52302         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52303         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52304         * sysdeps/sparc/sparc32/rem.S: Likewise.
52305         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52306         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52307         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52308         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52309         * sysdeps/sparc/sparc32/urem.S: Likewise.
52310         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52311         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52312         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52313         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52314         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52315         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52316         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52317         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52318         * sysdeps/unix/bsd/times.c: Likewise.
52319         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52320         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52324         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52325         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52326         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52328         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52329         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52330         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52331         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52332         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52333         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52334         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52335         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52336         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52337         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52338         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52339         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52340         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52341         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52342         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52343         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52344         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52345         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52346         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52347         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52348         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52349         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52350         * sysdeps/x86_64/strcspn.S: Likewise.
52352 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52354         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52355         generated file.  Regenerate properly from gen-translit.pl.
52356         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52357         locale/C-translit.h.
52359 2013-06-05  Andreas Schwab  <schwab@suse.de>
52361         [BZ #15100]
52362         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52363         week as 6 instead of -1.
52364         * time/tst-strptime.c (day_tests): Add test case.
52366 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52368         * sysdeps/generic/math_private.h
52369         (libc_feholdexcept_setround_53bit): Replace with
52370         libc_feholdsetround_53bit.
52371         (libc_feupdateenv_53bit): Replace with
52372         libc_feresetround_53bit.
52373         (SET_RESTORE_ROUND_53BIT): Adjust.
52375 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52377         * string/test-strchrnul.c: Add copyright header.
52379         * posix/tst-getaddrinfo4.c: Increase test timeout.
52381 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52383         [BZ #15536]
52384         * math/libm-test.inc (MAX_EXP): Remove
52385         (MIN_EXP): Define.
52386         (ulp): Use MIN_EXP - MANT_DIG.
52387         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52389 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52391         * po/be.po: Revert last change.
52392         * po/zh_CN.po: Likewise.
52393         * po/header.pot: Likewise.
52395 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52397         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52398         link-libc-deps to empty as target-specific variable.
52399         * Makerules (link-libc-args): New variable.
52400         (libc-for-link): Likewise.
52401         (link-libc-deps): Likewise.
52402         (lib%.so): Depend on $(link-libc-deps).  Link with
52403         $(link-libc-args).
52404         (build-module): Link with $(link-libc-args).
52405         (build-module-asneeded): Likewise.
52406         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52407         list of objects.
52408         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52409         target-specific variable.
52410         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52411         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52412         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52413         libc.
52414         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52415         libc and ld.so.
52416         ($(objpfx)libpcprofile.so): Likewise.
52417         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52418         libc_nonshared.a.
52419         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52420         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52421         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52422         $(link-libc-deps).
52423         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52424         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52425         * login/Makefile ($(objpfx)libutil.so): Likewise.
52426         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52427         * math/Makefile ($(objpfx)libm.so): Likewise.
52428         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52429         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52430         variable instead of depending directly on libc.
52431         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52432         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52433         $(link-libc-deps).
52434         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52435         libc.
52436         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52437         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52438         ($(objpfx)libanl.so): Likewise.
52439         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52440         ld.so.
52441         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52442         $(link-libc-deps).
52443         * sysdeps/i386/fpu/Makefile: Remove file.
52444         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52445         ($(objpfx)libm.so): Remove dependency on ld.so.
52447 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52449         [BZ # 15553]
52450         * nis/yp_xdr.c (XDRMAXNAME): Define.
52451         (XDRMAXRECORD): Define.
52452         (xdr_domainname): Use XDRMAXNAME.
52453         (xdr_mapname): Likewise.
52454         (xdr_peername): Likewise.
52455         (xdr_keydat): Use XDRMAXRECORD.
52456         (xdr_valdat): Likewise.
52458 2013-05-30  Jeff Law  <law@redhat.com>
52460         [BZ #14256]
52461         * manual/errno.texi (ESTALE): Update to account for more than
52462         just NFS file systems.
52463         * sysdeps/gnu/errlist.c: Regenerated.
52465 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52467         [BZ #15465]
52468         * elf/Makefile (tests): Add tst-null-argv.
52469         (modules-names):  Add tst-null-argv-lib.
52470         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52471         (tst-null-argv-ENV): Set environment for tst-null-argv.
52472         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52473         (RTLD_PROGNAME): New macro.
52474         * elf/tst-null-argv.c: New test case.
52475         * elf/tst-null-argv-lib.c: Library for test case.
52476         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52477         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52478         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52479         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52480         * elf/dl-init.c (call_init): Likewise.
52481         (_dl_init): Likewise.
52482         * elf/dl-load.c (print_search_path): Likewise.
52483         (_dl_map_object): Likewise.
52484         * elf/dl-lookup.c (do_lookup_x): Likewise.
52485         (add_dependency): Likewise.
52486         (_dl_lookup_symbol_x): Likewise.
52487         (_dl_debug_bindings): Likewise.
52488         * elf/dl-open.c (_dl_show_scope): Likewise.
52489         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52490         * elf/dl-version.c (match_symbol): Likewise.
52491         (_dl_check_map_versions): Likewise.
52492         * elf/rtld.c (dl_main): Likewise.
52493         (print_unresolved): Use RTLD_PROGNAME.
52494         (print_missing_version): Likewise.
52495         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52496         (elf_machine_rela): Likewise.
52497         * sysdeps/powerpc/powerpc32/dl-machine.c
52498         (__process_machine_rela): Likewise.
52499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52500         Likewise.
52501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52502         Likewise.
52503         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52504         Likewise.
52505         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52506         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52507         Likewise.
52508         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52509         Likewise.
52510         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52512 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52514         * po/be.po: Add descriptive title.
52515         * po/zh_CN.po: Likewise.
52516         * po/header.pot: Likewise.
52518 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52520         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52521         error message.
52522         (enlarge_archive): Likewise.
52524 2013-05-28  Ben North  <ben@redfrontdoor.org>
52526         * manual/arith.texi (frexp): It is the magnitude of the return
52527         value which lies in [0.5, 1), not the return value itself.
52529 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52533 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52535         * stdio-common/bug26.c (main): Correct fscanf template.
52537         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52538         declare _dl_skip_args.
52540         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52541         Don't declare.
52543         * manual/platform.texi: Add missing @end deftypefun.
52545 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52547         [BZ #15529]
52548         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52549         bit of mantissa of 2^16382.
52550         * math/libm-test.inc (hypot_test_data): Add more tests.
52552         * math/libm-test.inc: Add drem and pow10 to list of tested
52553         functions.
52554         (pow10_test): New function.
52555         (drem_test): Likewise.
52556         (drem_test_tonearest): Likewise.
52557         (drem_test_towardzero): Likewise.
52558         (drem_test_downward): Likewise.
52559         (drem_test_upward): Likewise.
52560         (main): Call the new functions.
52562         * math/libm-test.inc (finite_test_data): Remove.
52563         (finite_test): Run tests from isfinite_test_data.
52564         (gamma_test_data): Remove.
52565         (gamma_test): Run tests from lgamma_test_data.
52566         * sysdeps/i386/fpu/libm-test-ulps: Update.
52567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52569 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52571         * manual/platform.texi: Add PowerPC PPR function set documentation.
52572         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52573         implementation.
52575 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52577         * math/libm-test.inc (MAX_EXP): Define.
52578         (ULPDIFF): Define.
52579         (ulp): New function.
52580         (check_float_internal): Use ULPDIFF.
52581         (cpow_test): Disable failing test.
52582         (check_ulp): Test ulp() implemetnation.
52583         (main): Call check_ulp before starting tests.
52585 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52587         * math/gen-libm-test.pl (generate_testfile): Do not handle
52588         START_DATA and END_DATA.
52589         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52590         END_DATA.
52591         (acos_tonearest_test_data): Likewise.
52592         (acos_towardzero_test_data): Likewise.
52593         (acos_downward_test_data): Likewise.
52594         (acos_upward_test_data): Likewise.
52595         (acosh_test_data): Likewise.
52596         (asin_test_data): Likewise.
52597         (asin_tonearest_test_data): Likewise.
52598         (asin_towardzero_test_data): Likewise.
52599         (asin_downward_test_data): Likewise.
52600         (asin_upward_test_data): Likewise.
52601         (asinh_test_data): Likewise.
52602         (atan_test_data): Likewise.
52603         (atanh_test_data): Likewise.
52604         (atan2_test_data): Likewise.
52605         (cabs_test_data): Likewise.
52606         (cacos_test_data): Likewise.
52607         (cacosh_test_data): Likewise.
52608         (carg_test_data): Likewise.
52609         (casin_test_data): Likewise.
52610         (casinh_test_data): Likewise.
52611         (catan_test_data): Likewise.
52612         (catanh_test_data): Likewise.
52613         (cbrt_test_data): Likewise.
52614         (ccos_test_data): Likewise.
52615         (ccosh_test_data): Likewise.
52616         (ceil_test_data): Likewise.
52617         (cexp_test_data): Likewise.
52618         (cimag_test_data): Likewise.
52619         (clog_test_data): Likewise.
52620         (clog10_test_data): Likewise.
52621         (conj_test_data): Likewise.
52622         (copysign_test_data): Likewise.
52623         (cos_test_data): Likewise.
52624         (cos_tonearest_test_data): Likewise.
52625         (cos_towardzero_test_data): Likewise.
52626         (cos_downward_test_data): Likewise.
52627         (cos_upward_test_data): Likewise.
52628         (cosh_test_data): Likewise.
52629         (cosh_tonearest_test_data): Likewise.
52630         (cosh_towardzero_test_data): Likewise.
52631         (cosh_downward_test_data): Likewise.
52632         (cosh_upward_test_data): Likewise.
52633         (cpow_test_data): Likewise.
52634         (cproj_test_data): Likewise.
52635         (creal_test_data): Likewise.
52636         (csin_test_data): Likewise.
52637         (csinh_test_data): Likewise.
52638         (csqrt_test_data): Likewise.
52639         (ctan_test_data): Likewise.
52640         (ctan_tonearest_test_data): Likewise.
52641         (ctan_towardzero_test_data): Likewise.
52642         (ctan_downward_test_data): Likewise.
52643         (ctan_upward_test_data): Likewise.
52644         (ctanh_test_data): Likewise.
52645         (ctanh_tonearest_test_data): Likewise.
52646         (ctanh_towardzero_test_data): Likewise.
52647         (ctanh_downward_test_data): Likewise.
52648         (ctanh_upward_test_data): Likewise.
52649         (erf_test_data): Likewise.
52650         (erfc_test_data): Likewise.
52651         (exp_test_data): Likewise.
52652         (exp_tonearest_test_data): Likewise.
52653         (exp_towardzero_test_data): Likewise.
52654         (exp_downward_test_data): Likewise.
52655         (exp_upward_test_data): Likewise.
52656         (exp10_test_data): Likewise.
52657         (exp2_test_data): Likewise.
52658         (expm1_test_data): Likewise.
52659         (fabs_test_data): Likewise.
52660         (fdim_test_data): Likewise.
52661         (finite_test_data): Likewise.
52662         (floor_test_data): Likewise.
52663         (fma_test_data): Likewise.
52664         (fma_towardzero_test_data): Likewise.
52665         (fma_downward_test_data): Likewise.
52666         (fma_upward_test_data): Likewise.
52667         (fmax_test_data): Likewise.
52668         (fmin_test_data): Likewise.
52669         (fmod_test_data): Likewise.
52670         (fpclassify_test_data): Likewise.
52671         (frexp_test_data): Likewise.
52672         (gamma_test_data): Likewise.
52673         (hypot_test_data): Likewise.
52674         (ilogb_test_data): Likewise.
52675         (isfinite_test_data): Likewise.
52676         (isgreater_test_data): Likewise.
52677         (isgreaterequal_test_data): Likewise.
52678         (isinf_test_data): Likewise.
52679         (isless_test_data): Likewise.
52680         (islessequal_test_data): Likewise.
52681         (islessgreater_test_data): Likewise.
52682         (isnan_test_data): Likewise.
52683         (isnormal_test_data): Likewise.
52684         (issignaling_test_data): Likewise.
52685         (isunordered_test_data): Likewise.
52686         (j0_test_data): Likewise.
52687         (j1_test_data): Likewise.
52688         (jn_test_data): Likewise.
52689         (ldexp_test_data): Likewise.
52690         (lgamma_test_data): Likewise.
52691         (lrint_test_data): Likewise.
52692         (lrint_tonearest_test_data): Likewise.
52693         (lrint_towardzero_test_data): Likewise.
52694         (lrint_downward_test_data): Likewise.
52695         (lrint_upward_test_data): Likewise.
52696         (llrint_test_data): Likewise.
52697         (llrint_tonearest_test_data): Likewise.
52698         (llrint_towardzero_test_data): Likewise.
52699         (llrint_downward_test_data): Likewise.
52700         (llrint_upward_test_data): Likewise.
52701         (log_test_data): Likewise.
52702         (log10_test_data): Likewise.
52703         (log1p_test_data): Likewise.
52704         (log2_test_data): Likewise.
52705         (logb_test_data): Likewise.
52706         (logb_downward_test_data): Likewise.
52707         (lround_test_data): Likewise.
52708         (llround_test_data): Likewise.
52709         (modf_test_data): Likewise.
52710         (nearbyint_test_data): Likewise.
52711         (nextafter_test_data): Likewise.
52712         (nexttoward_test_data): Likewise.
52713         (pow_test_data): Likewise.
52714         (pow_tonearest_test_data): Likewise.
52715         (pow_towardzero_test_data): Likewise.
52716         (pow_downward_test_data): Likewise.
52717         (pow_upward_test_data): Likewise.
52718         (remainder_test_data): Likewise.
52719         (remainder_tonearest_test_data): Likewise.
52720         (remainder_towardzero_test_data): Likewise.
52721         (remainder_downward_test_data): Likewise.
52722         (remainder_upward_test_data): Likewise.
52723         (remquo_test_data): Likewise.
52724         (rint_test_data): Likewise.
52725         (rint_tonearest_test_data): Likewise.
52726         (rint_towardzero_test_data): Likewise.
52727         (rint_downward_test_data): Likewise.
52728         (rint_upward_test_data): Likewise.
52729         (round_test_data): Likewise.
52730         (scalb_test_data): Likewise.
52731         (scalbn_test_data): Likewise.
52732         (scalbln_test_data): Likewise.
52733         (signbit_test_data): Likewise.
52734         (sin_test_data): Likewise.
52735         (sin_tonearest_test_data): Likewise.
52736         (sin_towardzero_test_data): Likewise.
52737         (sin_downward_test_data): Likewise.
52738         (sin_upward_test_data): Likewise.
52739         (sincos_test_data): Likewise.
52740         (sinh_test_data): Likewise.
52741         (sinh_tonearest_test_data): Likewise.
52742         (sinh_towardzero_test_data): Likewise.
52743         (sinh_downward_test_data): Likewise.
52744         (sinh_upward_test_data): Likewise.
52745         (sqrt_test_data): Likewise.
52746         (tan_test_data): Likewise.
52747         (tan_tonearest_test_data): Likewise.
52748         (tan_towardzero_test_data): Likewise.
52749         (tan_downward_test_data): Likewise.
52750         (tan_upward_test_data): Likewise.
52751         (tanh_test_data): Likewise.
52752         (tgamma_test_data): Likewise.
52753         (trunc_test_data): Likewise.
52754         (y0_test_data): Likewise.
52755         (y1_test_data): Likewise.
52756         (yn_test_data): Likewise.
52757         (significand_test_data): Likewise.
52759         * math/gen-libm-test.pl (@functions): Remove variable.
52760         (generate_testfile): Don't handle START and END lines.
52761         * math/libm-test.inc (START): New macro.
52762         (END): Likewise.
52763         (END_COMPLEX): Likewise.
52764         (acos_test): Use END macro without arguments.
52765         (acos_test_tonearest): Likewise.
52766         (acos_test_towardzero): Likewise.
52767         (acos_test_downward): Likewise.
52768         (acos_test_upward): Likewise.
52769         (acosh_test): Likewise.
52770         (asin_test): Likewise.
52771         (asin_test_tonearest): Likewise.
52772         (asin_test_towardzero): Likewise.
52773         (asin_test_downward): Likewise.
52774         (asin_test_upward): Likewise.
52775         (asinh_test): Likewise.
52776         (atan_test): Likewise.
52777         (atanh_test): Likewise.
52778         (atan2_test): Likewise.
52779         (cabs_test): Likewise.
52780         (cacos_test): Use END_COMPLEX macro without arguments.
52781         (cacosh_test): Likewise.
52782         (carg_test): Use END macro without arguments.
52783         (casin_test): Use END_COMPLEX macro without arguments.
52784         (casinh_test): Likewise.
52785         (catan_test): Likewise.
52786         (catanh_test): Likewise.
52787         (cbrt_test): Use END macro without arguments.
52788         (ccos_test): Use END_COMPLEX macro without arguments.
52789         (ccosh_test): Likewise.
52790         (ceil_test): Use END macro without arguments.
52791         (cexp_test): Use END_COMPLEX macro without arguments.
52792         (cimag_test): Use END macro without arguments.
52793         (clog_test): Use END_COMPLEX macro without arguments.
52794         (clog10_test): Likewise.
52795         (conj_test): Likewise.
52796         (copysign_test): Use END macro without arguments.
52797         (cos_test): Likewise.
52798         (cos_test_tonearest): Likewise.
52799         (cos_test_towardzero): Likewise.
52800         (cos_test_downward): Likewise.
52801         (cos_test_upward): Likewise.
52802         (cosh_test): Likewise.
52803         (cosh_test_tonearest): Likewise.
52804         (cosh_test_towardzero): Likewise.
52805         (cosh_test_downward): Likewise.
52806         (cosh_test_upward): Likewise.
52807         (cpow_test): Use END_COMPLEX macro without arguments.
52808         (cproj_test): Likewise.
52809         (creal_test): Use END macro without arguments.
52810         (csin_test): Use END_COMPLEX macro without arguments.
52811         (csinh_test): Likewise.
52812         (csqrt_test): Likewise.
52813         (ctan_test): Likewise.
52814         (ctan_test_tonearest): Likewise.
52815         (ctan_test_towardzero): Likewise.
52816         (ctan_test_downward): Likewise.
52817         (ctan_test_upward): Likewise.
52818         (ctanh_test): Likewise.
52819         (ctanh_test_tonearest): Likewise.
52820         (ctanh_test_towardzero): Likewise.
52821         (ctanh_test_downward): Likewise.
52822         (ctanh_test_upward): Likewise.
52823         (erf_test): Use END macro without arguments.
52824         (erfc_test): Likewise.
52825         (exp_test): Likewise.
52826         (exp_test_tonearest): Likewise.
52827         (exp_test_towardzero): Likewise.
52828         (exp_test_downward): Likewise.
52829         (exp_test_upward): Likewise.
52830         (exp10_test): Likewise.
52831         (exp2_test): Likewise.
52832         (expm1_test): Likewise.
52833         (fabs_test): Likewise.
52834         (fdim_test): Likewise.
52835         (finite_test): Likewise.
52836         (floor_test): Likewise.
52837         (fma_test): Likewise.
52838         (fma_test_towardzero): Likewise.
52839         (fma_test_downward): Likewise.
52840         (fma_test_upward): Likewise.
52841         (fmax_test): Likewise.
52842         (fmin_test): Likewise.
52843         (fmod_test): Likewise.
52844         (fpclassify_test): Likewise.
52845         (frexp_test): Likewise.
52846         (gamma_test): Likewise.
52847         (hypot_test): Likewise.
52848         (ilogb_test): Likewise.
52849         (isfinite_test): Likewise.
52850         (isgreater_test): Likewise.
52851         (isgreaterequal_test): Likewise.
52852         (isinf_test): Likewise.
52853         (isless_test): Likewise.
52854         (islessequal_test): Likewise.
52855         (islessgreater_test): Likewise.
52856         (isnan_test): Likewise.
52857         (isnormal_test): Likewise.
52858         (issignaling_test): Likewise.
52859         (isunordered_test): Likewise.
52860         (j0_test): Likewise.
52861         (j1_test): Likewise.
52862         (jn_test): Likewise.
52863         (ldexp_test): Likewise.
52864         (lgamma_test): Likewise.
52865         (lrint_test): Likewise.
52866         (lrint_test_tonearest): Likewise.
52867         (lrint_test_towardzero): Likewise.
52868         (lrint_test_downward): Likewise.
52869         (lrint_test_upward): Likewise.
52870         (llrint_test): Likewise.
52871         (llrint_test_tonearest): Likewise.
52872         (llrint_test_towardzero): Likewise.
52873         (llrint_test_downward): Likewise.
52874         (llrint_test_upward): Likewise.
52875         (log_test): Likewise.
52876         (log10_test): Likewise.
52877         (log1p_test): Likewise.
52878         (log2_test): Likewise.
52879         (logb_test): Likewise.
52880         (logb_test_downward): Likewise.
52881         (lround_test): Likewise.
52882         (llround_test): Likewise.
52883         (modf_test): Likewise.
52884         (nearbyint_test): Likewise.
52885         (nextafter_test): Likewise.
52886         (nexttoward_test): Likewise.
52887         (pow_test): Likewise.
52888         (pow_test_tonearest): Likewise.
52889         (pow_test_towardzero): Likewise.
52890         (pow_test_downward): Likewise.
52891         (pow_test_upward): Likewise.
52892         (remainder_test): Likewise.
52893         (remainder_test_tonearest): Likewise.
52894         (remainder_test_towardzero): Likewise.
52895         (remainder_test_downward): Likewise.
52896         (remainder_test_upward): Likewise.
52897         (remquo_test): Likewise.
52898         (rint_test): Likewise.
52899         (rint_test_tonearest): Likewise.
52900         (rint_test_towardzero): Likewise.
52901         (rint_test_downward): Likewise.
52902         (rint_test_upward): Likewise.
52903         (round_test): Likewise.
52904         (scalb_test): Likewise.
52905         (scalbn_test): Likewise.
52906         (scalbln_test): Likewise.
52907         (signbit_test): Likewise.
52908         (sin_test): Likewise.
52909         (sin_test_tonearest): Likewise.
52910         (sin_test_towardzero): Likewise.
52911         (sin_test_downward): Likewise.
52912         (sin_test_upward): Likewise.
52913         (sincos_test): Likewise.
52914         (sinh_test): Likewise.
52915         (sinh_test_tonearest): Likewise.
52916         (sinh_test_towardzero): Likewise.
52917         (sinh_test_downward): Likewise.
52918         (sinh_test_upward): Likewise.
52919         (sqrt_test): Likewise.
52920         (tan_test): Likewise.
52921         (tan_test_tonearest): Likewise.
52922         (tan_test_towardzero): Likewise.
52923         (tan_test_downward): Likewise.
52924         (tan_test_upward): Likewise.
52925         (tanh_test): Likewise.
52926         (tgamma_test): Likewise.
52927         (trunc_test): Likewise.
52928         (y0_test): Likewise.
52929         (y1_test): Likewise.
52930         (yn_test): Likewise.
52931         (significand_test): Likewise.
52933 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52935         [BZ #15381]
52936         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52938 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52940         [BZ #14894]
52941         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52942         __ppc_mdoio and __ppc_mdoom.
52943         * manual/platform.texi: Document new functions __ppc_yield,
52944         __ppc_mdoio and __ppc_mdoom.
52946 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52948         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52949         (main): Mention "tls" pseudo-hwcap is legacy.
52950         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52952 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52954         * math/gen-libm-test.pl (parse_args): Output only string of
52955         arguments as text for test name, not full call or descriptions of
52956         tests for extra outputs.
52957         (generate_testfile): Do not pass function name to parse_args.
52958         Generate this_func variable from START.
52959         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52960         field to arg_str.
52961         (struct test_ff_f_data): Likewise.
52962         (test_ff_f_data_nexttoward): Likewise.
52963         (struct test_fi_f_data): Likewise.
52964         (struct test_fl_f_data): Likewise.
52965         (struct test_if_f_data): Likewise.
52966         (struct test_fff_f_data): Likewise.
52967         (struct test_c_f_data): Likewise.
52968         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52969         (struct test_fF_f1_data): Likewise.
52970         (struct test_ffI_f1_data): Likewise.
52971         (struct test_c_c_data): Rename test_name field to arg_str.
52972         (struct test_cc_c_data): Likewise.
52973         (struct test_f_i_data): Likewise.
52974         (struct test_ff_i_data): Likewise.
52975         (struct test_f_l_data): Likewise.
52976         (struct test_f_L_data): Likewise.
52977         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52978         and extra2_name.
52979         (COMMON_TEST_SETUP): New macro.
52980         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52981         (COMMON_TEST_CLEANUP): Likewise.
52982         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52983         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52984         macros.
52985         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52986         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52987         macros.
52988         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52989         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52990         cleanup macros.
52991         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52992         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52993         macros.
52994         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52995         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52996         macros.
52997         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52998         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52999         cleanup macros.
53000         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53001         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53002         cleanup macros.
53003         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53004         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53005         cleanup macros.
53006         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53007         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53008         macros.
53009         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53010         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53011         macros.
53012         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53013         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53014         macros.
53015         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53016         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53017         cleanup macros.
53018         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53019         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53020         cleanup macros.
53021         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53022         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53023         macros.
53024         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53025         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53026         cleanup macros.
53027         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53028         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53029         macros.
53030         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53031         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53032         macros.
53033         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53034         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53035         cleanup macros.
53036         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53038 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53040         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53041         to _sifields.sigfault.
53042         (si_addr_lsb): Define new macro.
53043         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53045         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53047 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53049         [BZ #15441]
53050         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53051         returns -1.
53052         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53053         null return -1.
53054         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53055         loading the domain.
53057 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53059         * math/gen-libm-test.pl (parse_args): Do not include expected
53060         result in test name.
53061         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53062         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53063         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53064         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53065         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53068 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53070         * benchtests/Makefile: Sort function entries.
53072         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53073         tanh, asinh, acosh, atanh.
53074         * benchtests/acos-inputs: New file.
53075         * benchtests/acosh-inputs: New file.
53076         * benchtests/asin-inputs: New file.
53077         * benchtests/asinh-inputs: New file.
53078         * benchtests/atanh-inputs: New file.
53079         * benchtests/cosh-inputs: New file.
53080         * benchtests/log-inputs: New file.
53081         * benchtests/sinh-inputs: New file.
53082         * benchtests/tanh-inputs: New file.
53084 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53086         [BZ #15339]
53087         * posix/tst-getaddrinfo4.c: New test.
53088         * posix/Makefile (tests): Add it.
53090 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53092         [BZ #15339]
53093         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53094         when no services were used.
53095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53096         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53098 2013-05-21  Andreas Schwab  <schwab@suse.de>
53100         [BZ #15014]
53101         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53102         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53103         successful.
53104         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53105         redundant variable declarations and reallocation of buffer when
53106         parsing as IPv6 address.  Always set NSS status when called from
53107         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53108         buffer too small.  Correct computation of needed size.
53109         * nss/Makefile (tests): Add test-digits-dots.
53110         * nss/test-digits-dots.c: New test.
53112 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53114         * benchtests/Makefile: Remove instructions for adding
53115         benchmark tests.
53116         * benchtests/README: New file to explain how to execute and
53117         enhance the benchmark tests.
53119 2013-05-21  Andreas Schwab  <schwab@suse.de>
53121         [BZ #15493]
53122         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53123         * setjmp/tst-sigsetjmp.c: New test.
53125 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53127         * sysdeps/x86_64/memset.S (memset): New implementation.
53128         (__bzero): Likewise.
53129         (__memset_tail): New function.
53131 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53133         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53134         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53135         __memcpy_sse2_unaligned ifunc selection.
53136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53137         Add memcpy-sse2-unaligned.S.
53138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53139         Add: __memcpy_sse2_unaligned.
53141 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53143         [BZ #15490]
53144         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53145         math_force_eval before restoring floating-point envrionment.
53146         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53148         Likewise.
53149         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53150         <math_private.h>.
53151         (__nearbyintl): Use math_force_eval before restoring
53152         floating-point environment.
53153         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53155         * math/gen-libm-test.pl (special_functions): Remove.
53156         (parse_args): Don't handle TEST_extra.  Handle functions with no
53157         return value.
53158         * math/libm-test.inc (struct test_sincos_data): Replace with
53159         struct test_fFF_11_data.
53160         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53161         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53162         (sincos_test_data): Change element type to struct
53163         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53164         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53165         RUN_TEST_LOOP_sincos.
53166         * math/README.libm-test: Don't mention special handling of
53167         individual functions.
53168         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53169         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53170         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53171         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53172         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53175         * math/gen-libm-test.pl (get_variable): Remove function.
53176         (parse_args): Don't show pointer parameters to call in test
53177         names.  Use "extra output N" in test names for extra outputs
53178         rather than naming variables.
53180 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53182         [BZ #15488]
53183         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53184         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53185         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53186         double tests.
53187         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53188         disable.
53189         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53190         check_long_double.
53192         * math/gen-libm-test.pl (@tests): Remove variable.
53193         ($count): Likewise.
53194         (new_test): Remove function.
53195         (show_exceptions): New function.
53196         (special_functions): Use show_exceptions instead of new_test.
53197         (parse_args): Likewise.
53198         (generate_testfile): Pass only function name in generated call to
53199         print_max_error or print_complex_max_error.
53200         (get_ulps): Do not handle complex tests specially.
53201         (output_test): Rename to ...
53202         (get_all_ulps_for_test): ... this.  Return a string rather than
53203         printing to a file.  Require ulps to be present.
53204         (output_ulps): Generate arrays rather than #defines.
53205         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53206         (struct ulp_data): New type.
53207         (BUILD_COMPLEX_ULP): Remove macro.
53208         (compare_ulp_data): New function.
53209         (find_ulps): Likewise.
53210         (find_test_ulps): Likewise.
53211         (find_function_ulps): Likewise.
53212         (find_complex_function_ulps): Likewise.
53213         (print_max_error): Determine allowed ulps using
53214         find_function_ulps.
53215         (print_complex_max_error): Determine allowed ulps using
53216         find_complex_function_ulps.
53217         (check_float_internal): Determine max ulps using find_test_ulps.
53218         (check_float): Do not take max_ulp parameter.  Update call to
53219         check_float_internal.
53220         (check_complex): Likewise.
53221         (check_int): Do not take max_ulp parameter.
53222         (check_long): Likewise.
53223         (check_bool): Likewise.
53224         (check_longlong): Likewise.
53225         (struct test_f_f_data): Remove max_ulp field.
53226         (struct test_ff_f_data): Likewise.
53227         (struct test_ff_f_data_nexttoward): Likewise.
53228         (struct test_fi_f_data): Likewise.
53229         (struct test_fl_f_data): Likewise.
53230         (struct test_if_f_data): Likewise.
53231         (struct test_fff_f_data): Likewise.
53232         (struct test_c_f_data): Likewise.
53233         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53234         (struct test_fF_f1_data): Likewise.
53235         (struct test_ffI_f1_data): Likewise.
53236         (struct test_c_c_data): Remove max_ulp field.
53237         (struct test_cc_c_data): Likewise.
53238         (struct test_f_i_data): Likewise.
53239         (struct test_ff_i_data): Likewise.
53240         (struct test_f_l_data): Likewise.
53241         (struct test_f_L_data): Likewise.
53242         (struct test_sincos_data): Likewise.
53243         (RUN_TEST_f_f): Do not handle ulps.
53244         (RUN_TEST_LOOP_f_f): Likewise.
53245         (RUN_TEST_2_f): Likewise.
53246         (RUN_TEST_LOOP_2_f): Likewise.
53247         (RUN_TEST_fff_f): Likewise.
53248         (RUN_TEST_LOOP_fff_f): Likewise.
53249         (RUN_TEST_c_f): Likewise.
53250         (RUN_TEST_LOOP_c_f): Likewise.
53251         (RUN_TEST_f_f1): Likewise.
53252         (RUN_TEST_LOOP_f_f1): Likewise.
53253         (RUN_TEST_fF_f1): Likewise.
53254         (RUN_TEST_LOOP_fF_f1): Likewise.
53255         (RUN_TEST_fI_f1): Likewise.
53256         (RUN_TEST_LOOP_fI_f1): Likewise.
53257         (RUN_TEST_ffI_f1): Likewise.
53258         (RUN_TEST_LOOP_ffI_f1): Likewise.
53259         (RUN_TEST_c_c): Likewise.
53260         (RUN_TEST_LOOP_c_c): Likewise.
53261         (RUN_TEST_cc_c): Likewise.
53262         (RUN_TEST_LOOP_cc_c): Likewise.
53263         (RUN_TEST_f_i): Likewise.
53264         (RUN_TEST_LOOP_f_i): Likewise.
53265         (RUN_TEST_f_i_tg): Likewise.
53266         (RUN_TEST_LOOP_f_i_tg): Likewise.
53267         (RUN_TEST_ff_i_tg): Likewise.
53268         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53269         (RUN_TEST_f_b): Likewise.
53270         (RUN_TEST_LOOP_f_b): Likewise.
53271         (RUN_TEST_f_b_tg): Likewise.
53272         (RUN_TEST_LOOP_f_b_tg): Likewise.
53273         (RUN_TEST_f_l): Likewise.
53274         (RUN_TEST_LOOP_f_l): Likewise.
53275         (RUN_TEST_f_L): Likewise.
53276         (RUN_TEST_LOOP_f_L): Likewise.
53277         (RUN_TEST_sincos): Likewise.
53278         (RUN_TEST_LOOP_sincos): Likewise.
53280 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53282         [BZ #15480]
53283         [BZ #15485]
53284         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53285         main case of finite arguments, set rounding mode to FE_TONEAREST
53286         and discard exceptions.
53287         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53288         exceptions.
53289         (remainder_tonearest_test_data): New variable.
53290         (remainder_test_tonearest): New function.
53291         (remainder_towardzero_test_data): New variable.
53292         (remainder_test_towardzero): New function.
53293         (remainder_downward_test_data): New variable.
53294         (remainder_test_downward): New function.
53295         (remainder_upward_test_data): New variable.
53296         (remainder_test_upward): New function.
53297         (main): Call the new test functions.
53299         * math/libm-test.inc (struct test_f_f1_data): Remove field
53300         extra_init.
53301         (struct test_fF_f1_data): Likewise.
53302         (struct test_ffI_f1_data): Likewise.
53303         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53304         based on value of EXTRA_EXPECTED.
53305         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53306         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53307         EXTRA_VAR based on value of EXTRA_EXPECTED.
53308         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53309         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53310         EXTRA_VAR based on value of EXTRA_EXPECTED.
53311         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53312         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53313         EXTRA_VAR based on value of EXTRA_EXPECTED.
53314         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53315         * math/gen-libm-test.pl (parse_args): Don't output initializers
53316         for extra output values.
53318         * math/libm-test.inc (check_int): Expect result to be exactly
53319         equal to expected value and do not handle ulps.
53320         (check_long): Likewise.
53321         (check_longlong): Likewise.
53323         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53324         exceptions.
53325         (cimag_test_data): Likewise.
53326         (conj_test_data): Likewise.
53327         (copysign_test_data): Likewise.
53328         (cproj_test_data): Likewise.
53329         (creal_test_data): Likewise.
53330         (fabs_test_data): Likewise.
53331         (fdim_test_data): Likewise.
53332         (finite_test_data): Likewise.
53333         (floor_test_data): Likewise.
53334         (fmax_test_data): Likewise.
53335         (fmin_test_data): Likewise.
53336         (fmod_test_data): Likewise.
53337         (fpclassify_test_data): Likewise.
53338         (frexp_test_data): Likewise.
53339         (ilogb_test_data): Likewise.
53340         (isfinite_test_data): Likewise.
53341         (isgreater_test_data): Likewise.
53342         (isgreaterequal_test_data): Likewise.
53343         (isinf_test_data): Likewise.
53344         (isless_test_data): Likewise.
53345         (islessequal_test_data): Likewise.
53346         (islessgreater_test_data): Likewise.
53347         (isnan_test_data): Likewise.
53348         (isnormal_test_data): Likewise.
53349         (issignaling_test_data): Likewise.
53350         (isunordered_test_data): Likewise.
53351         (ldexp_test_data): Likewise.
53352         (lrint_test_data): Likewise.
53353         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53354         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53355         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53356         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53357         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53358         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53359         test input.
53360         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53361         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53362         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53363         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53364         that test input.
53365         (lrint_downward_test_data): Test for "inexact" exceptions.
53366         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53367         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53368         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53369         test input.
53370         (lrint_upward_test_data): Test for "inexact" exceptions.
53371         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53372         test input.
53373         (llrint_test_data): Test for "inexact" exceptions.
53374         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53375         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53376         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53377         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53378         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53379         (llrint_downward_test_data): Test for "inexact" exceptions.
53380         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53381         (llrint_upward_test_data): Test for "inexact" exceptions.
53382         (logb_test_data): Likewise.
53383         (logb_downward_test_data): Likewise.
53384         (nextafter_test_data): Likewise.
53385         (nexttoward_test_data): Likewise.
53386         (remainder_test_data): Likewise.
53387         (remquo_test_data): Likewise.
53388         (scalbn_test_data): Likewise.
53389         (scalbln_test_data): Likewise.
53390         (signbit_test_data): Likewise.
53391         (sqrt_test_data): Likewise.
53392         (significand_test_data): Likewise.
53394 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53396         [BZ #15424]
53397         * benchtests/bench-modf.c (struct args): Mark arg0 as
53398         volatile.
53399         * scripts/bench.pl: Mark members of struct args as volatile.
53401 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53403         [BZ # 15497]
53404         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53405         negative infinity on POWER6 or lower.
53406         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53408 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53410         [BZ #15442]
53411         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53412         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53413         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53414         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53415         (_FP_SETQNAN): New macro.
53416         (_FP_SETQNAN_SEMIRAW): Likewise.
53417         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53418         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53419         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53420         (FP_EXTEND): Use _FP_FRAC_SNANP.
53421         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53422         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53423         into account.
53424         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53425         New macro.
53426         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53427         Likewise.
53429 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53431         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53432         with DIVIDE_BY_ZERO_EXCEPTION.
53433         (gamma_test_data): Likewise.
53434         (lgamma_test_data): Likewise.
53435         (log_test_data): Likewise.
53436         (log10_test_data): Likewise.
53437         (log2_test_data): Likewise.
53438         (tgamma_test_data): Likewise.
53440         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53441         (acos_test_tonearest): Likewise.
53442         (acos_test_towardzero): Likewise.
53443         (acos_test_downward): Likewise.
53444         (acos_test_upward): Likewise.
53445         (acosh_test): Likewise.
53446         (asin_test): Likewise.
53447         (asin_test_tonearest): Likewise.
53448         (asin_test_towardzero): Likewise.
53449         (asin_test_downward): Likewise.
53450         (asin_test_upward): Likewise.
53451         (asinh_test): Likewise.
53452         (atan_test): Likewise.
53453         (atanh_test): Likewise.
53454         (atan2_test): Likewise.
53455         (cabs_test): Likewise.
53456         (cacos_test): Likewise.
53457         (cacosh_test): Likewise.
53458         (casin_test): Likewise.
53459         (casinh_test): Likewise.
53460         (catan_test): Likewise.
53461         (catanh_test): Likewise.
53462         (cbrt_test): Likewise.
53463         (ccos_test): Likewise.
53464         (ccosh_test): Likewise.
53465         (cexp_test): Likewise.
53466         (clog_test): Likewise.
53467         (clog10_test): Likewise.
53468         (cos_test): Likewise.
53469         (cos_test_tonearest): Likewise.
53470         (cos_test_towardzero): Likewise.
53471         (cos_test_downward): Likewise.
53472         (cos_test_upward): Likewise.
53473         (cosh_test): Likewise.
53474         (cosh_test_tonearest): Likewise.
53475         (cosh_test_towardzero): Likewise.
53476         (cosh_test_downward): Likewise.
53477         (cosh_test_upward): Likewise.
53478         (cpow_test): Likewise.
53479         (csin_test): Likewise.
53480         (csinh_test): Likewise.
53481         (csqrt_test): Likewise.
53482         (ctan_test): Likewise.
53483         (ctan_test_tonearest): Likewise.
53484         (ctan_test_towardzero): Likewise.
53485         (ctan_test_downward): Likewise.
53486         (ctan_test_upward): Likewise.
53487         (ctanh_test): Likewise.
53488         (ctanh_test_tonearest): Likewise.
53489         (ctanh_test_towardzero): Likewise.
53490         (ctanh_test_downward): Likewise.
53491         (ctanh_test_upward): Likewise.
53492         (erf_test): Likewise.
53493         (erfc_test): Likewise.
53494         (exp_test): Likewise.
53495         (exp_test_tonearest): Likewise.
53496         (exp_test_towardzero): Likewise.
53497         (exp_test_downward): Likewise.
53498         (exp_test_upward): Likewise.
53499         (exp10_test): Likewise.
53500         (exp2_test): Likewise.
53501         (expm1_test): Likewise.
53502         (fmod_test): Likewise.
53503         (gamma_test): Likewise.
53504         (hypot_test): Likewise.
53505         (j0_test): Likewise.
53506         (j1_test): Likewise.
53507         (jn_test): Likewise.
53508         (lgamma_test): Likewise.
53509         (log_test): Likewise.
53510         (log10_test): Likewise.
53511         (log1p_test): Likewise.
53512         (log2_test): Likewise.
53513         (logb_test_downward): Likewise.
53514         (pow_test): Likewise.
53515         (pow_test_tonearest): Likewise.
53516         (pow_test_towardzero): Likewise.
53517         (pow_test_downward): Likewise.
53518         (pow_test_upward): Likewise.
53519         (remainder_test): Likewise.
53520         (remquo_test): Likewise.
53521         (sin_test): Likewise.
53522         (sin_test_tonearest): Likewise.
53523         (sin_test_towardzero): Likewise.
53524         (sin_test_downward): Likewise.
53525         (sin_test_upward): Likewise.
53526         (sincos_test): Likewise.
53527         (sinh_test): Likewise.
53528         (sinh_test_tonearest): Likewise.
53529         (sinh_test_towardzero): Likewise.
53530         (sinh_test_downward): Likewise.
53531         (sinh_test_upward): Likewise.
53532         (sqrt_test): Likewise.
53533         (tan_test): Likewise.
53534         (tan_test_tonearest): Likewise.
53535         (tan_test_towardzero): Likewise.
53536         (tan_test_downward): Likewise.
53537         (tan_test_upward): Likewise.
53538         (tanh_test): Likewise.
53539         (tgamma_test): Likewise.
53540         (y0_test): Likewise.
53541         (y1_test): Likewise.
53542         (yn_test): Likewise.
53544         * math/gen-libm-test.pl (adjust_arg): Remove function.
53545         (special_function): Remove argument $in_func.  Only handle
53546         generating output for tables of tests, not inside functions.
53547         (parse_args): Likewise.
53548         (generate_testfile): Remove variable $in_func.  Update call to
53549         parse_args.
53550         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53551         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53552         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53553         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53554         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53555         (MAX_VALUE_INIT): Rename macro to max_value.
53556         (MIN_VALUE_INIT): Rename macro to min_value.
53557         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53558         (plus_zero): Remove variable.
53559         (minus_zero): Likewise.
53560         (plus_infty): Likewise.
53561         (minus_infty): Likewise.
53562         (qnan_value): Likewise.
53563         (max_value): Likewise.
53564         (min_value): Likewise.
53565         (min_subnorm_value): Likewise.
53567 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53569         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53570         uint64_t or uint32_t usage.
53571         * crypt/sha256-block.c: Likewise.
53572         * crypt/sha256-crypt.c: Likewise.
53573         * crypt/sha256.c: Likewise.
53574         * crypt/sha512-block.c: Likewise.
53575         * crypt/sha512-crypt.c: Likewise.
53576         * crypt/sha512.c: Likewise.
53577         * debug/backtrace-tst.c: Likewise.
53578         * debug/pcprofiledump.c: Likewise.
53579         * elf/cache.c: Likewise.
53580         * elf/dl-cache.c: Likewise.
53581         * elf/dl-misc.c: Likewise.
53582         * elf/dl-profile.c: Likewise.
53583         * elf/dl-support.c: Likewise.
53584         * elf/ldconfig.c: Likewise.
53585         * elf/sprof.c: Likewise.
53586         * iconv/dummy-repertoire.c: Likewise.
53587         * iconv/iconv_charmap.c: Likewise.
53588         * iconv/skeleton.c: Likewise.
53589         * iconvdata/8bit-generic.c: Likewise.
53590         * iconvdata/cp737.h: Likewise.
53591         * iconvdata/cp775.h: Likewise.
53592         * iconvdata/ibm1008.h: Likewise.
53593         * iconvdata/ibm1025.h: Likewise.
53594         * iconvdata/ibm1046.h: Likewise.
53595         * iconvdata/ibm1097.h: Likewise.
53596         * iconvdata/ibm1112.h: Likewise.
53597         * iconvdata/ibm1122.h: Likewise.
53598         * iconvdata/ibm1123.h: Likewise.
53599         * iconvdata/ibm1124.h: Likewise.
53600         * iconvdata/ibm1129.h: Likewise.
53601         * iconvdata/ibm1130.h: Likewise.
53602         * iconvdata/ibm1132.h: Likewise.
53603         * iconvdata/ibm1133.h: Likewise.
53604         * iconvdata/ibm1137.h: Likewise.
53605         * iconvdata/ibm1140.h: Likewise.
53606         * iconvdata/ibm1141.h: Likewise.
53607         * iconvdata/ibm1142.h: Likewise.
53608         * iconvdata/ibm1143.h: Likewise.
53609         * iconvdata/ibm1144.h: Likewise.
53610         * iconvdata/ibm1145.h: Likewise.
53611         * iconvdata/ibm1146.h: Likewise.
53612         * iconvdata/ibm1147.h: Likewise.
53613         * iconvdata/ibm1148.h: Likewise.
53614         * iconvdata/ibm1149.h: Likewise.
53615         * iconvdata/ibm1153.h: Likewise.
53616         * iconvdata/ibm1154.h: Likewise.
53617         * iconvdata/ibm1155.h: Likewise.
53618         * iconvdata/ibm1156.h: Likewise.
53619         * iconvdata/ibm1157.h: Likewise.
53620         * iconvdata/ibm1158.h: Likewise.
53621         * iconvdata/ibm1160.h: Likewise.
53622         * iconvdata/ibm1161.h: Likewise.
53623         * iconvdata/ibm1162.h: Likewise.
53624         * iconvdata/ibm1163.h: Likewise.
53625         * iconvdata/ibm1164.h: Likewise.
53626         * iconvdata/ibm1166.h: Likewise.
53627         * iconvdata/ibm1167.h: Likewise.
53628         * iconvdata/ibm12712.h: Likewise.
53629         * iconvdata/ibm1390.h: Likewise.
53630         * iconvdata/ibm1399.h: Likewise.
53631         * iconvdata/ibm16804.h: Likewise.
53632         * iconvdata/ibm4517.h: Likewise.
53633         * iconvdata/ibm4899.h: Likewise.
53634         * iconvdata/ibm4909.h: Likewise.
53635         * iconvdata/ibm4971.h: Likewise.
53636         * iconvdata/ibm5347.h: Likewise.
53637         * iconvdata/ibm803.h: Likewise.
53638         * iconvdata/ibm856.h: Likewise.
53639         * iconvdata/ibm901.h: Likewise.
53640         * iconvdata/ibm902.h: Likewise.
53641         * iconvdata/ibm9030.h: Likewise.
53642         * iconvdata/ibm9066.h: Likewise.
53643         * iconvdata/ibm921.h: Likewise.
53644         * iconvdata/ibm922.h: Likewise.
53645         * iconvdata/ibm9448.h: Likewise.
53646         * iconvdata/isiri-3342.h: Likewise.
53647         * iconvdata/jis0201.h: Likewise.
53648         * include/link.h: Likewise.
53649         * include/netdb.h: Likewise.
53650         * inet/check_native.c: Likewise.
53651         * inet/check_pf.c: Likewise.
53652         * inet/getipv4sourcefilter.c: Likewise.
53653         * inet/getnameinfo.c: Likewise.
53654         * inet/getsourcefilter.c: Likewise.
53655         * inet/htonl.c: Likewise.
53656         * inet/setipv4sourcefilter.c: Likewise.
53657         * inet/setsourcefilter.c: Likewise.
53658         * inet/test-inet6_opt.c: Likewise.
53659         * inet/tst-network.c: Likewise.
53660         * locale/C-collate.c: Likewise.
53661         * locale/C-ctype.c: Likewise.
53662         * locale/C-time.c: Likewise.
53663         * locale/C-translit.h: Likewise.
53664         * locale/loadarchive.c: Likewise.
53665         * locale/programs/3level.h: Likewise.
53666         * locale/programs/charmap.c: Likewise.
53667         * locale/programs/charmap.h: Likewise.
53668         * locale/programs/ld-address.c: Likewise.
53669         * locale/programs/ld-collate.c: Likewise.
53670         * locale/programs/ld-ctype.c: Likewise.
53671         * locale/programs/ld-identification.c: Likewise.
53672         * locale/programs/ld-measurement.c: Likewise.
53673         * locale/programs/ld-messages.c: Likewise.
53674         * locale/programs/ld-monetary.c: Likewise.
53675         * locale/programs/ld-name.c: Likewise.
53676         * locale/programs/ld-numeric.c: Likewise.
53677         * locale/programs/ld-paper.c: Likewise.
53678         * locale/programs/ld-telephone.c: Likewise.
53679         * locale/programs/ld-time.c: Likewise.
53680         * locale/programs/linereader.c: Likewise.
53681         * locale/programs/locale.c: Likewise.
53682         * locale/programs/locarchive.c: Likewise.
53683         * locale/programs/locfile.h: Likewise.
53684         * locale/programs/repertoire.c: Likewise.
53685         * locale/programs/simple-hash.c: Likewise.
53686         * locale/programs/simple-hash.h: Likewise.
53687         * malloc/memusage.c: Likewise.
53688         * malloc/memusagestat.c: Likewise.
53689         * nis/nis_defaults.c: Likewise.
53690         * nis/nis_hash.c: Likewise.
53691         * nis/nis_print.c: Likewise.
53692         * nis/nis_xdr.c: Likewise.
53693         * nscd/connections.c: Likewise.
53694         * nscd/hstcache.c: Likewise.
53695         * nscd/nscd_gethst_r.c: Likewise.
53696         * nscd/nscd_getserv_r.c: Likewise.
53697         * nscd/nscd_helper.c: Likewise.
53698         * nscd/servicescache.c: Likewise.
53699         * nss/makedb.c: Likewise.
53700         * nss/nss_db/db-XXX.c: Likewise.
53701         * nss/nss_db/db-initgroups.c: Likewise.
53702         * nss/nss_db/db-netgrp.c: Likewise.
53703         * nss/nss_files/files-network.c: Likewise.
53704         * nss/nss_files/files-parse.c: Likewise.
53705         * posix/bug-regex5.c: Likewise.
53706         * posix/fnmatch_loop.c: Likewise.
53707         * posix/regcomp.c: Likewise.
53708         * posix/regexec.c: Likewise.
53709         * posix/tst-rfc3484-2.c: Likewise.
53710         * posix/tst-rfc3484-3.c: Likewise.
53711         * posix/tst-rfc3484.c: Likewise.
53712         * resolv/nss_dns/dns-canon.c: Likewise.
53713         * resolv/nss_dns/dns-network.c: Likewise.
53714         * resolv/res_init.c: Likewise.
53715         * resolv/res_mkquery.c: Likewise.
53716         * resolv/tst-aton.c: Likewise.
53717         * stdlib/cxa_atexit.c: Likewise.
53718         * stdlib/cxa_finalize.c: Likewise.
53719         * stdlib/gen-fpioconst.c: Likewise.
53720         * stdlib/strtol_l.c: Likewise.
53721         * string/tst-endian.c: Likewise.
53722         * sunrpc/auth_des.c: Likewise.
53723         * sunrpc/clnt_udp.c: Likewise.
53724         * sunrpc/rtime.c: Likewise.
53725         * sunrpc/svcauth_des.c: Likewise.
53726         * sunrpc/xdr.c: Likewise.
53727         * sunrpc/xdr_intXX_t.c: Likewise.
53728         * sunrpc/xdr_rec.c: Likewise.
53729         * sysdeps/generic/ldconfig.h: Likewise.
53730         * sysdeps/generic/ldsodefs.h: Likewise.
53731         * sysdeps/generic/memusage.h: Likewise.
53732         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53733         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53734         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53735         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53736         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53738         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53739         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53740         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53742         * sysdeps/posix/getaddrinfo.c: Likewise.
53743         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53744         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53745         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53746         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53747         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53748         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53749         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53750         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53751         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53752         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53753         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53754         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53755         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53756         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53757         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53758         * sysdeps/x86_64/dl-tls.h: Likewise.
53759         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53760         * time/alt_digit.c: Likewise.
53761         * time/era.c: Likewise.
53762         * wcsmbs/tst-c16c32-1.c: Likewise.
53764 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53766         * math/libm-test.inc (struct test_sincos_data): New type.
53767         (RUN_TEST_LOOP_sincos): New macro.
53768         (sincos_test_data): New variable.
53769         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53771 2013-05-16  Richard Henderson  <rth@redhat.com>
53773         * math/atest-exp2.c (LIMB64): New macro.
53774         (CONSTSZ): New macro.
53775         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53776         (hexdig): Move ...
53777         (print_mpn_fp): ... to function scope.
53778         (read_mpn_hex): Remove.
53779         (get_log2): Remove.
53780         (exp2_mpn): Use mp_log2.
53781         (main): Use mp_exp1.
53783 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53785         * math/libm-test.inc: Remove comment about not testing "inexact"
53786         exceptions.
53787         (INEXACT_EXCEPTION): New macro.
53788         (NO_INEXACT_EXCEPTION): Likewise.
53789         (INVALID_EXCEPTION_OK): Update value.
53790         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53791         (OVERFLOW_EXCEPTION_OK): Likewise.
53792         (UNDERFLOW_EXCEPTION_OK): Likewise.
53793         (IGNORE_ZERO_INF_SIGN): Likewise.
53794         (ERRNO_UNCHANGED): Likewise.
53795         (ERRNO_EDOM): Likewise.
53796         (ERRNO_ERANGE): Likewise.
53797         (test_exceptions): Handle testing "inexact" exceptions.
53798         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53799         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53800         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53801         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53802         INEXACT_EXCEPTION.
53803         (rint_towardzero_test_data): Likewise.
53804         (rint_downward_test_data): Likewise.
53805         (rint_upward_test_data): Likewise.
53807         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53808         with OVERFLOW_EXCEPTION.
53809         (exp10_test_data): Likewise.
53810         (exp2_test_data): Likewise.
53811         (expm1_test_data): Likewise.
53812         (lgamma_test_data): Likewise.
53813         (pow_test_data): Likewise.
53814         (tgamma_test_data): Likewise.
53815         (yn_test_data): Remove duplicate test of overflow.
53817         * math/libm-test.inc (struct test_cc_c_data): New type.
53818         (RUN_TEST_LOOP_cc_c): New macro.
53819         (cpow_test_data): New variable.
53820         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53822         * math/libm-test.inc (struct test_f_L_data): New type.
53823         (RUN_TEST_LOOP_f_L): New macro.
53824         (llrint_test_data): New variable.
53825         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53826         (llrint_tonearest_test_data): New variable.
53827         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53828         (llrint_towardzero_test_data): New variable.
53829         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53830         (llrint_downward_test_data): New variable.
53831         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53832         (llrint_upward_test_data): New variable.
53833         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53834         (llround_test_data): New variable.
53835         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53837 2013-05-13  Peter Collingbourne  <pcc@google.com>
53839         * math/atest-exp2.c (get_log2): Remove const attribute.
53841 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53843         * math/libm-test.inc (struct test_f_l_data): New type.
53844         (RUN_TEST_LOOP_f_l): New macro.
53845         (lrint_test_data): New variable.
53846         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53847         (lrint_tonearest_test_data): New variable.
53848         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53849         (lrint_towardzero_test_data): New variable.
53850         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53851         (lrint_downward_test_data): New variable.
53852         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53853         (lrint_upward_test_data): New variable.
53854         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53855         (lround_test_data): New variable.
53856         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53858 2013-05-15  Peter Collingbourne  <pcc@google.com>
53860         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53861         (EXTRACT_WORDS64) Use where appropriate.
53862         (INSERT_WORDS64) Likewise.
53864         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53865         constraints with x constraints.
53866         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53868         * malloc/obstack.c (_obstack_compat): Add initializer.
53870 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53873         si_trapno and add si_addr_lsb to _sifields.sigfault.
53874         (si_trapno): Remove macro.
53875         (si_addr_lsb): Define new macro.
53876         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53878 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53880         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53881         instead of TEST_f_l.
53882         (llrint_test_tonearest): Likewise.
53883         (llrint_test_towardzero): Likewise.
53884         (llrint_test_downward): Likewise.
53885         (llrint_test_upward): Likewise.
53886         (llround_test): Likewise.
53888         * math/libm-test.inc (struct test_f_i_data): Add comment.
53889         (RUN_TEST_LOOP_f_b): New macro.
53890         (RUN_TEST_LOOP_f_b_tg): Likewise.
53891         (finite_test_data): New variable.
53892         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53893         (isfinite_test_data): New variable.
53894         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53895         (isinf_test_data): New variable.
53896         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53897         (isnan_test_data): New variable.
53898         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53899         (isnormal_test_data): New variable.
53900         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53901         (issignaling_test_data): New variable.
53902         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53903         (signbit_test_data): New variable.
53904         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53906         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53907         with INVALID_EXCEPTION.
53908         (acosh_test_data): Likewise.
53909         (asin_test_data): Likewise.
53910         (atanh_test_data): Likewise.
53911         (fmod_test_data): Likewise.
53912         (log_test_data): Likewise.
53913         (log10_test_data): Likewise.
53914         (log2_test_data): Likewise.
53915         (pow_test_data): Likewise.
53916         (sqrt_test_data): Likewise.
53917         (y0_test_data): Likewise.
53918         (y1_test_data): Likewise.
53919         (yn_test_data): Likewise.
53921         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53922         function contents.
53924         * math/libm-test.inc (struct test_ff_i_data): New type.
53925         (RUN_TEST_LOOP_ff_i_tg): New macro.
53926         (isgreater_test_data): New variable.
53927         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53928         (isgreaterequal_test_data): New variable.
53929         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53930         (isless_test_data): New variable.
53931         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53932         (islessequal_test_data): New variable.
53933         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53934         (islessgreater_test_data): New variable.
53935         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53936         (isunordered_test_data): New variable.
53937         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53939 2013-05-14  David S. Miller  <davem@davemloft.net>
53941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53943 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53945         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53947         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53948         extra_test to int.
53949         (struct test_f_i_data): Change type of max_ulp to int.
53951         * math/libm-test.inc (test_ffI_f1_data): New type.
53952         (RUN_TEST_LOOP_ffI_f1): New macro.
53953         (remquo_test_data): New variable.
53954         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53956         * setjmp/tst-setjmp-fp.c: New file.
53957         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53958         (link-libm): New variable.
53959         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53961         * math/libm-test.inc (struct test_f_i_data): New type.
53962         (RUN_TEST_LOOP_f_i): New macro.
53963         (RUN_TEST_LOOP_f_i_tg): Likewise.
53964         (fpclassify_test_data): New variable.
53965         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53966         (ilogb_test_data): New variable.
53967         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53969         * math/libm-test.inc (scalbln_test): Correct function name in END
53970         call.
53972         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53973         (RUN_TEST_LOOP_fI_f1): New macro.
53974         (frexp_test_data): New variable.
53975         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53977         * math/libm-test.inc (struct test_fF_f1_data): New type.
53978         (RUN_TEST_LOOP_fF_f1): New macro.
53979         (modf_test_data): New variable.
53980         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53982         * math/libm-test.inc (struct test_f_f1_data): New type.
53983         (RUN_TEST_LOOP_f_f1): New macro.
53984         (gamma_test_data): New variable.
53985         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53986         (lgamma_test_data): New variable.
53987         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53989 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53991         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53992         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53993         (main): Comment "tls" pseudo-hwcap.
53995 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53997         * math/libm-test.inc (struct test_fl_f_data): New type.
53998         (RUN_TEST_LOOP_fl_f): New variable.
53999         (scalbln_test_data): New variable.
54000         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54002         * math/libm-test.inc (struct test_fi_f_data): New type.
54003         (RUN_TEST_LOOP_fi_f): New macro.
54004         (ldexp_test_data): New variable.
54005         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54006         (scalbn_test_data): New variable.
54007         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54009         * math/libm-test.inc (struct test_c_f_data): New type.
54010         (RUN_TEST_LOOP_c_f): New macro.
54011         (cabs_test_data): New variable.
54012         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54013         (carg_test_data): New variable.
54014         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54015         (cimag_test_data): New variable.
54016         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54017         (creal_test_data): New variable.
54018         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54020         * math/libm-test.inc (struct test_if_f_data): New type.
54021         (RUN_TEST_LOOP_if_f): New macro.
54022         (jn_test_data): New variable.
54023         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54024         (yn_test_data): New variable.
54025         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54027         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54029 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54031         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54032         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54034 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54036         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54037         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54038         (bench-deps): Add bench-timing.h.
54039         * benchtests-bench-skeleton.c: Include bench-timing.h.
54040         (main): Use TIMING_* macros instead of clock_gettime.
54041         * benchtests/bench-timing.h: New file.
54043         [BZ #14582]
54044         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54045         Renamed from _LIB_VERSION.
54046         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54048 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54050         * math/libm-test.inc (struct test_fff_f_data): New type.
54051         (RUN_TEST_LOOP_fff_f): New macro.
54052         (fma_test_data): New variable.
54053         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54054         (fma_towardzero_test_data): New variable.
54055         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54056         (fma_downward_test_data): New variable.
54057         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54058         (fma_upward_test_data): New variable.
54059         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54061         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54062         (struct test_c_c_data): New type.
54063         (RUN_TEST_LOOP_c_c): New macro.
54064         (cacos_test_data): New variable.
54065         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54066         (cacosh_test_data): New variable.
54067         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54068         (casin_test_data): New variable.
54069         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54070         (casinh_test_data): New variable.
54071         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54072         (catan_test_data): New variable.
54073         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54074         (catanh_test_data): New variable.
54075         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54076         (ccos_test_data): New variable.
54077         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54078         (ccosh_test_data): New variable.
54079         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54080         (cexp_test_data): New variable.
54081         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54082         (clog_test_data): New variable.
54083         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54084         (clog10_test_data): New variable.
54085         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54086         (conj_test_data): New variable.
54087         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54088         (cproj_test_data): New variable.
54089         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54090         (csin_test_data): New variable.
54091         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54092         (csinh_test_data): New variable.
54093         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54094         (csqrt_test_data): New variable.
54095         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54096         (ctan_test_data): New variable.
54097         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54098         (ctan_tonearest_test_data): New variable.
54099         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54100         (ctan_towardzero_test_data): New variable.
54101         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54102         (ctan_downward_test_data): New variable.
54103         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54104         (ctan_upward_test_data): New variable.
54105         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54106         (ctanh_test_data): New variable.
54107         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54108         (ctanh_tonearest_test_data): New variable.
54109         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54110         (ctanh_towardzero_test_data): New variable.
54111         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54112         (ctanh_downward_test_data): New variable.
54113         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54114         (ctanh_upward_test_data): New variable.
54115         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54116         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54117         of BUILD_COMPLEX.
54119         * math/libm-test.inc (struct test_ff_f_data): New type.
54120         (struct test_ff_f_data_nexttoward): Likewise.
54121         (RUN_TEST_LOOP_2_f): New macro.
54122         (RUN_TEST_LOOP_ff_f): Likewise.
54123         (atan2_test_data): New variable.
54124         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54125         (copysign_test_data): New variable.
54126         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54127         (fdim_test_data): New variable.
54128         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54129         (fmax_test_data): New variable.
54130         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54131         (fmin_test_data): New variable.
54132         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54133         (fmod_test_data): New variable.
54134         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54135         (hypot_test_data): New variable.
54136         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54137         (nextafter_test_data): New variable.
54138         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54139         (nexttoward_test_data): New variable.
54140         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54141         (pow_test_data): New variable.
54142         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54143         (pow_tonearest_test_data): New variable.
54144         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54145         (pow_towardzero_test_data): New variable.
54146         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54147         (pow_downward_test_data): New variable.
54148         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54149         (pow_upward_test_data): New variable.
54150         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54151         (remainder_test_data): New variable.
54152         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54153         (scalb_test_data): New variable.
54154         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54155         * sysdeps/i386/fpu/libm-test-ulps: Update.
54157 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54159         * math/libm-test.inc (fma_test): Use max_value instead of local
54160         variable fltmax.
54161         (nextafter_test): Likewise.
54163         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54164         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54165         (acos_downward_test_data): New variable.
54166         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54167         (acos_upward_test_data): New variable.
54168         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54169         (acosh_test_data): New variable.
54170         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54171         (asin_test_data): New variable.
54172         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54173         (asin_tonearest_test_data): New variable.
54174         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54175         (asin_towardzero_test_data): New variable.
54176         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54177         (asin_downward_test_data): New variable.
54178         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54179         (asin_upward_test_data): New variable.
54180         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54181         (asinh_test_data): New variable.
54182         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54183         (atan_test_data): New variable.
54184         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54185         (atanh_test_data): New variable.
54186         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54187         (cbrt_test_data): New variable.
54188         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54189         (ceil_test_data): New variable.
54190         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54191         (cos_test_data): New variable.
54192         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54193         (cos_tonearest_test_data): New variable.
54194         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54195         (cos_towardzero_test_data): New variable.
54196         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54197         (cos_downward_test_data): New variable.
54198         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54199         (cos_upward_test_data): New variable.
54200         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54201         (cosh_test_data): New variable.
54202         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54203         (cosh_tonearest_test_data): New variable.
54204         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54205         (cosh_towardzero_test_data): New variable.
54206         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54207         (cosh_downward_test_data): New variable.
54208         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54209         (cosh_upward_test_data): New variable.
54210         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54211         (erf_test_data): New variable.
54212         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54213         (erfc_test_data): New variable.
54214         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54215         (exp_test_data): New variable.
54216         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54217         (exp_tonearest_test_data): New variable.
54218         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54219         (exp_towardzero_test_data): New variable.
54220         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54221         (exp_downward_test_data): New variable.
54222         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54223         (exp_upward_test_data): New variable.
54224         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54225         (exp10_test_data): New variable.
54226         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54227         (exp2_test_data): New variable.
54228         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54229         (expm1_test_data): New variable.
54230         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54231         (fabs_test_data): New variable.
54232         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54233         (floor_test_data): New variable.
54234         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54235         (j0_test_data): New variable.
54236         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54237         (j1_test_data): New variable.
54238         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54239         (log_test_data): New variable.
54240         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54241         (log10_test_data): New variable.
54242         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54243         (log1p_test_data): New variable.
54244         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54245         (log2_test_data): New variable.
54246         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54247         (logb_test_data): New variable.
54248         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54249         (logb_downward_test_data): New variable.
54250         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54251         (nearbyint_test_data): New variable.
54252         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54253         (rint_test_data): New variable.
54254         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54255         (rint_tonearest_test_data): New variable.
54256         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54257         (rint_towardzero_test_data): New variable.
54258         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54259         (rint_downward_test_data): New variable.
54260         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54261         (rint_upward_test_data): New variable.
54262         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54263         (round_test_data): New variable.
54264         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54265         (sin_test_data): New variable.
54266         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54267         (sin_tonearest_test_data): New variable.
54268         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54269         (sin_towardzero_test_data): New variable.
54270         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54271         (sin_downward_test_data): New variable.
54272         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54273         (sin_upward_test_data): New variable.
54274         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54275         (sinh_test_data): New variable.
54276         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54277         (sinh_tonearest_test_data): New variable.
54278         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54279         (sinh_towardzero_test_data): New variable.
54280         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54281         (sinh_downward_test_data): New variable.
54282         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54283         (sinh_upward_test_data): New variable.
54284         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54285         (sqrt_test_data): New variable.
54286         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54287         (tan_test_data): New variable.
54288         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54289         (tan_tonearest_test_data): New variable.
54290         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54291         (tan_towardzero_test_data): New variable.
54292         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54293         (tan_downward_test_data): New variable.
54294         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54295         (tan_upward_test_data): New variable.
54296         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54297         (tanh_test_data): New variable.
54298         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54299         (tgamma_test_data): New variable.
54300         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54301         (trunc_test_data): New variable.
54302         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54303         (y0_test_data): New variable.
54304         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54305         (y1_test_data): New variable.
54306         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54307         (significand_test_data): New variable.
54308         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54310 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54312         [BZ #12387]
54313         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54315 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54317         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54319 2013-05-10  Andreas Jaeger  <aj@suse.de>
54321         [BZ #15448]
54322         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54323         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54325 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54327         * math/gen-libm-test.pl (adjust_arg): New function.
54328         (special_functions): Handle generating output in both functions
54329         and arrays.
54330         (parse_args): Likewise.
54331         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54332         $in_func argument to parse_args.
54333         * math/libm-test.inc (struct test_f_f_data): New type.
54334         (IF_ROUND_INIT_): New macro.
54335         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54336         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54337         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54338         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54339         (ROUND_RESTORE_): Likewise.
54340         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54341         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54342         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54343         (ROUND_RESTORE_FE_UPWARD): Likewise.
54344         (RUN_TEST_LOOP_f_f): New macro.
54345         (acos_test_data): New variable.
54346         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54347         (acos_tonearest_test_data): New variable.
54348         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54350 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54352         * benchtests/bench-skeleton.c (startup): Fix coding style.
54354 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54356         [BZ #6809]
54357         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54358         negative infinity argument.
54359         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54360         negative infinity argument.
54361         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54362         negative infinity argument.
54363         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54364         domain errors.
54366 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54368         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54369         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54370         * iconv/iconv_prog.c (main): Likewise.
54371         * locale/programs/charmap-dir.c (charmap_readdir)
54372         (fopen_uncompressed): Likewise.
54373         * locale/programs/locfile.c (siblings_uncached)
54374         (write_locale_data): Use lstat64 instead of lstat.
54375         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54376         stat.
54378 2013-05-10  Andreas Jaeger  <aj@suse.de>
54380         [BZ #15395]
54381         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54382         localization.
54383         Include <locale.h>.
54385 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54387         * elf/dl-close.c (_dl_close_worker): Add comments.
54389 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54391         [BZ #15359]
54392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54393         high part of pi/2.
54394         (__ieee754_rem_pio2l): Update comments.
54396         [BZ #15429]
54397         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54398         high part of pi/2.
54399         (__ieee754_rem_pio2l): Update comments.
54401         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54402         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54404         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54405         M_PI_4l.
54407         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54408         (M_PI_34_LOG10El): Likewise.
54409         (M_PI2_LOG10El): Likewise.
54410         (M_PI4_LOG10El): Likewise.
54411         (M_PI_LOG10El): Likewise.
54413 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54417 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54419         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54420         (MINUS_ZERO_INIT): Likewise.
54421         (PLUS_INFTY_INIT): Likewise.
54422         (MINUS_INFTY_INIT): Likewise.
54423         (QNAN_VALUE_INIT): Likewise.
54424         (MAX_VALUE_INIT): Likewise.
54425         (MIN_VALUE_INIT): Likewise.
54426         (MIN_SUBNORM_VALUE_INIT): Likewise.
54427         (plus_zero): Initialize with PLUS_ZERO_INIT.
54428         (minus_zero): Initialize with MINUS_ZERO_INIT.
54429         (plus_infty): Initialize with PLUS_INFTY_INIT.
54430         (minus_infty): Initialize with MINUS_INFTY_INIT.
54431         (qnan_value): Initialize with QNAN_VALUE_INIT.
54432         (max_value): Initialize with MAX_VALUE_INIT.
54433         (min_value): Initialize with MIN_VALUE_INIT.
54434         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54436         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54437         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54438         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54439         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54441         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54442         (RUN_TEST_2_f): Likewise.
54443         (RUN_TEST_ff_f): Likewise.
54444         (RUN_TEST_fi_f): Likewise.
54445         (RUN_TEST_fl_f): Likewise.
54446         (RUN_TEST_fff_f): Likewise.
54447         (RUN_TEST_c_f): Likewise.
54448         (RUN_TEST_f_f1): Likewise.
54449         (RUN_TEST_fF_f1): Likewise.
54450         (RUN_TEST_fI_f1): Likewise.
54451         (RUN_TEST_ffI_f1): Likewise.
54452         (RUN_TEST_c_c): Likewise.
54453         (RUN_TEST_cc_c): Likewise.
54454         (RUN_TEST_f_i): Likewise.
54455         (RUN_TEST_f_i_tg): Likewise.
54456         (RUN_TEST_ff_i_tg): Likewise.
54457         (RUN_TEST_f_b): Likewise.
54458         (RUN_TEST_f_b_tg): Likewise.
54459         (RUN_TEST_f_l): Likewise.
54460         (RUN_TEST_f_L): Likewise.
54461         (RUN_TEST_sincos): Likewise.
54462         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54463         whether to show exceptions.  Do not include ");\n" in return
54464         value.
54465         (special_functions): Output call to RUN_TEST_sincos instead of
54466         check_float calls.  Update calls to new_test.
54467         (parse_args): Output call to single RUN_TEST_* macro instead of
54468         check_* calls and other assignments.  Update calls to new_test.
54470         [BZ #2546]
54471         [BZ #2560]
54472         [BZ #5159]
54473         [BZ #15426]
54474         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54475         input to result for tgamma overflow.
54476         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54477         (gamma_coeff): New variable.
54478         (NCOEFF): New macro.
54479         (gamma_positive): New function.
54480         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54481         underflow here.  Use gamma_positive instead of exp (lgamma) for
54482         other arguments.
54483         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54484         (gamma_coeff): New variable.
54485         (NCOEFF): New macro.
54486         (gammaf_positive): New function.
54487         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54488         underflow here.  Use gamma_positive instead of exp (lgamma) for
54489         other arguments.
54490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54491         (gamma_coeff): New variable.
54492         (NCOEFF): New macro.
54493         (gammal_positive): New function.
54494         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54495         underflow here.  Use gamma_positive instead of exp (lgamma) for
54496         other arguments.
54497         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54498         (gamma_coeff): New variable.
54499         (NCOEFF): New macro.
54500         (gammal_positive): New function.
54501         (__ieee754_gammal_r): Handle positive infinity, overflow and
54502         underflow here.  Handle NaN the same as positive infinity.  Remove
54503         check x < 0xffffffff for negative integers.  Use gamma_positive
54504         instead of exp (lgamma) for other arguments.
54505         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54506         (gamma_coeff): New variable.
54507         (NCOEFF): New macro.
54508         (gammal_positive): New function.
54509         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54510         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54511         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54512         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54513         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54514         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54515         * sysdeps/generic/math_private.h (__gamma_productf): New
54516         prototype.
54517         (__gamma_product): Likewise.
54518         (__gamma_productl): Likewise.
54519         * math/Makefile (libm-calls): Add gamma_product.
54520         * math/libm-test.inc (tgamma_test): Add more tests.
54521         * sysdeps/i386/fpu/libm-test-ulps: Update.
54522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54524 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54526         * benchtests/bench-skeleton.c (main): Preheat CPU.
54528 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54530         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54532 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54534         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54535         and _dl_skip_args_internal.
54537 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54539         * manual/message.texi (Message Translation): Talk about users.
54540         Message to key mapping impacts design.
54542 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54544         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54546         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54548         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54549         * sysdeps/wordsize-64/glob64.c: ... here.
54551         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54552         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54553         New macros.
54555         * debug/getlogin_r_chk.c: Moved to ...
54556         * login/getlogin_r_chk.c: ... here.
54557         * debug/Makefile (routines): Move getlogin_r_chk to ...
54558         * login/Makefile (routines): ... here.
54559         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54560         * login/Versions (libc: GLIBC_2.4): ... here.
54562         * io/poll.c (__poll): Renamed from poll.
54563         Add libc_hidden_def.
54564         (poll): Define as weak alias.
54566         * debug/ptsname_r_chk.c: Moved to ...
54567         * login/ptsname_r_chk.c: ... here.
54568         * debug/Makefile (routines): Move ptsname_r_chk to ...
54569         * login/Makefile (routines): ... here.
54570         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54571         * login/Versions (libc: GLIBC_2.4): ... here.
54573         * posix/getlogin.c: Moved to ...
54574         * login/getlogin.c: ... here.
54575         * posix/getlogin_r.c: Moved to ...
54576         * login/getlogin_r.c: ... here.
54577         * posix/getlogin_r.c: Moved to ...
54578         * login/getlogin_r.c: ... here.
54579         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54580         * login/Makefile (routines): ... here.
54581         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54582         * login/Versions (libc: GLIBC_2.0): ... here.
54584         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54585         (setrlimit): Define as weak alias.
54587         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54588         Call __ names for open, ftruncate, and close.
54589         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54590         (truncate): Define as weak alias.
54592 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54594         * math/gen-libm-test.pl (parse_args): Initialize x before each
54595         test of frexp, modf and remquo.
54597         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54598         test signgam value.
54600 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54602         [BZ #15418]
54603         [BZ #15419]
54604         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54605         internal tests.
54606         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54608 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54610         * elf/dl-writev.h: New file.
54611         * elf/dl-misc.c: Include it.
54612         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54613         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54615 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54617         * math/libm-test.inc (noXFails): Remove variable.
54618         (noXPasses): Likewise.
54619         (BUILD_COMPLEX_INT): Remove macro.
54620         (print_screen): Remove xfail argument.
54621         (print_screen_max_error): Likewise.
54622         (update_stats): Likewise.
54623         (print_max_error): Likewise.  Update calls to other affected
54624         functions.
54625         (print_complex_max_error): Likewise.
54626         (test_single_exception): Update calls to print_screen.
54627         (test_single_errno): Likewise.
54628         (check_float_internal): Remove xfail argument.  Update calls to
54629         other affected functions.
54630         (check_float): Likewise.
54631         (check_complex): Likewise.
54632         (check_int): Likewise.
54633         (check_long): Likewise.
54634         (check_bool): Likewise.
54635         (check_longlong): Likewise.
54636         (main): Don't print noXFails and noXPasses.
54637         * math/gen-libm-test.pl (top level): Don't mention expected
54638         failure handling in comment.
54639         (new_test): Don't handle expected failures.
54640         (parse_args): Don't mention expected failure handling in comment.
54641         (generate_testfile): Don't handle expected failures.
54642         (parse_ulps): Likewise.
54643         (print_ulps_file): Likewise.
54644         (get_failure): Remove function.
54645         (output_test): Don't handle expected failures.
54646         * make/README.libm-test: Don't mention expected failure handling.
54648         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54649         (minus_zero): Likewise.
54650         (plus_infty): Likewise.
54651         (minus_infty): Likewise.
54652         (qnan_value): Likewise.
54653         (max_value): Likewise.
54654         (min_value): Likewise.
54655         (min_subnorm_value): Likewise.
54656         (initialize): Do not initialize those variables dynamically.
54658 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54660         * io/open.c (__open_2): Moved to ...
54661         * io/open_2.c: ... this new file.
54662         * io/open64.c (__open64_2): Moved to ...
54663         * io/open64_2.c: ... this new file.
54664         * io/openat.c (__openat_2): Moved to ...
54665         * io/openat_2.c: ... this new file.
54666         * io/openat64.c (__openat64_2): Moved to ...
54667         * io/openat64_2.c: ... this new file.
54668         * io/Makefile (routines): Add them.
54669         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54670         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54671         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54672         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54673         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54674         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54675         (__openat64): Add hidden_ver.
54676         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54677         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54679         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54680         Separately conditionalize setting of GLRO(dl_sysinfo) so
54681         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54682         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54684 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54686         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54687         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54688         definition.
54689         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54690         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54691         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54692         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54693         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54695 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54697         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54698         test signgam value.
54700         * math/libm-test.inc (hypot_test): Do not use
54701         IGNORE_ZERO_INF_SIGN.
54703 2013-05-03  Andreas Jaeger  <aj@suse.de>
54705         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54706         Linux 3.9.
54707         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54708         (PF_MAX): Adjust for VSOCK change.
54710 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54714 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54716         [BZ #15264]
54717         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54718         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54719         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54721 2013-05-02  David S. Miller  <davem@davemloft.net>
54723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54725 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54727         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54729 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54731         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54733 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54735         [BZ #14952]
54736         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54737         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54738         Use __attribute__ ((__gnu_inline__)).
54739         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54740         Don't use __attribute__ ((__gnu_inline__)).
54742 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54744         [BZ #15423]
54745         * math/s_catan.c (__catan): Handle small real or imaginary part of
54746         input specially to avoid spurious underflow.
54747         * math/s_catanf.c (__catanf): Likewise.
54748         * math/s_catanh.c (__catanh): Likewise.
54749         * math/s_catanhf.c (__catanhf): Likewise.
54750         * math/s_catanhl.c (__catanhl): Likewise.
54751         * math/s_catanl.c (__catanl): Likewise.
54752         * math/libm-test.inc (catan_test): Add more tests.
54753         (catanh_test): Likewise.
54754         * sysdeps/i386/fpu/libm-test-ulps: Update.
54755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54757 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54761 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54763         [BZ #15416]
54764         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54765         accurately for denominator in atan2.
54766         * math/s_catanf.c (__catanf): Likewise.
54767         * math/s_catanh.c (__catanh): Likewise.
54768         * math/s_catanhf.c (__catanhf): Likewise.
54769         * math/s_catanhl.c (__catanhl): Likewise.
54770         * math/s_catanl.c (__catanl): Likewise.
54771         * math/libm-test.inc (catan_test): Add more tests.
54772         (catanh_test): Likewise.
54773         * sysdeps/i386/fpu/libm-test-ulps: Update.
54774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54776 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54778         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54780         * benchtests/Makefile (bench): Remove slow benchmarks.
54781         * benchtests/atan-inputs: Add slow benchmark inputs.
54782         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54783         (BENCH_FUNC): Accept variant offset.
54784         (VARIANT): Define.
54785         * benchtests/bench-skeleton.c (main): Run benchmark for each
54786         variant.
54787         * benchtests/cos-inputs: Add slow benchmark inputs.
54788         * benchtests/exp-inputs: Likewise.
54789         * benchtests/pow-inputs: Likewise.
54790         * benchtests/sin-inputs: Likewise.
54791         * benchtests/slowatan-inputs: Remove.
54792         * benchtests/slowatan.c: Remove.
54793         * benchtests/slowcos-inputs: Remove.
54794         * benchtests/slowcos.c: Remove.
54795         * benchtests/slowexp-inputs: Remove.
54796         * benchtests/slowexp.c: Remove.
54797         * benchtests/slowpow-inputs: Remove.
54798         * benchtests/slowpow.c: Remove.
54799         * benchtests/slowsin-inputs: Remove.
54800         * benchtests/slowsin.c: Remove.
54801         * benchtests/slowtan-inputs: Remove.
54802         * benchtests/slowtan.c: Remove.
54803         * benchtests/tan-inputs: Add slow benchmark inputs.
54804         * scripts/bench.pl: Parse comments and directives.
54806         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54807         in CPPFLAGS.
54808         ($(objpfx)bench-%.c): Remove *-ITER.
54809         * benchtests/bench-modf.c: Remove definition of ITER.
54810         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54811         (main): Loop for DURATION seconds instead of fixed number of
54812         iterations.
54813         * scripts/bench.pl: Don't expect iterations in parameters.
54815 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54817         * io/fchdir.c (__fchdir): Renamed from fchdir.
54818         (fchdir): Define as weak alias.
54820 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54822         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54823         (ERRNO_EDOM): Likewise.
54824         (ERRNO_ERANGE): Likewise.
54825         (noErrnoTests): New variable.
54826         (init_max_error): Set errno to 0.
54827         (test_single_errno): New function.
54828         (test_errno): Likewise.
54829         (check_float_internal): Call test_errno.  Set errno to 0.
54830         (check_complex): Refer to errno tests in comment.
54831         (check_int): Call test_errno.  Set errno to 0.
54832         (check_long): Likewise.
54833         (check_bool): Likewise.
54834         (check_longlong): Likewise.
54835         (cos_test): Use ERRNO_* flags for errno tests instead of
54836         check_int.
54837         (expm1_test): Likewise.
54838         (fmod_test): Likewise.
54839         (ilogb_test): Likewise.
54840         (lgamma_test): Likewise.
54841         (pow_test): Likewise.
54842         (remainder_test): Likewise.
54843         (sin_test): Likewise.
54844         (tan_test): Likewise.
54845         (yn_test): Likewise.
54846         (initialize): Set errno to 0.
54847         (main): Print number of errno tests.
54848         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54850 2013-04-29  Andreas Jaeger  <aj@suse.de>
54852         [BZ #15084]
54853         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54854         and RES_USEVC.
54856         [BZ #15085]
54857         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54858         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54859         unimplemented.
54861         [BZ #15380]
54862         * stdlib/random.c (__initstate): Return NULL if
54863         __initstate fails.
54865         [BZ #15086]
54866         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54867         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54868         RES_SNGLKUPREOP.
54870 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54874 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54876         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54877         of individual tests.
54878         (casin_test): Likewise.
54879         (casinh_test): Likewise.
54881 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54883         [BZ #15409]
54884         * math/s_catan.c (__catan): Handle arguments with large real or
54885         imaginary part separately without squaring.
54886         * math/s_catanf.c (__catanf): Likewise.
54887         * math/s_catanh.c (__catanh): Likewise.
54888         * math/s_catanhf.c (__catanhf): Likewise.
54889         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54890         and redefine.
54891         (__catanhl): Handle arguments with large real or imaginary part
54892         separately without squaring.
54893         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54894         and redefine.
54895         (__catanl): Handle arguments with large real or imaginary part
54896         separately without squaring.
54897         * math/libm-test.inc (catan_test): Add more tests.
54898         (catanh_test): Likewise.
54899         * sysdeps/i386/fpu/libm-test-ulps: Update.
54900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54902 2013-04-27  Andreas Jaeger  <aj@suse.de>
54904         [BZ #15007]
54905         * stdlib/stdlib.h: Update guards for qecvt.
54906         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54907         <stdlib.h>.
54909 2013-04-27  Allan McRae  <allan@archlinux.org>
54911         * sysdeps/i386/fpu/libm-test-ulps: Update.
54913 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54915         [BZ #15406]
54916         * math/s_catan.c: Include <float.h>.
54917         (__catan): Ensure underflow exception occurs for underflowed
54918         result.
54919         * math/s_catanf.c: Include <float.h>.
54920         (__catanf): Ensure underflow exception occurs for underflowed
54921         result.
54922         * math/s_catanh.c: Include <float.h>.
54923         (__catanh): Ensure underflow exception occurs for underflowed
54924         result.
54925         * math/s_catanhf.c: Include <float.h>.
54926         (__catanhf): Ensure underflow exception occurs for underflowed
54927         result.
54928         * math/s_catanhl.c: Include <float.h>.
54929         (__catanhl): Ensure underflow exception occurs for underflowed
54930         result.
54931         * math/s_catanl.c: Include <float.h>.
54932         (__catanl): Ensure underflow exception occurs for underflowed
54933         result.
54934         * math/libm-test.inc (catan_test): Add more tests.
54935         (catanh_test): Likewise.
54937         [BZ #15405]
54938         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54939         underflowed result.
54940         * math/s_ccoshf.c (__ccoshf): Likewise.
54941         * math/s_ccoshl.c (__ccoshl): Likewise.
54942         * math/s_csin.c (__csin): Likewise.
54943         * math/s_csinf.c (__csinf): Likewise.
54944         * math/s_csinh.c (__csinh): Likewise.
54945         * math/s_csinhf.c (__csinhf): Likewise.
54946         * math/s_csinhl.c (__csinhl): Likewise.
54947         * math/s_csinl.c (__csinl): Likewise.
54948         * math/libm-test.inc (ccos_test): Add more tests.
54949         (ccosh_test): Likewise.
54950         (csin_test): Likewise.
54951         (csinh_test): Likewise.
54953 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54955         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54956         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54957         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54958         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54959         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54960         powerpc/power5+/fpu folders.
54961         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54964 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54968 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54970         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54971         additions to variable.
54972         [$(config-machine) = x86_64] (modules-names): Likewise.
54973         ($(objpfx)tst-audit3): Remove dependency.
54974         ($(objpfx)tst-audit3.out): Likewise.
54975         ($(objpfx)tst-audit4): Likewise.
54976         ($(objpfx)tst-audit4.out): Likewise.
54977         ($(objpfx)tst-audit5): Likewise.
54978         ($(objpfx)tst-audit5.out): Likewise.
54979         ($(objpfx)tst-audit6): Likewise.
54980         ($(objpfx)tst-audit6.out): Likewise.
54981         ($(objpfx)tst-audit7): Likewise.
54982         ($(objpfx)tst-audit7.out): Likewise.
54983         (tst-audit3-ENV): Remove variable.
54984         (tst-audit4-ENV): Likewise.
54985         (tst-audit5-ENV): Likewise.
54986         (tst-audit6-ENV): Likewise.
54987         (tst-audit7-ENV): Likewise.
54988         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54989         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54990         addition to variable.
54991         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54992         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54993         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54994         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54995         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54996         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54997         tst-audit3, tst-audit4 and tst-audit5.
54998         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54999         tst-audit6 and tst-audit7.
55000         [$(subdir) = elf] (modules-names): Add audit modules for those
55001         tests.
55002         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55003         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55004         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55005         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55006         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55007         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55008         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55009         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55010         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55011         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55012         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55013         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55014         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55015         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55016         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55017         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55018         Likewise.
55019         [$(subdir) = elf && $(config-cflags-avx) = yes]
55020         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55021         [$(subdir) = elf && $(config-cflags-avx) = yes]
55022         (CFLAGS-tst-auditmod4a.c): Likewise.
55023         [$(subdir) = elf && $(config-cflags-avx) = yes]
55024         (CFLAGS-tst-auditmod4b.c): Likewise.
55025         [$(subdir) = elf && $(config-cflags-avx) = yes]
55026         (CFLAGS-tst-auditmod6b.c): Likewise.
55027         [$(subdir) = elf && $(config-cflags-avx) = yes]
55028         (CFLAGS-tst-auditmod6c.c): Likewise.
55029         [$(subdir) = elf && $(config-cflags-avx) = yes]
55030         (CFLAGS-tst-auditmod7b.c): Likewise.
55031         * elf/tst-audit3.c: Move to ...
55032         * sysdeps/x86_64/tst-audit3.c: ... here.
55033         * elf/tst-audit4.c: Move to ...
55034         * sysdeps/x86_64/tst-audit4.c: ... here.
55035         * elf/tst-audit5.c: Move to ...
55036         * sysdeps/x86_64/tst-audit5.c: ... here.
55037         * elf/tst-audit6.c: Move to ...
55038         * sysdeps/x86_64/tst-audit6.c: ... here.
55039         * elf/tst-audit7.c: Move to ...
55040         * sysdeps/x86_64/tst-audit7.c: ... here.
55041         * elf/tst-auditmod3a.c: Move to ...
55042         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55043         * elf/tst-auditmod3b.c: Move to ...
55044         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55045         * elf/tst-auditmod4a.c: Move to ...
55046         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55047         * elf/tst-auditmod4b.c: Move to ...
55048         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55049         * elf/tst-auditmod5a.c: Move to ...
55050         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55051         * elf/tst-auditmod5b.c: Move to ...
55052         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55053         * elf/tst-auditmod6a.c: Move to ...
55054         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55055         * elf/tst-auditmod6b.c: Move to ...
55056         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55057         * elf/tst-auditmod6c.c: Move to ...
55058         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55059         * elf/tst-auditmod7a.c: Move to ...
55060         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55061         * elf/tst-auditmod7b.c: Move to ...
55062         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55064 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55066         [BZ #15366]
55067         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55068         define unconditionally.
55069         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55070         define unconditionally.
55071         (INT8_C, INT16_C, etc.): Likewise.
55073 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55075         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55076         __ehdr_start with hidden visibility.
55078         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55080 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55082         * math/libm-test.inc (cos_test): Use accurate hex constants.
55083         (sincost_test): Likewise.
55085 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55087         * math/libm-test.inc (catan_test): Add more tests.
55088         (catanh_test): Likewise.
55090         * math/s_catanf.c (__catanf): Use suffixed floating-point
55091         constants.
55092         * math/s_catanhf.c (__catanhf): Likewise.
55093         * math/s_catanhl.c (__catanhl): Likewise.
55094         * math/s_catanl.c (__catanl): Likewise.
55096         [BZ #15394]
55097         * math/s_catan.c (__catan): Calculate imaginary part of result
55098         with log1p not log unless computing log of number close to 0.
55099         * math/s_catanf.c (__catanf): Likewise.
55100         * math/s_catanl.c (__catanl): Likewise.
55101         * math/s_catanh.c (__catanh): Calculate real part of result with
55102         log1p not log unless computing log of number close to 0.
55103         * math/s_catanhf.c (__catanhf): Likewise.
55104         * math/s_catanhl.c (__catanhl): Likewise.
55105         * math/libm-test.inc (catan_test): Add more tests.
55106         (catanh_test): Likewise.
55107         * sysdeps/i386/fpu/libm-test-ulps: Update.
55108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55110 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55112         * benchtests/Makefile: Mention files in which fast and slow
55113         paths of math functions are implemented.
55115 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55117         * sysdeps/posix/timespec_get.c: New file.
55119 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55121         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55122         POWER.
55123         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55124         for POWER.
55125         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55126         powerpc/power5/fpu folders.
55127         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55128         * benchtests/Makefile: Add modf testcase.
55129         * benchtests/bench-modf.c: New file: Benchmark test for mo
55131 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55133         [BZ #14888]
55134         * time/Makefile (tests): Add tst-strptime-whitespace.
55135         * time/strptime_l.c (get_number): Use ISSPACE.
55136         (__strptime_internal): Likewise.
55137         * time/tst-strptime-whitespace.c: New test case.
55139 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55141         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55142         member.
55143         (_nss_files_init): Set it here.
55145 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55147         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55148         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55149         unsigned.
55151 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55153         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55155 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55157         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55158         size just once.
55160 2013-04-21  David S. Miller  <davem@davemloft.net>
55162         * po/ru.po: Update Russion translation from translation project.
55164 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55166         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55167         and setfsgid.
55169 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55171         * configure.in: Remove i386 configure warning. Remove i386 case.
55172         * configure: Regenerate.
55173         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55174         Add example to error message.
55175         * sysdeps/i386/configure: Regenerate.
55177 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55179         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55180         slowtan.
55181         * benchtests/cos-inputs: New file.
55182         * benchtests/slowcos-inputs: New file.
55183         * benchtests/slowcos.c: New file.
55184         * benchtests/slowtan-inputs: New file.
55185         * benchtests/slowtan.c: New file.
55186         * benchtests/tan-inputs: New file.
55188 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55190         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55191         considered kosher.
55193 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55195         * benchtests/Makefile: Include cppflags-iterator.mk to add
55196         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55198         * Makefile.in (bench-clean): New target.
55199         * benchtests/Makefile (bench-clean): Likewise.
55201 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55203         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55205 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55207         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55209 2013-04-15  Andreas Schwab  <schwab@suse.de>
55211         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55213         * nscd/pwdcache.c (cache_addpw): Likewise.
55214         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55215         more than recsize.
55217 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55219         * benchtests/Makefile (bench): Write all output to
55220         bench-out.tmp together.
55222 2013-04-15  Andreas Schwab  <schwab@suse.de>
55224         * nscd/nscd.c (main): Don't fork again after closing files.
55226 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55228         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55230         * benchtests/Rules (bench-deps): Collect dependencies into a
55231         single variable.  Add Makefile to dependencies.
55232         ($(objpfx)bench-%.c): Depend on bench-deps.
55234 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55235             Xavier Roche  <roche+kml2@exalead.com>
55237         [BZ #15361]
55238         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55239         just that it's a file descriptor.
55240         * manual/llio.texi (Synchronizing AIO Operations): Update description
55241         for EBADF error from aio_fsync.
55243 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55245         * Rules (bench): Move target definition...
55246         * benchtests/Makefile: ... here.
55248 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55250         * math/libm-test.inc (cos_test): Fix PI/2 test.
55251         (sincos_test): Likewise.
55252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55253         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55255 2013-04-11  Andreas Schwab  <schwab@suse.de>
55257         [BZ #13988]
55258         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55259         accept exponent character only when digits were seen.
55260         * stdio-common/Makefile (tests): Add bug26.
55261         * stdio-common/bug26.c: New file.
55263         [BZ #14293]
55264         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55265         non-freeable.
55267 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55269         * Makeconfig (rtld-prefix): Define built linker prefix.
55270         * Rules (run-bench): Use it.
55271         * math/Makefile (run-regen-ulps): Likewise.
55273         * Rules (bench): Remove eval.
55275 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55276             Roland McGrath  <roland@hack.frob.com>
55277             Ondrej Bilka  <neleai@seznam.cz>
55279         [BZ #15346]
55280         * time/getdate.c: Include ctype.h and alloca.h.
55281         (__getdate_r): Trim leading and trailing spaces of input.
55282         * time/tst-getdate.c (tests): Add tests with leading and
55283         trailing spaces.
55285 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55287         [BZ #14280]
55288         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55289         when computing value.
55291 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55293         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55294         Use testrun.sh to run libm tests.
55296         [BZ #15309]
55297         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55299 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55301         [BZ #15264]
55302         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55304 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55306         * Makefile.in (regen-ulps): New target.
55307         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55308         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55309         [ifneq (no,$(PERL)] (regen-ulps): New target.
55310         [ifeq (no,$(PERL)] (regen-ulps): New target.
55311         * math/libm-test.inc (ulps_file_name): Define.
55312         (output_dir): New variable.
55313         (options): Add "output-dir" option.
55314         (parse_opt): Handle 'o' case.
55315         (main): If output_dir is non-NULL use it as a prefix
55316         otherwise use "".
55317         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55319 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55321         [BZ #10060, #10062]
55322         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55323         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55324         fail configure if __sync_val_compare_and_swap is not inlined.
55325         * sysdeps/i386/configure: Regenerate.
55326         * configure.in: Build for i686 when configured for i386.
55327         * configure: Regenerate.
55328         * README: Remove i386 reference.
55330 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55332         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55333         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55335 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55337         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55338         (lmsnanval): New variables.
55339         (F): Add conversion tests.
55340         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55341         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55343         * stdio-common/tstdiomisc.c (F): Properly collect individual
55344         tests' results.
55346         [BZ #14686, #15336]
55347         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55348         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55349         Instead, use input NaN values or generate a qNaN by arithmetic
55350         operation.  Also fix bugs to comply with the standard.
55351         * math/libm-test.inc (remainder_test): Add more tests.
55353         [BZ #15335, #15342]
55354         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55356         input NaN values or generate a qNaN by arithmetic operation.
55358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55359         unreachable code.
55361         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55362         definitions.
55364 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55366         [BZ #14478]
55367         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55368         underflowed result.
55369         * math/s_cexpf.c (__cexpf): Likewise.
55370         * math/s_cexpl.c (__cexpl): Likewise.
55371         * math/libm-test.inc (cexp_test): Add more tests.
55373 2013-04-03  Andreas Schwab  <schwab@suse.de>
55375         [BZ #15330]
55376         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55377         order arrays from heap if bigger than alloca cutoff.
55379 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55381         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55382         (SNAN_TESTS_double): Refer to GCC PR56831.
55383         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55384         GCC PR56828.
55386 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55388         * Rules (bench): Move bench.out after the run is complete.
55390         * Rules (bench): Echo currently running benchmark.
55392         * benchtests/Makefile (bench): Add atan and slowatan.
55393         * benchtests/atan-inputs: New file.
55394         * benchtests/slowatan-inputs: New file.
55395         * benchtests/slowatan.c: New file.
55397         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55398         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55399         its value.
55401         [BZ #15305]
55402         * sysdeps/unix/sysv/linux/kernel-features.h
55403         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55404         __ASSUME_XFS_RESTRICTED_CHOWN.
55405         * sysdeps/unix/sysv/linux/pathconf.c
55406         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55407         Save and restore errno.
55409 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55411         [BZ #15327]
55412         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55413         arguments using __kernel_casinh.
55414         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55415         arguments using __kernel_casinhf.
55416         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55417         arguments using __kernel_casinhl.
55418         * math/libm-test.inc (cacosh_test): Add more tests.
55419         * sysdeps/i386/fpu/libm-test-ulps: Update.
55420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55422 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55424         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55425         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55427         * bench/Makefile (bench): Add sin and slowsin.
55428         * benchtests/sin-inputs: New file.
55429         * benchtests/slowsin-inputs: New file.
55430         * benchtests/slowsin.c: New file.
55432         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55433         (bench): Add slowexp and slowpow.
55434         (exp-ITER): Increase iterations.
55435         (pow-ITER): Likewise.
55436         * benchtests/exp-inputs: Change input.
55437         * benchtests/pow-inputs: Likewise.
55438         * benchtests/slowexp-inputs: New file.
55439         * benchtests/slowexp.c: New file.
55440         * benchtests/slowpow-inputs: New file.
55441         * benchtests/slowpow.c: New file.
55443 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55445         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55446         instructions.
55447         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55448         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55449         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55450         * benchtests/Makefile: Add rint benchtest.
55451         * benchtests/rint-inputs: Input for rint benchtest.
55453 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55455         * Versions.def (libm): Add GLIBC_2.18.
55456         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55457         hidden libm prototypes.
55458         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55459         * math/Makefile (libm-calls): Add s_issignaling.
55460         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55461         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55462         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55463         declaration.
55464         * math/math.h [__USE_GNU] (issignaling): New macro.
55465         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55466         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55467         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55468         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55469         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55470         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55471         * manual/arith.texi (issignaling): New section.
55472         * manual/libm-err-tab.pl (@all_functions): Update comment.
55473         * math/gen-libm-test.pl (parse_args): Apply special handling for
55474         issignaling.
55475         * math/libm-test.inc (print_float, issignaling_test): New
55476         functions.
55477         (check_float_internal): Add issignaling checks.
55478         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55479         default definition.
55480         * sysdeps/powerpc/math-tests.h: New file.
55481         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55482         tests.
55483         * math/test-snan.c (TEST_FUNC): Likewise.
55485 2013-03-30  David S. Miller  <davem@davemloft.net>
55487         * po/de.po: Update from translation team.
55489 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55491         [BZ #10357]
55492         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55493         imaginary part less than 1.0 and real part less than 0.5
55494         specially.
55495         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55496         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55497         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55498         (cacos_test): Add more tests.
55499         (casin_test): Likewise.
55500         (casinh_test): Likewise.
55501         * sysdeps/i386/fpu/libm-test-ulps: Update.
55502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55504 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55506         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55507         ONE with its value.
55509         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55510         (__pow_mp): Replace ONE and MONE with their values.
55511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55512         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55513         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55514         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55515         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55516         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55518         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55520         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55521         (__pow_mp): Replace ZERO and MZERO with their values.
55522         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55523         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55526         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55527         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55528         (__sqr): Likewise.
55530         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55532         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55534 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55536         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55537         Declare with __attribute__ ((weak)).
55538         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55539         Call __call_tls_dtors only if it's not NULL.
55541 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55543         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55544         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55545         magic __ehdr_start linker symbol if it's defined.
55546         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55547         them up here if it was already done.
55549         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55550         (_dl_aux_init): Use const in cast when setting it.
55551         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55552         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55553         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55555         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55556         Declare them here.
55557         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55558         * csu/libc-tls.c: Nor here.
55559         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55561         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55562         (__libc_message): Never call vsyslog.
55564 2013-03-28  Alan Modra  <amodra@gmail.com>
55566         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55567         Define as empty.
55568         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55569         Likewise.
55571 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55573         [BZ #15214]
55574         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55575         underflow.
55576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55578 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55580         [BZ #15304]
55581         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55582         Don't add gid passed as argument.
55584         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55586 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55588         [BZ #15307]
55589         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55590         imaginary part between 1.0 and 1.5 and real part less than 0.5
55591         specially.
55592         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55593         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55594         * math/libm-test.inc (cacos_test): Add more tests.
55595         (casin_test): Likewise.
55596         (casinh_test): Likewise.
55597         * sysdeps/i386/fpu/libm-test-ulps: Update.
55598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55600 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55602         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55603         constants.
55604         (norm): Likewise.
55605         (denorm): Likewise.
55606         (__dbl_mp): Likewise.
55607         (add_magnitudes): Likewise.
55608         (sub_magnitudes): Likewise.
55609         (__add): Likewise.
55610         (__sub): Likewise.
55611         (__mul): Likewise.
55612         (__sqr): Likewise.
55613         (__inv): Likewise.
55614         (__dvd): Likewise.
55616         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55617         commented code.
55618         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55619         (__dubcos): Likewise.
55620         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55621         (__ieee754_acos): Likewise.
55622         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55624         (__exp1): Likewise.
55625         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55626         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55627         (log1): Likewise.
55628         (my_log2): Likewise.
55629         (checkint): Likewise.
55630         * sysdeps/ieee754/dbl-64/e_remainder.c
55631         (__ieee754_remainder): Likewise.
55632         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55634         (bsloww): Likewise.
55635         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55637         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55638         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55639         MANTISSA_STORE_T to store computations on mantissa.  Use
55640         macros for rounding and division.
55641         (denorm): Likewise.
55642         (__dbl_mp): Likewise.
55643         (add_magnitudes): Likewise.
55644         (sub_magnitudes): Likewise.
55645         (__mul): Likewise.
55646         (__sqr): Likewise.
55647         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55648         powers of two in terms of TWOPOW macro.
55649         (mp_no): Make type of mantissa as MANTISSA_T.
55650         [!RADIXI]: Define RADIXI.
55651         [!TWO52]: Define TWO52.
55652         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55654 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55656         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55657         llroundl symbol when building for PPC32.
55659 2013-03-24  Mark H Weaver  <mhw@netris.org>
55661         * manual/arith.texi (Normalization Functions): Fix prototypes for
55662         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55664 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55666         [BZ #13889]
55667         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55668         high value to check if expl overflow.
55669         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55670         to check for underflow and overflow.
55671         * math/libm-test.inc: Add exp test.
55673 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55675         [BZ #11120]
55676         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55677         with NOT_IN_libc.
55679 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55681         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55682         symbol.
55684 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55686         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55687         wrap blocks consisting of several statements.
55689         * sysdeps/generic/math-tests.h: New file.
55690         * sysdeps/i386/fpu/math-tests.h: Likewise.
55691         * math/test-snan.c: Include it.
55692         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55694 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55696         [BZ #15285]
55697         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55698         (__ieee754_j0l): Do not improve calculations using cos of twice
55699         input for inputs above LDBL_MAX / 2.0L.
55700         (__ieee754_y0l): Likewise.
55701         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55702         (__ieee754_j1l): Do not improve calculations using cos of twice
55703         input for inputs above LDBL_MAX / 2.0L.
55704         (__ieee754_y1l): Likewise.
55705         * math/libm-test.inc (j0_test): Add another test.
55706         (j1_test): Likewise.
55707         (y0_test): Likewise.
55708         (y1_test): Likewise.
55709         * sysdeps/i386/fpu/libm-test-ulps: Update.
55711 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55713         * Rules ($(objpfx)bench-%.c): Include code from a C source
55714         file.
55716 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55718         [BZ #15287]
55719         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55720         imaginary part 1.0 and real part less than 0.5 specially.
55721         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55722         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55723         * math/libm-test.inc (cacos_test): Add more tests.
55724         (casin_test): Likewise.
55725         (casinh_test): Likewise.
55726         * sysdeps/i386/fpu/libm-test-ulps: Update.
55727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55729 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55731         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55732         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55734 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55736         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55737         * config.make.in (config-cflags-sse4): Remove variable.
55738         (config-cflags-avx): Likewise.
55739         (config-cflags-sse2avx): Likewise.
55740         (config-cflags-novzeroupper): Likewise.
55741         (config-asflags-i686): Likewise.
55742         (have-mfma4): Likewise.
55743         (have-as-vis3): Likewise.
55744         (MIG): Likewise.
55745         * configure.in (MIG): Do not AC_SUBST.
55746         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55747         (libc_cv_cc_sse4): Do not AC_SUBST.
55748         (libc_cv_cc_avx): Likewise.
55749         (libc_cv_cc_sse2avx): Likewise.
55750         (libc_cv_cc_novzeroupper): Likewise.
55751         (libc_cv_cc_fma4): Likewise.
55752         (libc_cv_as_i686): Likewise.
55753         (libc_cv_sparc_as_vis3): Likewise.
55754         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55755         LIBC_CONFIG_VAR.
55756         (config-asflags-i686): Likewise.
55757         (config-cflags-avx): Likewise.
55758         (config-cflags-sse2avx): Likewise.
55759         (have-mfma4): Likewise.
55760         (config-cflags-novzeroupper): Likewise.
55761         * sysdeps/mach/configure.in (MIG): Likewise.
55762         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55763         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55764         LIBC_CONFIG_VAR.
55765         (config-cflags-avx): Likewise.
55766         (config-cflags-sse2avx): Likewise.
55767         (have-mfma4): Likewise.
55768         (config-cflags-novzeroupper): Likewise.
55769         * configure: Regenerated.
55770         * sysdeps/i386/configure: Likewise.
55771         * sysdeps/mach/configure: Likewise.
55772         * sysdeps/sparc/configure: Likewise.
55773         * sysdeps/x86_64/configure: Likewise.
55775 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55777         [BZ #14812]
55778         * locale/programs/localedef.c (options): Put N_ translation marker
55779         on argument names, not just descriptions.
55781 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55783         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55785 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55787         [BZ #14176]
55788         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55790 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55792         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55793         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55794         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55795         [!BEFORE_ABORT] (before_abort): New function.
55796         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55797         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55798         (writev_for_fatal): New function.
55799         (WRITEV_FOR_FATAL): New macro; call that.
55800         (backtrace_and_maps): New function.
55801         (BEFORE_ABORT): New macro; call that.
55802         (struct str_list): Type removed.
55803         (__libc_message, __libc_fatal): Functions removed.
55804         Include <sysdeps/posix/libc_fatal.c> instead.
55806 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55808         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55809         constants.
55810         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55811         double constants.
55813 2013-03-19  Andreas Schwab  <schwab@suse.de>
55815         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55816         * sysdeps/gnu/configure: Regenerate.
55818         * configure.in: Substitute libc_cv_rtlddir.
55819         * configure: Regenerate.
55820         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55821         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55822         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55823         * elf/Makefile (install-others, CFLAGS-interp.c)
55824         (ldso_install, common-ldd-rewrite): Likewise.
55825         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55826         $(inst_slibdir)/$(rtld-installed-name).
55827         * scripts/rellns-sh: Add -p option.
55828         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55829         for source.
55831 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55833         * manual/nptl.texi: Renamed to ...
55834         * manual/threads.texi: ... this.
55835         * manual/Makefile (chapters): Update.
55837 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55839         [BZ #14812]
55840         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55841         on argument names, not just descriptions.
55842         * malloc/memusagestat.c (options): Likewise.
55843         * nss/getent.c (options): Likewise.
55845 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55847         [BZ #14812]
55848         * iconv/iconv_prog.c (options): Put N_ translation marker
55849         on argument names, not just descriptions.
55850         * iconv/iconvconfig.c (options): Likewise.
55852 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55854         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55855         implementation which is faster on all x86_64 architectures.
55856         Tested on AMD, Intel Nehalem, SNB, IVB.
55857         * sysdeps/x86_64/strnlen.S: Likewise.
55859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55860         Remove all multiarch strlen and strnlen versions.
55861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55862         Remove strlen and strnlen related parts.
55864         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55865         Inline strlen part.
55866         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55868         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55869         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55870         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55871         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55872         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55873         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55875 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55877         * manual/memory.texi (Malloc Tunable Parameters):
55878         Sort parameters alphabetically. Add comments for missing entries.
55880 2013-03-17  David S. Miller  <davem@davemloft.net>
55882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55884 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55886         [BZ #15283]
55887         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55888         for arguments at most half maximum finite value.
55889         * math/libm-test.inc (j0_test): Add more tests.
55890         (j1_test): Likewise.
55891         (y0_test): Likewise.
55892         (y1_test): Likewise.
55893         * sysdeps/i386/fpu/libm-test-ulps: Update.
55894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55896         [BZ #14155]
55897         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55898         1 / x and functions P and Q for arguments above 0x1p256L.
55899         (__ieee754_y0l): Likewise.
55900         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55901         (__ieee754_y1l): Likewise.
55902         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55903         (j1_test): Likewise.
55904         (y0_test): Likewise.
55905         (y1_test): Likewise.
55907 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55909         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55910         variable.
55912 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55914         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55915         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55916         zero since it's initialized to EXEC_PAGESIZE.
55918         * sysdeps/unix/sysv/linux/ldsodefs.h
55919         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55920         * sysdeps/generic/ldsodefs.h: ... here.
55922 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55924         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55926         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55927         math/test-snan.c.
55928         * math/test-snan.c: Renamed from
55929         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55930         * math/Makefile (tests): Add test-snan.
55931         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55932         test-powerpc-snan.
55934         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55935         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55936         functions.
55937         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55938         __builtin_nan family of functions.
55939         * math/libm-test.inc (initialize): Initialize qnan_value with
55940         __builtin_nan family of functions.
55941         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55942         Remove variables.
55943         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55944         Remove functions.
55945         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55946         storage class.  Initialize qNaN_var and sNaN_var with
55947         __builtin_nan and __builtin_nans families of functions,
55948         respectively.
55950         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55951         (sqrt_test): Remove duplicate test with qNaN input.
55952         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55953         (round_test, signbit_test, significand_test): Note missing +/-Inf
55954         as well as qNaN tests.
55956         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55957         qNaN_var.  Fix a few strings, too.
55958         * math/libm-test.inc (nan_value): Rename to qnan_value.
55959         * math/gen-libm-test.pl (%beautify): Adjust to that.
55960         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55961         * math/test-misc.c (main): Likewise.
55962         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55963         to __qnan_bytes, and __qnan_union, respectively.
55964         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55965         Likewise.
55966         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55967         and lqnanval, respectively.
55968         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55969         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55970         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55971         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55973         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55974         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55975         doubles.
55977         * math/test-misc.c (main): Fix copy'n'pastos.
55978         * misc/tst-efgcvt.c (special): Likewise.
55980         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55981         Remove declarations.
55983 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55985         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55986         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55987         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55988         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55990 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55992         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55993         macro to return vdso values correctly in IFUNC implementations.
55994         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55995         Optimization by using IFUNC.
55997 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55998             Richard Henderson  <rth@redhat.com>
55999             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56001         * Makefile.in (bench): New target.
56002         * NEWS: Mention the benchmark framework.
56003         * Rules (bench): Likewise.
56004         (binaries-bench): Generate binaries for functions to
56005         benchmark.
56006         * benchtests/Makefile: New makefile for benchmark tests.
56007         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56008         programs.
56009         * benchtests/exp-inputs: New input file for EXP function.
56010         * benchtests/pow-inputs: New input file for POW function.
56011         * scripts/bench.pl: New script to generate source files for
56012         benchmark programs.
56014 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56016         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56017         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56018         computations on mantissa.  Use macros for rounding and
56019         division.
56020         (denorm): Likewise.
56021         (__dbl_mp): Likewise.
56022         (add_magnitudes): Likewise.
56023         (sub_magnitudes): Likewise.
56024         (__mul): Likewise.
56025         (__sqr): Likewise.
56026         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56027         powers of two in terms of TWOPOW macro.
56028         (mp_no): Make type of mantissa as MANTISSA_T.
56029         [!RADIXI]: Define RADIXI.
56030         [!TWO52]: Define TWO52.
56031         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56033         * manual/nptl.texi (cindex): Modify threads to pthreads.
56035 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56037         * sysdeps/x86_64/preconfigure: Regenerated.
56039 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56041         [BZ #14155]
56042         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56043         0x1p28 and above.
56044         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56045         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56046         0x1p28 and above.
56047         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56048         * math/libm-test.inc (j0_test): Do not allow one spurious
56049         underflow exception.
56050         (y1_test): Likewise.
56052 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56054         * manual/Makefile (chapters): Add nptl.
56055         * manual/debug.texi (Debugging Support): Add link to Threads
56056         chapter.
56057         * manual/nptl.texi: New file.
56059         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56061 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56063         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56064         for non-NULL pointer before the memory validity test. Pointed
56065         out by Holger Brunck <holger.brunck@keymile.com>.
56067 2013-03-13  Andreas Schwab  <schwab@suse.de>
56069         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56070         instead of .os.
56072 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56074         * timezone/zic.c: Update from tzcode 2013b.
56076 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56078         * manual/install.texi (Configuring and compiling):
56079         Mention i686 and i586.
56080         * INSTALL: Regenerate.
56082 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56084         * sysdeps/init_array/elf-init.c: New file.
56085         * csu/elf-init.c
56086         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56087         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56089         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56090         __gmon_start__ as global, but as static with a .preinit_array pointer.
56091         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56092         * sysdeps/init_array/crti.S: New file, empty except for comments.
56093         * sysdeps/init_array/crtn.S: Likewise.
56095 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56097         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56098         definining bcopy.
56099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56100         Remove Prefer_SSE_for_memop.
56101         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56102         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56103         HAS_PREFER_SSE_FOR_MEMOP.
56104         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56105         memset-x86-64.
56106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56107         Remove bzero, memset ifunc support.
56108         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56109         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56110         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56111         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56113 2013-03-11  Andreas Schwab  <schwab@suse.de>
56115         [BZ #15234]
56116         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56117         by SHLIB_COMPAT.
56118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56119         (GLIBC_2.16): Remove pthread_atfork.
56121 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56123         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56124         (ptestcases.h): Likewise.
56126 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56128         * Makeconfig ($(common-objpfx)config.status): Depend on
56129         sysdeps/*/preconfigure{,.in} too.
56131 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56133         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56134         (__free_hook): Use void * instead of __malloc_ptr_t.
56135         (__malloc_hook): Likewise.
56136         (__realloc_hook): Likewise.
56137         (__memalign_hook): Likewise.
56138         (__after_morecore_hook): Likewise.
56139         * malloc/arena.c (save_malloc_hook): Likewise.
56140         (save_free_hook): Likewise.
56141         * malloc/hooks.c (malloc_hook_ini): Likewise.
56142         (realloc_hook_ini): Likewise.
56143         (memalign_hook_ini): Likewise.
56144         * malloc/malloc.c (malloc_hook_ini): Likewise.
56145         (realloc_hook_ini): Likewise.
56146         (memalign_hook_ini): Likewise.
56147         (__free_hook): Likewise.
56148         (__malloc_hook): Likewise.
56149         (__realloc_hook): Likewise.
56150         (__memalign_hook): Likewise.
56151         (__libc_malloc): Likewise.
56152         (__libc_free): Likewise.
56153         (__libc_realloc): Likewise.
56154         (__libc_memalign): Likewise.
56155         (__libc_valloc): Likewise.
56156         (__libc_pvalloc): Likewise.
56157         (__libc_calloc): Likewise.
56158         (__posix_memalign): Likewise.
56159         * malloc/morecore.c (__sbrk): Likewise.
56160         (__default_morecore): Likewise.
56162         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56164         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56165         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56166         __malloc_ptrdiff_t.
56168         * malloc/malloc.h (__malloc_size_t): Remove macro.
56169         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56170         __malloc_size_t.
56171         (old_memalign_hook): Likewise.
56172         (old_realloc_hook): Likewise.
56173         (struct hdr): Likewise.
56174         (flood): Likewise.
56175         (mallochook): Likewise.
56176         (memalignhook): Likewise.
56177         (reallochook): Likewise.
56178         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56179         (tr_old_realloc_hook): Likewise.
56180         (tr_old_memalign_hook): Likewise.
56181         (tr_mallochook): Likewise.
56182         (tr_reallochook): Likewise.
56183         (tr_memalignhook): Likewise.
56185 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56187         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56188         default_ldbl_pack and using as default implementation.
56189         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56190         implementation.
56191         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56192         redundant definition.
56193         (ldbl_insert_mantissa): Likewise.
56194         (ldbl_canonicalize): Likewise.
56195         (ldbl_nearbyint): Likewise.
56196         (ldbl_pack): Rename to ldbl_pack_ppc.
56197         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56198         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56199         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56201 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56204         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56205         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56206         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56208         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56209         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56210         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56212 2013-03-07  Andreas Jaeger  <aj@suse.de>
56214         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56215         bits/mman-linux.h.
56217 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56219         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56220         Include mpa.h and declare __MPEXP.
56221         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56222         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56223         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56224         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56225         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56226         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56227         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56229         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56230         (__slowpow): Use long double EXPL and LOGL functions to
56231         compute POW.
56232         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56233         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56234         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56235         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56236         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56237         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56240         intermediate variable to calculate exponent.
56241         (__sqr): Likewise.
56242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56243         Likewise.
56244         (__sqr): Likewise.
56246         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56247         [!NO__SQR]: Define __sqr.
56248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56249         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56250         sysdeps/ieee754/dbl-64/mpa.c.
56251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56253         [BZ #12723]
56254         * posix/Makefile (tests): Add tst-pathconf.
56255         * posix/tst-pathconf.c: New test case.
56256         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56257         _PC_PIPE_BUF.
56258         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56260 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56262         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56264 2013-03-06  Andreas Jaeger  <aj@suse.de>
56266         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56267         definition via __MAP_ANONYMOUS.
56269         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56270         it's not part of Linux headers.
56272         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56273         (MAP_HUGE_MASK): Define.
56275         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56276         Define.
56277         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56278         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56279         Define.
56280         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56281         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56282         Define.
56283         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56284         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56285         Define.
56286         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56288         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56289         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56290         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56291         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56292         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56293         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56295         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56296         Handle f2fs.
56298         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56299         Handle f2fs and efivarfs.
56301         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56302         f2fs.
56304         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56305         (EFIVARFS_MAGIC): Add.
56306         (F2FS_LINK_MAX): Add.
56308 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56310         * stdio-common/vfprintf.c: Replace __builtin_expect with
56311         __glibc_unlikely.
56313 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56315         [BZ #13550]
56316         * sysdeps/generic/bp-sym.h: Remove file.
56317         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56318         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56319         <bp-sym.h> and <bp-asm.h>.
56320         (__longjmp): Don't use BP_SYM.
56321         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56322         and <bp-asm.h>.
56323         (memcpy): Don't use BP_SYM.
56324         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56325         <bp-sym.h> and <bp-asm.h>.
56326         (memcpy): Don't use BP_SYM.
56327         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56328         <bp-asm.h>.
56329         (memcpy): Don't use BP_SYM.
56330         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56331         <bp-asm.h>.
56332         (memset): Don't use BP_SYM.
56333         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56334         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56335         (__bzero): Don't use BP_SYM.
56336         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56337         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56338         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56339         <bp-sym.h> and <bp-asm.h>.
56340         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56341         pointers.
56342         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56343         <bp-sym.h> and <bp-asm.h>.
56344         (memcpy): Don't use BP_SYM.
56345         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56346         <bp-sym.h> and <bp-asm.h>.
56347         (memset): Don't use BP_SYM.
56348         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56349         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56350         (__bzero): Don't use BP_SYM.
56351         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56352         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56353         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56354         <bp-sym.h> and <bp-asm.h>.
56355         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56356         pointers.
56357         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56358         <bp-sym.h> and <bp-asm.h>.
56359         (memcpy): Don't use BP_SYM.
56360         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56361         <bp-sym.h> and <bp-asm.h>.
56362         (memset): Don't use BP_SYM.
56363         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56364         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56365         (__bzero): Don't use BP_SYM.
56366         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56367         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56368         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56369         <bp-sym.h> and <bp-asm.h>.
56370         (__memchr): Don't use BP_SYM.
56371         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56372         <bp-sym.h> and <bp-asm.h>.
56373         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56374         pointers.
56375         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56376         <bp-sym.h> and <bp-asm.h>.
56377         (memcpy): Don't use BP_SYM.
56378         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56379         <bp-sym.h> and <bp-asm.h>.
56380         (__mempcpy): Don't use BP_SYM.
56381         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56382         <bp-sym.h> and <bp-asm.h>.
56383         (__memrchr): Don't use BP_SYM.
56384         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56385         <bp-sym.h> and <bp-asm.h>.
56386         (memset): Don't use BP_SYM.
56387         (__bzero): Likewise.
56388         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56389         <bp-sym.h> and <bp-asm.h>.
56390         (__rawmemchr): Don't use BP_SYM.
56391         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56392         <bp-sym.h> and <bp-asm.h>.
56393         (__STRCMP): Don't use BP_SYM.
56394         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56395         <bp-sym.h> and <bp-asm.h>.
56396         (strchr): Don't use BP_SYM.
56397         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56398         <bp-sym.h> and <bp-asm.h>.
56399         (__strchrnul): Don't use BP_SYM.
56400         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56401         <bp-sym.h> and <bp-asm.h>.
56402         (strlen): Don't use BP_SYM.
56403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56404         <bp-sym.h> and <bp-asm.h>.
56405         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56406         pointers.
56407         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56408         <bp-sym.h> and <bp-asm.h>.
56409         (__strnlen): Don't use BP_SYM.
56410         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56411         <bp-sym.h> and <bp-asm.h>.
56412         (__GI__setjmp): Don't use BP_SYM.
56413         (_setjmp): Likewise.
56414         (__sigsetjmp): Likewise.
56415         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56416         (L(start_addresses)): Don't use BP_SYM.
56417         (_start): Likewise.
56418         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56419         <bp-asm.h>.
56420         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56421         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56422         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56423         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56424         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56425         <bp-asm.h>.
56426         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56427         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56428         about bounded pointers.
56429         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56430         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56431         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56432         <bp-asm.h>.
56433         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56434         about bounded pointers.  Remove GKM FIXME comments.
56435         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56436         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56437         <bp-asm.h>.
56438         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56439         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56440         Remove GKM FIXME comments.
56441         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56442         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56443         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56444         <bp-asm.h>.
56445         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56446         about bounded pointers.  Remove GKM FIXME comment.
56447         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56448         and <bp-asm.h>.
56449         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56450         pointers.
56451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56452         <bp-sym.h> and <bp-asm.h>.
56453         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56455         <bp-sym.h> and <bp-asm.h>.
56456         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56457         comment.
56459 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56461         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56462         call free(NULL).
56464 2013-03-05  David S. Miller  <davem@davemloft.net>
56466         * po/es.po: Update from translation team.
56468 2013-03-05  Andreas Jaeger  <aj@suse.de>
56470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56471         <bits/mman-linux.h>.
56472         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56473         is fine.
56474         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56475         <bits/mman-linux.h> to end of file.
56476         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56477         is fine.
56478         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56479         <bits/mman-linux.h> to end of file.
56480         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56481         is fine.
56482         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56483         <bits/mman-linux.h> to end of file.
56485         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56486         (MCL_CURRENT, MCL_FUTURE): Define here.
56488 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56490         [BZ #15232]
56491         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56492         attribute_hidden.
56493         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56495 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56497         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56498         fourth parameter needed for rt_sigprocmask syscall.
56499         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56500         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56501         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56502         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56503         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56504         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56506 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56508         [BZ #13550]
56509         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56510         comment about bounded pointers.
56511         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56512         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56514 2013-03-04  Andreas Jaeger  <aj@suse.de>
56516         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56517         common definitions.
56519         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56520         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56521         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56522         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56523         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56524         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56526 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56528         [BZ #15055]
56529         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56530         __ieee754_sqrl instead of __sqrl.
56532 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56534         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56535         * sysdeps/powerpc/fpu_control.h: ... here.
56536         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56537         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56538         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56539         * sysdeps/powerpc/bits/mathinline.h: ... here.
56541 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56543         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56544         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56545         to just [NEED_DL_SYSINFO_DSO].
56546         * elf/dl-support.c: Likewise.
56547         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56548         * elf/rtld.c (dl_main): Likewise.
56549         * elf/setup-vdso.h (setup_vdso): Likewise.
56550         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56551         * sysdeps/unix/sysv/linux/dl-sysdep.c
56552         (_dl_discover_osversion): Likewise.
56554 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56556         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56557         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56559 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56561         * NEWS: Mention libm performance improvements and non-x86 PI
56562         futex support.
56564         * csu/libc-start.c (__pthread_initialize_minimal): Change
56565         function arguments.
56566         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56568 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56570         [BZ #13550]
56571         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56572         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56573         <bp-sym.h> and <bp-asm.h>.
56574         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56575         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56576         and <bp-asm.h>.
56577         (memcpy): Don't use BP_SYM.
56578         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56579         <bp-asm.h>.
56580         (__mpn_add_n): Don't use BP_SYM.
56581         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56582         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56583         and <bp-asm.h>.
56584         (__mpn_addmul_1): Don't use BP_SYM.
56585         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56586         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56587         <bp-sym.h>.
56588         (_setjmp): Don't use BP_SYM.
56589         (__novmx_setjmp): Likewise.
56590         (__GI__setjmp): Likewise.
56591         (__vmx_setjmp): Likewise.
56592         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56593         <bp-sym.h>.
56594         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56595         (__bzero): Don't use BP_SYM.
56596         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56597         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56598         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56599         <bp-sym.h> and <bp-asm.h>.
56600         (memcpy): Don't use BP_SYM.
56601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56602         <bp-sym.h> and <bp-asm.h>.
56603         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56604         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56605         <bp-sym.h> and <bp-asm.h>.
56606         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56607         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56608         <bp-asm.h>.
56609         (__mpn_lshift): Don't use BP_SYM.
56610         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56611         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56612         <bp-asm.h>.
56613         (memset): Don't use BP_SYM.
56614         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56615         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56616         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56617         <bp-asm.h>.
56618         (__mpn_mul_1): Don't use BP_SYM.
56619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56620         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56621         <bp-sym.h> and <bp-asm.h>.
56622         (memcmp): Don't use BP_SYM.
56623         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56624         <bp-sym.h> and <bp-asm.h>.
56625         (memcpy): Don't use BP_SYM.
56626         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56627         <bp-sym.h> and <bp-asm.h>.
56628         (memset): Don't use BP_SYM.
56629         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56630         <bp-sym.h> and <bp-asm.h>.
56631         (strncmp): Don't use BP_SYM.
56632         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56633         <bp-sym.h> and <bp-asm.h>.
56634         (memcpy): Don't use BP_SYM.
56635         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56636         <bp-sym.h> and <bp-asm.h>.
56637         (memset): Don't use BP_SYM.
56638         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56639         <bp-sym.h> and <bp-asm.h>.
56640         (__memchr): Don't use BP_SYM.
56641         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56642         <bp-sym.h> and <bp-asm.h>.
56643         (memcmp): Don't use BP_SYM.
56644         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56645         <bp-sym.h> and <bp-asm.h>.
56646         (memcpy): Don't use BP_SYM.
56647         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56648         <bp-sym.h> and <bp-asm.h>.
56649         (__mempcpy): Don't use BP_SYM.
56650         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56651         <bp-sym.h> and <bp-asm.h>.
56652         (__memrchr): Don't use BP_SYM.
56653         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56654         <bp-sym.h> and <bp-asm.h>.
56655         (memset): Don't use BP_SYM.
56656         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56657         <bp-sym.h> and <bp-asm.h>.
56658         (__rawmemchr): Don't use BP_SYM.
56659         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56660         <bp-sym.h> and <bp-asm.h>.
56661         (__STRCMP): Don't use BP_SYM.
56662         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56663         <bp-sym.h> and <bp-asm.h>.
56664         (strchr): Don't use BP_SYM.
56665         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56666         <bp-sym.h> and <bp-asm.h>.
56667         (__strchrnul): Don't use BP_SYM.
56668         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56669         <bp-sym.h> and <bp-asm.h>.
56670         (strlen): Don't use BP_SYM.
56671         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56672         <bp-sym.h> and <bp-asm.h>.
56673         (strncmp): Don't use BP_SYM.
56674         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56675         <bp-sym.h> and <bp-asm.h>.
56676         (__strnlen): Don't use BP_SYM.
56677         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56678         <bp-asm.h>.
56679         (__mpn_rshift): Don't use BP_SYM.
56680         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56681         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56682         <bp-sym.h> and <bp-asm.h>.
56683         (__sigsetjmp): Don't use BP_SYM.
56684         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56685         (L(start_addresses)): Don't use BP_SYM.
56686         (_start): Likewise.
56687         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56688         <bp-asm.h>.
56689         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56690         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56691         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56692         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56693         <bp-asm.h>.
56694         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56695         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56696         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56697         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56698         <bp-asm.h>.
56699         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56700         comments.
56701         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56702         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56703         <bp-asm.h>.
56704         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56705         FIXME comments.
56706         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56707         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56708         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56709         <bp-asm.h>.
56710         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56711         comment.
56712         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56713         and <bp-asm.h>.
56714         (strncmp): Don't use BP_SYM,
56715         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56716         <bp-asm.h>.
56717         (__mpn_sub_n): Don't use BP_SYM.
56718         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56719         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56720         and <bp-asm.h>.
56721         (__mpn_submul_1): Don't use BP_SYM.
56722         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56724         <bp-sym.h> and <bp-asm.h>.
56725         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56727         <bp-sym.h> and <bp-asm.h>.
56728         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56729         comment.
56731 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56734         Use ZK to minimize writes to Z.
56735         (sub_magnitudes): Simplify code a bit.
56736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56737         Use ZK to minimize writes to Z.
56738         (sub_magnitudes): Simplify code a bit.
56740 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56742         * csu/gmon-start.c: Add special exception to license text.
56744 2013-02-27  Richard Henderson  <rth@redhat.com>
56746         * scripts/config.guess: Update from config.git.
56747         * scripts/config.sub: Likewise.
56749 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56751         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56753         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56755         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56757         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56759         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56761 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56763         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56764         [$(build-shared = yes].
56766 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56768         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56769         (__mul): Reduce iterations for calculating mantissa.
56771         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56772         MPTWO.
56773         (__mpranred): Likewise.
56775         [BZ #15160]
56776         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56777         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56779 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56781         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56782         Define __attribute__.
56784 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56786         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56787         unused.
56788         * posix/regex_internal.h (__attribute): Remove.
56789         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56790         (re_string_context_at): Likewise.
56791         (bitset_not): Use __attribute__ and mark function as possibly
56792         unused.
56793         (bitset_merge): Likewise.
56794         (bitset_mask): Likewise.
56795         (re_string_char_size_at): Likewise.
56796         (re_string_wchar_at): Likewise.
56797         (re_string_elem_size_at): Likewise.
56799 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56801         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56802         code.
56803         (cc32): Likewise.
56805         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56806         (__acr): Likewise.
56807         (__cpy): Likewise.
56808         (norm): Likewise.
56809         (denorm): Likewise.
56810         (__dbl_mp): Likewise.
56811         (add_magnitudes): Likewise.
56812         (sub_magnitudes): Likewise.
56813         (__mul): Likewise.
56814         (__inv): Likewise.
56816         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56817         style.
56819         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56820         style.
56822         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56823         code.
56825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56826         up changes with default code.
56827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56828         Likewise.
56830 2013-02-24  Allan McRae  <allan@archlinux.org>
56832         * manual/socket.texi (The Internet Namespace): Order menu items
56833         to match that in the file.
56835         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56836         node listing of the info page menu.
56838 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56840         [BZ #13550]
56841         * sysdeps/i386/bp-asm.h: Remove file.
56842         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56843         (PARMS): Do not use macros from bp-asm.h.
56844         (S1): Likewise.
56845         (S2): Likewise.
56846         (SIZE): Likewise.
56847         (__mpn_add_n): Do not use BP_SYM
56848         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56849         "bp-asm.h".
56850         (PARMS): Do not use macros from bp-asm.h.
56851         (S1): Likewise.
56852         (SIZE): Likewise.
56853         (__mpn_addmul_1): Do not use BP_SYM
56854         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56855         "bp-asm.h".
56856         (PARMS): Do not use macros from bp-asm.h.
56857         (SIGMSK): Likewise.
56858         (_setjmp): Likewise.  Do not use BP_SYM.
56859         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56860         "bp-asm.h".
56861         (PARMS): Do not use macros from bp-asm.h.
56862         (SIGMSK): Likewise.
56863         (setjmp): Likewise.  Do not use BP_SYM.
56864         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56865         "bp-asm.h".
56866         (PARMS): Do not use macros from bp-asm.h.
56867         (__frexp): Do not use BP_SYM.
56868         (frexp): Likewise.
56869         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56870         "bp-asm.h".
56871         (PARMS): Do not use macros from bp-asm.h.
56872         (__frexpf): Do not use BP_SYM.
56873         (frexpf): Likewise.
56874         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56875         "bp-asm.h".
56876         (PARMS): Do not use macros from bp-asm.h.
56877         (__frexpl): Do not use BP_SYM.
56878         (frexpl): Likewise.
56879         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56880         "bp-asm.h".
56881         (PARMS): Do not use macros from bp-asm.h.
56882         (__remquo): Do not use BP_SYM.
56883         (remquo): Likewise.
56884         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56885         "bp-asm.h".
56886         (PARMS): Do not use macros from bp-asm.h.
56887         (__remquof): Do not use BP_SYM.
56888         (remquof): Likewise.
56889         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56890         "bp-asm.h".
56891         (PARMS): Do not use macros from bp-asm.h.
56892         (__remquol): Do not use BP_SYM.
56893         (remquol): Likewise.
56894         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56895         "bp-asm.h".
56896         (PARMS): Do not use macros from bp-asm.h.
56897         (DEST): Likewise.
56898         (SRC): Likewise.
56899         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56900         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56901         "bp-asm.h".
56902         (PARMS): Do not use macros from bp-asm.h.
56903         (strlen): Do not use BP_SYM.
56904         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56905         "bp-asm.h".
56906         (PARMS): Do not use macros from bp-asm.h.
56907         (S1): Likewise.
56908         (S2): Likewise.
56909         (SIZE): Likewise.
56910         (__mpn_add_n): Do not use BP_SYM.
56911         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56912         "bp-asm.h".
56913         (PARMS): Do not use macros from bp-asm.h.
56914         (S1): Likewise.
56915         (SIZE): Likewise.
56916         (__mpn_addmul_1): Do not use BP_SYM.
56917         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56918         weak_alias.
56919         (bzero): Likewise.
56920         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56921         "bp-asm.h".
56922         (PARMS): Do not use macros from bp-asm.h.
56923         (S): Likewise.
56924         (SIZE): Likewise.
56925         (__mpn_lshift): Do not use BP_SYM.
56926         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56927         "bp-asm.h".
56928         (PARMS): Do not use macros from bp-asm.h.
56929         (DEST): Likewise.
56930         (SRC): Likewise.
56931         (LEN): Likewise.
56932         (memcpy): Likewise.  Do not use BP_SYM.
56933         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56934         libc_hidden_def and weak_alias.
56935         (mempcpy): Do not use BP_SYM in weak_alias.
56936         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56937         "bp-asm.h".
56938         (PARMS): Do not use macros from bp-asm.h.
56939         (DEST): Likewise.
56940         (LEN): Likewise.
56941         [!BZERO_P] (CHR): Likewise.
56942         (memset): Likewise.  Do not use BP_SYM.
56943         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56944         "bp-asm.h".
56945         (PARMS): Do not use macros from bp-asm.h.
56946         (S1): Likewise.
56947         (SIZE): Likewise.
56948         (__mpn_mul_1): Do not use BP_SYM.
56949         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56950         "bp-asm.h".
56951         (PARMS): Do not use macros from bp-asm.h.
56952         (S): Likewise.
56953         (SIZE): Likewise.
56954         (__mpn_rshift): Do not use BP_SYM.
56955         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56956         "bp-asm.h".
56957         (PARMS): Do not use macros from bp-asm.h.
56958         (STR): Likewise.
56959         (CHR): Likewise.
56960         (strchr): Likewise.  Do not use BP_SYM.
56961         (index): Do not use BP_SYM in weak_alias.
56962         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56963         "bp-asm.h".
56964         (PARMS): Do not use macros from bp-asm.h.
56965         (DEST): Likewise.
56966         (SRC): Likewise.
56967         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56968         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56969         "bp-asm.h".
56970         (PARMS): Do not use macros from bp-asm.h.
56971         (strlen): Do not use BP_SYM.
56972         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56973         "bp-asm.h".
56974         (PARMS): Do not use macros from bp-asm.h.
56975         (S1): Likewise.
56976         (S2): Likewise.
56977         (SIZE): Likewise.
56978         (__mpn_sub_n): Do not use BP_SYM.
56979         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56980         "bp-asm.h".
56981         (PARMS): Do not use macros from bp-asm.h.
56982         (S1): Likewise.
56983         (SIZE): Likewise.
56984         (__mpn_submul_1): Do not use BP_SYM.
56985         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56986         "bp-asm.h".
56987         (PARMS): Do not use macros from bp-asm.h.
56988         (S1): Likewise.
56989         (S2): Likewise.
56990         (SIZE): Likewise.
56991         (__mpn_add_n): Do not use BP_SYM.
56992         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56993         weak_alias.
56994         (bzero): Likewise.
56995         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56996         "bp-asm.h".
56997         (PARMS): Do not use macros from bp-asm.h.
56998         (BLK2): Likewise.
56999         (LEN): Likewise.
57000         (memcmp): Do not use BP_SYM.
57001         (bcmp): Do not use BP_SYM in weak_alias.
57002         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57003         "bp-asm.h".
57004         (PARMS): Do not use macros from bp-asm.h.
57005         (DEST): Likewise.
57006         (SRC): Likewise.
57007         (LEN): Likewise.
57008         (memcpy): Likewise.  Do not use BP_SYM.
57009         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57010         "bp-asm.h".
57011         (PARMS): Do not use macros from bp-asm.h.
57012         (DEST): Likewise.
57013         (SRC): Likewise.
57014         (LEN): Likewise.
57015         (memmove): Likewise.  Do not use BP_SYM.
57016         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57017         "bp-asm.h".
57018         (PARMS): Do not use macros from bp-asm.h.
57019         (DEST): Likewise.
57020         (SRC): Likewise.
57021         (LEN): Likewise.
57022         (__mempcpy): Likewise.  Do not use BP_SYM.
57023         (mempcpy): Do not use BP_SYM in weak_alias.
57024         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57025         "bp-asm.h".
57026         (PARMS): Do not use macros from bp-asm.h.
57027         (DEST): Likewise.
57028         (LEN): Likewise.
57029         [!BZERO_P] (CHR): Likewise.
57030         (memset): Likewise.  Do not use BP_SYM.
57031         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57032         "bp-asm.h".
57033         (PARMS): Do not use macros from bp-asm.h.
57034         (STR2): Likewise.
57035         (strcmp): Do not use BP_SYM.
57036         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57037         "bp-asm.h".
57038         (PARMS): Do not use macros from bp-asm.h.
57039         (STR): Likewise.
57040         (DELIM): Likewise.
57041         [USE_AS_STRTOK_R] (SAVE): Likewise.
57042         (FUNCTION): Likewise.  Do not use BP_SYM.
57043         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57044         aliases.
57045         (strtok_r): Likewise.
57046         (__GI___strtok_r): Likewise.
57047         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57048         (PARMS): Do not use macros from bp-asm.h.
57049         (S): Likewise.
57050         (SIZE): Likewise.
57051         (__mpn_lshift): Do not use BP_SYM.
57052         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57053         (PARMS): Do not use macros from bp-asm.h.
57054         (STR): Likewise.
57055         (CHR): Likewise.
57056         (__memchr): Do not use BP_SYM.
57057         (memchr): Do not use BP_SYM in weak_alias.
57058         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57059         (PARMS): Do not use macros from bp-asm.h.
57060         (BLK2): Likewise.
57061         (LEN): Likewise.
57062         (memcmp): Do not use BP_SYM.
57063         (bcmp): Do not use BP_SYM in weak_alias.
57064         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57065         (PARMS): Do not use macros from bp-asm.h.
57066         (S1): Likewise.
57067         (SIZE): Likewise.
57068         (__mpn_mul_1): Do not use BP_SYM.
57069         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57070         "bp-asm.h".
57071         (PARMS): Do not use macros from bp-asm.h.
57072         (STR): Likewise.
57073         (CHR): Likewise.
57074         (__rawmemchr): Do not use BP_SYM.
57075         (rawmemchr): Do not use BP_SYM in weak_alias.
57076         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57077         (PARMS): Do not use macros from bp-asm.h.
57078         (S): Likewise.
57079         (SIZE): Likewise.
57080         (__mpn_rshift): Do not use BP_SYM.
57081         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57082         (PARMS): Do not use macros from bp-asm.h.
57083         (SIGMSK): Likewise.
57084         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57085         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57086         (_start): Do not use BP_SYM.
57087         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57088         (PARMS): Do not use macros from bp-asm.h.
57089         (DEST): Likewise.
57090         (SRC): Likewise.
57091         (__stpcpy): Likewise.  Do not use BP_SYM.
57092         (stpcpy): Do not use BP_SYM in weak_alias.
57093         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57094         "bp-asm.h".
57095         (PARMS): Do not use macros from bp-asm.h.
57096         (DEST): Likewise.
57097         (SRC): Likewise.
57098         (LEN): Likewise.
57099         (__stpncpy): Likewise.  Do not use BP_SYM.
57100         (stpncpy): Do not use BP_SYM in weak_alias.
57101         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57102         (PARMS): Do not use macros from bp-asm.h.
57103         (STR): Likewise.
57104         (CHR): Likewise.
57105         (strchr): Likewise.  Do not use BP_SYM.
57106         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57107         "bp-asm.h".
57108         (PARMS): Do not use macros from bp-asm.h.
57109         (STR): Likewise.
57110         (CHR): Likewise.
57111         (__strchrnul): Likewise.  Do not use BP_SYM.
57112         (strchrnul): Do not use BP_SYM in weak_alias.
57113         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57114         "bp-asm.h".
57115         (PARMS): Do not use macros from bp-asm.h.
57116         (STOP): Likewise.
57117         (strcspn): Do not use BP_SYM.
57118         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57119         "bp-asm.h".
57120         (PARMS): Do not use macros from bp-asm.h.
57121         (STR): Likewise.
57122         (STOP): Likewise.
57123         (strpbrk): Likewise.  Do not use BP_SYM.
57124         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57125         "bp-asm.h".
57126         (PARMS): Do not use macros from bp-asm.h.
57127         (STR): Likewise.
57128         (CHR): Likewise.
57129         (strrchr): Likewise.  Do not use BP_SYM.
57130         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57131         (PARMS): Do not use macros from bp-asm.h.
57132         (SKIP): Likewise.
57133         (strspn): Do not use BP_SYM.
57134         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57135         (PARMS): Do not use macros from bp-asm.h.
57136         (STR): Likewise.
57137         (DELIM): Likewise.
57138         (SAVE): Likewise.
57139         (FUNCTION): Likewise.  Do not use BP_SYM.
57140         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57141         aliases.
57142         (strtok_r): Likewise.
57143         (__GI___strtok_r): Likewise.
57144         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57145         (PARMS): Do not use macros from bp-asm.h.
57146         (S1): Likewise.
57147         (S2): Likewise.
57148         (SIZE): Likewise.
57149         (__mpn_sub_n): Do not use BP_SYM.
57150         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57151         "bp-asm.h".
57152         (PARMS): Do not use macros from bp-asm.h.
57153         (S1): Likewise.
57154         (SIZE): Likewise.
57155         (__mpn_submul_1): Do not use BP_SYM.
57156         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57157         <bp-sym.h>.
57158         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57159         and <bp-asm.h>.
57160         (PARMS): Do not use macros from bp-asm.h.
57161         (FLAGS): Likewise.
57162         (PTID): Likewise.
57163         (TLS): Likewise.
57164         (CTID): Likewise.
57165         (__clone): Do not use BP_SYM.
57166         (clone): Do not use BP_SYM in weak_alias.
57167         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57168         and <bp-asm.h>.
57169         (PARMS): Do not use macros from bp-asm.h.
57170         (LEN): Likewise.
57171         (__mmap64): Do not use BP_SYM.
57172         (mmap64): Do not use BP_SYM in weak_alias.
57173         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57174         <bp-sym.h> and <bp-asm.h>.
57175         (PARMS): Do not use macros from bp-asm.h.
57176         (__posix_fadvise64_l64): Do not use BP_SYM.
57177         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57178         (PARMS): Do not use macros from bp-asm.h.
57179         (NSOPS): Likewise.
57180         (semtimedop): Do not use BP_SYM.
57181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57182         and <bp-asm.h>.
57184 2013-02-21  Allan McRae  <allan@archlinux.org>
57186         * manual/message.texi (Charset conversion in gettext):
57187         Move @end statement to beginning of line.
57189 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57192         static.
57193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57194         Likewise.
57196         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57197         (denorm): Likewise.
57198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57199         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57201 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57203         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57204         tail-call to the resolved function if pltexit isn't needed.
57206 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57209         or Y being zero as being unlikely.
57210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57211         Likewise.
57213 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57215         * manual/nss.texi (System Databases and Name Service Switch):
57216         Remove frobnicate @pxref.
57218 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57220         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57221         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57223 2013-02-20  Petr Machata  <pmachata@redhat.com>
57225         * elf/elf.h (R_ARM_TARGET1): New macro.
57226         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57227         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57228         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57229         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57230         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57231         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57232         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57233         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57234         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57235         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57236         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57237         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57238         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57239         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57240         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57241         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57242         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57243         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57244         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57245         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57246         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57247         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57248         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57249         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57250         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57251         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57252         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57253         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57254         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57255         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57256         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57257         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57258         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57259         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57260         (R_ARM_THM_GOT_BREL12): Likewise.
57261         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57262         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57263         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57264         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57265         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57266         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57267         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57268         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57269         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57271 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57273         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57274         __attribute_used__ to __attribute__ ((unused)).
57276 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57278         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57279         powerpc mpa.c.
57280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57281         comment formatting.
57282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57284 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57286         [BZ #13550]
57287         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57288         Remove macro.
57289         (ENTER): Remove both macro definitions.
57290         (LEAVE): Likewise.
57291         (CHECK_BOUNDS_LOW): Likewise.
57292         (CHECK_BOUNDS_HIGH): Likewise.
57293         (CHECK_BOUNDS_BOTH): Likewise.
57294         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57295         (RETURN_BOUNDED_POINTER): Likewise.
57296         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57297         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57298         (POP_ERRNO_LOCATION_RETURN): Likewise.
57299         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57300         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57301         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57302         macros.
57303         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57304         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57305         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57306         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57307         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57308         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57309         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57310         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57311         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57312         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57313         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57314         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57315         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57316         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57317         removed macros.
57318         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57319         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57320         macros.
57321         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57322         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57323         * sysdeps/i386/i586/memset.S (memset): Likewise.
57324         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57325         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57326         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57327         macros.
57328         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57329         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57330         Change uses of L(2) to L(out).
57331         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57332         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57333         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57334         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57335         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57336         removed macros.
57337         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57338         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57339         macros.
57340         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57341         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57342         (RETURN): Do not use macro LEAVE.
57343         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57344         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57345         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57346         * sysdeps/i386/i686/memset.S (memset): Likewise.
57347         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57348         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57349         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57350         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57351         Likewise.
57352         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57353         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57354         L(1_2) and L(1_3) into L(1).
57355         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57356         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57357         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57358         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57359         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57360         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57361         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57362         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57363         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57364         macros.
57365         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57366         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57367         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57368         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57369         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57370         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57371         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57372         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57373         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57374         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57375         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57376         * sysdeps/i386/strspn.S (strspn): Likewise.
57377         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57378         conditional code.
57379         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57380         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57381         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57382         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57383         L(1_3) into L(1_1).
57384         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57385         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57386         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57387         macros.
57388         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57390 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57392         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57393         macro.
57395 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57397         * math/atest-exp.c (exp_mpn): Remove ROUND.
57398         * math/atest-exp2.c (exp_mpn): Likewise.
57399         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57401         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57402         * stdlib/tst-tls-atexit-lib.c: Likewise.
57403         * stdlib/tst-tls-atexit.c: Likewise.
57405 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57407         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57408         and __attribute_alloc_size__.
57410 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57412         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57413         __attribute_alloc_size__.
57414         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57415         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57417 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57419         * include/programs/xmalloc.h: New file.
57420         * catgets/gencat.c: Include it.
57421         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57422         * elf/pldd.c: Likewise.
57423         * iconv/iconv_charmap.c: Likewise.
57424         * iconv/iconvconfig.c: Likewise.
57425         * iconv/strtab.c: Likewise.
57426         * locale/programs/locale.c: Likewise.
57427         * locale/programs/localedef.h: Likewise.
57428         * locale/programs/simple-hash.c: Likewise.
57429         * nscd/nscd.h: Likewise.
57430         * nss/makedb.c: Likewise.
57431         * sysdeps/generic/ldconfig.h: Likewise.
57433 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57435         * Versions.def: Add GLIBC_2.18.
57436         * include/link.h (struct link_map): New member l_tls_dtor_count.
57437         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57438         (__call_tls_dtors): Likewise.
57439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57440         __cxa_thread_atexit_impl.
57441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57442         Likewise.
57443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57444         Likewise.
57445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57446         Likewise.
57447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57448         Likewise.
57449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57451         Likewise.
57452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57453         Likewise.
57454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57456         Likewise.
57457         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57458         (tests): Add test case tst-tls-atexit.
57459         (modules-names): Add shared library for tst-tls-atexit.
57460         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57461         (GLIBC_PRIVATE): Add __call_tls_dtors.
57462         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57463         for libstdc++.
57464         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57465         * stdlib/tst-tls-atexit.c: New test case.
57466         * stdlib/tst-tls-atexit-lib.c: New test case.
57468         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57470         * elf/Versions (ld): Add _dl_find_dso_for_object.
57471         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57472         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57473         (dl_open_worker): Use _dl_find_dso_for_object.
57474         * elf/dl-sym.c (do_sym): Likewise.
57475         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57477 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57479         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57480         Syntactic changes only.
57481         (_dl_runtime_profile): Do a tail-call to the resolved function.
57483 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57485         [BZ #13550]
57486         * sysdeps/x86_64/bp-asm.h: Remove file.
57487         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57488         <bp-sym.h> and <bp-asm.h>.
57489         (__clone): Do not use BP_SYM.
57490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57491         <bp-sym.h> and <bp-asm.h>.
57492         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57493         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57494         "bp-asm.h".
57495         (_setjmp): Do not use BP_SYM.
57496         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57497         "bp-asm.h".
57498         (setjmp): Do not use BP_SYM.
57499         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57500         libc_hidden_def.
57501         (mempcpy): Do not use BP_SYM in weak_alias.
57502         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57503         "bp-asm.h".
57504         (strchr): Do not use BP_SYM.
57505         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57506         "bp-asm.h".
57507         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57508         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57509         (_start): Do not use BP_SYM.
57510         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57511         "bp-asm.h".
57512         (strcat): Do not use BP_SYM.
57513         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57514         "bp-asm.h".
57515         (STRCMP): Do not use BP_SYM.
57516         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57517         "bp-asm.h".
57518         (STRCPY): Do not use BP_SYM.
57519         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57520         "bp-asm.h".
57521         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57522         "bp-asm.h".
57523         (FUNCTION): Do not use BP_SYM.
57524         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57525         weak_alias.
57526         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57528 2013-02-17  Andreas Jaeger  <aj@suse.de>
57530         * time/Versions: Sort entries.
57531         * string/Versions: Likewise.
57532         * resolv/Versions: Likewise.
57533         * posix/Versions: Likewise.
57534         * iconv/Versions: Likewise.
57535         * elf/Versions: Likewise.
57536         * wcsmbs/Versions: Likewise.
57538 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57540         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57541         loop termination condition.
57543         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57544         variable to calculate EZ.
57545         (__sqr): Likewise.
57547         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57548         the lower precision input.
57550 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57552         [BZ #13550]
57553         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57554         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57555         (run-via-rtld-prefix): Do not handle %-bp tests.
57556         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57557         (all-object-suffixes): Remove .ob.
57558         (bppfx): Remove variable.
57559         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57560         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57561         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57562         [$(build-bounded) = yes] (libtype.ob): Likewise.
57563         * Makerules (elide-routines.ob): Remove variable.
57564         (do-tests-clean): Do not handle *-bp.out.
57565         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57566         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57567         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57568         (tests): Do not include $(tests-bp.out).
57569         (xtests): Do not include $(xtests-bp.out).
57570         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57571         [$(build-bounded) = yes] ($(addprefix
57572         $(objpfx),$(binaries-bounded))): Remove rule.
57573         ($(objpfx)%-bp.out): Remove rule.
57574         * config.make.in (build-bounded): Remove variable.
57575         * crypt/Makefile [$(build-bounded) = yes]
57576         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57577         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57578         append to variable.
57579         [$(build-bounded) = yes] (install-lib): Likewise.
57580         [$(build-bounded) = yes] (generated): Likewise.
57581         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57582         Remove rule.
57583         * intl/Makefile [$(build-bounded) = yes]
57584         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57585         * math/Makefile [$(build-bounded) = yes]
57586         ($(tests:%=$(objpfx)%-bp): Likewise.
57587         * misc/Makefile [$(build-bounded) = yes]
57588         ($(objpfx)tst-tsearch-bp): Likewise.
57589         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57590         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57591         Remove dependency.
57592         * string/Makefile (o-objects.ob): Remove variable.
57593         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57594         (CFLAGS-.ob): Remove variable.
57595         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57596         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57597         both definitions of variable.
57598         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57599         (ASFLAGS-.ob): Remove variable.
57601 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57603         [BZ #13550]
57604         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57605         Remove __BOUNDED_POINTERS__ from condition.
57606         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57607         * string/bits/string2.h [!__NO_STRING_INLINES &&
57608         !__BOUNDED_POINTERS__]: Likewise.
57609         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57610         Likewise.
57611         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57612         Remove conditional code.
57613         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57614         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57615         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57616         condition.
57618         [BZ #13550]
57619         * csu/libc-start.c: Do not include <bp-sym.h>.
57620         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57621         * elf/dl-open.c: Do not include <bp-sym.h>.
57622         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57623         * math/fegetenv.c: Do not include <bp-sym.h>.
57624         (fegetenv): Do not use BP_SYM in versioned symbols.
57625         * nptl/sysdeps/pthread/bits/libc-lockP.h
57626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57627         <bp-sym.h>.
57628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57629         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57631         (__pthread_mutex_destroy): Likewise.
57632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57633         (__pthread_mutex_lock): Likewise.
57634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57635         (__pthread_mutex_trylock): Likewise.
57636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57637         (__pthread_mutex_unlock): Likewise.
57638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57639         (__pthread_mutexattr_init): Likewise.
57640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57641         (__pthread_mutexattr_destroy): Likewise.
57642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57643         (__pthread_mutexattr_settype): Likewise.
57644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57645         (__pthread_rwlock_init): Likewise.
57646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57647         (__pthread_rwlock_destroy): Likewise.
57648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57649         (__pthread_rwlock_rdlock): Likewise.
57650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57651         (__pthread_rwlock_tryrdlock): Likewise.
57652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57653         (__pthread_rwlock_wrlock): Likewise.
57654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57655         (__pthread_rwlock_trywrlock): Likewise.
57656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57657         (__pthread_rwlock_unlock): Likewise.
57658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57659         (__pthread_key_create): Likewise.
57660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57661         (__pthread_setspecific): Likewise.
57662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57663         (__pthread_getspecific): Likewise.
57664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57665         Likewise.
57666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57667         (_pthread_cleanup_push_defer): Likewise.
57668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57669         (_pthread_cleanup_pop_restore): Likewise.
57670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57671         (pthread_setcancelstate): Likewise.
57672         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57673         <bp-sym.h>.
57674         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57675         (memchr): Do not use BP_SYM in weak_alias.
57676         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57677         (fegetenv): Do not use BP_SYM in versioned symbols.
57678         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57679         (fesetenv): Do not use BP_SYM in versioned symbols.
57680         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57681         (feupdateenv): Do not use BP_SYM in versioned symbols.
57682         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57683         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57684         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57685         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57686         (open64): Do not use BP_SYM in weak_alias.
57687         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57688         (fegetenv): Do not use BP_SYM in versioned symbols.
57689         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57690         (fesetenv): Do not use BP_SYM in versioned symbols.
57691         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57692         (feupdateenv): Do not use BP_SYM in versioned symbols.
57693         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57694         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57695         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57696         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57697         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57698         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57699         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57700         <bp-sym.h>.
57701         (__libc_start_main): Do not use BP_SYM.
57703 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57706         redundant return line.
57707         (norm): Likewise.
57708         (denorm): Likewise.
57709         (dbl_mp): Likewise.
57710         (sub_magnitudes): Likewise.
57711         (__add): Likewise.
57712         (__sub): Likewise.
57713         (__mul): Likewise.
57714         (__inv): Likewise.
57715         (__dvd): Likewise.
57716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57717         (norm): Likewise.
57718         (denorm): Likewise.
57719         (dbl_mp): Likewise.
57720         (sub_magnitudes): Likewise.
57721         (__add): Likewise.
57722         (__sub): Likewise.
57723         (__mul): Likewise.
57724         (__inv): Likewise.
57725         (__dvd): Likewise.
57727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57728         instead of __mul.
57729         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57730         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57731         (cc32): Likewise.
57733         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57734         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57736         of __mul for squares.
57737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57738         function
57739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57740         Likewise.
57741         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57742         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57744 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57746         [BZ #13550]
57747         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57748         code.
57749         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57750         prototype or function definition.  Rename ubp_* variables and
57751         parameters.  Remove argv definitions conditional on
57752         [__BOUNDED_POINTERS__].
57753         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57754         * elf/dl-runtime.c (_dl_fixup): Likewise.
57755         * include/set-hooks.h (RUN_HOOK): Likewise.
57756         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57757         definition.
57758         * string/strcpy.c (strcpy): Do not use __unbounded.
57759         * sysdeps/generic/frame.h (struct layout): Likewise.
57760         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57761         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57762         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57763         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57764         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57765         (__backtrace): Likewise.
57766         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57767         use __ptrvalue.
57768         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57769         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57770         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57771         Likewise.
57772         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57773         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57774         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57775         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57776         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57777         Do not use __unbounded.
57778         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57779         Rename __unboundedrlimits parameter to rlimits in prototype.
57780         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57781         Do not use __unbounded.
57782         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57783         not use __ptrvalue.
57784         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57785         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57786         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57787         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57788         __ptrvalue or __unbounded.
57789         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57790         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57791         use __unbounded.
57792         (__new_msgctl): Do not use __ptrvalue.
57793         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57794         __unbounded.
57795         (__libc_msgrcv): Do not use __ptrvalue.
57796         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57797         startup_info): Do not use __unbounded.
57798         (__libc_start_main): Likewise.  Rename ubp_* variables and
57799         parameters.  Remove argv definitions conditional on
57800         [__BOUNDED_POINTERS__].
57801         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57802         __ptrvalue.
57803         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57804         use __unbounded.
57805         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57806         or __ptrvalue.
57807         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57808         use __unbounded.
57809         (__new_shmctl): Do not use __ptrvalue.
57810         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57811         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57812         Likewise.
57813         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57814         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57815         (__libc_sigaction): Likewise.
57816         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57817         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57818         Likewise.
57819         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57821 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57823         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57825         * string/mempcpy.c: Implement by calling memcpy.
57827 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57832         evaluation.
57834         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57835         values in the mantissa.
57837         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57838         minimize writes to Z.
57839         (sub_magnitudes): Simplify code a bit.
57841 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57843         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57844         from the message.  The linker prefixes all warnings with that already.
57846 2013-02-12  Andreas Schwab  <schwab@suse.de>
57848         [BZ #15078]
57849         * posix/regexec.c (extend_buffers): Add parameter min_len.
57850         (check_matching): Pass minimum needed length.
57851         (clean_state_log_if_needed): Likewise.
57852         (get_subexp): Likewise.
57853         * posix/Makefile (tests): Add bug-regex34.
57854         (bug-regex34-ENV): Define.
57855         * posix/bug-regex34.c: New file.
57857         [BZ #11561]
57858         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57859         elements compare against the byte sequence of it, not its name.
57860         * posix/Makefile (tests): Add bug-regex35.
57861         (bug-regex35-ENV): Define.
57862         * posix/bug-regex35.c: New file.
57864 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57866         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57867         comment.
57868         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57869         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57870         (CHECK_EOL): Add undef.
57872 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57874         * bits/stdlib-bsearch.h: New file.
57875         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57876         * stdlib/stdlib.h: Likewise.
57878 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57880         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57881         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57882         declaration.
57883         * manual/search.texi (Array Search Function): Add missing const in
57884         lfind prototype.
57885         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57886         declaration to use rlim_t.
57887         (Basic Scheduling Functions): Remove erroneous const from
57888         sched_getparam prototype.  Remove erroneous * from
57889         sched_get_priority_max and sched_get_priority_min prototypes.
57890         (Resource Usage): Fix summary @comment on vtimes to refer to
57891         sys/vtimes.h rather than vtimes.h.
57892         Add missing *s in vtimes prototype.
57893         (Limits on Resources): Fix ulimit prototype to return long int.
57894         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57895         prototypes to use long int rather than double.
57896         (BSD Random): Fix initstate and setstate to use char *, not void *.
57897         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57898         prototype to make second argument 'struct aiocb64 *const[]'.
57899         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57900         (Status of AIO Operations): Remove erroneous const in aio_return and
57901         aio_return64 prototypes.
57902         (Synchronizing I/O): Fix sync prototype to return void.
57903         * manual/startup.texi (Suboptions): Remove an erroneous const in
57904         getsubopt prototype.
57905         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57906         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57907         use size_t rather than int.
57908         (Scanning All Users): Likewise for getpwent_r.
57909         (Setting Groups): Add missing const to setgroups prototype.
57910         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57911         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57912         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57913         'const void *' rather than 'const char *'.
57914         (Host Address Functions): Likewise for inet_ntop.
57915         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57916         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57917         ssize_t for return value.
57918         (Sending Data): Likewise for send, sendto, sendmsg.
57919         (Socket Option Functions): Add a missing const in setsockopt prototype.
57920         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57921         use wchar_t for the argument.
57922         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57923         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57924         take no arguments.
57925         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57926         double/float/long double for second argument.
57927         Fix return types of significand, significandf, significandl.
57928         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57929         argument in fchmod prototype.
57930         (File Owner): Use uid_t and gid_t in fchown prototype.
57931         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57932         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57933         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57934         use 'const struct dirent **' as argument types to CMP function pointer
57935         argument.
57936         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57937         (File Times): Fix summary magic @comment for struct utimbuf and utime
57938         to refer to utime.h, not time.h.
57939         * manual/string.texi (Argz Functions): Add missing const in
57940         argz_extract and argz_next prototypes.
57941         (Finding Tokens in a String): Likewise for basename.
57942         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57943         (Copying and Concatenation): Fix typo in wmemmove prototype.
57944         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57945         (Signal Stack): Remove erroneous const in sigstack prototype.
57946         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57947         prototype.
57948         (Simple Calendar Time): Likewise for stime.
57949         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57950         prototype.
57951         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57952         say sys/sysctl.h instead.
57953         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57954         and vsyslog prototypes.
57956 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57958         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57959         Remove.
57961 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57963         * misc/sys/mman.h: Fix typo in mremap comment.
57965 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57967         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57968         the '\0' terminator.
57970 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57972         [BZ #13550]
57973         * debug/segfault.c: Don't include <bp-checks.h>.
57974         * sysdeps/generic/bp-checks.h: Remove file.
57975         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57976         (__GETDENTS): Don't use CHECK_N.
57977         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57978         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57979         (__getgroups): Don't use CHECK_N.
57980         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57981         (setgroups): Don't use CHECK_N.
57982         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57983         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57984         (__libc_msgrcv): Don't use CHECK_N.
57985         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57986         (__libc_msgsnd): Don't use CHECK_N.
57987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57988         <bp-checks.h>.
57989         (__libc_pread): Don't use CHECK_N.
57990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57991         include <bp-checks.h>.
57992         (__libc_pread64): Don't use CHECK_N.
57993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57994         include <bp-checks.h>.
57995         (__libc_pwrite): Don't use CHECK_N.
57996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57997         include <bp-checks.h>.
57998         (__libc_pwrite64): Don't use CHECK_N.
57999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58000         <bp-checks.h>.
58001         (__libc_pread): Don't use CHECK_N.
58002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58003         include <bp-checks.h>.
58004         (__libc_pread64): Don't use CHECK_N.
58005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58006         include <bp-checks.h>.
58007         (__libc_pwrite): Don't use CHECK_N.
58008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58009         include <bp-checks.h>.
58010         (__libc_pwrite64): Don't use CHECK_N.
58011         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58012         (do_pread): Don't use CHECK_N.
58013         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58014         (do_pread64): Don't use CHECK_N.
58015         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58016         (do_pwrite): Don't use CHECK_N.
58017         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58018         (do_pwrite64): Don't use CHECK_N.
58019         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58020         (__libc_readv): Don't use CHECK_N.
58021         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58022         (semop): Don't use CHECK_N.
58023         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58024         <bp-checks.h>.
58025         (semtimedop): Don't use CHECK_N.
58026         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58027         (__libc_pread): Don't use CHECK_N.
58028         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58029         <bp-checks.h>.
58030         (__libc_pread64): Don't use CHECK_N.
58031         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58032         <bp-checks.h>.
58033         (__libc_pwrite): Don't use CHECK_N.
58034         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58035         <bp-checks.h>.
58036         (__libc_pwrite64): Don't use CHECK_N.
58037         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58038         <bp-checks.h>.
58039         (__libc_msgrcv): Don't use CHECK_N.
58040         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58041         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58042         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58043         (__libc_writev): Don't use CHECK_N.
58045 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58047         * string/strcpy.c: Removed unused variable.
58049         * Makeconfig (+sysdep-includes): Define with := rather than =.
58050         Use an existing include/ subdir of each sysdeps dir before it.
58052 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58054         * nscd/connection.c (register_traced_file): Comment function.
58055         [HAVE_INOTIFY] (union __inev): Define.
58056         [HAVE_INOTIFY] (inotify_check_files): New function.
58057         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58058         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58059         clear_db_cache.
58060         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58062 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58064         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58065         loaded if not already and that a failure is permanent.
58067 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58069         [BZ #15006]
58070         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58071         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58073 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58075         [BZ #13550]
58076         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58077         (CHECK_1_NULL_OK): Likewise.
58078         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58079         (__fxstat): Do not use CHECK_1.
58080         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58081         <bp-checks.h>.
58082         (___fxstat64): Do not use CHECK_1.
58083         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58084         <bp-checks.h>.
58085         (__fxstatat): Do not use CHECK_1.
58086         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58087         <bp-checks.h>.
58088         (__fxstatat64): Do not use CHECK_1.
58089         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58090         <bp-checks.h>.
58091         (__fxstat): Do not use CHECK_1.
58092         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58093         <bp-checks.h>.
58094         (__fxstatat): Do not use CHECK_1.
58095         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58096         <bp-checks.h>.
58097         (__getresgid): Do not use CHECK_1.
58098         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58099         <bp-checks.h>.
58100         (__getresuid): Do not use CHECK_1.
58101         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58102         <bp-checks.h>.
58103         (__lxstat): Do not use CHECK_1.
58104         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58105         <bp-checks.h>.
58106         (__old_msgctl): Do not use CHECK_1.
58107         (__new_msgctl): Likewise.
58108         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58109         <bp-checks.h>.
58110         (__new_setrlimit): Do not use CHECK_1.
58111         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58112         <bp-checks.h>.
58113         (__old_shmctl): Do not use CHECK_1.
58114         (__new_shmctl): Likewise.
58115         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58116         <bp-checks.h>.
58117         (__xstat): Do not use CHECK_1.
58118         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58119         (__lxstat): Do not use CHECK_1.
58120         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58121         <bp-checks.h>.
58122         (___lxstat64): Do not use CHECK_1.
58123         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58124         (__old_msgctl): Do not use CHECK_1.
58125         (__new_msgctl): Likewise.
58126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58127         <bp-checks.h>.
58128         (__gettimeofday): Do not use CHECK_1.
58129         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58130         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58131         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58132         <bp-checks.h>.
58133         (__gettimeofday): Do not use CHECK_1.
58134         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58135         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58136         (__new_shmctl): Do not use CHECK_1.
58137         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58138         <bp-checks.h>.
58139         (do_sigtimedwait): Do not use CHECK_1.
58140         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58141         <bp-checks.h>.
58142         (do_sigwaitinfo): Do not use CHECK_1.
58143         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58144         <bp-checks.h>.
58145         (msgctl): Do not use CHECK_1.
58146         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58147         <bp-checks.h>.
58148         (shmctl): Do not use CHECK_1.
58149         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58150         (ustat): Do not use CHECK_1.
58151         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58152         <bp-checks.h>.
58153         (__fxstat): Do not use CHECK_1.
58154         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58155         <bp-checks.h>.
58156         (__fxstatat): Do not use CHECK_1.
58157         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58158         <bp-checks.h>.
58159         (__lxstat): Do not use CHECK_1.
58160         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58161         <bp-checks.h>.
58162         (__xstat): Do not use CHECK_1.
58163         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58164         (__xstat): Do not use CHECK_1.
58165         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58166         (___xstat64): Do not use CHECK_1.
58168         [BZ #13550]
58169         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58170         definitions.
58171         (CHECK_BOUNDS_HIGH): Likewise.
58172         * string/strcpy.c: Do not include <bp-checks.h>.
58173         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58175 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58177         * nscd/nscd-client.h (__nscd_drop_map_ref):
58178         Add __attribute__ ((unused)).
58179         * nis/nss-nisplus.h (niserr2nss): Likewise.
58181         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58182         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58184         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58185         Remove inline keyword.
58186         * include/rounding-mode.h (round_away): Likewise.
58187         * libio/wfileops.c (adjust_wide_data): Likewise.
58188         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58189         (__m128i_strloadu_tolower): Likewise.
58190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58191         (__m128i_strloadu_tolower): Likewise.
58192         * time/mktime.c (ydhms_diff): Likewise.
58193         * locale/elem-hash.h (elem_hash): Likewise.
58194         * locale/setlocale.c (setdata): Likewise.
58195         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58196         (re_string_wchar_at): Likewise.
58197         (bitset_not, bitset_merge, bitset_mask): Likewise.
58198         [!(__GNUC__ > 3)] (inline): Remove macro.
58199         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58200         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58201         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58202         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58203         * string/memcmp.c (memcmp_bytes): Likewise.
58204         * locale/programs/locarchive.c (compute_hashval): Likewise.
58205         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58206         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58207         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58208         * nss/getent.c (print_rpc, print_protocols): Likewise.
58209         (print_passwd, print_group, print_aliases): Likewise.
58210         * nis/nss-nisplus.h (niserr2nss): Likewise.
58211         * nscd/connections.c (restart_p): Likewise.
58212         Change return type to bool.
58214 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58216         * Makeconfig (all-Depend-files): Add existing
58217         $(sorted-subdirs:=/Depend) files.
58218         (all-subdirs): Remove nss.
58219         * sysdeps/unix/inet/Subdirs: Add it here instead.
58220         * hesiod/Depend: New file.
58222         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58223         instead of calling alloca.
58225         * io/lseek.c (__lseek): Rename to __libc_lseek.
58226         Define __lseek as an alias.
58228         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58230 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58232         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58233         else clause and remove check for non-standard endianness.
58235 2013-02-04  David S. Miller  <davem@davemloft.net>
58237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58239 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58241         [BZ #13550]
58242         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58243         (__ubp_memchr): Remove prototype.
58244         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58245         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58246         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58247         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58248         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58249         Remove alias.
58250         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58251         (__ubp_memchr): Likewise.
58252         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58253         (__ubp_memchr): Likewise.
58254         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58255         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58256         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58257         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58258         CHECK_STRING.
58259         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58260         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58261         (__getcwd): Do not use CHECK_STRING.
58262         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58263         <bp-checks.h>.
58264         (__real_chown): Do not use CHECK_STRING.
58265         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58266         <bp-checks.h>.
58267         (fchownat): Do not use CHECK_STRING.
58268         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58269         CHECK_STRING.
58270         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58271         <bp-checks.h>.
58272         (__lchown): Do not use CHECK_STRING.
58273         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58274         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58275         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58276         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58278         include <bp-checks.h>.
58279         (truncate64): Do not use CHECK_STRING.
58280         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58281         <bp-checks.h>.
58282         (__real_chown): Do not use CHECK_STRING.
58283         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58284         <bp-checks.h>.
58285         (__lchown): Do not use CHECK_STRING.
58286         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58287         <bp-checks.h>.
58288         (__chown): Do not use CHECK_STRING.
58289         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58290         <bp-checks.h>.
58291         (truncate64): Do not use CHECK_STRING.
58292         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58293         Likewise.
58294         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58295         (__xmknod): Do not use CHECK_STRING.
58296         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58297         <bp-checks.h>.
58298         (__xmknodat): Do not use CHECK_STRING.
58299         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58300         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58302 2013-02-04  Andreas Schwab  <schwab@suse.de>
58304         [BZ #14142]
58305         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58306         * include/netdb.h: Likewise for h_errno.
58307         * elf/tst-stackguard1.c: Include <tls.h>.
58309 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58311         * elf/link.h (struct link_map): Extend the l_addr comment.
58312         * include/link.h (struct link_map): Likewise.
58314 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58316         [BZ #13550]
58317         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58318         (BOUNDED_1): Remove macro.
58319         * debug/backtrace.c: Don't include <bp-checks.h>.
58320         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58321         (__backtrace): Likewise.
58322         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58323         <bp-checks.h>.
58324         (__backtrace): Don't use BOUNDED_1.
58325         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58326         <bp-checks.h>.
58327         (__backtrace): Don't use BOUNDED_1.
58328         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58329         (__backtrace): Don't use BOUNDED_1.
58330         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58331         (shmat): Don't use BOUNDED_N.
58333 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58335         [BZ #13550]
58336         * sysdeps/generic/bp-start.h: Remove file.
58337         * csu/libc-start.c: Don't include <bp-start.h>.
58338         (LIBC_START_MAIN): Set up __environ directly instead of using
58339         INIT_ARGV_and_ENVIRON.
58340         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58341         <bp-start.h>.
58343         [BZ #13550]
58344         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58345         definitions.
58346         (CHECK_FCNTL): Likewise.
58347         (CHECK_N_PAGES): Likewise.
58349         [BZ #13550]
58350         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58351         definitions.
58352         (CHECK_SIGSET_NULL_OK): Likewise.
58353         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58354         <bp-checks.h>.
58355         (sigpending): Don't use CHECK_SIGSET.
58356         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58357         <bp-checks.h>.
58358         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58359         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58360         <bp-checks.h>.
58361         (do_sigsuspend): Don't use CHECK_SIGSET.
58362         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58363         use CHECK_SIGSET.
58364         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58365         (do_sigwait): Don't use CHECK_SIGSET.
58366         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58367         use CHECK_SIGSET.
58368         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58369         include <bp-checks.h>.
58370         (sigpending): Don't use CHECK_SIGSET.
58371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58372         include <bp-checks.h>.
58373         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58374         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58375         <bp-checks.h>.
58376         (sigpending): Don't use CHECK_SIGSET.
58377         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58378         <bp-checks.h>.
58379         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58381         [BZ #13550]
58382         * sysdeps/generic/bp-semctl.h: Remove file.
58383         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58384         <bp-checks.h> and <bp-semctl.h>.
58385         (__old_semctl): Don't use CHECK_SEMCTL.
58386         (__new_semctl): Likewise.
58387         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58388         and <bp-semctl.h>.
58389         (__old_semctl): Don't use CHECK_SEMCTL.
58390         (__new_semctl): Likewise.
58391         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58392         <bp-checks.h> and <bp-semctl.h>.
58393         (__old_semctl): Don't use CHECK_SEMCTL.
58394         (__new_semctl): Likewise.
58395         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58396         <bp-checks.h> and <bp-semctl.h>.
58397         (semctl): Don't use CHECK_SEMCTL.
58399         [BZ #13550]
58400         * Makerules (elide-bp-thunks): Remove variable.
58401         (elide-routines.oS): Don't use $(elide-bp-thunks).
58402         (elide-routines.os): Likewise.
58403         (elide-routines.o): Likewise.
58404         (elide-routines.op): Likewise.
58405         (elide-routines.og): Likewise.
58406         (objects): Don't use $(bp-thunks).
58407         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58408         include.
58409         (common-generated): Do not add s-proto-bp.d.
58410         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58411         (int): Likewise.
58412         (typ): Likewise.
58413         Do not generate makefile rules for bounded-pointer thunks.
58414         * sysdeps/generic/bp-thunks.h: Remove file.
58415         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58416         * sysdeps/unix/s-proto-bp.S: Likewise.
58418         [BZ #15062]
58419         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58420         parts of result separately when argument is not close to line from
58421         -i to i and one part of argument is small.
58422         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58423         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58424         * math/libm-test.inc (cacos_test): Add more tests.
58425         (casin_test): Likewise.
58426         (casinh_test): Likewise.
58427         * sysdeps/i386/fpu/libm-test-ulps: Update.
58428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58430 2013-01-31  David S. Miller  <davem@davemloft.net>
58432         * po/de.po: Update from translation team.
58434 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58436         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58438 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58440         * configure.in (_AC_PROG_CC_C89): New definition.
58441         * configure: Regenerate.
58443         * configure.in (AC_PROG_CPP): New definition.
58444         * configure: Regenerate.
58446 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58448         * debug/tst-backtrace.h: New file.
58449         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58450         (ret): Remove variable.
58451         (x): Likewise.
58452         (FAIL): Remove macro.
58453         (NO_INLINE): Likewise.
58454         (fn1): Use match function instead of strstr.
58455         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58456         (ret): Remove variable.
58457         (x): Likewise.
58458         (FAIL): Remove macro.
58459         (NO_INLINE): Likewise.
58460         (fn): Use match function instead of strstr.
58461         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58462         (ret): Remove variable.
58463         (x): Likewise.
58464         (FAIL): Remove macro.
58465         (NO_INLINE): Likewise.
58466         (handle_signal): Use match function instead of strstr.
58467         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58468         (ret): Remove variable.
58469         (x): Likewise.
58470         (FAIL): Remove macro.
58471         (NO_INLINE): Likewise.
58472         (handle_signal): Use match function instead of strstr.
58474 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58476         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58478 2013-01-23  David S. Miller  <davem@davemloft.net>
58480         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58481         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58482         argument of CAS if possible.
58483         * sysdeps/sparc/sparc64/bits/atomic.h
58484         (__arch_compare_and_exchange_val_32_acq): Likewise.
58485         (__arch_compare_and_exchange_val_64_acq): Likewise.
58487 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58489         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58490         * sysdeps/posix/ulimit.c: ... this.
58491         Include <limits.h>.
58492         * sysdeps/unix/bsd/ulimit.c: Remove file.
58494 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58496         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58497         (LDFLAGS-tst-array5): Likewise.
58499 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58501         [BZ #15036]
58502         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58503         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58504         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58505         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58507 2013-01-21  David S. Miller  <davem@davemloft.net>
58509         * sysdeps/sparc/backtrace.c: New file.
58510         * sysdeps/sparc/sparc32/backtrace.h: New file.
58511         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58512         * sysdeps/sparc/sparc64/backtrace.h: New file.
58513         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58514         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58515         -funwind-tables.
58517 2013-01-21  Andreas Schwab  <schwab@suse.de>
58519         [BZ #15020]
58520         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58521         closed its stdout.
58523 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58525         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58526         "mpa2.h".
58527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58529 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58530             Mark Mitchell  <mark@codesourcery.com>
58531             Tom de Vries  <tom@codesourcery.com>
58532             Paul Pluzhnikov  <ppluzhnikov@google.com>
58534         * debug/tst-backtrace2.c: New file.
58535         * debug/tst-backtrace3.c: Likewise.
58536         * debug/tst-backtrace4.c: Likewise.
58537         * debug/tst-backtrace5.c: Likewise.
58538         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58539         (CFLAGS-tst-backtrace3.c): Likewise.
58540         (CFLAGS-tst-backtrace4.c): Likewise.
58541         (CFLAGS-tst-backtrace5.c): Likewise.
58542         (LDFLAGS-tst-backtrace2): Likewise.
58543         (LDFLAGS-tst-backtrace3): Likewise.
58544         (LDFLAGS-tst-backtrace4): Likewise.
58545         (LDFLAGS-tst-backtrace5): Likewise.
58546         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58547         tst-backtrace4 and tst-backtrace5.
58549 2013-01-18  Anton Blanchard  <anton@samba.org>
58550             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58552         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58553         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58554         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58555         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58557         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58558         "+r" and remove output regs list as redundant.  Add explicit inline
58559         asm to specify register of return val to work around compiler codegen
58560         bug.  Remove (int) cast on return value.  Add return type parameter to
58561         use in macro so that this macro does not truncate return value for
58562         64-bit values.
58563         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58564         pass to INTERNAL_VSYSCALL_NCS.
58565         (INLINE_VSYSCALL): Add 'long int' as return type to
58566         INTERNAL_VSYSCALL_NCS macro invocation.
58567         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58568         INTERNAL_VSYSCALL_NCS macro invocation.
58569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58571 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58573         [BZ #14496]
58574         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58575         Fix application of SIMD FP exception mask.
58577         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58578         mp_no from a power of two.
58579         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58580         __mpexp_twomm1.  Use __pow_mp.
58582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58583         multiplication.
58585 2013-01-17  David S. Miller  <davem@davemloft.net>
58587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58589 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58591         [BZ #15023]
58592         * include/complex.h: Condition contents on [!_COMPLEX_H].
58593         (__kernel_casinhf): New prototype.
58594         (__kernel_casinh): Likewise.
58595         (__kernel_casinhl): Likewise.
58596         * math/Makefile (libm_calls): Add k_casinh.
58597         * math/k_casinh.c: New file.
58598         * math/k_casinhf.c: Likewise.
58599         * math/k_casinhl.c: Likewise.
58600         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58601         finite nonzero arguments.
58602         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58603         finite nonzero arguments.
58604         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58605         finite nonzero arguments.
58606         * math/s_casinh.c: Do not include <float.h>.
58607         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58608         * math/s_casinhf.c: Do not include <float.h>.
58609         (__casinhf): Move code for finite nonzero arguments to
58610         k_casinhf.c.
58611         * math/s_casinhl.c: Do not include <float.h>.
58612         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58613         redefine.
58614         (__casinhl): Move code for finite nonzero arguments to
58615         k_casinhl.c.
58616         * math/libm-test.inc (cacos_test): Add more tests.
58617         * sysdeps/i386/fpu/libm-test-ulps: Update.
58618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58620 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58622         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58623         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58624         [!HAVE_MREMAP]: Remove [defined linux] case.
58625         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58627 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58629         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58631 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58633         * elf/elf.h (R_386_SIZE32): New relocation.
58634         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58635         R_386_SIZE32.
58636         (elf_machine_rela): Likewise.
58637         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58638         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58640 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58642         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58643         (FP_FAST_FMA): Do not define.
58644         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58645         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58646         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58647         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58648         !_SOFT_FLOAT]: Likewise.
58649         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58650         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58651         value.
58652         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58653         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58654         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58655         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58656         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58657         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58658         file.
58660 2013-01-16  Andreas Schwab  <schwab@suse.de>
58662         [BZ #14327]
58663         * include/stdlib.h (__mktemp): Add declaration.
58664         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58665         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58667 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58669         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58670         definitions.
58671         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58672         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58673         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58674         definitions here.
58675         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58676         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58677         definitions.
58678         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58679         and ONE.
58680         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58681         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58682         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58683         definitions.
58684         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58685         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58686         definitions.
58687         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58689         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58691 2013-01-15  David S. Miller  <davem@davemloft.net>
58693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58694         trunc{,f} to libm-sysdep_routes.
58695         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58697         file.
58698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58700         file.
58701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58702         file.
58703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58705         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58706         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58707         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58708         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58709         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58710         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58713         nearbyint{,f} to libm-sysdep_routes.
58714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58716         New file.
58717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58718         file.
58719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58720         New file.
58721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58722         file.
58723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58725         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58726         file.
58727         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58728         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58729         file.
58730         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58731         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58732         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58734         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58735         libc_feholdexcept and libc_fesetenv.
58737 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58739         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58741 2013-01-14  David S. Miller  <davem@davemloft.net>
58743         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58744         (SPARC_ASM_VIS2_IFUNC): Likewise.
58745         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58747         use of 'siam' instruction.
58748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58749         Likewise.
58750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58751         Likewise.
58752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58753         Likewise.
58754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58759         file.
58760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58761         file.
58762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58763         file.
58764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58765         file.
58766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58771         new VIS2 routines.
58772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58775         Likewise.
58776         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58781         routines to libm-sysdep_routines.
58782         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58785         fdim/fdimf to libm-sysdep_routines.
58786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58787         file.
58788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58790         file.
58791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58794         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58795         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58796         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58797         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58799 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58801         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58802         to optimize copies.
58804         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58809         local variable MPTWO.
58810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58811         Likewise.
58813 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58815         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58816         GLOB_NOESCAPE.
58818 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58820         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58822 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58824         * manual/pattern.texi (glob_t): Document gl_flags.
58825         (glob64_t): Likewise.
58827 2013-01-11  David S. Miller  <davem@davemloft.net>
58829         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58830         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58831         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58832         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58833         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58834         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58835         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58836         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58837         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58838         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58839         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58840         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58841         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58843         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58844         sparc V9 rather than using V8 code.
58845         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58846         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58848         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58849         Move to...
58850         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58851         Here.
58853 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58855         [BZ #14941]
58856         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58857         not in the main loop.
58858         * configure: Regenerated.
58860 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58862         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58863         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58864         to just #else.
58865         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58866         [!__GLIBC_HAVE_LONG_LONG] case.
58867         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58868         condition to just #else.
58869         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58870         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58871         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58872         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58873         unconditional.
58874         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58875         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58876         #elif condition to just #else.
58877         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58878         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58879         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58880         #elif condition to just #else.
58882 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58884         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58885         (EF_MIPS_ARCH_64): Fix value.
58886         (EF_MIPS_ARCH_32R2): New.
58887         (EF_MIPS_ARCH_64R2): New.
58889 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58891         * Makeconfig (+link-pie-before-libc): New.
58892         (+link-pie-after-libc): Likewise.
58893         (+link-pie-tests): Likewise.
58894         (+link-pie): Rewritten.
58895         (link-before-libc): Remove $(config-LDFLAGS).
58896         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58897         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58898         (config-LDFLAGS): Renamed to ...
58899         (rtld-LDFLAGS): This.
58900         (rtld-tests-LDFLAGS): New macro.
58901         (link-libc-rpath-link): Likewise.
58902         (link-libc-tests-rpath-link): Likewise.
58903         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58904         (link-libc): Prepand $(link-libc-rpath-link).
58905         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58906         (test-program-prefix): New macro.
58907         (test-via-rtld-prefix): Likewise.
58908         (test-program-cmd): Likewise.
58909         (host-test-program-cmd): Likewise.
58910         * Makefile ($(common-objpfx)testrun.sh): Replace
58911         $(run-program-prefix) with $(test-program-prefix).
58912         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58913         $(rtld-LDFLAGS).
58914         ($(common-objpfx)shlib.lds): Likewise.
58915         (build-module-helper): Likewise.
58916         ($(common-objpfx)format.lds): Likewise.
58917         * Rules (binaries-pie-tests): New.
58918         (binaries-pie-notests): Likewise.
58919         (binaries-pie): Rewritten.
58920         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58921         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58922         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58923         (make-test-out): Replace $(host-built-program-cmd) with
58924         $(host-test-program-cmd).
58925         * config.make.in (build-hardcoded-path-in-tests): New variable.
58926         * configure.in (--enable-hardcoded-path-in-tests): New configure
58927         option.
58928         (hardcoded_path_in_tests): New AC_SUBST.
58929         * configure: Regenerated.
58930         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58931         $(built-program-cmd) with $(test-program-cmd).
58932         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58933         (test_program_cmd): This.
58934         * elf/Makefile ($(objpfx)order.out): Run test with
58935         $(test-program-prefix).
58936         ($(objpfx)order2.out): Likewise.
58937         ($(objpfx)tst-initorder.out): Likewise.
58938         ($(objpfx)tst-initorder2.out): Likewise.
58939         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58940         $(test-program-cmd).
58941         ($(objpfx)tst-array1-static.out): Likewise.
58942         ($(objpfx)tst-array2.out): Likewise.
58943         ($(objpfx)tst-array3.out): Likewise.
58944         ($(objpfx)tst-array4.out): Likewise.
58945         ($(objpfx)tst-array5.out): Likewise.
58946         ($(objpfx)tst-array5-static.out): Likewise.
58947         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58948         $(test-program-cmd).
58949         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58950         $(run-program-prefix) with $(test-program-prefix).
58951         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58952         (test_program_prefix): This.
58953         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58954         $(run-program-prefix) with $(test-program-prefix).
58955         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58956         (test_program_prefix): This.
58957         * iconvdata/tst-tables.sh: Likewise.
58958         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58959         $(run-program-prefix) with $(test-program-prefix).
58960         ($(objpfx)tst-translit.out): Likewise.
58961         ($(objpfx)tst-gettext2.out): Likewise.
58962         ($(objpfx)tst-gettext4.out): Likewise.
58963         ($(objpfx)tst-gettext6.out): Likewise.
58964         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58965         (test_program_prefix): This.
58966         * intl/tst-gettext2.sh: Likewise.
58967         * intl/tst-gettext4.sh  Likewise.
58968         * intl/tst-gettext6.sh: Likewise.
58969         * intl/tst-translit.sh: Likewise.
58970         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58971         with $(test-program-cmd).
58972         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58973         $(run-program-prefix) with $(test-program-prefix).
58974         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58975         (test_program_prefix): This.
58976         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58977         $(run-program-prefix) with $(test-program-prefix).
58978         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58979         (test_program_prefix): This.
58980         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58981         * posix/Makefile ($(objpfx)globtest.out): Replace
58982         $(run-via-rtld-prefix) and $(test-wrapper) with
58983         $(test-program-prefix) and $(test-via-rtld-prefix).
58984         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58985         $(test-program-prefix).
58986         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58987         $(host-test-program-cmd).
58988         (tst-spawn-ARGS): Likewise.
58989         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58990         $(test-program-prefix).
58991         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58992         (test_via_rtld_prefix): This.
58993         (test_wrapper): Renamed to ...
58994         (test_program_prefix): This.
58995         (run_program_prefix): Replaced by test_program_prefix.
58996         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58997         (test_program_prefix): This.
58998         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58999         with $(host-test-program-cmd).
59000         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59001         $(run-program-prefix) with $(test-program-prefix).
59002         ($(objpfx)tst-printf.out): Likewise.
59003         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59004         $(test-program-cmd).
59005         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59006         (test_program_prefix): This.
59007         * stdio-common/tst-unbputc.sh: Likewise.
59008         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59009         $(run-program-prefix) with $(test-program-prefix).
59010         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59011         (test_program_prefix): This.
59012         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59013         $(built-program-cmd) with $(test-program-cmd).
59015 2013-01-11  Andreas Jaeger  <aj@suse.de>
59017         [BZ #15003]
59018         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59019         value. Sync with Linux 3.7.
59021 2013-01-10  David S. Miller  <davem@davemloft.net>
59023         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59024         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59025         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59027 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59029         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59030         never set.
59031         * configure: Regenerated.
59033 2013-01-10  David S. Miller  <davem@davemloft.net>
59035         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59036         sparc V9 rather than using V8 code.
59037         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59038         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59040 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59042         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59043         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59044         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59045         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59046         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59047         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59048         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59049         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59050         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59051         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59052         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59053         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59054         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59055         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59056         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59057         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59058         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59059         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59060         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59061         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59062         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59063         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59064         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59065         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59066         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59067         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59068         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59070 2013-01-10  David S. Miller  <davem@davemloft.net>
59072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59074 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59076         * posix/Makefile (tests-static): New variable.
59077         (tests): Add $(tests-static).
59078         (tst-exec-static-ARGS): New variable.
59079         (tst-spawn-static-ARGS): Likewise.
59080         * posix/tst-exec-static.c: New file.
59081         * posix/tst-spawn-static.c: Likewise.
59082         * posix/tst-exec.c: Support run directly.
59083         * posix/tst-spawn.c: Likewise.
59085 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59087         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59088         long.
59089         * math/bits/mathcalls.h (llrint): Likewise.
59090         (llround): Likewise.
59091         * stdlib/stdlib.h (struct drand48_data): Likewise.
59092         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59093         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59094         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59095         Likewise.
59096         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59097         Likewise.
59098         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59099         (elf_greg_t): Likewise.
59100         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59101         (__jmp_buf): Likewise.
59102         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59103         definitions.
59104         (llrint): Likewise, for all definitions.
59105         (llrintl): Likewise.
59107         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59108         Remove [__GNUC__] condition.
59109         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59110         condition to just [__USE_ISOC99].
59111         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59113 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59115         [BZ #14200]
59116         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59117         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59118         defined.
59119         (_POSIX_V6_ILP32_OFF32): Likewise.
59120         (_XBS5_ILP32_OFF32): Likewise.
59121         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59122         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59124 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59126         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59129         doubles __mpexp_twomm1.  Adjust usage.
59130         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59131         Remove.
59133 2013-01-10  Andreas Schwab  <schwab@suse.de>
59135         [BZ #14964]
59136         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59137         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59139 2013-01-09  David S. Miller  <davem@davemloft.net>
59141         [BZ #15003]
59142         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59143         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59144         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59145         (TCP_FASTOPEN): Define.
59146         (tcp_repair_opt): New structure.
59147         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59148         enum values.
59149         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59150         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59151         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59152         (tcp_cookie_transactions): New structure.
59154 2013-01-09  Anton Blanchard  <anton@samba.org>
59156         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59157         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59158         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59159         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59161 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59163         * include/features.h (__USE_ANSI): Remove.
59165 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59167         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59169         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59171 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59173         * sysdeps/s390/fpu/libm-test-ulps: Update.
59175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59177         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59178         (__acr): Likewise.
59179         (__cpy): Likewise.
59180         (norm): Likewise.
59181         (denorm): Likewise.
59182         (__mp_dbl): Likewise.
59183         (__dbl_mp): Likewise.
59184         (add_magnitudes): Likewise.
59185         (sub_magnitudes): Likewise.
59186         (__add): Likewise.
59187         (__sub): Likewise.
59188         (__mul): Likewise.
59189         (__inv): Likewise.
59190         (__dvd): Likewise.
59191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59192         (__acr): Likewise.
59193         (__cpy): Likewise.
59194         (norm): Likewise.
59195         (denorm): Likewise.
59196         (__mp_dbl): Likewise.
59197         (__dbl_mp): Likewise.
59198         (add_magnitudes): Likewise.
59199         (sub_magnitudes): Likewise.
59200         (__add): Likewise.
59201         (__sub): Likewise.
59202         (__mul): Likewise.
59203         (__inv): Likewise.
59204         (__dvd): Likewise.
59205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59206         (__acr): Likewise.
59207         (__cpy): Likewise.
59208         (norm): Likewise.
59209         (denorm): Likewise.
59210         (__mp_dbl): Likewise.
59211         (__dbl_mp): Likewise.
59212         (add_magnitudes): Likewise.
59213         (sub_magnitudes): Likewise.
59214         (__add): Likewise.
59215         (__sub): Likewise.
59216         (__mul): Likewise.
59217         (__inv): Likewise.
59218         (__dvd): Likewise.
59220 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59222         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59223         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59224         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59225         2 && __USE_EXTERN_INLINES]: Likewise.
59227 2013-01-08  Andreas Jaeger  <aj@suse.de>
59229         [BZ# 14985]
59230         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59231         Remove.
59232         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59233         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59235 2013-01-07  Anton Blanchard  <anton@samba.org>
59237         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59238         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59239         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59240         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59241         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59242         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59243         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59244         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59246         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59247         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59248         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59249         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59250         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59251         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59252         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59253         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59255         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59256         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59257         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59258         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59259         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59260         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59261         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59262         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59263         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59264         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59265         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59266         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59267         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59269         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59270         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59271         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59272         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59273         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59274         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59275         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59276         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59277         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59278         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59279         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59281 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59283         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59284         (__MALLOC_PMT): Likewise.
59285         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59286         [__GNUC__], only on [_LIBC].
59287         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59288         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59289         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59290         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59291         forward declaration.
59292         (realloc_hook_ini): Likewise.
59293         (memalign_hook_ini): Likewise.
59294         (__libc_memalign): Do not use __MALLOC_PMT in variable
59295         declaration.
59296         (__libc_valloc): Likewise.
59297         (__libc_pvalloc): Likewise.
59298         (__libc_calloc): Likewise.
59299         (__posix_memalign): Likewise.
59301         [BZ #14996]
59302         * math/s_casinh.c: Include <float.h>.
59303         (__casinh): Do not do computation with squaring and square root
59304         for large arguments.
59305         * math/s_casinhf.c: Include <float.h>.
59306         (__casinhf): Do not do computation with squaring and square root
59307         for large arguments.
59308         * math/s_casinhl.c: Include <float.h>.
59309         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59310         (__casinhl): Do not do computation with squaring and square root
59311         for large arguments.
59312         * math/libm-test.inc (casin_test): Add more tests.
59313         (casinh_test): Likewise.
59314         * sysdeps/i386/fpu/libm-test-ulps: Update.
59315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59317 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59319         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59320         (__x86_64_raw_data_cache_size): Likewise.
59321         (__x86_64_data_cache_size_half): Likewise.
59322         (__x86_64_raw_data_cache_size_half): Likewise.
59323         (__x86_64_shared_cache_size): Likewise.
59324         (__x86_64_raw_shared_cache_size): Likewise.
59325         (__x86_64_shared_cache_size_half): Likewise.
59326         (__x86_64_raw_shared_cache_size_half): Likewise.
59327         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59328         to ...
59329         (__x86_data_cache_size): This.
59330         (__x86_64_raw_data_cache_size): Renamed to ...
59331         (__x86_raw_data_cache_size): This.
59332         (__x86_64_data_cache_size_half): Renamed to ...
59333         (__x86_data_cache_size_half): This.
59334         (__x86_64_raw_data_cache_size_half): Renamed to ...
59335         (__x86_raw_data_cache_size_half): This.
59336         (__x86_64_shared_cache_size): Renamed to ...
59337         (__x86_shared_cache_size): This.
59338         (__x86_64_raw_shared_cache_size): Renamed to ...
59339         (__x86_raw_shared_cache_size): This.
59340         (__x86_64_shared_cache_size_half): Renamed to ...
59341         (__x86_shared_cache_size_half): This.
59342         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59343         (__x86_raw_shared_cache_size_half): This.
59344         * sysdeps/x86_64/memcpy.S: Updated.
59345         * sysdeps/x86_64/memset.S: Likewise.
59346         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59347         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59348         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59350 2013-01-04  David S. Miller  <davem@davemloft.net>
59352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59354 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59356         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59357         1 to avoid redefinition warning.
59358         (__USE_GNU): Don't define.
59359         (init_signaling_nan): Protoize.
59361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59363 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59365         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59367         (__cpymn): Likewise.
59368         (norm): Remove commented code.
59369         (denorm): Likewise.
59370         (__mp_dbl): Likewise.
59371         (__inv): Likewise.
59372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59373         (__cpymn): Likewise.
59374         (norm): Remove commented code.
59375         (denorm): Likewise.
59376         (__mp_dbl): Likewise.
59377         (__inv): Likewise.
59379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59380         mp_no value for 1.0 and 2.0.
59381         (norm): Use RADIXI instead of radixi.d.
59382         (denorm): Likewise.
59383         (__mul): Use 0.0 instead of zero.d.
59384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59385         mp_no value for 1.0 and 2.0.
59386         (norm): Use RADIXI instead of radixi.d.
59387         (denorm): Likewise.
59388         (__mul): Use 0.0 instead of zero.d.
59390 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59392         [BZ #14994]
59393         * math/s_casinh.c (__casinh): Reduce finite argument to first
59394         quadrant then set signs of results at the end.
59395         * math/s_casinhf.c (__casinhf): Likewise.
59396         * math/s_casinhl.c (__casinhl): Likewise.
59397         * math/libm-test.inc (casin_test): Add more tests.
59398         (casinh_test): Likewise.
59399         * sysdeps/i386/fpu/libm-test-ulps: Update.
59400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59402 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59406         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59408         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59409         declarations.
59410         (denorm): Likewise.
59411         (__mp_dbl): Likewise.
59412         (__inv): Likewise.
59414         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59415         and adjust the header comment.
59417         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59418         variable name from declaration.
59420 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59423         Initialize COMMON_CPUID_INDEX_7 element.
59424         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59425         (CPUID_RTM): Likewise.
59426         (HAS_RTM): Likewise.
59427         (COMMON_CPUID_INDEX_7): New enum.
59429 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59431         [BZ #14981]
59432         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59433         size is zero, record memory as freed.
59435 2013-01-03  Andreas Jaeger  <aj@suse.de>
59437         * po/ia.po: Add new Interlingua translation.
59439 2012-01-03  Allan McRae  <allan@archlinux.org>
59441         * locale/programs/localedef.c: Fix description of '--posix' flag.
59443 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59445         * NEWS: Update dates in second copyright notice.
59446         * README: Update copyright dates in example.
59447         * manual/libc.texinfo: Update copyright dates.
59448         * scripts/test-installation.pl: Update copyright date in --version
59449         output.
59451         * hurd/ctty-input.c: Fix copyright notice formatting.
59452         * hurd/ctty-output.c: Likewise.
59453         * hurd/dtable.c: Likewise.
59454         * hurd/hurd-raise.c: Likewise.
59455         * hurd/hurdprio.c: Likewise.
59456         * hurd/msgportdemux.c: Likewise.
59457         * misc/sys/file.h: Likewise.
59458         * misc/sys/ioctl.h: Likewise.
59459         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59460         * sysdeps/mach/hurd/chdir.c: Likewise.
59461         * sysdeps/mach/hurd/fchdir.c: Likewise.
59462         * sysdeps/mach/hurd/rename.c: Likewise.
59463         * sysdeps/mach/hurd/rmdir.c: Likewise.
59464         * sysdeps/mach/hurd/seekdir.c: Likewise.
59465         * sysdeps/mach/hurd/setsid.c: Likewise.
59466         * sysdeps/posix/wait3.c: Likewise.
59468         * All files with FSF copyright notices: Update copyright dates
59469         using scripts/update-copyrights.
59470         * intl/plural.c: Regenerated.
59471         * locale/programs/charmap-kw.h: Likewise.
59472         * locale/programs/locfile-kw.h: Likewise.
59474 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59476         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59477         four values.
59479         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59480         calculation loop and add branch prediction.
59482         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59483         check access beyond bounds of m1np.
59485         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59486         MPTWO.
59487         (__inv): Remove local variable MPTWO to use the global
59488         constant.
59489         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59491         variable MPTWO.
59492         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59493         MP3HALFS static const.
59495 2013-01-01  David S. Miller  <davem@davemloft.net>
59497         * po/ca.po: Update from translation team.
59499 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59501         * scripts/update-copyrights: New file.
59502         * Makeconfig: Reformat copyright notice.
59503         * ctype/ctype.h: Likewise.
59504         * debug/swprintf_chk.c: Likewise.
59505         * elf/dl-cache.c: Likewise.
59506         * elf/dl-debug.c: Likewise.
59507         * elf/dl-object.c: Likewise.
59508         * grp/initgroups.c: Likewise.
59509         * hurd/Makefile: Likewise.
59510         * hurd/hurd/signal.h: Likewise.
59511         * hurd/hurdfault.c: Likewise.
59512         * hurd/hurdioctl.c: Likewise.
59513         * hurd/hurdlookup.c: Likewise.
59514         * hurd/intr-msg.c: Likewise.
59515         * iconv/gconv_open.c: Likewise.
59516         * libio/swprintf.c: Likewise.
59517         * locale/lc-ctype.c: Likewise.
59518         * locale/nl_langinfo.c: Likewise.
59519         * mach/Machrules: Likewise.
59520         * mach/Makefile: Likewise.
59521         * malloc/obstack.h: Likewise.
59522         * manual/Makefile: Likewise.
59523         * manual/tsort.awk: Likewise.
59524         * misc/bits/stab.def: Likewise.
59525         * nis/nis_print_group_entry.c: Likewise.
59526         * nis/nis_table.c: Likewise.
59527         * nis/nss_compat/compat-pwd.c: Likewise.
59528         * nis/nss_compat/compat-spwd.c: Likewise.
59529         * po/Makefile: Likewise.
59530         * posix/fnmatch.c: Likewise.
59531         * posix/regex.h: Likewise.
59532         * resolv/Makefile: Likewise.
59533         * resolv/nss_dns/dns-network.c: Likewise.
59534         * resolv/res_hconf.c: Likewise.
59535         * scripts/gen-sorted.awk: Likewise.
59536         * soft-fp/soft-fp.h: Likewise.
59537         * stdio-common/printf.h: Likewise.
59538         * stdlib/monetary.h: Likewise.
59539         * stdlib/random.c: Likewise.
59540         * stdlib/random_r.c: Likewise.
59541         * sysdeps/generic/Makefile: Likewise.
59542         * sysdeps/gnu/Makefile: Likewise.
59543         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59544         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59545         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59546         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59547         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59550         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59551         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59552         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59553         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59554         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59555         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59556         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59557         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59558         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59559         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59561         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59562         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59563         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59564         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59565         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59566         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59567         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59568         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59569         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59570         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59571         * sysdeps/mach/hurd/errnos.awk: Likewise.
59572         * sysdeps/mach/hurd/fork.c: Likewise.
59573         * sysdeps/mach/hurd/getcwd.c: Likewise.
59574         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59575         * sysdeps/mach/hurd/mmap.c: Likewise.
59576         * sysdeps/mach/hurd/utimes.c: Likewise.
59577         * sysdeps/mach/hurd/xmknod.c: Likewise.
59578         * sysdeps/posix/profil.c: Likewise.
59579         * sysdeps/posix/readdir_r.c: Likewise.
59580         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59581         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59582         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59583         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59584         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59585         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59586         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59587         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59590         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59591         * sysdeps/pthread/lio_listio.c: Likewise.
59592         * sysdeps/sparc/dl-procinfo.h: Likewise.
59593         * sysdeps/unix/i386/sysdep.S: Likewise.
59594         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59595         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59596         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59597         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59599         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59600         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59601         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59602         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59603         * sysdeps/wordsize-32/divdi3.c: Likewise.
59604         * time/sys/time.h: Likewise.
59605         * wcsmbs/Makefile: Likewise.
59607 2013-01-01  David S. Miller  <davem@davemloft.net>
59609         * po/fr.po: Update from translation team.
59611         * catgets/gencat.c: Update copyright year.
59612         * csu/version.c: Likewise.
59613         * debug/catchsegv.sh: Likewise.
59614         * debug/pcprofiledump.c: Likewise.
59615         * debug/xtrace.sh: Likewise.
59616         * elf/ldconfig.c: Likewise.
59617         * elf/ldd.bash.in: Likewise.
59618         * elf/pldd.c: Likewise.
59619         * elf/sotruss.ksh: Likewise.
59620         * elf/sprof.c: Likewise.
59621         * iconv/iconv_prog.c: Likewise.
59622         * iconv/iconvconfig.c: Likewise.
59623         * locale/programs/locale.c: Likewise.
59624         * locale/programs/localedef.c: Likewise.
59625         * login/programs/pt_chown.c: Likewise.
59626         * malloc/memusage.sh: Likewise.
59627         * malloc/memusagestat.c: Likewise.
59628         * malloc/mtrace.pl: Likewise.
59629         * nscd/nscd.c: Likewise.
59630         * nss/getent.c: Likewise.
59631         * nss/makedb.c: Likewise.
59632         * posix/getconf.c: Likewise.
59634 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59636         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59637         numbers.
59639 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59641         * math/bits/mathcalls.h (modf): Use __nonnull.
59643 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59645         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59646         (split): Use macro CN instead of the bare value.
59647         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59648         could be used.
59649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59650         instead of the bare value.
59651         (power1): Likewise.
59653 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59656         __ATAN_TWOM.
59657         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59659         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59660         their values.
59661         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59662         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59663         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59664         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59666 2012-12-28  Andreas Jaeger  <aj@suse.de>
59668         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59669         values are from Linux 3.7.
59671         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59672         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59674 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59676         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59677         TRUE case.
59679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59680         (norm): Likewise.
59681         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59682         variables with preprocessor constants.
59683         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59684         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59685         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59687 2012-12-27  Bruno Haible  <bruno@clisp.org>
59689         [BZ #14317]
59690         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59691         only if needed.
59693 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59696         and use variable directly.
59697         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59699         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59700         MPONE.
59701         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59703         variable MPONE.
59704         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59706         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59707         include directive.  Remove local variable MPONE.
59708         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59709         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59710         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59712 2012-12-25  David S. Miller  <davem@davemloft.net>
59714         * version.h (RELEASE): Set to "development".
59715         (VERSION): Set to "2.17.90".
59716         * NEWS: Add 2.18 section.
59718 2012-12-21  David S. Miller  <davem@davemloft.net>
59720         * po/hr.po: Update from translation team.
59722 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59724         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59726 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59728         * NEWS:  Mention new memcpy for MIPS.
59730 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59732         * manual/contrib.texi (Contributors): Spelling correction.
59734 2012-12-15  David S. Miller  <davem@davemloft.net>
59736         * po/ru.po: Update from translation team.
59738 2012-12-13  David S. Miller  <davem@davemloft.net>
59740         * NEWS: Mention IFUNC testsuite enhancements.
59742         * po/pl.po: Update from translation team.
59743         * po/bg.po: Likewise.
59745         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59746         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59748 2012-12-11  David S. Miller  <davem@davemloft.net>
59750         * po/sv.po: Update from translation team.
59752         * po/vi.po: Update from translation team.
59754         * po/cs.po: Update from translation team.
59756         * po/de.po: Update from translation team.
59757         * po/eo.po: Likewise.
59758         * po/nl.po: Likewise.
59760 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59762         [BZ #14246]
59763         * manual/argp.texi (Argp Helper Functions): Move node to follow
59764         Argp Parsing State.
59766         [BZ #14872]
59767         * manual/conf.texi (Limits on File System Capacity): Mention if
59768         terminating null is included in the max size.
59770 2012-12-10  Andreas Jaeger  <aj@suse.de>
59772         * po/cs.po: Update from translation team.
59774 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59776         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59777         void pointer and cast to uintptr_t.
59778         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59779         path.
59780         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59781         * sysdeps/s390/s390-64/memset.S: Likewise.
59783 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59785         [BZ #14833]
59786         * menual/message.texi (Message Translation): Fix typos.
59787         (Helper programs for gettext): Likewise.
59789 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59791         [BZ #14898]
59792         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59793         Change to -1.
59795 2012-12-07  David S. Miller  <davem@davemloft.net>
59797         * po/libc.pot: Update.
59799 2012-12-07  Richard Henderson  <rth@redhat.com>
59801         [BZ #10114]
59802         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59803         normal/normal case to before the switch.
59804         (_FP_DIV): Likewise.
59806 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59807             Mike Frysinger  <vapier@gentoo.org>
59809         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59810         check for __NR_fadvise64_64.
59812 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59814         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59815         0, not just to plain "0" as a statement.
59816         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59817         with cw.
59819 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59821         * NEWS: Use sourceware.org in Bugzilla URL.
59823 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59826         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59828         * stdio-common/tst-put-error.c (do_test): Add newline to the
59829         padded test to ensure flush.
59831 2012-12-05  Jeff Law  <law@redhat.com>
59833         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59835 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59837         * README: Don't refer to ports add-on as distributed separately.
59838         Mention AArch64 in list of systems supported in the ports add-on.
59840         * LICENSES: Add more non-FSF copyright and license notices.
59842         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59843         ((unused)).
59845         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59847         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59848         10000 as width of padded output.
59850 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59852         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59854         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59855         variable LX with __attribute__ ((unused)).
59856         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59857         Likewise.
59858         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59859         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59860         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59861         with __attribute__ ((unused)).
59863 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59865         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59867 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59869         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59870         (CFLAGS-nldbl-acos.c): New variable.
59871         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59872         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59873         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59874         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59875         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59876         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59877         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59878         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59879         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59880         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59881         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59882         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59883         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59884         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59885         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59886         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59887         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59888         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59889         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59890         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59891         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59892         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59893         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59894         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59895         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59896         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59897         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59898         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59899         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59900         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59901         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59902         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59903         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59904         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59905         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59906         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59907         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59908         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59909         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59910         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59911         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59912         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59913         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59914         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59915         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59916         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59917         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59918         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59919         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59920         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59921         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59922         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59923         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59924         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59925         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59926         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59927         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59928         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59929         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59930         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59931         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59932         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59933         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59934         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59935         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59936         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59937         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59938         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59939         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59940         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59941         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59942         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59943         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59944         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59945         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59946         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59947         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59948         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59949         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59950         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59951         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59952         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59953         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59954         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59955         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59956         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59957         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59958         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59959         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59960         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59961         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59962         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59963         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59964         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59965         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59966         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59967         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59970         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59972         [BZ #14914]
59973         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59974         whole low double instead of just low 47 bits when splitting values
59975         into two parts.
59977 2012-12-03  Allan McRae  <allan@archlinux.org>
59979         * manual/stdio.texi (Predefined Printf Handlers): Remove
59980         @hsep and @vsep usage.
59982 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59984         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59985         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59987 2012-12-03  Jeff Law  <law@redhat.com>
59989         * time/sys/time.h (settimeofday): Do not mark TV argument
59990         as __nonnull.
59992 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59994         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59995         when currently writing and seek to current position when not.
59996         * libio/Makefile (tests): Remove bug-fclose1.
59997         * libio/bug-fclose1.c: Delete.
59999 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60001         * manual/arith.texi (feenableexcept): Fix typo.
60002         (fedisableexcept): Likewise.
60004 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60006         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60007         second, differently-typed declaration, rather than a cast.
60009 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60011         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60012         * include/rpc/svc.h: ... here.
60014 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60016         [BZ #13013]
60017         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60018         depending n and resplen2 to catch cases where answer
60019         equals answerp2.
60021 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60023         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60024         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60026 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60028         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60030 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60032         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60034 2012-11-28  Jeff Law  <law@redhat.com>
60036         [BZ #13761]
60037         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60038         dataset_temporary.  Track alloca usage into alloca_used.
60039         If dataset is large allocate and release it via malloc/free.
60041 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60043         [BZ #14197]
60044         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60046 2012-11-28  David S. Miller  <davem@davemloft.net>
60048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60050 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60052         [BZ #14803]
60053         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60054         of pi/2 rounded to nearest to 64 bits.
60055         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60056         nearest to 64 bits.
60057         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60058         bits.
60060 2012-11-28  Jeff Law <law@redhat.com>
60061             Martin Osvald <mosvald@redhat.com>
60063         [BZ #14889]
60064         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60065         * sunrpc/svc.c: Include time.h.
60066         (__svc_accept_failed): New function.
60067         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60068         any reason other than EINTR, call __svc_accept_failed.
60069         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60070         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60072 2012-11-28  Andreas Schwab  <schwab@suse.de>
60074         * scripts/abilist.awk: Also handle indirect functions in .opd
60075         section.
60077 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60079         [BZ #13881]
60080         * sysdeps/x86/fpu/powl_helper.c: New file.
60081         * sysdeps/x86/fpu/Makefile: Likewise.
60082         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60083         (p3): New object.
60084         (__ieee754_powl): Use __powl_helper for finite arguments except
60085         integer exponents below 8.
60086         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60087         (p3): New object.
60088         (__ieee754_powl): Use __powl_helper for finite arguments except
60089         integer exponents below 8.
60090         * math/libm-test.inc (pow_test): Add more tests and enable some
60091         previously disabled tests.
60092         * sysdeps/i386/fpu/libm-test-ulps: Update.
60093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60095 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60096             Carlos O'Donell  <carlos_odonell@mentor.com>
60098         * nss/makedb.c (is_prime): Assert that input is odd and greater
60099         than 4.  Note that fact in a comment too.
60100         (next_prime): Add 4 to input.
60102 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60104         [BZ #11741]
60105         * libio/Makefile (tests): Add test case tst-fwrite-error.
60106         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60107         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60108         * libio/tst-fwrite-error.c: New test case.
60110 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60112         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60113         before casting to void *.
60114         * include/libc-internal.h (__pointer_type): New macro.
60115         (__integer_if_pointer_type_sub): Likewise.
60116         (__integer_if_pointer_type): Likewise.
60117         (cast_to_integer): Likewise.
60118         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60119         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60120         before casting to atomic64_t.
60121         (atomic_exchange_acq): Likewise.
60122         (__arch_exchange_and_add_body): Likewise.
60123         (__arch_add_body): Likewise.
60124         (atomic_add_negative): Likewise.
60125         (atomic_add_zero): Likewise.
60127 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60129         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60130         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60131         (add_fdes): Likewise.
60132         (linear_search_fdes): Likewise.
60133         (binary_search_unencoded_fdes): Likewise.
60135 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60137         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60139 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60141         * configure.in: Autodetect C++ header directories.
60142         * configure: Regenerated.
60144 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60146         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60148 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60152 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60154         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60155         LDBL_MANT_DIG == 106]: Disable some tests.
60156         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60157         Likewise.
60158         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60159         Likewise.
60161         [BZ #14871]
60162         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60163         input for small inputs.  Return +/- pi/2 for large inputs.
60164         * math/libm-test.inc (atan_test): Add more tests.
60166         * sysdeps/generic/unwind-dw2-fde-glibc.c
60167         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60168         __attribute__ ((unused)).
60170         [BZ #14645]
60171         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60172         x * y if x and y are nonzero and z is zero.
60174         [BZ #14811]
60175         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60176         nonzero exponents with absolute value below 0x1p-117 to +/-
60177         0x1p-117.
60179         [BZ #14869]
60180         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60181         up arguments below 2**-450, not just those below 2**-500.
60182         * math/libm-test.inc (hypot_test): Add another test.
60184         [BZ #14868]
60185         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60186         Return a+b for ratio over 2**120, not 2**60.
60187         * math/libm-test.inc (hypot_test): Add another test.
60189         * math/libm-test.inc (clog_test): Use
60190         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60191         (clog10_test): Likewise.
60193         [BZ #6778]
60194         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60196 2012-11-22  Andreas Schwab  <schwab@suse.de>
60198         * sysdeps/i386/fpu/libm-test-ulps: Update.
60200 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60202         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60203         printf output with newline.
60205 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60207         [BZ #14865]
60208         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60209         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60210         -z nodlopen, -z initfirst and -z execstack support.
60211         * configure: Regenerated.
60213         * elf/elf.h (DF_1_NODIRECT): New macro.
60214         (DF_1_IGNMULDEF): Likewise.
60215         (DF_1_NOKSYMS): Likewise.
60216         (DF_1_NOHDR): Likewise.
60217         (DF_1_EDITED): Likewise.
60218         (DF_1_NORELOC): Likewise.
60219         (DF_1_SYMINTPOSE): Likewise.
60220         (DF_1_GLOBAUDIT): Likewise.
60221         (DF_1_SINGLETON): Likewise.
60222         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60223         DT_1_SUPPORTED_MASK bits.
60224         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60226 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60228         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60230 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60232         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60233         macro.
60235         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60236         (sendmmsg): Move declarations...
60237         * socket/sys/socket.h: ... here.
60238         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60239         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60240         include it from...
60241         * socket/recvmmsg.c: ... this new file.
60242         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60243         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60244         definition of __sendmmsg hidden.
60245         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60246         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60247         Move ENOSYS stub into and include it from...
60248         * socket/sendmmsg.c: ... this new file.
60249         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60250         (sysdep_routines): Move recvmmsg and sendmmsg...
60251         * socket/Makefile (routines): ... here.
60252         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60253         (GLIBC_PRIVATE): Add __sendmmsg.
60254         * include/sys/socket.h (__sendmmsg): Add declarations.
60255         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60256         sendmmsg.
60258 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60260         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60261         variable I1 with __attribute__ ((unused)).
60262         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60264 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60266         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60267         DUMMY variables with __attribute__ ((unused)).
60269         * bits/byteswap.h: Include <bits/types.h>.
60270         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60272 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60274         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60275         string_t.  Do not manually set errno.
60276         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60277         length with __strnlen.  Make sure to both set errno and return it on
60278         failure.
60280 2012-11-19  David S. Miller  <davem@davemloft.net>
60282         With help from Joseph Myers.
60283         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60284         very large arguments properly.
60285         * math/libm-test.inc (atan_test): New tests.
60286         (atan2_test): New tests.
60287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60290 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60292         [BZ #14856]
60293         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60294         Define to 3.
60296         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60297         [POSIX] (EADDRNOTAVAIL): Likewise.
60298         [POSIX] (EAFNOSUPPORT): Likewise.
60299         [POSIX] (EALREADY): Likewise.
60300         [POSIX] (ECONNABORTED): Likewise.
60301         [POSIX] (ECONNREFUSED): Likewise.
60302         [POSIX] (ECONNRESET): Likewise.
60303         [POSIX] (EDESTADDRREQ): Likewise.
60304         [POSIX] (EDQUOT): Likewise.
60305         [POSIX] (EHOSTUNREACH): Likewise.
60306         [POSIX] (EIDRM): Likewise.
60307         [POSIX] (EISCONN): Likewise.
60308         [POSIX] (ELOOP): Likewise.
60309         [POSIX] (EMULTIHOP): Likewise.
60310         [POSIX] (ENETDOWN): Likewise.
60311         [POSIX] (ENETUNREACH): Likewise.
60312         [POSIX] (ENOBUFS): Likewise.
60313         [POSIX] (ENODATA): Likewise.
60314         [POSIX] (ENOLINK): Likewise.
60315         [POSIX] (ENOMSG): Likewise.
60316         [POSIX] (ENOPROTOOPT): Likewise.
60317         [POSIX] (ENOSR): Likewise.
60318         [POSIX] (ENOSTR): Likewise.
60319         [POSIX] (ENOTCONN): Likewise.
60320         [POSIX] (ENOTSOCK): Likewise.
60321         [POSIX] (EOPNOTSUPP): Likewise.
60322         [POSIX] (EOVERFLOW): Likewise.
60323         [POSIX] (EPROTO): Likewise.
60324         [POSIX] (EPROTONOSUPPORT): Likewise.
60325         [POSIX] (EPROTOTYPE): Likewise.
60326         [POSIX] (ESTALE): Likewise.
60327         [POSIX] (ETIME): Likewise.
60328         [POSIX] (ETXTBSY): Likewise.
60329         [POSIX] (EWOULDBLOCK): Likewise.
60330         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60331         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60332         [POSIX] (SEEK_CUR): Likewise.
60333         [POSIX] (SEEK_END): Likewise.
60334         [POSIX || UNIX98] (mode_t): Do not require.
60335         [POSIX] (off_t): Likewise.
60336         [POSIX] (pid_t): Likewise.
60337         [POSIX] (sys/stat.h): Do not allow header.
60338         [POSIX] (unistd.h): Likewise.
60339         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60340         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60341         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60342         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60343         require.
60344         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60345         sigevent): Specify elements.
60346         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60347         entry.
60348         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60349         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60351         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60352         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60353         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60354         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60355         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60356         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60357         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60358         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60359         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60360         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60361         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60362         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60363         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60364         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60365         Likewise.
60366         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60367         Likewise.
60368         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60369         Likewise.
60370         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60371         Likewise.
60372         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60373         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60374         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60375         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60376         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60377         Specify lower bound on value.
60378         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60379         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60380         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60381         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60382         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60383         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60384         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60385         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60386         value.
60387         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60388         as optional.
60389         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60390         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60391         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60392         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60393         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60394         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60395         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60396         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60397         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60398         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60399         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60400         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60401         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60402         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60403         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60404         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60405         entry.
60406         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60407         optional.
60408         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60409         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60410         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60411         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60412         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60413         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60414         Likewise.
60415         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60416         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60417         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60418         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60419         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60420         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60421         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60422         as optional.
60423         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60424         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60425         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60426         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60427         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60428         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60429         specify as optional.
60430         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60431         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60432         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60433         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60434         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60435         [XPG3] (NL_LANGMAX): Likewise.
60436         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60437         [POSIX || XPG3] (NL_NMAX): Likewise.
60438         [POSIX || XPG3] (NL_SETMAX): Likewise.
60439         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60440         [XPG3] (NZERO): Likewise.
60441         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60442         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60443         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60444         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60445         (REG_ERANGE): Expect.
60446         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60447         optional-constant.
60448         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60449         Use (void) in prototype.
60450         [POSIX] (*_t): Allow.
60451         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60452         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60453         (WRDE_BADVAL): Expect.
60455         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60456         expect.
60457         [XPG3 || XPG4] (O_RSYNC): Likewise.
60458         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60459         Likewise.
60460         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60461         [XPG3 || XPG4] (sigqueue): Likewise.
60462         [XPG3 || XPG4] (sigtimedwait): Likewise.
60463         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60464         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60465         [XPG3 || XPG4] (vsnprintf): Likewise.
60466         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60467         Likewise.
60468         [XPG3 || XPG4] (blksize_t): Likewise.
60469         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60470         Likewise.
60471         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60472         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60473         [XPG3 || XPG4] (struct itimerspec): Likewise.
60474         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60475         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60476         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60477         [XPG3 || XPG4] (clockid_t): Likewise.
60478         [XPG3 || XPG4] (timer_t): Likewise.
60479         [XPG3 || XPG4] (clock_getres): Likewise.
60480         [XPG3 || XPG4] (clock_gettime): Likewise.
60481         [XPG3 || XPG4] (clock_settime): Likewise.
60482         [XPG3 || XPG4] (nanosleep): Likewise.
60483         [XPG3 || XPG4] (timer_create): Likewise.
60484         [XPG3 || XPG4] (timer_delete): Likewise.
60485         [XPG3 || XPG4] (timer_gettime): Likewise.
60486         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60487         [XPG3 || XPG4] (timer_settime): Likewise.
60488         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60489         [XPG3 || XPG4] (getlogin_r): Likewise.
60490         [XPG3 || XPG4] (pread): Likewise.
60491         [XPG3 || XPG4] (pthread_atfork): Likewise.
60492         [XPG3 || XPG4] (pwrite): Likewise.
60494         [BZ #14835]
60495         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60496         <bits/siginfo.h>.
60498 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60500         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60501         finalizing MALLSTREAM.
60503         * sysdeps/mach/hurd/syncfs.c: New file.
60505 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60507         [BZ #14719]
60508         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60509         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60510         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60511         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60512         (_nss_dns_gethostbyname4_r): Likewise.
60513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60514         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60516 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60518         [BZ #13763]
60519         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60521 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60523         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60524         * elf/cache.c (print_entry): Print ",AArch64" for
60525         FLAG_AARCH64_LIB64
60527         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60528         * elf/cache.c (print_entry): Print ",hard-float" for
60529         FLAG_ARM_LIBHF.
60531 2012-11-18  David S. Miller  <davem@davemloft.net>
60533         With help from Joseph Myers.
60534         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60535         cutoff to 2**-13.
60536         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60537         cutoff to 2**-25.
60538         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60539         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60540         small.
60541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60542         * math/libm-test.inc (y0_test): New tests.
60543         (y1_test): New tests.
60544         * sysdeps/i386/fpu/libm-test-ulps: Update.
60545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60548 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60550         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60551         64-bit targets.
60552         * configure: Regenerated.
60554 2012-11-17  David S. Miller  <davem@davemloft.net>
60556         [BZ #14811]
60557         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60558         nonzero exponents with absolute value below 0x1p-128 to +/-
60559         0x1p-128.
60561 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60563         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60565         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60567         * posix/getconf-speclist.c: New file.
60568         * posix/posix-envs.def: Likewise.
60569         * posix/confstr.c (START_ENV_GROUP): New macro.
60570         (END_ENV_GROUP): Likewise.
60571         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60572         (KNOWN_PRESENT_ENV_STRING): Likewise.
60573         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60574         (UNKNOWN_ENVIRONMENT): Likewise.
60575         (confstr): Include posix-envs.def instead of handling
60576         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60577         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60578         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60579         (END_ENV_GROUP): Likewise.
60580         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60581         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60582         (UNKNOWN_ENVIRONMENT): Likewise.
60583         (__sysconf): Include posix-envs.def instead of handling associated
60584         cases directly here.
60585         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60586         preprocessing getconf-speclist.c rather than running getconf or
60587         generating empty file.
60589 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60591         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60593 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60595         [BZ #14672]
60596         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60598 2012-11-16  David S. Miller  <davem@davemloft.net>
60600         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60601         smaller than LDBL_EPSILON/2.0L, just return xm1.
60603 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60605         * elf/tst-array1.c (init): Set constructor priority to 1000.
60606         (fini): Set destructor priority to 1000.
60607         * elf/tst-array2dep.c: Likewise.
60609 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60611         [BZ #11741]
60612         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60613         (_IO_new_file_xsputn): Also return EOF if none of the input
60614         data was written when overflow failed.
60615         * libio/iopadn.c (_IO_padn): Likewise.
60616         * libio/iowpadn.c (_IO_wpadn): Likewise.
60617         * stdio-common/tst-put-error.c: Add copyright notice.
60618         (do_test): Add case for printing padded string.
60619         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60620         _IO_padn returned error.
60621         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60622         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60623         return EOF.
60625 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60627         * libio/libioP.h: Add comment note that the references to C++
60628         bits are now obsolete.
60630 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60632         * math/libm-test.inc (check_complex): Use asprintf.
60634 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60636         * debug/pcprofiledump.c (print_version): Update copyright year.
60637         * malloc/memusagestat.c (print_version): Likewise.
60639 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60641         [BZ #14831]
60642         * elf/Makefile (tests): Add tst-audit8.
60643         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60644         ($(objpfx)tst-audit8.out): New target.
60645         (tst-audit8-ENV): New variable.
60646         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60647         audit if l_reloc_result is NULL.
60648         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60649         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60650         * elf/tst-audit8.c: New file.
60652 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60654         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60655         * misc/Makefile (CFLAGS-select.c): Define.
60656         * posix/Makefile (CFLAGS-pause.c): Define.
60658 2012-11-13  David S. Miller  <davem@davemloft.net>
60660         * crypt/Makefile: Move test targets after toplevel Rules
60661         inclusion.  Grab any necessary sysdep routines when linking.
60662         * crypt/md5.c (md5_process_block): Remove define, we will always
60663         name it __md5_process_block.
60664         (md5_finish_ctx): Update md5_process_block call.
60665         (md5_stream): Likewise.
60666         (md5_process_bytes): Likewise.
60667         (md5_process_block): Rename to __md5_process_block and move to ...
60668         * crypt/md5-block.c: ... here.
60669         * crypt/sha256.c (sha256_process_block): Move to ...
60670         * crypt/sha256-block.c: ... here.
60671         * crypt/sha512.c (sha512_process_block): Move to ...
60672         * crypt/sha512-block.c: ... here.
60673         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60674         path.
60675         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60676         * sysdeps/sparc/sparc64/multiarch/Makefile
60677         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60678         crypt subdir.
60679         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60680         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60681         multiarch changes.
60682         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60683         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60684         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60685         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60686         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60687         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60688         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60689         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60690         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60691         file.
60692         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60693         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60694         file.
60695         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60697 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60699         * timezone/tzselect.ksh: Update from tzcode git revision
60700         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60701         * timezone/zdump.c: Likewise.
60702         * timezone/zic.c: Likewise.
60703         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60704         in TZVERSION setting, not $(PKGVERSION).
60705         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60706         REPORT_BUGS_TO settings.
60708         [BZ #14838]
60709         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60710         macro.
60712 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60714         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60715         detection to immediately after _FP_ROUND().
60716         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60717         bits are 0.
60719 2012-11-11  David S. Miller  <davem@davemloft.net>
60721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60722         inttypes.h
60723         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60724         __close rather than their public counterparts.
60726 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60728         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60729         file.
60730         [UNIX98] (sem_timedwait): Do not expect.
60731         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60732         [XPG4 || UNIX98] (sockatmark): Do not expect.
60733         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60734         (clock_getcpuclockid): Do not expect.
60735         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60736         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60737         Do not expect.
60738         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60739         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60740         [UNIX98] (vwscanf): Likewise.
60741         [UNIX98] (vswscanf): Likewise.
60743 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60745         * timezone/version.h: Remove file.
60746         * timezone/README: Do not refer to version.h.
60747         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60748         $(objpfx)version.h.
60749         ($(objpfx)zdump.o): Likewise.
60750         ($(objpfx)version.h): New target.
60752         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60753         2012i.
60754         * timezone/README: Don't mention modification to tzselect.ksh.
60755         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60756         work on unmodified tzselect.ksh.  Substitute version numbers in
60757         tzselect.ksh.
60759         * Makefile (format-me): Remove.
60760         (INSTALL): Adjust indentation.  Use commands directly instead of
60761         using $(format-me).
60763         * aclocal.m4 (ACX_PKGVERSION): New macro.
60764         (ACX_BUGURL): Likewise.
60765         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60766         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60767         (REPORT_BUGS_TO): Likewise.
60768         * configure: Regenerated.
60769         * config.h.in (PKGVERSION): New macro.
60770         (REPORT_BUGS_TO): Likewise.
60771         * config.make.in (PKGVERSION): New variable.
60772         (PKGVERSION_TEXI): Likewise.
60773         (REPORT_BUGS_TO): Likewise.
60774         (REPORT_BUGS_TEXI): Likewise.
60775         * Makefile (format-me): Use -I$(common-objpfx)manual.
60776         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60777         ($(common-objpfx)manual/%): New target.
60778         (manual/%): Remove target.
60779         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60780         (print_version): Use PKGVERSION.
60781         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60782         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60783         and REPORT_BUGS_TO.
60784         ($(objpfx)xtrace): Likewise.
60785         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60786         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60787         (print_version): Use PKGVERSION.
60788         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60789         (do_version): Use PKGVERSION.
60790         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60791         REPORT_BUGS_TO.
60792         (common-ldd-rewrite): Likewise.
60793         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60794         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60795         (print_version): Use PKGVERSION.
60796         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60797         * elf/pldd.c (argp_program_bug_address): Remove variable.
60798         (more_help): New function.
60799         (argp): Use more_help.
60800         (print_version): Use PKGVERSION.
60801         * elf/sln.c (main): Use PKGVERSION.
60802         (usage): Use REPORT_BUGS_TO.
60803         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60804         (top level): Use PKGVERSION.
60805         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60806         (print_version): Use PKGVERSION.
60807         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60808         (print_version): Use PKGVERSION.
60809         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60810         (print_version): Use PKGVERSION.
60811         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60812         (print_version): Use PKGVERSION.
60813         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60814         (print_version): Use PKGVERSION.
60815         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60816         (print_version): Use PKGVERSION.
60817         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60818         and BUGURL.
60819         ($(objpfx)memusage): Likewise.
60820         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60821         (do_version): Use PKGVERSION.
60822         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60823         (print_version): Use PKGVERSION.
60824         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60825         ($PKGVERSION): New variable.
60826         ($REPORT_BUGS_TO): Likewise.
60827         (usage): Use $REPORT_BUGS_TO.
60828         (top level): Use $PKGVERSION.
60829         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60830         ($(objpfx)pkgvers.texi): New rule.
60831         ($(objpfx)stamp-pkgvers): Likewise.
60832         * manual/install.texi: Include pkgvers.texi.
60833         (--with-pkgversion): Document new configure option.
60834         (--with-bugurl): Likewise.
60835         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60836         than necessarily for this particular distribution.  Use
60837         REPORT_BUGS_TO for where to report bugs.
60838         * INSTALL: Regenerated.
60839         * manual/libc.texinfo: Include pkgvers.texi.
60840         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60841         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60842         (print_version): Use PKGVERSION.
60843         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60844         (print_version): Use PKGVERSION.
60845         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60846         (print_version): Use PKGVERSION.
60847         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60848         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60849         macro.
60850         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60851         (print_version): Use PKGVERSION.
60852         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60853         (print_version): Use PKGVERSION.
60854         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60855         and PKGVERSION.
60857         * timezone/checktab.awk: Update from tzcode 2012i.
60858         * timezone/ialloc.c: Likewise.
60859         * timezone/private.h: Likewise.
60860         * timezone/scheck.c: Likewise.
60861         * timezone/tzfile.h: Likewise.
60862         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60863         (TZVERSION): Hardcode tzcode version number.
60864         * timezone/zdump.c: Update from tzcode 2012i.
60865         * timezone/zic.c: Likewise.
60866         * timezone/version.h: New file.
60867         * timezone/README: Describe version.h.  Update upstream location.
60869         [BZ #14824]
60870         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60871         (mktemp): Enable declaration.
60872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60876         Likewise.
60877         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60878         Likewise.
60879         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60880         Likewise.
60881         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60882         Likewise.
60883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60884         Likewise.
60885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60886         Likewise.
60888         [BZ #14821]
60889         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60890         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60891         for copies of such integer values.
60892         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60893         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60895 2012-11-09  Andreas Jaeger  <aj@suse.de>
60897         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60898         definitions and declarations that are provided by
60899         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60901 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60903         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60904         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60905         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60906         definition.
60908 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60910         * elf/elf.h: Update comment before AArch64 relocations.
60912 2012-11-07  David S. Miller  <davem@davemloft.net>
60914         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60915         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60916         (__start_context): Declare.
60917         (__makecontext_ret): Delete.
60918         (__makecontext): Hook up __start_context instead of
60919         __makecontext_ret.
60920         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60921         (sysdep_routines): Add __start_context when in stdlib.
60923 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60925         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60926         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60927         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60928         hardcoded "nm".
60929         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60930         (READELF): New variable.  Use it instead of hardcoded "readelf".
60932 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60934         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60935         * sysdeps/x86/Makefile: Here.
60936         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60937         * sysdeps/x86/tst-xmmymm.sh: This.
60939 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60941         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60942         expectations.
60943         [UNIX98] (pthread_barrier_t): Do not expect.
60944         [UNIX98] (pthread_barrierattr_t): Likewise.
60945         [UNIX98] (pthread_spinlock_t): Likewise.
60946         [UNIX98] (pthread_barrier_destroy): Likewise.
60947         [UNIX98] (pthread_barrier_init): Likewise.
60948         [UNIX98] (pthread_barrier_wait): Likewise.
60949         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60950         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60951         [UNIX98] (pthread_barrierattr_init): Likewise.
60952         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60953         [UNIX98] (pthread_getcpuclockid): Likewise.
60954         [UNIX98] (pthread_mutex_timedlock): Likewise.
60955         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60956         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60957         [UNIX98] (pthread_sigmask): Likewise.
60958         [UNIX98] (pthread_spin_destroy): Likewise.
60959         [UNIX98] (pthread_spin_init): Likewise.
60960         [UNIX98] (pthread_spin_lock): Likewise.
60961         [UNIX98] (pthread_spin_trylock): Likewise.
60962         [UNIX98] (pthread_spin_unlock): Likewise.
60963         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60964         Do not expect.
60965         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60966         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60967         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60968         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60969         [XPG3 || XPG4] (pthread_key_t): Likewise.
60970         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60971         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60972         [XPG3 || XPG4] (pthread_once_t): Likewise.
60973         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60974         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60975         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60976         [XPG3 || XPG4] (pthread_t): Likewise.
60978         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60979         not expect.
60980         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60982         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60983         Change function return type to int.
60985         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60986         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60987         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60988         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60989         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60990         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60991         [!POSIX] (posix_madvise): Likewise.
60992         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60993         && !UNIX98].
60994         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60995         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60996         (mode_t): Likewise.
60997         (posix_mem_offset): Likewise.
60998         (posix_typed_mem_get_info): Likewise.
60999         (posix_typed_mem_open): Likewise.
61001         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61002         Change condition to [XOPEN2K8].
61004         * conform/conformtest.pl: Preprocess allow-header data with -x c
61005         instead of from stdin.
61006         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61007         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61008         [C99-based standards] (cerfc): Likewise.
61009         [C99-based standards] (cexp2): Likewise.
61010         [C99-based standards] (cexpm1): Likewise.
61011         [C99-based standards] (clog10): Likewise.
61012         [C99-based standards] (clog1p): Likewise.
61013         [C99-based standards] (clog2): Likewise.
61014         [C99-based standards] (clgamma): Likewise.
61015         [C99-based standards] (ctgamma): Likewise.
61016         [C99-based standards] (cerff): Likewise.
61017         [C99-based standards] (cerfcf): Likewise.
61018         [C99-based standards] (cexp2f): Likewise.
61019         [C99-based standards] (cexpm1f): Likewise.
61020         [C99-based standards] (clog10f): Likewise.
61021         [C99-based standards] (clog1pf): Likewise.
61022         [C99-based standards] (clog2f): Likewise.
61023         [C99-based standards] (clgammaf): Likewise.
61024         [C99-based standards] (ctgammaf): Likewise.
61025         [C99-based standards] (cerfl): Likewise.
61026         [C99-based standards] (cerfcl): Likewise.
61027         [C99-based standards] (cexp2l): Likewise.
61028         [C99-based standards] (cexpm1l): Likewise.
61029         [C99-based standards] (clog10l): Likewise.
61030         [C99-based standards] (clog1pl): Likewise.
61031         [C99-based standards] (clog2l): Likewise.
61032         [C99-based standards] (clgammal): Likewise.
61033         [C99-based standards] (ctgammal): Likewise.
61034         * conform/data/inttypes.h-data [C99-based standards]: Include
61035         stdint.h-data.  Remove all expectations for stdint.h contents.
61036         [C99-based standards] (PRI*): Do not allow.
61037         [C99-based standards] (SCN*): Likewise.
61038         [C99-based standards] (*_t): Likewise.
61039         [C99-based-standards] (PRId8): Expect macro.
61040         [C99-based-standards] (PRIi8): Likewise.
61041         [C99-based-standards] (PRIo8): Likewise.
61042         [C99-based-standards] (PRIu8): Likewise.
61043         [C99-based-standards] (PRIx8): Likewise.
61044         [C99-based-standards] (PRIX8): Likewise.
61045         [C99-based-standards] (SCNd8): Likewise.
61046         [C99-based-standards] (SCNi8): Likewise.
61047         [C99-based-standards] (SCNo8): Likewise.
61048         [C99-based-standards] (SCNu8): Likewise.
61049         [C99-based-standards] (SCNx8): Likewise.
61050         [C99-based-standards] (PRIdLEAST8): Likewise.
61051         [C99-based-standards] (PRIiLEAST8): Likewise.
61052         [C99-based-standards] (PRIoLEAST8): Likewise.
61053         [C99-based-standards] (PRIuLEAST8): Likewise.
61054         [C99-based-standards] (PRIxLEAST8): Likewise.
61055         [C99-based-standards] (PRIXLEAST8): Likewise.
61056         [C99-based-standards] (SCNdLEAST8): Likewise.
61057         [C99-based-standards] (SCNiLEAST8): Likewise.
61058         [C99-based-standards] (SCNoLEAST8): Likewise.
61059         [C99-based-standards] (SCNuLEAST8): Likewise.
61060         [C99-based-standards] (SCNxLEAST8): Likewise.
61061         [C99-based-standards] (PRIdFAST8): Likewise.
61062         [C99-based-standards] (PRIiFAST8): Likewise.
61063         [C99-based-standards] (PRIoFAST8): Likewise.
61064         [C99-based-standards] (PRIuFAST8): Likewise.
61065         [C99-based-standards] (PRIxFAST8): Likewise.
61066         [C99-based-standards] (PRIXFAST8): Likewise.
61067         [C99-based-standards] (SCNdFAST8): Likewise.
61068         [C99-based-standards] (SCNiFAST8): Likewise.
61069         [C99-based-standards] (SCNoFAST8): Likewise.
61070         [C99-based-standards] (SCNuFAST8): Likewise.
61071         [C99-based-standards] (SCNxFAST8): Likewise.
61072         [C99-based-standards] (PRId16): Likewise.
61073         [C99-based-standards] (PRIi16): Likewise.
61074         [C99-based-standards] (PRIo16): Likewise.
61075         [C99-based-standards] (PRIu16): Likewise.
61076         [C99-based-standards] (PRIx16): Likewise.
61077         [C99-based-standards] (PRIX16): Likewise.
61078         [C99-based-standards] (SCNd16): Likewise.
61079         [C99-based-standards] (SCNi16): Likewise.
61080         [C99-based-standards] (SCNo16): Likewise.
61081         [C99-based-standards] (SCNu16): Likewise.
61082         [C99-based-standards] (SCNx16): Likewise.
61083         [C99-based-standards] (PRIdLEAST16): Likewise.
61084         [C99-based-standards] (PRIiLEAST16): Likewise.
61085         [C99-based-standards] (PRIoLEAST16): Likewise.
61086         [C99-based-standards] (PRIuLEAST16): Likewise.
61087         [C99-based-standards] (PRIxLEAST16): Likewise.
61088         [C99-based-standards] (PRIXLEAST16): Likewise.
61089         [C99-based-standards] (SCNdLEAST16): Likewise.
61090         [C99-based-standards] (SCNiLEAST16): Likewise.
61091         [C99-based-standards] (SCNoLEAST16): Likewise.
61092         [C99-based-standards] (SCNuLEAST16): Likewise.
61093         [C99-based-standards] (SCNxLEAST16): Likewise.
61094         [C99-based-standards] (PRIdFAST16): Likewise.
61095         [C99-based-standards] (PRIiFAST16): Likewise.
61096         [C99-based-standards] (PRIoFAST16): Likewise.
61097         [C99-based-standards] (PRIuFAST16): Likewise.
61098         [C99-based-standards] (PRIxFAST16): Likewise.
61099         [C99-based-standards] (PRIXFAST16): Likewise.
61100         [C99-based-standards] (SCNdFAST16): Likewise.
61101         [C99-based-standards] (SCNiFAST16): Likewise.
61102         [C99-based-standards] (SCNoFAST16): Likewise.
61103         [C99-based-standards] (SCNuFAST16): Likewise.
61104         [C99-based-standards] (SCNxFAST16): Likewise.
61105         [C99-based-standards] (PRId32): Likewise.
61106         [C99-based-standards] (PRIi32): Likewise.
61107         [C99-based-standards] (PRIo32): Likewise.
61108         [C99-based-standards] (PRIu32): Likewise.
61109         [C99-based-standards] (PRIx32): Likewise.
61110         [C99-based-standards] (PRIX32): Likewise.
61111         [C99-based-standards] (SCNd32): Likewise.
61112         [C99-based-standards] (SCNi32): Likewise.
61113         [C99-based-standards] (SCNo32): Likewise.
61114         [C99-based-standards] (SCNu32): Likewise.
61115         [C99-based-standards] (SCNx32): Likewise.
61116         [C99-based-standards] (PRIdLEAST32): Likewise.
61117         [C99-based-standards] (PRIiLEAST32): Likewise.
61118         [C99-based-standards] (PRIoLEAST32): Likewise.
61119         [C99-based-standards] (PRIuLEAST32): Likewise.
61120         [C99-based-standards] (PRIxLEAST32): Likewise.
61121         [C99-based-standards] (PRIXLEAST32): Likewise.
61122         [C99-based-standards] (SCNdLEAST32): Likewise.
61123         [C99-based-standards] (SCNiLEAST32): Likewise.
61124         [C99-based-standards] (SCNoLEAST32): Likewise.
61125         [C99-based-standards] (SCNuLEAST32): Likewise.
61126         [C99-based-standards] (SCNxLEAST32): Likewise.
61127         [C99-based-standards] (PRIdFAST32): Likewise.
61128         [C99-based-standards] (PRIiFAST32): Likewise.
61129         [C99-based-standards] (PRIoFAST32): Likewise.
61130         [C99-based-standards] (PRIuFAST32): Likewise.
61131         [C99-based-standards] (PRIxFAST32): Likewise.
61132         [C99-based-standards] (PRIXFAST32): Likewise.
61133         [C99-based-standards] (SCNdFAST32): Likewise.
61134         [C99-based-standards] (SCNiFAST32): Likewise.
61135         [C99-based-standards] (SCNoFAST32): Likewise.
61136         [C99-based-standards] (SCNuFAST32): Likewise.
61137         [C99-based-standards] (SCNxFAST32): Likewise.
61138         [C99-based-standards] (PRId64): Likewise.
61139         [C99-based-standards] (PRIi64): Likewise.
61140         [C99-based-standards] (PRIo64): Likewise.
61141         [C99-based-standards] (PRIu64): Likewise.
61142         [C99-based-standards] (PRIx64): Likewise.
61143         [C99-based-standards] (PRIX64): Likewise.
61144         [C99-based-standards] (SCNd64): Likewise.
61145         [C99-based-standards] (SCNi64): Likewise.
61146         [C99-based-standards] (SCNo64): Likewise.
61147         [C99-based-standards] (SCNu64): Likewise.
61148         [C99-based-standards] (SCNx64): Likewise.
61149         [C99-based-standards] (PRIdLEAST64): Likewise.
61150         [C99-based-standards] (PRIiLEAST64): Likewise.
61151         [C99-based-standards] (PRIoLEAST64): Likewise.
61152         [C99-based-standards] (PRIuLEAST64): Likewise.
61153         [C99-based-standards] (PRIxLEAST64): Likewise.
61154         [C99-based-standards] (PRIXLEAST64): Likewise.
61155         [C99-based-standards] (SCNdLEAST64): Likewise.
61156         [C99-based-standards] (SCNiLEAST64): Likewise.
61157         [C99-based-standards] (SCNoLEAST64): Likewise.
61158         [C99-based-standards] (SCNuLEAST64): Likewise.
61159         [C99-based-standards] (SCNxLEAST64): Likewise.
61160         [C99-based-standards] (PRIdFAST64): Likewise.
61161         [C99-based-standards] (PRIiFAST64): Likewise.
61162         [C99-based-standards] (PRIoFAST64): Likewise.
61163         [C99-based-standards] (PRIuFAST64): Likewise.
61164         [C99-based-standards] (PRIxFAST64): Likewise.
61165         [C99-based-standards] (PRIXFAST64): Likewise.
61166         [C99-based-standards] (SCNdFAST64): Likewise.
61167         [C99-based-standards] (SCNiFAST64): Likewise.
61168         [C99-based-standards] (SCNoFAST64): Likewise.
61169         [C99-based-standards] (SCNuFAST64): Likewise.
61170         [C99-based-standards] (SCNxFAST64): Likewise.
61171         [C99-based-standards] (PRIdMAX): Likewise.
61172         [C99-based-standards] (PRIiMAX): Likewise.
61173         [C99-based-standards] (PRIoMAX): Likewise.
61174         [C99-based-standards] (PRIuMAX): Likewise.
61175         [C99-based-standards] (PRIxMAX): Likewise.
61176         [C99-based-standards] (PRIXMAX): Likewise.
61177         [C99-based-standards] (SCNdMAX): Likewise.
61178         [C99-based-standards] (SCNiMAX): Likewise.
61179         [C99-based-standards] (SCNoMAX): Likewise.
61180         [C99-based-standards] (SCNuMAX): Likewise.
61181         [C99-based-standards] (SCNxMAX): Likewise.
61182         [C99-based-standards] (PRIdPTR): Likewise.
61183         [C99-based-standards] (PRIiPTR): Likewise.
61184         [C99-based-standards] (PRIoPTR): Likewise.
61185         [C99-based-standards] (PRIuPTR): Likewise.
61186         [C99-based-standards] (PRIxPTR): Likewise.
61187         [C99-based-standards] (PRIXPTR): Likewise.
61188         [C99-based-standards] (SCNdPTR): Likewise.
61189         [C99-based-standards] (SCNiPTR): Likewise.
61190         [C99-based-standards] (SCNoPTR): Likewise.
61191         [C99-based-standards] (SCNuPTR): Likewise.
61192         [C99-based-standards] (SCNxPTR): Likewise.
61193         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61194         allow.
61195         * conform/data/stdint.h-data: Update comments to clarify
61196         requirements.
61197         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61198         type.
61199         [C99-based standards] (INT8_MAX): Likewise.
61200         [C99-based standards] (INT16_MIN): Likewise.
61201         [C99-based standards] (INT16_MAX): Likewise.
61202         [C99-based standards] (INT32_MIN): Likewise.
61203         [C99-based standards] (INT32_MAX): Likewise.
61204         [C99-based standards] (INT64_MIN): Likewise.
61205         [C99-based standards] (INT64_MAX): Likewise.
61206         [C99-based standards] (UINT8_MAX): Likewise.
61207         [C99-based standards] (UINT16_MAX): Likewise.
61208         [C99-based standards] (UINT32_MAX): Likewise.
61209         [C99-based standards] (UINT64_MAX): Likewise.
61210         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61211         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61212         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61213         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61214         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61215         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61216         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61217         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61218         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61219         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61220         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61221         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61222         [C99-based standards] (INT_FAST8_MIN): Likewise.
61223         [C99-based standards] (INT_FAST8_MAX): Likewise.
61224         [C99-based standards] (INT_FAST16_MIN): Likewise.
61225         [C99-based standards] (INT_FAST16_MAX): Likewise.
61226         [C99-based standards] (INT_FAST32_MIN): Likewise.
61227         [C99-based standards] (INT_FAST32_MAX): Likewise.
61228         [C99-based standards] (INT_FAST64_MIN): Likewise.
61229         [C99-based standards] (INT_FAST64_MAX): Likewise.
61230         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61231         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61232         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61233         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61234         [C99-based standards] (INTPTR_MIN): Likewise.
61235         [C99-based standards] (INTPTR_MAX): Likewise.
61236         [C99-based standards] (UINTPTR_MAX): Likewise.
61237         [C99-based standards] (INTMAX_MIN): Likewise.
61238         [C99-based standards] (INTMAX_MAX): Likewise.
61239         [C99-based standards] (UINTMAX_MAX): Likewise.
61240         [C99-based standards] (PTRDIFF_MIN): Likewise.
61241         [C99-based standards] (PTRDIFF_MAX): Likewise.
61242         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61243         [C99-based standards] (SIZE_MAX): Likewise.
61244         [C99-based standards] (WCHAR_MAX): Likewise.
61245         [C99-based standards] (WINT_MAX): Likewise.
61246         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61247         constraint on value.
61248         [C99-based standards] (WCHAR_MIN): Likewise.
61249         [C99-based standards] (WINT_MIN): Likewise.
61250         [C99-based standards] (*_t): Allow.
61251         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61252         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61253         Include math.h-data and complex.h-data.  Remove all expectations
61254         of math.h and complex.h contents.
61255         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61256         at end of line.
61257         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61258         (struct tm): Expect tag.
61259         [C99-based-standards] (wcstof): Expect function.
61260         [C99-based-standards] (wcstold): Likewise.
61261         [C99-based-standards] (wcstoll): Likewise.
61262         [C99-based-standards] (wcstoull): Likewise.
61263         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61264         macro-int-constant.  Specify type.
61265         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61266         constraint on value.
61267         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61268         Specify type.
61269         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61270         Specify value.
61271         [ISO C standards]: Do not allow headers.
61272         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61273         wcs[abcdefghijklmnopqrstuvwxyz]*.
61274         [ISO C standards] (*_t): Do not allow.
61275         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61276         Expect function.
61277         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61278         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61279         Specify type.
61280         [ISO C standards]: Do not allow headers.
61281         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61282         is[abcdefghijklmnopqrstuvwxyz]*.
61283         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61284         to[abcdefghijklmnopqrstuvwxyz]*.
61285         [ISO C standards] (*_t): Do not allow.
61286         * conform/data/stdalign.h-data: New file.
61287         * conform/data/stdbool.h-data: Likewise.
61288         * conform/data/stdnoreturn.h-data: Likewise.
61290 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61292         [BZ #14815]
61293         * manual/filesys.texi (Directory Entries): Typo fix.
61294         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61296 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61298         * elf/elf.h (EM_AARCH64): New macro.
61299         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61300         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61301         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61302         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61303         (R_AARCH64_TLSDESC): Likewise.
61304         (NT_ARM_TLS): Likewise.
61305         (NT_ARM_HW_BREAK): Likewise.
61306         (NT_ARM_HW_WATCH): Likewise.
61308 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61310         [BZ #14811]
61311         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61312         (__ieee754_powl): Saturate nonzero exponents with absolute value
61313         below 0x1p-79 to +/- 0x1p-79.
61314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61315         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61316         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61317         nonzero exponents with absolute value below 0x1p-32 to +/-
61318         0x1p-32.
61319         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61320         (__ieee754_powl): Saturate nonzero exponents with absolute value
61321         below 0x1p-79 to +/- 0x1p-79.
61322         * math/libm-test.inc (pow_test): Add more tests.
61324 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61326         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61327         _dl_s390_cap_flags with kernel. Increase string length.
61328         (_dl_s390_platforms): Add z196 and zEC12.
61330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61332         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61333         Change XOPEN21K to XOPEN2K.
61335 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61337         * string/memmove.c: Use memcpy when possible.
61339 2012-11-06  Andreas Jaeger  <aj@suse.de>
61341         * po/eo.po: Update from translation team.
61343 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61345         [BZ #14793]
61346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61347         exponent and small x and y exponents, scale x or y up.  Increase
61348         by 2 the exponent used in scaling up.
61349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61351         * math/libm-test.inc (fma_test): Add more tests.
61352         (fma_test_towardzero): Likewise.
61353         (fma_test_downward): Likewise.
61354         (fma_test_upward): Likewise.
61356 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61358         [BZ #14805]
61359         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61360         fenv_t *.
61362         [BZ #14801]
61363         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61364         namespace for names of struct fields.
61365         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61366         fenv_t fields.
61367         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61368         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61370 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61372         [BZ #3665]
61373         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61375 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61377         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61378         PTR_DEMANGLE.
61380         [BZ #5246]
61381         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61382         PTR_DEMANGLE.
61384 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61386         [BZ #14797]
61387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61388         definitely overflow as x * y not x * y + z.
61389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61391         * math/libm-test.inc (fma_test): Add more tests.
61392         (fma_test_towardzero): Likewise.
61393         (fma_test_downward): Likewise.
61394         (fma_test_upward): Likewise.
61396 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61398         [BZ #157]
61400         * include/stub-tag.h: Remove file.
61401         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61402         '#include' of it.
61403         * manual/maint.texi (Porting): Don't reference it.
61404         * Makerules ($(objpfx)stubs): Likewise.
61405         * dirent/closedir.c: Don't include <stub-tag.h>.
61406         * dirent/dirfd.c: Likewise.
61407         * dirent/fdopendir.c: Likewise.
61408         * dirent/getdents.c: Likewise.
61409         * dirent/getdents64.c: Likewise.
61410         * dirent/opendir.c: Likewise.
61411         * dirent/readdir.c: Likewise.
61412         * dirent/readdir64.c: Likewise.
61413         * dirent/readdir64_r.c: Likewise.
61414         * dirent/readdir_r.c: Likewise.
61415         * dirent/rewinddir.c: Likewise.
61416         * dirent/seekdir.c: Likewise.
61417         * dirent/telldir.c: Likewise.
61418         * gmon/profil.c: Likewise.
61419         * grp/setgroups.c: Likewise.
61420         * inet/if_index.c: Likewise.
61421         * io/access.c: Likewise.
61422         * io/chdir.c: Likewise.
61423         * io/chmod.c: Likewise.
61424         * io/chown.c: Likewise.
61425         * io/close.c: Likewise.
61426         * io/dup.c: Likewise.
61427         * io/dup2.c: Likewise.
61428         * io/dup3.c: Likewise.
61429         * io/euidaccess.c: Likewise.
61430         * io/faccessat.c: Likewise.
61431         * io/fchdir.c: Likewise.
61432         * io/fchmod.c: Likewise.
61433         * io/fchmodat.c: Likewise.
61434         * io/fchown.c: Likewise.
61435         * io/fchownat.c: Likewise.
61436         * io/fcntl.c: Likewise.
61437         * io/flock.c: Likewise.
61438         * io/fstatfs.c: Likewise.
61439         * io/fstatfs64.c: Likewise.
61440         * io/fstatvfs.c: Likewise.
61441         * io/fstatvfs64.c: Likewise.
61442         * io/futimens.c: Likewise.
61443         * io/fxstat.c: Likewise.
61444         * io/fxstat64.c: Likewise.
61445         * io/fxstatat.c: Likewise.
61446         * io/fxstatat64.c: Likewise.
61447         * io/getcwd.c: Likewise.
61448         * io/isatty.c: Likewise.
61449         * io/lchmod.c: Likewise.
61450         * io/lchown.c: Likewise.
61451         * io/link.c: Likewise.
61452         * io/linkat.c: Likewise.
61453         * io/lseek.c: Likewise.
61454         * io/lseek64.c: Likewise.
61455         * io/lxstat64.c: Likewise.
61456         * io/mkdir.c: Likewise.
61457         * io/mkdirat.c: Likewise.
61458         * io/mkfifo.c: Likewise.
61459         * io/mkfifoat.c: Likewise.
61460         * io/open.c: Likewise.
61461         * io/open64.c: Likewise.
61462         * io/openat.c: Likewise.
61463         * io/openat64.c: Likewise.
61464         * io/pipe.c: Likewise.
61465         * io/pipe2.c: Likewise.
61466         * io/poll.c: Likewise.
61467         * io/posix_fadvise.c: Likewise.
61468         * io/posix_fadvise64.c: Likewise.
61469         * io/posix_fallocate.c: Likewise.
61470         * io/posix_fallocate64.c: Likewise.
61471         * io/read.c: Likewise.
61472         * io/readlink.c: Likewise.
61473         * io/readlinkat.c: Likewise.
61474         * io/rmdir.c: Likewise.
61475         * io/sendfile.c: Likewise.
61476         * io/sendfile64.c: Likewise.
61477         * io/statfs.c: Likewise.
61478         * io/statfs64.c: Likewise.
61479         * io/statvfs.c: Likewise.
61480         * io/statvfs64.c: Likewise.
61481         * io/symlink.c: Likewise.
61482         * io/symlinkat.c: Likewise.
61483         * io/ttyname.c: Likewise.
61484         * io/ttyname_r.c: Likewise.
61485         * io/umask.c: Likewise.
61486         * io/unlink.c: Likewise.
61487         * io/unlinkat.c: Likewise.
61488         * io/utime.c: Likewise.
61489         * io/utimensat.c: Likewise.
61490         * io/write.c: Likewise.
61491         * io/xmknod.c: Likewise.
61492         * io/xmknodat.c: Likewise.
61493         * io/xstat.c: Likewise.
61494         * io/xstat64.c: Likewise.
61495         * login/getpt.c: Likewise.
61496         * login/grantpt.c: Likewise.
61497         * login/unlockpt.c: Likewise.
61498         * math/e_acoshl.c: Likewise.
61499         * math/e_acosl.c: Likewise.
61500         * math/e_asinl.c: Likewise.
61501         * math/e_atan2l.c: Likewise.
61502         * math/e_atanhl.c: Likewise.
61503         * math/e_coshl.c: Likewise.
61504         * math/e_expl.c: Likewise.
61505         * math/e_fmodl.c: Likewise.
61506         * math/e_gammal_r.c: Likewise.
61507         * math/e_hypotl.c: Likewise.
61508         * math/e_j0l.c: Likewise.
61509         * math/e_j1l.c: Likewise.
61510         * math/e_jnl.c: Likewise.
61511         * math/e_lgammal_r.c: Likewise.
61512         * math/e_log10l.c: Likewise.
61513         * math/e_log2l.c: Likewise.
61514         * math/e_logl.c: Likewise.
61515         * math/e_powl.c: Likewise.
61516         * math/e_rem_pio2l.c: Likewise.
61517         * math/e_sinhl.c: Likewise.
61518         * math/e_sqrtl.c: Likewise.
61519         * math/fclrexcpt.c: Likewise.
61520         * math/fedisblxcpt.c: Likewise.
61521         * math/feenablxcpt.c: Likewise.
61522         * math/fegetenv.c: Likewise.
61523         * math/fegetexcept.c: Likewise.
61524         * math/fegetround.c: Likewise.
61525         * math/feholdexcpt.c: Likewise.
61526         * math/fesetenv.c: Likewise.
61527         * math/fesetround.c: Likewise.
61528         * math/feupdateenv.c: Likewise.
61529         * math/fgetexcptflg.c: Likewise.
61530         * math/fraiseexcpt.c: Likewise.
61531         * math/fsetexcptflg.c: Likewise.
61532         * math/ftestexcept.c: Likewise.
61533         * math/k_cosl.c: Likewise.
61534         * math/k_rem_pio2l.c: Likewise.
61535         * math/k_sinl.c: Likewise.
61536         * math/k_tanl.c: Likewise.
61537         * math/s_asinhl.c: Likewise.
61538         * math/s_atanl.c: Likewise.
61539         * math/s_cbrtl.c: Likewise.
61540         * math/s_erfl.c: Likewise.
61541         * math/s_expm1l.c: Likewise.
61542         * math/s_log1pl.c: Likewise.
61543         * math/s_tanhl.c: Likewise.
61544         * misc/acct.c: Likewise.
61545         * misc/brk.c: Likewise.
61546         * misc/chflags.c: Likewise.
61547         * misc/chroot.c: Likewise.
61548         * misc/fchflags.c: Likewise.
61549         * misc/fgetxattr.c: Likewise.
61550         * misc/flistxattr.c: Likewise.
61551         * misc/fremovexattr.c: Likewise.
61552         * misc/fsetxattr.c: Likewise.
61553         * misc/fsync.c: Likewise.
61554         * misc/ftruncate.c: Likewise.
61555         * misc/futimes.c: Likewise.
61556         * misc/futimesat.c: Likewise.
61557         * misc/getdomain.c: Likewise.
61558         * misc/getdtsz.c: Likewise.
61559         * misc/gethostid.c: Likewise.
61560         * misc/gethostname.c: Likewise.
61561         * misc/getloadavg.c: Likewise.
61562         * misc/getpagesize.c: Likewise.
61563         * misc/getsysstats.c: Likewise.
61564         * misc/getxattr.c: Likewise.
61565         * misc/gtty.c: Likewise.
61566         * misc/ioctl.c: Likewise.
61567         * misc/lgetxattr.c: Likewise.
61568         * misc/listxattr.c: Likewise.
61569         * misc/llistxattr.c: Likewise.
61570         * misc/lremovexattr.c: Likewise.
61571         * misc/lsetxattr.c: Likewise.
61572         * misc/lutimes.c: Likewise.
61573         * misc/madvise.c: Likewise.
61574         * misc/mincore.c: Likewise.
61575         * misc/mlock.c: Likewise.
61576         * misc/mlockall.c: Likewise.
61577         * misc/mmap.c: Likewise.
61578         * misc/mprotect.c: Likewise.
61579         * misc/msync.c: Likewise.
61580         * misc/munlock.c: Likewise.
61581         * misc/munlockall.c: Likewise.
61582         * misc/munmap.c: Likewise.
61583         * misc/preadv.c: Likewise.
61584         * misc/preadv64.c: Likewise.
61585         * misc/ptrace.c: Likewise.
61586         * misc/pwritev.c: Likewise.
61587         * misc/pwritev64.c: Likewise.
61588         * misc/readv.c: Likewise.
61589         * misc/reboot.c: Likewise.
61590         * misc/remap_file_pages.c: Likewise.
61591         * misc/removexattr.c: Likewise.
61592         * misc/revoke.c: Likewise.
61593         * misc/select.c: Likewise.
61594         * misc/setdomain.c: Likewise.
61595         * misc/setegid.c: Likewise.
61596         * misc/seteuid.c: Likewise.
61597         * misc/sethostid.c: Likewise.
61598         * misc/sethostname.c: Likewise.
61599         * misc/setregid.c: Likewise.
61600         * misc/setreuid.c: Likewise.
61601         * misc/setxattr.c: Likewise.
61602         * misc/sstk.c: Likewise.
61603         * misc/stty.c: Likewise.
61604         * misc/swapoff.c: Likewise.
61605         * misc/swapon.c: Likewise.
61606         * misc/sync.c: Likewise.
61607         * misc/syncfs.c: Likewise.
61608         * misc/syscall.c: Likewise.
61609         * misc/truncate.c: Likewise.
61610         * misc/ualarm.c: Likewise.
61611         * misc/usleep.c: Likewise.
61612         * misc/ustat.c: Likewise.
61613         * misc/utimes.c: Likewise.
61614         * misc/vhangup.c: Likewise.
61615         * misc/writev.c: Likewise.
61616         * posix/_exit.c: Likewise.
61617         * posix/alarm.c: Likewise.
61618         * posix/execve.c: Likewise.
61619         * posix/fexecve.c: Likewise.
61620         * posix/fork.c: Likewise.
61621         * posix/fpathconf.c: Likewise.
61622         * posix/getaddrinfo.c: Likewise.
61623         * posix/getegid.c: Likewise.
61624         * posix/geteuid.c: Likewise.
61625         * posix/getgid.c: Likewise.
61626         * posix/getgroups.c: Likewise.
61627         * posix/getlogin.c: Likewise.
61628         * posix/getlogin_r.c: Likewise.
61629         * posix/getpgid.c: Likewise.
61630         * posix/getpid.c: Likewise.
61631         * posix/getppid.c: Likewise.
61632         * posix/getresgid.c: Likewise.
61633         * posix/getresuid.c: Likewise.
61634         * posix/getsid.c: Likewise.
61635         * posix/getuid.c: Likewise.
61636         * posix/glob64.c: Likewise.
61637         * posix/nanosleep.c: Likewise.
61638         * posix/pathconf.c: Likewise.
61639         * posix/pause.c: Likewise.
61640         * posix/posix_madvise.c: Likewise.
61641         * posix/pread.c: Likewise.
61642         * posix/pread64.c: Likewise.
61643         * posix/pwrite.c: Likewise.
61644         * posix/pwrite64.c: Likewise.
61645         * posix/sched_getaffinity.c: Likewise.
61646         * posix/sched_getp.c: Likewise.
61647         * posix/sched_gets.c: Likewise.
61648         * posix/sched_primax.c: Likewise.
61649         * posix/sched_primin.c: Likewise.
61650         * posix/sched_rr_gi.c: Likewise.
61651         * posix/sched_setaffinity.c: Likewise.
61652         * posix/sched_setp.c: Likewise.
61653         * posix/sched_sets.c: Likewise.
61654         * posix/sched_yield.c: Likewise.
61655         * posix/setgid.c: Likewise.
61656         * posix/setlogin.c: Likewise.
61657         * posix/setpgid.c: Likewise.
61658         * posix/setresgid.c: Likewise.
61659         * posix/setresuid.c: Likewise.
61660         * posix/setsid.c: Likewise.
61661         * posix/setuid.c: Likewise.
61662         * posix/sleep.c: Likewise.
61663         * posix/spawni.c: Likewise.
61664         * posix/sysconf.c: Likewise.
61665         * posix/times.c: Likewise.
61666         * posix/wait.c: Likewise.
61667         * posix/wait3.c: Likewise.
61668         * posix/wait4.c: Likewise.
61669         * posix/waitpid.c: Likewise.
61670         * resolv/gai_sigqueue.c: Likewise.
61671         * resource/getpriority.c: Likewise.
61672         * resource/getrlimit.c: Likewise.
61673         * resource/getrusage.c: Likewise.
61674         * resource/nice.c: Likewise.
61675         * resource/setpriority.c: Likewise.
61676         * resource/setrlimit.c: Likewise.
61677         * resource/ulimit.c: Likewise.
61678         * rt/aio_cancel.c: Likewise.
61679         * rt/aio_fsync.c: Likewise.
61680         * rt/aio_read.c: Likewise.
61681         * rt/aio_sigqueue.c: Likewise.
61682         * rt/aio_suspend.c: Likewise.
61683         * rt/aio_write.c: Likewise.
61684         * rt/clock_getres.c: Likewise.
61685         * rt/clock_gettime.c: Likewise.
61686         * rt/clock_nanosleep.c: Likewise.
61687         * rt/clock_settime.c: Likewise.
61688         * rt/lio_listio.c: Likewise.
61689         * rt/mq_close.c: Likewise.
61690         * rt/mq_getattr.c: Likewise.
61691         * rt/mq_notify.c: Likewise.
61692         * rt/mq_open.c: Likewise.
61693         * rt/mq_receive.c: Likewise.
61694         * rt/mq_send.c: Likewise.
61695         * rt/mq_setattr.c: Likewise.
61696         * rt/mq_timedreceive.c: Likewise.
61697         * rt/mq_timedsend.c: Likewise.
61698         * rt/mq_unlink.c: Likewise.
61699         * rt/shm_open.c: Likewise.
61700         * rt/shm_unlink.c: Likewise.
61701         * rt/timer_create.c: Likewise.
61702         * rt/timer_delete.c: Likewise.
61703         * rt/timer_getoverr.c: Likewise.
61704         * rt/timer_gettime.c: Likewise.
61705         * rt/timer_settime.c: Likewise.
61706         * setjmp/__longjmp.c: Likewise.
61707         * setjmp/setjmp.c: Likewise.
61708         * signal/kill.c: Likewise.
61709         * signal/killpg.c: Likewise.
61710         * signal/raise.c: Likewise.
61711         * signal/sigaction.c: Likewise.
61712         * signal/sigaltstack.c: Likewise.
61713         * signal/sigblock.c: Likewise.
61714         * signal/sigignore.c: Likewise.
61715         * signal/sigintr.c: Likewise.
61716         * signal/signal.c: Likewise.
61717         * signal/sigpause.c: Likewise.
61718         * signal/sigpending.c: Likewise.
61719         * signal/sigqueue.c: Likewise.
61720         * signal/sigreturn.c: Likewise.
61721         * signal/sigset.c: Likewise.
61722         * signal/sigsetmask.c: Likewise.
61723         * signal/sigstack.c: Likewise.
61724         * signal/sigsuspend.c: Likewise.
61725         * signal/sigtimedwait.c: Likewise.
61726         * signal/sigvec.c: Likewise.
61727         * signal/sigwait.c: Likewise.
61728         * signal/sigwaitinfo.c: Likewise.
61729         * signal/sysv_signal.c: Likewise.
61730         * socket/accept.c: Likewise.
61731         * socket/accept4.c: Likewise.
61732         * socket/bind.c: Likewise.
61733         * socket/connect.c: Likewise.
61734         * socket/getpeername.c: Likewise.
61735         * socket/getsockname.c: Likewise.
61736         * socket/getsockopt.c: Likewise.
61737         * socket/isfdtype.c: Likewise.
61738         * socket/listen.c: Likewise.
61739         * socket/recv.c: Likewise.
61740         * socket/recvfrom.c: Likewise.
61741         * socket/recvmsg.c: Likewise.
61742         * socket/send.c: Likewise.
61743         * socket/sendmsg.c: Likewise.
61744         * socket/sendto.c: Likewise.
61745         * socket/setsockopt.c: Likewise.
61746         * socket/shutdown.c: Likewise.
61747         * socket/sockatmark.c: Likewise.
61748         * socket/socket.c: Likewise.
61749         * socket/socketpair.c: Likewise.
61750         * stdio-common/ctermid.c: Likewise.
61751         * stdio-common/cuserid.c: Likewise.
61752         * stdio-common/remove.c: Likewise.
61753         * stdio-common/rename.c: Likewise.
61754         * stdio-common/renameat.c: Likewise.
61755         * stdio-common/tempname.c: Likewise.
61756         * stdlib/getcontext.c: Likewise.
61757         * stdlib/makecontext.c: Likewise.
61758         * stdlib/setcontext.c: Likewise.
61759         * stdlib/swapcontext.c: Likewise.
61760         * stdlib/system.c: Likewise.
61761         * streams/fattach.c: Likewise.
61762         * streams/fdetach.c: Likewise.
61763         * streams/getmsg.c: Likewise.
61764         * streams/getpmsg.c: Likewise.
61765         * streams/putmsg.c: Likewise.
61766         * streams/putpmsg.c: Likewise.
61767         * sysdeps/unix/bsd/getpt.c: Likewise.
61768         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61769         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61770         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61772         Likewise.
61773         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61774         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61775         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61776         * sysvipc/msgctl.c: Likewise.
61777         * sysvipc/msgget.c: Likewise.
61778         * sysvipc/msgrcv.c: Likewise.
61779         * sysvipc/msgsnd.c: Likewise.
61780         * sysvipc/semctl.c: Likewise.
61781         * sysvipc/semget.c: Likewise.
61782         * sysvipc/semop.c: Likewise.
61783         * sysvipc/semtimedop.c: Likewise.
61784         * sysvipc/shmat.c: Likewise.
61785         * sysvipc/shmctl.c: Likewise.
61786         * sysvipc/shmdt.c: Likewise.
61787         * sysvipc/shmget.c: Likewise.
61788         * termios/tcdrain.c: Likewise.
61789         * termios/tcflow.c: Likewise.
61790         * termios/tcflush.c: Likewise.
61791         * termios/tcgetattr.c: Likewise.
61792         * termios/tcgetpgrp.c: Likewise.
61793         * termios/tcsendbrk.c: Likewise.
61794         * termios/tcsetattr.c: Likewise.
61795         * termios/tcsetpgrp.c: Likewise.
61796         * time/adjtime.c: Likewise.
61797         * time/clock.c: Likewise.
61798         * time/getitimer.c: Likewise.
61799         * time/gettimeofday.c: Likewise.
61800         * time/setitimer.c: Likewise.
61801         * time/settimeofday.c: Likewise.
61802         * time/stime.c: Likewise.
61803         * time/time.c: Likewise.
61805 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61807         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61808         /usr/old/bin.
61810         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61811         instead of spaces.
61812         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61814 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61816         [BZ #14796]
61817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61818         FE_TONEAREST before applying Dekker multiplication and Knuth
61819         addition.  Clear inexact exceptions and check for exact zero
61820         results afterwards.
61821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61822         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61823         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61824         * math/libm-test.inc (fma_test): Add more tests.
61825         (fma_test_towardzero): Likewise.
61826         (fma_test_downward): Likewise.
61827         (fma_test_upward): Likewise.
61828         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61829         function.
61830         (libc_fesetround): New macro.
61831         (libc_fesetroundf): Likewise.
61832         (libc_fesetroundl): Likewise.
61833         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61834         function.
61835         (libc_fesetround_387): Likewise.
61836         (libc_fesetroundf): New macro.
61837         (libc_fesetround): Likewise.
61838         (libc_fesetroundl): Likewise.
61839         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61840         function.
61841         (libc_fesetroundf): New macro.
61842         (libc_fesetround): Likewise.
61843         (libc_fesetroundl): Likewise.
61844         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61845         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61846         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61847         libm_hidden_ver.
61848         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61849         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61850         libm_hidden_def.
61851         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61852         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61853         libm_hidden_ver.
61854         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61855         libm_hidden_def.
61857         [BZ #3439]
61858         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61859         integer constant usable in #if and use that to give value to enum
61860         constant.
61861         (FE_DIVBYZERO): Likewise.
61862         (FE_UNDERFLOW): Likewise.
61863         (FE_OVERFLOW): Likewise.
61864         (FE_INVALID): Likewise.
61865         (FE_INVALID_SNAN): Likewise.
61866         (FE_INVALID_ISI): Likewise.
61867         (FE_INVALID_IDI): Likewise.
61868         (FE_INVALID_ZDZ): Likewise.
61869         (FE_INVALID_IMZ): Likewise.
61870         (FE_INVALID_COMPARE): Likewise.
61871         (FE_INVALID_SOFTWARE): Likewise.
61872         (FE_INVALID_SQRT): Likewise.
61873         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61874         (FE_TONEAREST): Likewise.
61875         (FE_TOWARDZERO): Likewise.
61876         (FE_UPWARD): Likewise.
61877         (FE_DOWNWARD): Likewise.
61878         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61879         (FE_DIVBYZERO): Likewise.
61880         (FE_OVERFLOW): Likewise.
61881         (FE_UNDERFLOW): Likewise.
61882         (FE_INEXACT): Likewise.
61883         (FE_TONEAREST): Likewise.
61884         (FE_DOWNWARD): Likewise.
61885         (FE_UPWARD): Likewise.
61886         (FE_TOWARDZERO): Likewise.
61887         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61888         (FE_UNDERFLOW): Likewise.
61889         (FE_OVERFLOW): Likewise.
61890         (FE_DIVBYZERO): Likewise.
61891         (FE_INVALID): Likewise.
61892         (FE_TONEAREST): Likewise.
61893         (FE_TOWARDZERO): Likewise.
61894         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61895         (FE_OVERFLOW): Likewise.
61896         (FE_UNDERFLOW): Likewise.
61897         (FE_DIVBYZERO): Likewise.
61898         (FE_INEXACT): Likewise.
61899         (FE_TONEAREST): Likewise.
61900         (FE_TOWARDZERO): Likewise.
61901         (FE_UPWARD): Likewise.
61902         (FE_DOWNWARD): Likewise.
61903         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61904         (FE_DIVBYZERO): Likewise.
61905         (FE_OVERFLOW): Likewise.
61906         (FE_UNDERFLOW): Likewise.
61907         (FE_INEXACT): Likewise.
61908         (FE_TONEAREST): Likewise.
61909         (FE_DOWNWARD): Likewise.
61910         (FE_UPWARD): Likewise.
61911         (FE_TOWARDZERO): Likewise.
61913 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61915         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61917 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61919         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61920         commands.  Quote $PWD.
61921         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61922         -x" by "export".
61923         (remove_newlines): Remove.
61925 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61927         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61928         * stdlib/stdlib.h (atof): Moved to ...
61929         * include/bits/stdlib-float.h: Here.  New file.
61930         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61931         * stdlib/bits/stdlib-float.h: New file.
61932         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61933         -mno-sse -mno-mmx.
61934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61935         <xmmintrin.h>.
61937 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61939         * conform/conformtest.pl (@headers): Add fenv.h.
61940         * conform/data/fenv.h-data: New file.
61941         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61942         include of <math/fenv.h>.
61944         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61945         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61946         && !UNIX98].  Enables tests for XOPEN2K8.
61947         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61948         POSIX2008]: Likewise.
61950         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61951         (struct rusage): Do not expect type or its members.
61953         [BZ #3439]
61954         * math/math.h (FP_NAN): Define macro to integer constant usable in
61955         #if and use that to give value to enum constant.
61956         (FP_INFINITE): Likewise.
61957         (FP_ZERO): Likewise.
61958         (FP_SUBNORMAL): Likewise.
61959         (FP_NORMAL): Likewise.
61961 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61963         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61964         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61965         arguments.
61967 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61969         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61970         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61971         autoconf-time if not.
61972         * configure.in: Remove AC_PREREQ.
61974 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61976         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61977         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61978         of the internal implementation.
61980 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61982         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61983         except include of <misc/sys/syslog.h>.
61985 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61988         function returns with a NULL context exit with zero.
61990 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61992         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61994 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61996         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61997         (run_program_cmd): This.
61998         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61999         (tst_langinfo): New variable.  Use it.
62001 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62003         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62004         floating point opcodes.
62006 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62008         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62009         variable.
62011         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62013         * sysdeps/mach/hurd/powerpc: Remove directory.
62014         * sysdeps/mach/powerpc: Likewise.
62016 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62018         * scripts/check-local-headers.sh: Ignore c++ headers.
62020 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62022         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62023         __libc_cleanup_region_start argument.
62025 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62027         [BZ #14784]
62028         [BZ #14785]
62029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62030         x * y using scaling, not as x * y + z.
62031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62033         * math/libm-test.inc (fma_test): Add more tests.
62034         (fma_test_towardzero): Likewise.
62035         (fma_test_downward): Likewise.
62036         (fma_test_upward): Likewise.
62038 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62040         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62042 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62044         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62045         New variable.
62047 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62049         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62051 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62054         Fix sort order.
62055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62056         Likewise.
62058 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62061         Fix the order of the list for glibc 2.17.
62062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62063         Likewise.
62065 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62069 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62071         [BZ #14610]
62072         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62073         for low part of x being zero before using __atanl (y).
62074         * math/libm-test.inc (atan2_test): Add another test.
62076         * manual/install.texi (Configuring and compiling): Document
62077         general use of test-wrapper and test-wrapper-env.
62078         * INSTALL: Regenerated.
62080         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62081         (__fma): Do not extract and scale down low bits on after-rounding
62082         systems when result rounded to normal precision would have normal
62083         exponent.
62084         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62085         (__fmal): Do not extract and scale down low bits on after-rounding
62086         systems when result rounded to normal precision would have normal
62087         exponent.
62088         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62089         (__fmal): Do not extract and scale down low bits on after-rounding
62090         systems when result rounded to normal precision would have normal
62091         exponent.
62092         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62093         macro.
62094         (fma_test): Add more tests.
62095         (fma_test_towardzero): Likewise.
62096         (fma_test_downward): Likewise.
62097         (fma_test_upward): Likewise.
62099 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62101         * sysdeps/i386/tininess.h: Renamed to ...
62102         * sysdeps/x86/tininess.h: This.
62103         * sysdeps/x86_64/tininess.h: Removed.
62105 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62107         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62108         input.  Use $(build-program-cmd).
62109         ($(objpfx)tst-array1-static.out): Likewise.
62110         ($(objpfx)tst-array2.out): Likewise.
62111         ($(objpfx)tst-array3.out): Likewise.
62112         ($(objpfx)tst-array4.out): Likewise.
62113         ($(objpfx)tst-array5.out): Likewise.
62114         ($(objpfx)tst-array5-static.out): Likewise.
62116 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62118         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62119         if defined.
62121         * nss/nsswitch.h (nss_interface_function): Provide new
62122         macro for use with NSS functions.
62123         * grp/initgroups.c: Use new macro.
62124         * nss/getXXbyYY.c: Likewise.
62125         * nss/getXXbyYY_r.c: Likewise.
62126         * nss/getXXent.c: Likewise.
62127         * nss/getXXent_r.c: Likewise.
62128         * sysdeps/posix/getaddrinfo.c: Likewise.
62130 2012-10-30  Andreas Jaeger  <aj@suse.de>
62132         * po/ru.po: Update Russion translation from translation project.
62134 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62136         [BZ #14152]
62137         [BZ #14783]
62138         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62139         result and shift together with sticky bit instead of replicating
62140         round-to-nearest rounding.
62141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62143         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62144         missing underflow exceptions.
62145         (fma_test_towardzero): Add more tests.
62146         (fma_test_downward): Likewise.
62147         (fma_test_upward): Likewise.
62149         [BZ #14047]
62150         * sysdeps/generic/tininess.h: New file.
62151         * sysdeps/i386/tininess.h: Likewise.
62152         * sysdeps/sh/tininess.h: Likewise.
62153         * sysdeps/x86_64/tininess.h: Likewise.
62154         * stdlib/tst-strtod-underflow.c: Likewise.
62155         * stdlib/tst-tininess.c: Likewise.
62156         * stdlib/strtod_l.c: Include <tininess.h>.
62157         (round_and_return): Do not set errno for exact underflow cases.
62158         Force an underflow exception when setting errno for underflow.
62159         Determine underflow based on rounding to normal precision if
62160         TININESS_AFTER_ROUNDING.
62161         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62162         ERANGE for exact underflow cases.
62163         * stdlib/Makefile (tests): Add tst-tininess and
62164         tst-strtod-underflow.
62165         ($(objpfx)tst-tininess): Use $(link-libm).
62166         ($(objpfx)tst-strtod-underflow): Likewise.
62168 2012-10-30  Andreas Jaeger  <aj@suse.de>
62170         [BZ#14767]
62171         * elf/Makefile (tests): Remove conditional for have-initfini-array
62172         since this is now always required and the variable does not exist
62173         anymore.
62174         (tests-static): Likewise.
62175         (modules-names): Likewise.
62177         * po/eo.po: Add Esperanto translation from translation project.
62179         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62180         merged with constructor/destructor.
62181         (init_array): Likewise.
62182         * elf/tst-array2dep.c (fini_array): Likewise.
62183         (init_array): Likewise.
62185 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62187         * manual/message.texi: Delete @cartouche tags.
62189 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62191         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62192         EOPNOTSUPP.
62193         * sysdeps/mach/hurd/fsync.c: Likewise.
62195         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62196         [_POSIX_REALTIME_SIGNALS]: Change condition to
62197         [_POSIX_REALTIME_SIGNALS > 0].
62199 2012-10-27  Andreas Jaeger  <aj@suse.de>
62201         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62202         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62204         [__WORDSIZE != 64]: Likewise.
62206 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62208         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62209         *  iconvdata/tst-tables.sh: Likewise.
62211 2012-10-25  David S. Miller  <davem@davemloft.net>
62213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62214         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62215         of strtoull.
62217         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62218         ifunc-impl-list.c
62219         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62220         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62221         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62222         file.
62224 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62226         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62227         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62228         __getdirentries.
62230 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62231             Jim Blandy  <jimb@codesourcery.com>
62233         * scripts/cross-test-ssh.sh: New file.
62234         * manual/install.texi (Configuring and compiling): Document use of
62235         cross-test-ssh.sh.
62236         * INSTALL: Regenerated.
62238 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62240         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62241         EOPNOTSUPP.
62243 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62245         * Makeconfig (run-program-prefix): Fix comment.
62247 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62248             Jim Blandy  <jimb@codesourcery.com>
62250         * Makeconfig (test-wrapper): New variable,
62251         (test-wrapper-env): Likewise.
62252         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62253         (run-built-tests): Define to yes.
62254         (run-program-prefix): Use $(test-wrapper).
62255         (built-program-cmd): Likewise.
62256         * Rules (make-test-out): Use $(test-wrapper-env) and
62257         $(host-built-program-cmd).
62258         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62259         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62260         tst-pathopt.sh.
62261         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62262         $(test-wrapper-env) to tst-rtld-load-self.sh.
62263         ($(objpfx)order2.out): Use $(test-wrapper).
62264         ($(objpfx)tst-initorder.out): Likewise.
62265         ($(objpfx)tst-initorder2.out): Likewise.
62266         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62267         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62268         (test_wrapper_env): New variable.  Use it to run ld.so.
62269         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62270         Use it to run ld.so.
62271         (test_wrapper_env): Likewise.
62272         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62273         $(test-wrapper) to run-iconv-test.sh.
62274         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62275         (ICONV): Use $test_wrapper.
62276         * posix/Makefile ($(objpfx)globtest.out): Pass
62277         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62278         globtest.sh, not $(run-program-prefix).
62279         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62280         (test_wrapper): Likewise.
62281         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62282         set together with run_via_rtld_prefix.
62283         (run_program_prefix): Define in terms of test_wrapper and
62284         run_via_rtld_prefix.
62286 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62288         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62289         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62290         Targets removed.
62292         [BZ #14743]
62293         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62294         Declare __clock_getres, __clock_gettime, __clock_settime,
62295         __clock_nanosleep, and __clock_getcpuclockid.
62296         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62297         Remove librt_hidden_def (clock_gettime).
62298         * sysdeps/unix/clock_gettime.c: Likewise.
62299         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62301         * rt/clock_getres.c: Define __clock_getres as an alias.
62302         * sysdeps/posix/clock_getres.c: Likewise.
62303         * rt/clock_settime.c: Define __clock_settime as an alias.
62304         * sysdeps/unix/clock_settime.c: Likewise.
62305         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62306         * sysdeps/unix/clock_nanosleep.c: Likewise.
62307         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62308         * rt/clock-compat.c: New file.
62309         * rt/Makefile (librt-routines): Add clock-compat and move
62310         $(clock-routines) to ...
62311         (routines): ... here, new variable.
62312         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62313         Don't add get_clockfreq here.
62314         * rt/Versions (libc: GLIBC_2.17): New version set.
62315         Add clock_* symbols here.
62316         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62318         (GLIBC_2.17): Add clock_* symbols.
62319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62321         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62323         Likewise.
62324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62325         Likewise.
62326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62330         * NEWS: Mention the move.
62332         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62333         Use __open, __read, __close rather than their public counterparts.
62334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62335         (__get_clockfreq_via_cpuinfo): Likewise.
62336         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62337         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62339         * config.h.in (HAVE_IFUNC): New #undef.
62340         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62341         was successful.
62342         * configure: Regenerated.
62344 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62346         * configure.in: Move READELF check to start of file.
62347         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62348         libc_cv_asm_gnu_indirect_function in the process.
62349         * configure: Regenerated.
62351 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62353         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62354         send the output to /dev/null.
62355         (libc_cv_cc_with_libunwind): Likewise.
62356         (libc_cv_as_noexecstack): Likewise.
62357         * configure: Regenerate.
62359 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62361         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62363         * posix/globtest.sh (TMPDIR): Do not set.
62364         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62365         (testout): Likewise.
62367 2012-10-24  Andreas Jaeger  <aj@suse.de>
62369         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62370         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62371         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62372         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62373         posix_fadvise64, posix_fallocate64.
62375         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62376         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62377         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62378         Likewise.
62379         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62380         Likewise.
62381         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62384         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62385         <bits/fcntl-linux.h>.
62386         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62388         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62389         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62390         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62391         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62392         [__WORDSIZE != 64]: Likewise.
62394 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62396         * Makeconfig (run-built-tests): New variable.
62397         * Rules [$(cross-compiling) = yes]: Change condition to
62398         [$(run-built-tests) = no].
62399         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62400         to [$(run-built-tests) = yes].
62401         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62402         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62403         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62404         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62405         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62406         * io/Makefile [$(cross-compiling) = no]: Likewise.
62407         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62408         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62409         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62410         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62411         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62412         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62413         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62414         * string/Makefile [$(cross-compiling) = no]: Likewise.
62416         * posix/Makefile ($(objpfx)globtest.out): Pass
62417         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62418         $(rtld-installed-name).
62419         * posix/globtest.sh (elf_objpfx): Remove variable.
62420         (rtld_installed_name): Likewise.
62421         (library_path): Likewise.
62422         (run_program_prefix): New variable.  Use for running globtest
62423         binary.
62425 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62426             Joseph Myers  <joseph@codesourcery.com>
62428         * Makeconfig (host-built-program-cmd): New variable.
62429         * elf/Makefile (tst-stackguard1-ARGS): Use
62430         $(host-built-program-cmd).
62431         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62432         (tst-spawn-ARGS): Likewise.
62433         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62435 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62436             Jim Blandy  <jimb@codesourcery.com>
62438         * Makeconfig (run-via-rtld-prefix): New variable.
62439         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62440         (built-program-cmd): Likewise.
62442 2012-10-22  Andreas Jaeger  <aj@suse.de>
62444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62445         __O_RSYNC if it exists, otherwise to O_SYNC.
62447 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62448             Joseph Myers  <joseph@codesourcery.com>
62450         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62451         /dev/null.
62452         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62453         from /dev/null
62454         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62455         /dev/null.
62457 2012-10-22  Andreas Jaeger  <aj@suse.de>
62459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62460         Define always.
62461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62464         bits/fcntl-linux.h.
62466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62467         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62469         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62470         to __O_LARGEFILE.
62471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62472         to __O_LARGEFILE.
62474 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62475             Joseph Myers  <joseph@codesourcery.com>
62477         * config.make.in (NM): New variable.
62479 2012-10-21  Andreas Jaeger  <aj@suse.de>
62481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62482         definitions and declarations that are provided by
62483         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62485 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62487         [BZ #14683]
62488         * elf/Makefile (tests-static): Add tst-leaks1-static.
62489         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62490         ($(objpfx)tst-leaks1-static): New rule.
62491         ($(objpfx)tst-leaks1-static-mem): Likewise.
62492         (tst-leaks1-static-ENV): New macro.
62493         * elf/dl-open.c (dl_open_worker): Check the main application
62494         only if SHARED is defined.
62495         * elf/tst-leaks1-static.c: New file.
62497 2012-10-20  Andreas Jaeger  <aj@suse.de>
62499         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62500         generic values for Linux.
62501         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62502         and declarations that are provided by <bits/fcntl-linux.h> and
62503         include <bits/fcntl-linux.h>.
62504         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62505         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62507 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62509         * io/fcntl.h: Move include of <bits/types.h> to the top and
62510         include it unconditionally.
62512 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62514         * wcsmbs/Makefile (tests-ifunc): New variable.
62515         (tests): Add $(tests-ifunc).
62516         * wcsmbs/test-wcschr-ifunc.c: New file.
62517         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62518         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62519         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62520         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62521         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62523         * string/Makefile (tests-ifunc): New variable.
62524         (tests): Add $(tests-ifunc).
62525         * string/test-memccpy.c (TEST_NAME): New macro.
62526         * string/test-memchr.c (TEST_NAME): Likewise.
62527         * string/test-memcmp.c (TEST_NAME): Likewise.
62528         * string/test-memcpy.c (TEST_NAME): Likewise.
62529         * string/test-memmem.c (TEST_NAME): Likewise.
62530         * string/test-memmove.c (TEST_NAME): Likewise.
62531         * string/test-memset.c (TEST_NAME): Likewise.
62532         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62533         * string/test-stpcpy.c (TEST_NAME): Likewise.
62534         * string/test-stpncpy.c (TEST_NAME): Likewise.
62535         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62536         * string/test-strcasestr.c (TEST_NAME): Likewise.
62537         * string/test-strcat.c (TEST_NAME): Likewise.
62538         * string/test-strchr.c (TEST_NAME): Likewise.
62539         * string/test-strcmp.c(TEST_NAME): Likewise.
62540         * string/test-strcpy.c (TEST_NAME): Likewise.
62541         * string/test-strcspn.c (TEST_NAME): Likewise.
62542         * string/test-strlen.c (TEST_NAME): Likewise.
62543         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62544         * string/test-strncmp.c (TEST_NAME): Likewise.
62545         * string/test-strncpy.c (TEST_NAME): Likewise.
62546         * string/test-strnlen.c (TEST_NAME): Likewise.
62547         * string/test-strpbrk.c (TEST_NAME): Likewise.
62548         * string/test-strrchr.c (TEST_NAME): Likewise.
62549         * string/test-strspn.c (TEST_NAME): Likewise.
62550         * string/test-strstr.c (TEST_NAME): Likewise.
62551         * string/test-bcopy-ifunc.c: New file.
62552         * string/test-bzero-ifunc.c: Likewise.
62553         * string/test-memccpy-ifunc.c: Likewise.
62554         * string/test-memchr-ifunc.c: Likewise.
62555         * string/test-memcmp-ifunc.c: Likewise.
62556         * string/test-memcpy-ifunc.c: Likewise.
62557         * string/test-memmem-ifunc.c: Likewise.
62558         * string/test-memmove-ifunc.c: Likewise.
62559         * string/test-mempcpy-ifunc.c: Likewise.
62560         * string/test-memset-ifunc.c: Likewise.
62561         * string/test-rawmemchr-ifunc.c: Likewise.
62562         * string/test-stpcpy-ifunc.c: Likewise.
62563         * string/test-stpncpy-ifunc.c: Likewise.
62564         * string/test-strcasecmp-ifunc.c: Likewise.
62565         * string/test-strcasestr-ifunc.c: Likewise.
62566         * string/test-strcat-ifunc.c: Likewise.
62567         * string/test-strchr-ifunc.c: Likewise.
62568         * string/test-strchrnul-ifunc.c: Likewise.
62569         * string/test-strcmp-ifunc.c: Likewise.
62570         * string/test-strcpy-ifunc.c: Likewise.
62571         * string/test-strcspn-ifunc.c: Likewise.
62572         * string/test-strlen-ifunc.c: Likewise.
62573         * string/test-strncasecmp-ifunc.c: Likewise.
62574         * string/test-strncat-ifunc.c: Likewise.
62575         * string/test-strncmp-ifunc.c: Likewise.
62576         * string/test-strncpy-ifunc.c: Likewise.
62577         * string/test-strnlen-ifunc.c: Likewise.
62578         * string/test-strpbrk-ifunc.c: Likewise.
62579         * string/test-strrchr-ifunc.c: Likewise.
62580         * string/test-strspn-ifunc.c: Likewise.
62581         * string/test-strstr-ifunc.c: Likewise.
62583         * debug/Makefile (tests-ifunc): New variable.
62584         (tests): Add $(tests-ifunc).
62585         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62586         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62587         * debug/test-stpcpy_chk-ifunc.c: New file.
62588         * debug/test-strcpy_chk-ifunc.c: Likewise.
62590 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62592         [BZ #13601]
62593         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62594         header is not read in.
62596 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62598         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62599         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62600         directly.  Pass built executable to script as
62601         $(built-program-cmd).
62602         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62603         $testprogram without using LD_LIBRARY_PATH and $ldso.
62605         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62606         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62607         $(rtld-installed-name).
62608         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62609         (rtld_installed_name): Likewise.
62610         (library_path): Likewise.
62611         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62612         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62613         $(run-program-prefix) to tst-tables.sh.
62614         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62615         it to run tst-table-from and tst-table-to.
62616         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62617         Pass it to tst-table.sh.
62618         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62619         $(run-program-prefix) to tst-gettext.sh.
62620         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62621         tst-translit.sh.
62622         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62623         tst-gettext2.sh.
62624         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62625         to run tst-gettext.
62626         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62627         to run tst-gettext2.
62628         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62629         to run tst-translit.
62630         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62631         $(run-program-prefix) to tst-mtrace.sh.
62632         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62633         to run tst-mtrace.
62634         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62635         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62636         $(rtld-installed-name).
62637         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62638         (rtld_installed_name): Likewise.
62639         (run_program_prefix): New variable.  Use it to run wordexp-test.
62641         * Makeconfig (ARCH): Remove all definitions.
62642         (machine): Likewise.
62643         [ARCH]: Remove conditional code.
62644         [!objdir]: Give error.
62645         [!objdir] (objpfx): Remove.
62646         [!objdir] (common-objpfx): Likewise.
62647         [!objdir] (common-objdir): Likewise.
62648         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62649         AC_CONFIG_FILES call.
62650         * configure: Regenerated.
62652         [BZ #13888]
62653         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62654         or TMPDIR.
62655         (testout): Likewise.
62657         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62658         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62659         $(rtld-installed-name).
62660         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62661         (rtld_installed_name): Likwise.
62662         (runit): Remove function.
62663         (run_getconf): New variable,  Use it for running getconf binary.
62665 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62667         [BZ #14716]
62668         * string/test-memmem.c (check_result): New function.
62669         (do_one_test): Use it.
62670         (check1): New function.
62671         (test_main): Use it.
62673 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62675         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62677 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62679         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62680         (_G_LSEEK64): Likewise.
62681         (_G_MMAP64): Likewise.
62682         (_G_FSTAT64): Likewise.
62683         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62684         (_G_LSEEK64): Likewise.
62685         (_G_MMAP64): Likewise.
62686         (_G_FSTAT64): Likewise.
62687         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62688         unconditional.  Call __mmap64 directly.
62689         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62690         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62691         __lseek64 directly.
62692         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62693         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62694         __mmap64 directly.
62695         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62696         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62697         __lseek64 directly.
62698         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62699         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62700         __lseek64 directly.
62701         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62702         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62703         __lseek64 directly.
62704         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62705         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62706         __fxstat64 directly.
62707         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62708         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62709         unconditional.
62710         (freopen64) [!_G_OPEN64]: Remove conditional code.
62711         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62712         unconditional.
62713         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62714         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62715         unconditional.
62716         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62717         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62718         unconditional.
62719         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62720         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62721         unconditional.
62722         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62723         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62724         unconditional.
62725         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62726         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62727         unconditional.
62728         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62729         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62730         unconditional.
62731         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62733 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62735         [BZ #12140]
62736         * manual/memory.texi (Malloc Tunable Parameters): Add note
62737         about free list pointers overwriting some perturb bytes.
62738         Wording suggested by Roland McGrath.
62740 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62742         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62743         (lgamma_test): Likewise.
62744         (tgamma_test): Likewise.
62746 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62748         [BZ #14700]
62749         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62750         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62752 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62754         * NEWS: Mention BZ #14716.
62755         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62756         when removing AVAILABLE1_USES_J macro.
62758 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62760         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62761         (__bswap_64): __uint64_t for unsigned 64-bit int.
62763 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62765         * include/string.h (memmem): Declare libc hidden alias.
62766         * string/memmem.c (memmem): Define libc hidden alias.
62767         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62768         __read, __close instead of open, read, close.
62770 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62773         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62774         global and hidden.
62775         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62776         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62777         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62778         Likewise.
62779         (__rawmemchr_sse2): Likewise.
62780         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62781         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62782         (__strchr_sse2): Likewise.
62783         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62784         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62785         (__strcasecmp_sse2): Likewise.
62786         (__strncasecmp_sse2): Likewise.
62787         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62788         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62789         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62790         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62791         (__strrchr_sse2): Likewise.
62792         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62793         ifunc-impl-list.c.
62794         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62795         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62796         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62797         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62798         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62799         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62800         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62802         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62803         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62804         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62805         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62806         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62807         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62808         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62809         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62810         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62811         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62812         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62813         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62814         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62815         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62816         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62817         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62818         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62819         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62820         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62821         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62822         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62823         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62825         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62826         global and hidden.
62827         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62828         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62829         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62830         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62831         Likewise.
62832         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62833         Likewise.
62834         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62835         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62836         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62837         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62838         ifunc-impl-list.c.
62839         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62840         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62841         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62842         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62843         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62844         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62845         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62846         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62847         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62848         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62849         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62850         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62851         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62852         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62853         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62854         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62855         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62856         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62857         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62858         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62859         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62860         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62861         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62862         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62863         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62864         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62865         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62866         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62867         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62868         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62869         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62870         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62871         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62872         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62873         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62874         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62875         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62876         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62877         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62878         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62879         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62881         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62882         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62883         * include/ifunc-impl-list.h: New file.
62884         * misc/ifunc-impl-list.c: Likewise.
62885         * misc/Makefile (routines): Add ifunc-impl-list.
62886         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62887         * string/test-string.h: Include <ifunc-impl-list.h>.
62888         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62889         TEST_NAME]: New variables.
62890         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62891         are defined.
62892         (test_init): Call __libc_ifunc_impl_list to initialize
62893         func_list if TEST_IFUNC and TEST_NAME are defined.
62895         * string/Makefile (strop-tests): Add bcopy and bzero.
62896         * string/test-bcopy.c: New file.
62897         * string/test-bzero.c: Likewise.
62898         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62899         defined.
62900         * string/test-memset.c: Support bzero test if TEST_BZERO is
62901         defined.
62902         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62903         __libc_memmove.
62904         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62905         __libc_memset.
62906         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62907         of memset.
62909 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62911         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62912         * configure: Regenerated.
62914         * Makeconfig (+link-static-before-libc): Don't include
62915         $(link-static-libc).
62917         * libio/libio.h (_IO_pos_t): Remove.
62919 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62921         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62922         McGrath.
62924 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62926         * crypt/crypt-entry.c: Include fips-private.h.
62927         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62928         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62929         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62930         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62932 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62934         * crypt/crypt-private.h: Include stdbool.h.
62935         (_ufc_setup_salt_r): Return bool.
62936         * crypt/crypt-entry.c: Include errno.h.
62937         (__crypt_r): Return NULL with EINVAL for bad salt.
62938         * crypt/crypt_util.c (bad_for_salt): New.
62939         (_ufc_setup_salt_r): Check that salt is long enough and within
62940         the specified alphabet.
62941         * crypt/badsalttest.c: New file.
62942         * crypt/Makefile (tests): Add it.
62943         ($(objpfx)badsalttest): New.
62945 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62947         * NEWS: Add entry for BZ #14602.
62949 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62951         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62952         type-generic.
62953         * math/libm-test.inc: Update comment listing what functions and
62954         macros are tested.
62955         (isgreater_test): New function.
62956         (isgreaterequal_test): Likewise.
62957         (isless_test): Likewise.
62958         (islessequal_test): Likewise.
62959         (islessgreater_test): Likewise.
62960         (isunordered_test): Likewise.
62961         (main): Call the new functions.
62963 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62965         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62966         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62967         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62968         * sysdeps/i386/configure: Regenerated.
62969         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62970         * sysdeps/mach/configure: Regenerated.
62971         * sysdeps/mach/hurd/configure: Regenerated.
62972         * sysdeps/powerpc/configure: Regenerated.
62973         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62974         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62975         * sysdeps/s390/s390-32/configure: Regenerated.
62976         * sysdeps/s390/s390-64/configure: Regenerated.
62977         * sysdeps/sh/configure: Regenerated.
62978         * sysdeps/sparc/configure: Regenerated.
62979         * sysdeps/unix/sysv/linux/configure: Regenerated.
62980         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62981         * sysdeps/x86_64/configure: Regenerated.
62983         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62984         defined.  Don't check if MAP is NULL.
62986 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62988         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62989         (_G_stat64): Likewise.
62990         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62991         (_G_stat64): Likewise.
62992         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62993         instead of struct _G_stat64.
62994         * libio/fileops.c (mmap_remap_check): Likewise.
62995         (decide_maybe_mmap): Likewise.
62996         (_IO_new_file_seekoff): Likewise.
62997         (_IO_file_stat): Likewise.
62998         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62999         _G_off64_t.
63000         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63001         instead of struct _G_stat64.
63002         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63004 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63006         [BZ #14602]
63007         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63008         Replace with ...
63009         (CHECK_EOL): New macro.
63010         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63011         CHECK_EOL.
63012         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63013         Replace with CHECK_EOL.
63014         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63015         Replace with CHECK_EOL.
63017 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63019         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63020         type-generic.
63021         * math/libm-test.inc: Update comment listing what functions and
63022         macros are tested.
63023         (finite_test): New function.
63024         (isinf_test): Likewise.
63025         (isnan_test): Likewise.
63026         (fpclassify_test): Test subnormal input.
63027         (isfinite_test): Likewise.
63028         (isnormal_test): Likewise.
63029         (main): Call the new functions.
63031 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63033         [BZ #14660]
63034         * Makerules (%.dynsym): Force C locale when running
63035         $(OBJDUMP) --dynamic-syms.
63037 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63039         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63040         <stdint.h>.
63042 2012-10-06  David S. Miller  <davem@davemloft.net>
63044         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63045         upper 32-bits of the length value in %o2 since we use branch-on-register
63046         tests which consider the entire 64-bit register.
63048 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63050         * string/test-strstr.c (check2): Add a test for page boundary.
63052 2012-10-05  David S. Miller  <davem@davemloft.net>
63054         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63055         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63056         file.
63057         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63058         sysdep_routines.
63059         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63060         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63061         and bzero when HWCAP_SPARC_CRYPTO is present.
63063 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63065         [BZ #14602]
63066         * string/test-strstr.c (check2): New function.
63067         (test_main): Call check2.
63069         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63070         and bug-strchr1.
63071         * string/bug-strcasestr1.c (do_test): Moved to ...
63072         * string/test-strcasestr.c (check1): Here.  New function.
63073         (do_one_test): Break out result checking code into ...
63074         (check_result): This.  New function.
63075         (do_one_test): Call check_result.
63076         (test_main): Call check1.
63077         * string/bug-strchr1.c (do_test): Moved to ...
63078         * string/test-strchr.c (check1): Here.  New function.
63079         (do_one_test): Break out result checking code into ...
63080         (check_result): This.  New function.
63081         (do_one_test): Call check_result.
63082         (test_main): Call check1.
63083         * string/bug-strstr1.c (main): Moved to ...
63084         * string/test-strstr.c (check1): Here.  New function.
63085         (do_one_test): Break out result checking code into ...
63086         (check_result): This.  New function.
63087         (do_one_test): Call check_result.
63088         (test_main): Call check1.
63089         * string/bug-strcasestr1.c: Removed.
63090         * string/bug-strchr1.c: Likewise.
63091         * string/bug-strstr1.c: Likewise.
63093         * elf/Makefile (dl-routines): Add hwcaps.
63094         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63095         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63096         (_dl_important_hwcaps): Moved to ...
63097         * elf/dl-hwcaps.c: Here.  New file.
63098         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63100         [BZ #14557]
63101         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63102         if IS_IN_rtld isn't defined.
63104         * elf/dl-support.c (_dl_sysinfo_map): New.
63105         Include "get-dynamic-info.h" and "setup-vdso.h".
63106         (_dl_non_dynamic_init): Call setup_vdso.
63107         * elf/dynamic-link.h: Don't include <assert.h>.
63108         (elf_get_dynamic_info): Moved to ...
63109         * elf/get-dynamic-info.h: Here.  New file.
63110         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63111         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63112         * elf/setup-vdso.h: Here.  New file.
63113         * elf/rtld.c: Include "setup-vdso.h".
63114         (dl_main): Call setup_vdso.
63116 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63118         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63119         creal in comment listing functions tested.  List finite, isinf,
63120         isnan, isless, islessequal, isgreater, isgreaterequal,
63121         islessgreater, isunordered, lgamma_r and pow10 as functions and
63122         macros not tested.  Mention which functions not tested are aliases
63123         for other functions.  Fix typo.  Note that signs of NaNs are not
63124         tested.
63126         * scripts/config.guess: Update from config.git.
63127         * scripts/config.sub: Likewise.
63129 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63131         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63132         * misc/madvise.c (madvise): Renamed to __madvise.
63133         Make madvise a weak alias.
63134         * include/sys/mman.h: Declare __madvise.
63135         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63136         * sysdeps/unix/syscalls.list
63137         (madvise): Make __madvise the strong name, and madvise a weak alias.
63138         * sysdeps/unix/sysv/linux/syscalls.list
63139         (madvise, mmap): Remove redundant entries.
63140         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63141         * malloc/malloc.c (mtrim): Likewise.
63142         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63144 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63146         * sysdeps/mach/hurd/dl-cache.c: File removed.
63147         * config.h.in (USE_LDCONFIG): New #undef.
63148         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63149         * configure: Regenerated.
63150         * elf/Makefile (dl-routines): Add dl-cache only under
63151         [$(use-ldconfig) = yes].
63152         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63153         cache on [USE_LDCONFIG].
63154         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63155         [USE_LDCONFIG].
63156         * elf/rtld.c (dl_main): Likewise.
63158 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63160         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63161         _SC_LEVEL4_CACHE_LINESIZE.
63163 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63165         * sysdeps/unix/bsd/confstr.h: File removed.
63167 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63169         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63170         sys/sdt-config.h.
63172 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63174         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63175         Make 'mapoff' field ElfW(Off) rather than off_t.
63177 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63179         * nscd/Makefile: Remove nscd-cflags and all its users.
63180         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63181         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63183         [BZ #10631]
63184         * malloc.c (malloc_printerr): Clarify error message.
63186 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63188         [BZ #14648]
63189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63190         Set bit_FMA_Usable if FMA is supported.
63191         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63192         macro.
63193         (bit_FMA4_Usable): Updated.
63194         (index_FMA_Usable): New macro.
63195         (CPUID_FMA): Likewise.
63196         (HAS_FMA): Defined with bit_FMA_Usable.
63198 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63200         * bits/types.h (__swblk_t): Type removed.
63201         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63202         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63204         (__SWBLK_T_TYPE): Likewise.
63205         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63206         (__SWBLK_T_TYPE): Likewise.
63207         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63208         (__SWBLK_T_TYPE): Likewise.
63209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63210         (__SWBLK_T_TYPE): Likewise.
63212 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63213             Honza Horak <hhorak@redhat.com>
63215         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63216         (xdr_mapname): Use YPMAXMAP as maxsize.
63217         (xdr_peername): Use YPMAXPEER as maxsize.
63218         (xdr_keydat): Use YPAXRECORD as maxsize.
63219         (xdr_valdat): Use YPMAXRECORD as maxsize.
63221 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63223         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63225         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63226         * csu/init-first.c: ... here.
63227         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63228         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63229         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63230         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63231         * sysdeps/i386/init-first.c: File removed.
63232         * sysdeps/sh/init-first.c: File removed.
63234 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63236         [BZ #14645]
63237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63238         if x * y might underflow to zero and z is zero.
63239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63241         * math/libm-test.inc (min_subnorm_value): New variable.
63242         (fma_test): Add more tests.
63243         (fma_test_towardzero): Likewise.
63244         (fma_test_downward): Likewise.
63245         (fma_test_upward): Likewise.
63246         (initialize): Set min_subnorm_value.
63248 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63250         [BZ #14638]
63251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63252         0 + 0.
63253         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63254         mode for addition resulting in exact zero.
63255         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63257         exact 0 + 0.
63258         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63260         * math/libm-test.inc (fma_test): Add more tests.
63261         (fma_test_towardzero): New function.
63262         (fma_test_downward): Likewise.
63263         (fma_test_upward): Likewise.
63264         (main): Call the new functions.
63266 2012-09-28  David S. Miller  <davem@davemloft.net>
63268         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63270 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63272         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63273         instead of SIGALRM.
63275         * sysdeps/gnu/_G_config.h: Moved to ...
63276         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63277         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63278         * sysdeps/generic/_G_config.h: ... here.
63280         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63282         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63284         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63285         Conditionalize target on [libnss_test1.so-version].
63287         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63289         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63290         (elfobjdir): Move out of conditionals.
63292         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63293         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63294         (__nss_lookup_function): Conditionalize label remove_from_tree on
63295         [!DO_STATIC_NSS || SHARED], matching its only use.
63297 2012-09-28  David S. Miller  <davem@davemloft.net>
63299         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63300         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63301         file.
63302         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63303         sysdep_routines.
63304         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63306         when HWCAP_SPARC_CRYPTO is present.
63308 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63310         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63312 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63314         [BZ #6530]
63315         * stdio-common/vfprintf.c (process_string_arg): Revert
63316         2000-07-22 change.
63318 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63320         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63321         for testcase.
63322         * stdio-common/tst-sprintf.c: Include <locale.h>
63323         (main): Test sprintf's handling of incomplete multibyte
63324         characters.
63326 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63328         * elf/dl-runtime.c (VERSYMIDX): Removed.
63329         * elf/dl-version.c (VERSYMIDX): Likewise.
63330         * elf/do-rel.h (VERSYMIDX): Likewise.
63331         (VALIDX): Likewise.
63332         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63333         * elf/rtld.c (VALIDX): Likewise.
63334         (ADDRIDX): Likewise.
63335         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63336         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63337         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63338         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63339         (VALIDX): Likewise.
63340         (ADDRIDX): Likewise.
63342 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63344         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63346 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63348         [BZ #11438]
63349         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63350         to global scope.
63351         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63352         addresses are in the same scope as 192.0.2/24.
63353         * posix/gai.conf: Document new scope table defaults.
63355 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63357         [BZ #5298]
63358         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63359         for ftell.  Compute offsets from write pointers instead.
63360         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63362 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63364         [BZ #14543]
63365         * libio/Makefile (tests): New test case tst-fseek.
63366         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63367         combination works in wide mode.
63368         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63369         state when the external buffer state changes.
63371 2012-09-27  David S. Miller  <davem@davemloft.net>
63373         [BZ #14376]
63374         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63375         pass reloc->r_addend in as the 'high' argument to
63376         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63380 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63382         * rt/tst-aio2.c: Include <pthread.h>.
63383         * rt/tst-aio3.c: Likewise.
63385 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63387         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63389 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63391         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63392         contents on [SHARED].
63394 2012-09-26  Marek Polacek  <polacek@redhat.com>
63396         [BZ #14530]
63397         [BZ #13741]
63398         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63399         for C++ and GCC <4.3 as well as for non GCC compilers.
63401 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63405 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63407         * Makefile.in (all, install): Declare with .PHONY.
63408         Reported by Michael Hope <michael.hope@linaro.org>.
63410 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63412         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63413         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63414         system header.
63415         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63416         Likewise.
63417         (sydep_routines): Add the new and the internal functions.
63418         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63419         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63421         (GLIBC_2.17): Add the new function.
63422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63423         (GLIBC_2.17): Likewise.
63424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63425         (GLIBC_2.17): Likewise.
63426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63427         (GLIBC_2.17): Likewise.
63428         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63430 2012-09-25  Alan Modra  <amodra@gmail.com>
63432         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63433         Add release barrier before setting once_control to say
63434         initialisation is done.  Add hints on lwarx.  Use macro in
63435         place of isync.
63436         (clear_once_control): Add release barrier.
63438 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63440         [BZ #13629]
63441         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63442         specially.
63443         * math/s_clog10.c (__clog10): Likewise.
63444         * math/s_clog10f.c (__clog10f): Likewise.
63445         * math/s_clog10l.c (__clog10l): Likewise.
63446         * math/s_clogf.c (__clogf): Likewise.
63447         * math/s_clogl.c (__clogl): Likewise.
63448         * math/Makefile (libm-calls): Add x2y2m1.
63449         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63450         (__x2y2m1): Likewise.
63451         (__x2y2m1l): Likewise.
63452         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63453         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63454         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63455         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63456         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63457         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63458         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63459         * sysdeps/i386/fpu/libm-test-ulps: Update.
63460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63462         [BZ #14621]
63463         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63464         int as type of variable DEPTH.
63465         (glob): Use size_t instead of int as type of variables NEWCOUNT
63466         and OLD_PATHC.
63468 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63470         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63471         Add s_sincosf-sse2.
63472         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63473         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63474         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63475         macros for using routine as __sincosf_ia32.
63476         Use macro for function declaration and weak_alias.
63477         * sysdeps/i386/fpu/libm-test-ulps: Update.
63479         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63482         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63483         subnormal argument.
63484         * math/s_cexpf.c (__cexpf): Likewise.
63485         * math/s_csinf.c (__csinf): Likewise.
63486         * math/s_csinhf.c (__csinhf): Likewise.
63487         * math/s_ctanf.c (__ctanf): Likewise.
63488         * math/s_ctanhf.c (__ctanhf): Likewise.
63489         * math/s_ccosh.c (__ccoshf): Likewise.
63490         * math/s_cexp.c (__cexpl): Likewise.
63491         * math/s_csin.c (__csin): Likewise.
63492         * math/s_csinh.c (__csinh): Likewise.
63493         * math/s_ctan.c (__ctan): Likewise.
63494         * math/s_ctanh.c (ctanh): Likewise.
63495         * math/s_ccoshl.c (__ccoshl): Likewise.
63496         * math/s_cexpl.c (__cexpl): Likewise.
63497         * math/s_csinl.c (__csinl): Likewise.
63498         * math/s_csinhl.c (__csinhl): Likewise.
63499         * math/s_ctanl.c (__ctanl): Likewise.
63500         * math/s_ctanhl.c (__ctanhl): Likewise.
63502 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63504         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63505         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63506         (_IO_off_t): Define to __off_t, not _G_off_t.
63507         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63508         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63509         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63510         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63511         type of __dummy and __dummy2 fields.
63512         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63513         (_G_ssize_t): Likewise.
63514         (_G_off_t): Likewise.
63515         (_G_pid_t): Likewise.
63516         (_G_uid_t): Likewise.
63517         (_G_wchar_t): Likewise.
63518         (_G_wint_t): Likewise.
63519         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63520         (_G_ssize_t): Likewise.
63521         (_G_off_t): Likewise.
63522         (_G_pid_t): Likewise.
63523         (_G_uid_t): Likewise.
63524         (_G_wchar_t): Likewise.
63525         (_G_wint_t): Likewise.
63526         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63527         (_G_ssize_t): Likewise.
63528         (_G_off_t): Likewise.
63529         (_G_pid_t): Likewise.
63530         (_G_uid_t): Likewise.
63531         (_G_wchar_t): Likewise.
63532         (_G_wint_t): Likewise.
63534 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63536         * malloc/arena.c: Include malloc-sysdep.h.
63537         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63538         is sufficient to shrink the heap or an unmap is needed.
63539         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63540         new function check_may_shrink_heap.
63541         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63542         new function check_may_shrink_heap.
63544 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63546         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63547         comments.
63549 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63551         * catgets/test-gencat.sh: Add "set -e".
63552         * elf/tst-pathopt.sh: Likewise.
63553         * grp/tst_fgetgrent.sh: Likewise.
63554         * iconvdata/run-iconv-test.sh: Likewise.
63555         * intl/tst-gettext.sh: Likewise.
63556         * intl/tst-gettext2.sh: Likewise.
63557         * intl/tst-gettext4.sh: Likewise.
63558         * intl/tst-gettext6.sh: Likewise.
63559         * intl/tst-translit.sh: Likewise.
63560         * io/ftwtest-sh: Likewise.
63561         * libio/test-freopen.sh: Likewise.
63562         * malloc/tst-mtrace.sh: Likewise.
63563         * posix/globtest.sh: Likewise.
63564         * posix/tst-getconf.sh: Likewise.
63565         * posix/wordexp-tst.sh: Likewise.
63566         * stdio-common/tst-printf.sh: Likewise.
63567         * stdio-common/tst-unbputc.sh: Likewise.
63568         * stdlib/tst-fmtmsg.sh: Likewise.
63569         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63570         * catgets/Makefile: Do not specify -e option when running
63571         testsuite shell scripts.
63572         * elf/Makefile: Likewise.
63573         * grp/Makefile: Likewise.
63574         * iconvdata/Makefile: Likewise.
63575         * intl/Makefile: Likewise.
63576         * io/Makefile: Likewise.
63577         * libio/Makefile: Likewise.
63578         * malloc/Makefile: Likewise.
63579         * posix/Makefile: Likewise.
63580         * stdio-common/Makefile: Likewise.
63581         * stdlib/Makefile: Likewise.
63582         * sysdeps/x86_64/Makefile: Likewise.
63584         * io/ftwtest-sh: Add copyright header.
63585         * posix/globtest.sh: Likewise.
63586         * posix/tst-getconf.sh: Likewise.
63587         * posix/wordexp-tst.sh: Likewise.
63588         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63590 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63592         [BZ #13679]
63593         * Makeconfig (+link): Defined as $(+link-static) if
63594         $(build-shared) isn't yes.
63595         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63596         isn't yes.
63597         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63599         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63601         [BZ #14562]
63602         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63603         new chunk size with MALLOC_ALIGN_MASK.
63605 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63607         [BZ #5044]
63608         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63609         <rounding-mode.h>.
63610         (__printf_fphex): Determine rounding using get_rounding_mode and
63611         round_away.
63612         * stdio-common/tst-printf-round.c (struct hex_test): New
63613         structure.
63614         (hex_tests): New variable.
63615         (test_hex_in_one_mode): New function.
63616         (do_test): Also run tests for hex float output.
63618 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63620         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63621         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63622         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63623         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63624         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63625         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63626         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63627         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63629 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63631         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63632         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63633         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63634         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63636 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63638         [BZ #14579]
63639         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63640         mode only.
63641         * elf/tst-rtld-load-self.sh: New test.
63642         * elf/Makefile: Run it.
63644 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63646         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63647         (tst-writev-ENV): Remove.
63648         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63650 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63652         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63654 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63656         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63657         unconditional.
63658         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63659         Likewise.
63660         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63661         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63662         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63663         Likewise.
63665 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63667         [BZ #14587]
63668         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63669         * config.make.in (have-cpp-asm-debuginfo): Removed.
63670         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63671         * configure: Regenerated.
63673 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63675         [BZ #5044]
63676         * stdio-common/printf_fp.c: Include <stdbool.h> and
63677         <rounding-mode.h>.
63678         (___printf_fp): Determine rounding using get_rounding_mode and
63679         round_away.
63680         * stdio-common/tst-printf-round.c: New file.
63681         * stdio-common/Makefile (tests): Add tst-printf-round.
63682         (link-libm): New variable.
63683         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63685 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63687         [BZ #14576]
63688         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63689         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63690         Likewise.
63691         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63692         Likewise.
63694 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63696         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63697         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63698         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63699         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63701 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63703         [BZ #14518]
63704         * include/rounding-mode.h: New file.
63705         * sysdeps/generic/get-rounding-mode.h: Likewise.
63706         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63707         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63708         (MAX_VALUE): New macro.
63709         (MIN_VALUE): Likewise.
63710         (overflow_value): New function.
63711         (underflow_value): Likewise.
63712         (round_and_return): Use overflow_value and underflow_value to
63713         determine return values in overflow and underflow cases.  Use
63714         round_away to determine rounding depending on rounding mode.
63715         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63716         determine return values in overflow and underflow cases.
63717         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63718         (struct test_results): New structure.
63719         (struct test): Use struct test_results to store expected results
63720         for all rounding modes.
63721         (TEST): Include expected results for all rounding modes.
63722         (test_in_one_mode): New function.
63723         (do_test): Use test_in_one_mode to compute and check results.
63724         Check results for all rounding modes.
63725         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63726         $(link-libm).
63728 2012-12-09  Allan McRae  <allan@archlinux.org>
63730         * sysdeps/i386/fpu/libm-test-ulps: Update
63732 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63734         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63735         (_G_int32_t): Likewise.
63736         (_G_uint16_t): Likewise.
63737         (_G_uint32_t): Likewise.
63738         (_G_HAVE_BOOL): Likewise.
63739         (_G_HAVE_ATEXIT): Likewise.
63740         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63741         (_G_HAVE_IO_FILE_OPEN): Likewise.
63742         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63743         (_G_int32_t): Likewise.
63744         (_G_uint16_t): Likewise.
63745         (_G_uint32_t): Likewise.
63746         (_G_HAVE_BOOL): Likewise.
63747         (_G_HAVE_ATEXIT): Likewise.
63748         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63749         (_G_HAVE_IO_FILE_OPEN): Likewise.
63750         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63751         (_G_int32_t): Likewise.
63752         (_G_uint16_t): Likewise.
63753         (_G_uint32_t): Likewise.
63754         (_G_HAVE_BOOL): Likewise.
63755         (_G_HAVE_ATEXIT): Likewise.
63756         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63757         (_G_HAVE_IO_FILE_OPEN): Likewise.
63759 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63761         * csu/libc-tls.c: Update copyright years.
63763 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63765         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63766         [!_G_USING_THUNKS]: Remove conditional code.
63767         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63768         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63770         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63771         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63772         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63773         (_G_VTABLE_LABEL_PREFIX): Likewise.
63774         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63775         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63776         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63777         (_G_VTABLE_LABEL_PREFIX): Likewise.
63778         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63779         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63780         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63781         (_G_VTABLE_LABEL_PREFIX): Likewise.
63782         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63784 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63786         * libio/Makefile: Include ../Makeconfig before tests.
63787         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63788         only if $(build-shared) is yes.
63790         * iconv/gconv_db.c: Update copyright years.
63792 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63794         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63795         unwind info if defined PIC. Fix special cases description.
63796         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63798         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63799         DP_HI_MASK entry.
63800         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63802 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63804         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63806         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63807         is NULL.
63809         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63810         (LDLIBS-tst-chk4): This.
63811         (LDFLAGS-tst-chk5): Renamed to ...
63812         (LDLIBS-tst-chk5): This.
63813         (LDFLAGS-tst-chk6): Renamed to ...
63814         (LDLIBS-tst-chk6): This.
63815         (LDFLAGS-tst-lfschk4): Renamed to ...
63816         (LDLIBS-tst-lfschk4): This.
63817         (LDFLAGS-tst-lfschk5): Renamed to ...
63818         (LDLIBS-tst-lfschk5): This.
63819         (LDFLAGS-tst-lfschk6): Renamed to ...
63820         (LDLIBS-tst-lfschk6): This.
63822         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63823         on $(common-objpfx)soversions.mk.
63825 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63827         [BZ #10014]
63828         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63829         example host name.
63831 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63833         * malloc/arena.c (arena_get_retry): New function that gets
63834         another arena for the caller to try its request on.
63835         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63836         current arena cannot fulfill the request.
63837         (__libc_memalign): Likewise.
63838         (__libc_memalign): Likewise.
63839         (__libc_pvalloc): Likewise.
63840         (__libc_calloc): Likewise.
63842 2012-09-05  John Tobey  <john.tobey@gmail.com>
63844         [BZ #13542]
63845         * manual/arith.texi (Operations on Complex): Fix description
63846         of carg branch cut.
63848 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63850         [BZ #10014]
63851         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63852         host name.
63854         [BZ #10038]
63855         * manual/memory.texi (Memory): Make order of menu items match
63856         order of sections.
63858 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63860         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63861         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63862         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63864 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63866         * csu/libc-tls.c (static_dtv): Renamed to ...
63867         (_dl_static_dtv): This.  Make it global.
63868         (_dl_initial_dtv): Removed.
63869         (__libc_setup_tls): Updated.
63870         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63871         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63872         DL_INITIAL_DTV.
63874 2012-09-06  Petr Machata  <pmachata@redhat.com>
63876         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63877         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63878         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63879         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63881 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63883         [BZ #14545]
63884         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63885         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63886         freeing dtv[-1].
63888 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63890         [BZ #14544]
63891         * Makeconfig (link-static-before-libc): Replace $(+prector)
63892         with $(+prectorT).
63893         (link-static-after-libc): Replace $(+postctor) with
63894         $(+postctorT).
63895         (link-bounded): Replace $(+prector)/$(+postctor) with
63896         $(+prectorT)/$(+postctorT).
63897         (+prectorT): New macro.
63898         (+postctorT): Likewise.
63900 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63902         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63903         (round_str): Handle values above the maximum for IBM long double
63904         as inexact.
63905         * stdlib/tst-strtod-round.c (tests): Regenerated.
63907 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63909         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63910         assembler flag.
63911         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63912         zarch_nohighgprs around the zarch optimized routines.
63913         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63914         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63915         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63916         for zarch.
63918 2012-09-05  David S. Miller  <davem@davemloft.net>
63920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63922         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63923         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63924         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63925         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63926         entries.
63928 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63930         * malloc/arena.c: Fold copyright years.
63931         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63933 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63935         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63937 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63939         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63941 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63943         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63944         change internal state upon failure.
63946 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63948         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63949         * malloc/memusage.c (mmap): Likewise.
63950         (mmap64, mremap): Likewise.  Adjust name in comment.
63952 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63954         * libio/fileops.c: Fix typos in comments.
63955         * libio/oldfileops.c: Likewise.
63956         * libio/wfileops.c: Likewise.
63958 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63960         [BZ #1349]
63961         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63962         (tst-malloc-usable-ENV): Set environment for test case.
63963         * malloc/hooks.c (malloc_check_get_size): New function to get
63964         requested size.
63965         * malloc/malloc.c (musable): Use malloc_check_get_size.
63966         * malloc/tst-malloc-usable.c: New test case.
63968 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63970         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63972 2012-09-05  Allan McRae  <allan@archlinux.org>
63974         [BZ #13966]
63975         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63976         determine header location.
63977         * configure: Regenerated.
63979 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63981         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63982         float format.
63983         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63984         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63985         format.
63986         (test): Regenerate.
63988 2012-09-04  David S. Miller  <davem@davemloft.net>
63990         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63991         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63992         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63994 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63996         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63997         failures.
63999         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64001 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64003         [BZ #9914]
64004         * libio/iogetdelim.c: Include <limits.h>.
64005         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64006         + len + 1 would overflow.
64008 2012-09-03  Andreas Jaeger  <aj@suse.de>
64010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64011         * sysdeps/i386/fpu/libm-test-ulps: Update.
64013 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64015         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64016         Add s_sinf-sse2, s_conf-sse2.
64018         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64019         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64020         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64021         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64023         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64024         for using routine as __sinf_ia32.
64025         Use macro for function declaration and weak_alias.
64026         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64027         for using routine as __cosf_ia32.
64028         Use macro for function declaration and weak_alias.
64030         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64031         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64033         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64034         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64037         * math/libm-test.inc (cos_test): Add more test cases.
64038         (sin_test): Likewise.
64039         (sincos_test): Likewise.
64041 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64044         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64045         hidden.
64046         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64048 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64050         [BZ #14538]
64051         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64052         first element of the GOT.
64053         (elf_machine_load_address): Return the difference between
64054         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64056 2012-09-01  Allan McRae  <allan@archlinux.org>
64058         [BZ #13412]
64059         * configure.in (AWK): Require gawk version 3.0 or later.
64060         * configure: Regenerated.
64062 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64064         * sysdeps/unix/sysv/linux/kernel-features.h
64065         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64066         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64067         [__NR_clock_getres]: Make code unconditional.
64068         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64069         (clock_getcpuclockid): Remove code left unreachable by removal of
64070         conditionals.
64071         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64072         code unconditional.
64073         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64074         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64075         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64076         Make code unconditional.
64077         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64078         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64079         * sysdeps/unix/sysv/linux/clock_settime.c
64080         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64081         conditional code.
64082         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64083         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64085 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64087         [BZ #14476]
64088         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64089         scripts/test-installation.pl.
64091         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64092         and $ld_so_version if it is set.
64094 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64096         [BZ #14516]
64097         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64098         failure if reading from procfs failed.
64099         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64101 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64103         * sysdeps/unix/sysv/linux/kernel-features.h
64104         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64105         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64106         Remove conditional code.
64107         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64108         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64109         Remove conditional code.
64110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64111         * sysdeps/unix/sysv/linux/i386/fxstat.c
64112         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64113         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64114         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64115         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64116         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64117         * sysdeps/unix/sysv/linux/i386/lxstat.c
64118         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64120         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64121         Remove conditional code.
64122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64123         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64124         Remove conditional code.
64125         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64126         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64127         <kernel-features.h>.
64128         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64129         Remove.
64130         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64131         Remove conditional code.
64132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64133         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64134         Remove conditional.
64136 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64138         [BZ #5400]
64139         * NEWS: Add fixed bug number.
64141 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64143         [BZ #14519]
64144         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64145         underflowing exponent in case of negative sign.
64146         * stdlib/tst-strtod-round-data: Add more tests.
64147         * stdlib/tst-strtod-round.c (tests): Regenerated.
64149         [BZ #3479]
64150         * stdlib/strtod_l.c (NDIG): Remove.
64151         (HEXNDIG): Likewise.
64152         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64153         smallest representable value.
64154         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64155         lie within an exact representation of 1/2 ulp of the result.
64156         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64157         unconditionally.
64158         (TENS_P9_IDX): Define unconditionally.
64159         (TENS_P9_SIZE): Likewise.
64160         (TENS_P10_IDX): Likewise.
64161         (TENS_P10_SIZE): Likewise.
64162         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64163         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64164         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64165         entries for 10^2^13 and 10^2^14.
64166         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64167         (TENS_P13_IDX): Define.
64168         (TENS_P13_SIZE): Likewise.
64169         (TENS_P14_IDX): Likewise.
64170         (TENS_P14_SIZE): Likewise.
64171         (_fpioconst_pow10): Change array size to
64172         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64173         unconditional.
64174         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64175         1024]: Add entries for 10^2^13 and 10^2^14.
64176         [LAST_POW10 > _LAST_POW10]: Remove #error.
64177         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64178         (_fpioconst_pow10): Change array size to
64179         FPIOCONST_POW10_ARRAY_SIZE.
64180         * stdlib/gen-fpioconst.c: New file.
64181         * stdlib/gen-tst-strtod-round.c: Likewise.
64182         * stdlib/tst-strtod-round-data: Likewise.
64183         * stdlib/tst-strtod-round.c: Likewise.
64184         * stdlib/Makefile (tests): Add tst-strtod-round.
64186         [BZ #14459]
64187         * stdlib/strtod_l.c: Include <stdint.h>.
64188         (NDEBUG): Do not define.
64189         (round_and_return): Change EXPONENT parameter to type intmax_t.
64190         Rearrange calculations to avoid internal overflow possibilities.
64191         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64192         Rearrange calculations to avoid internal overflow possibilities.
64193         Assert that number fits inside MPNSIZE limbs.
64194         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64195         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64196         calculations and add assertions to avoid internal overflow
64197         possibilities.  Add casts to avoid signed/unsigned operations.
64198         * stdlib/tst-strtod-overflow.c: New file.
64199         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64201 2012-08-25  Marek Polacek  <polacek@redhat.com>
64203         * time/time.h: Fix some typos in comments.
64205 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64207         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64208         * posix/tst-rfc3484-2.c: Likewise.
64209         * posix/tst-rfc3484-3.c: Likewise.
64211 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64213         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64214         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64216 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64218         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64219         #include of fxstatat64.c.
64221 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64223         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64224         * shadow/getspent_r.c: Likewise.
64225         * shadow/getspnam.c: Likewise.
64226         * shadow/getspnam_r.c: Likewise.
64227         * gshadow/getsgent.c: Likewise.
64228         * gshadow/getsgent_r.c: Likewise.
64229         * gshadow/getsgnam.c: Likewise.
64230         * gshadow/getsgnam_r.c: Likewise.
64231         * inet/getnetbyad.c: Likewise.
64232         * inet/getnetbyad_r.c: Likewise.
64233         * inet/getnetbynm.c: Likewise.
64234         * inet/getnetbynm_r.c: Likewise.
64235         * inet/getnetent.c: Likewise.
64236         * inet/getnetent_r.c: Likewise.
64237         * inet/getproto.c: Likewise.
64238         * inet/getproto_r.c: Likewise.
64239         * inet/getprtent.c: Likewise.
64240         * inet/getprtent_r.c: Likewise.
64241         * inet/getprtname.c: Likewise.
64242         * inet/getprtname_r.c: Likewise.
64243         * inet/getrpcbyname.c: Likewise.
64244         * inet/getrpcbyname_r.c: Likewise.
64245         * inet/getrpcbynumber.c: Likewise.
64246         * inet/getrpcbynumber_r.c: Likewise.
64247         * inet/getrpcent.c: Likewise.
64248         * inet/getrpcent_r.c: Likewise.
64249         * inet/getaliasent.c: Likewise.
64250         * inet/getaliasent_r.c: Likewise.
64251         * inet/getaliasname.c: Likewise.
64252         * inet/getaliasname_r.c: Likewise.
64253         * nscd/getgrgid_r.c: Likewise.
64254         * nscd/getgrnam_r.c: Likewise.
64255         * nscd/gethstbyad_r.c: Likewise.
64256         * nscd/gethstbynm3_r.c: Likewise.
64257         * nscd/getpwnam_r.c: Likewise.
64258         * nscd/getpwuid_r.c: Likewise.
64259         * nscd/getsrvbynm_r.c: Likewise.
64260         * nscd/getsrvbypt_r.c: Likewise.
64261         * nscd/gai.c: Likewise.
64263         * configure.in (build_nscd): New substituted variable, set
64264         by --disable-build-nscd and defaults to $use_nscd.
64265         * configure: Regenerated.
64266         * config.make.in (build-nscd): New substituted variable.
64267         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64268         Change conditional to require [$(build-nscd) = yes] as well.
64269         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64271         [BZ# 13696]
64272         * configure.in (use_nscd): New substituted variable, set by
64273         --disable-nscd.  If enabled, define USE_NSCD.
64274         * configure: Regenerated.
64275         * config.h.in: Add USE_NSCD.
64276         * config.make.in (use-nscd): New substituted variable.
64277         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64278         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64279         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64280         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64281         (CFLAGS-getgrnam_r.c): Likewise.
64282         (CFLAGS-initgroups.c): Likewise.
64283         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64284         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64285         Variables removed.
64286         * inet/getnetgrent_r.c
64287         (nscd_setnetgrent): New function, broken out of ...
64288         (setnetgrent): ... here.  Call it.
64289         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64290         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64291         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64292         * nscd/Makefile (routines, aux): Move definitions after include of
64293         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64294         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64295         Conditionalize on [USE_NSCD].
64296         (is_nscd, nscd_init_cb): Likewise.
64297         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64298         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64299         * nss/nss_db/db-init.c: Likewise.
64300         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64301         [USE_NSCD].
64302         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64303         (make_request): Use it.
64304         (cache_valid_p): New function.
64305         (__check_pf): Use it.
64306         * NEWS: Add item for --disable-nscd.
64308 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64310         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64311         to support sed >= 4.2.1-20-ga9bf076.
64312         * configure: Regenerated.
64314 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64316         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64317         Conditionalize whole body on [IREL].
64319 2012-08-22  Jeff Law <law@redhat.com>
64321         [BZ #14505]
64322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64323         if the family is PF_UNSPEC.
64325 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64327         * Makerules (lib-version): Rename from V.
64328         (install-lib-nosubdir): Change V to lib-version.
64330 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64332         [BZ #14252]
64333         * powerpc32/power6/wcschr.c: New file.
64334         * powerpc32/power6/wcscpy.c: New file.
64335         * powerpc32/power6/wcsrchr.c: New file.
64336         * powerpc64/power6/wcschr.c: New file.
64337         * powerpc64/power6/wcscpy.c: New file.
64338         * powerpc64/power6/wcsrchr.c: New file.
64340 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64342         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64343         (two_way_short_needle): Use it.
64344         * string/strstr.c (AVAILABLE1_USES_J): Define.
64345         * string/strcasestr.c: Likewise.
64347         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64348         array references.
64349         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64351         [BZ #11607]
64352         * NEWS: Add an entry.
64353         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64354         define their defaults.
64355         (two_way_short_needle): Detect end-of-string on-the-fly.
64356         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64357         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64358         * string/bug-strcasestr1.c: New test.
64359         * string/Makefile: Run it.
64361 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64363         [BZ #11607]
64364         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64365         the first character.
64367 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64369         * csu/elf-init.c (__libc_csu_irel): Function removed.
64370         * csu/libc-start.c (apply_irel): New function.
64371         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64373 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64375         * sysdeps/unix/sysv/linux/kernel-features.h
64376         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64377         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64378         <kernel-features.h>.
64379         [__NR_fadvise64_64]: Make code unconditional.
64380         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64381         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64382         !__NR_fadvise64_64)]: Likewise.
64383         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64384         !__NR_fadvise64_64))]: Likewise.
64385         [__NR_fadvise64]: Make code unconditional.
64386         [!__NR_fadvise64]: Remove conditional code.
64387         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64388         <kernel-features.h>.
64389         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64390         unconditional.
64391         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64392         conditional code.
64393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64394         not include <kernel-features.h>.
64395         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64396         unconditional.
64397         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64398         conditional code.
64399         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64400         include <kernel-features.h>.
64401         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64402         unconditional.
64403         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64404         conditional code.
64406 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64408         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64409         slight instruction rearrangements per scrollpipe analysis.
64410         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64412 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64414         * manual/syslog.texi (syslog; vsyslog, closelog):
64415         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64416         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64418         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64419         DSOCAPS to match condition on defining it.
64421 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64423         * sysdeps/unix/sysv/linux/kernel-features.h
64424         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64426         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64427         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64429         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64430         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64432         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64433         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64435         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64436         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64438         * sysdeps/unix/sysv/linux/kernel-features.h
64439         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64440         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64441         unconditional.
64442         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64443         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64444         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64445         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64446         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64447         Make code unconditional.
64448         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64449         (__mmap64) [!__NR_mmap2]: Likewise.
64450         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64451         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64452         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64453         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64454         [__NR_mmap2]: Make code unconditional.
64455         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64456         (__mmap64) [!__NR_mmap2]: Likewise.
64458 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64460         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64462 2012-08-18  Andreas Jaeger  <aj@suse.de>
64464         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64466 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64468         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64469         * include/unistd.h (__have_sock_cloexec): Likewise.
64470         (__have_pipe2): Likewise.
64471         (__have_dup3): Likewise.
64473 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64475         [BZ #9685]
64476         * include/unistd.h (__have_pipe2): Change define into an extern int.
64477         (__have_dup3): Likewise.
64478         * socket/have_sock_cloexec.c: Include fcntl.h.
64479         (__have_pipe2): New variable.
64480         (__have_dup3): Likewise.
64482 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64484         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64486 2012-08-17  Marek Polacek  <polacek@redhat.com>
64488         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64489         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64491 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64493         * configure.in: Add AC_SUBST for sysheaders.
64494         * configure: Regenerated.
64495         * config.make.in (sysheaders): New substituted variable.
64497         * sysdeps/unix/mkfifo.c: Moved ...
64498         * sysdeps/posix/mkfifo.c: ... here.
64499         * sysdeps/unix/mkfifoat.c: Moved ...
64500         * sysdeps/posix/mkfifoat.c: ... here.
64502         * sysdeps/unix/utime.c: Moved ...
64503         * sysdeps/posix/utime.c: ... here.
64505         * sysdeps/unix/time.c: Moved ...
64506         * sysdeps/posix/time.c: ... here.
64507         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64508         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64510         * sysdeps/unix/nice.c: Moved ...
64511         * sysdeps/posix/nice.c: ... here.
64513         * sysdeps/unix/alarm.c: Moved ...
64514         * sysdeps/posix/alarm.c: ... here.
64516         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64518 2012-08-17  Jeff Law <law@redhat.com>
64520         * intl/Makefile (codeset_mo): New variable.
64521         ($(codeset_mo)): New target.
64522         (tst-codeset.out): Depend on that.  Remove explicit rule.
64523         (tst-gettext3.out, tst-gettext5.out): Likewise.
64524         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64525         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64526         * intl/tst-codeset.sh: Remove.
64527         * intl/tst-gettext3.sh: Likewise.
64528         * intl/tst-gettext5.sh: Likewise.
64530 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64532         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64533         * sysdeps/unix/syscalls.list: ... here.
64535         * sysdeps/posix/getaddrinfo.c
64536         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64537         (gaiconf_init, gaiconf_reload): Use them.
64538         [!_STATBUF_ST_NSEC]
64539         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64540         Define using time_t rather than struct timespec.
64542         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64543         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64544         Macros removed.
64545         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64546         [!NO_THREADS].
64547         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64548         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64549         Likewise.
64551         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64552         __libc_cleanup_push argument.
64554         * bits/param.h: New file.
64555         * misc/sys/param.h: New file.
64556         * include/sys/param.h: New file.
64557         * misc/Makefile (headers): Add bits/param.h.
64558         * sysdeps/generic/sys/param.h: File removed.
64559         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64560         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64561         * sysdeps/mach/hurd/bits/param.h: New file.
64562         * sysdeps/mach/hurd/sys/param.h: File removed.
64564         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64565         last change.
64567         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64568         [_IO_MTSAFE_IO].
64569         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64570         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64571         New macros.
64573         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64574         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64575         rather than -D_IO_MTSAFE_IO conditionally.
64576         * stdio-common/Makefile (CPPFLAGS): Likewise.
64577         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64578         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64579         Use $(libio-mtsafe).
64580         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64581         of -D_IO_MTSAFE_IO.
64582         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64583         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64584         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64585         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64586         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64587         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64588         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64589         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64590         (CFLAGS-fread_u_chk.c): Likewise.
64591         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64592         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64593         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64594         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64595         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64596         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64597         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64598         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64599         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64601         * libio/Makefile: Test [$(libc-reentrant) = yes]
64602         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64604         * Makeconfig
64605         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64606         * sysdeps/pthread/configure: File removed.
64607         * sysdeps/pthread/Makeconfig: New file.
64608         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64609         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64611 2012-08-16  Gary Benson  <gbenson@redhat.com>
64613         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64614         unmapping the first object in a namespace.
64616 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64618         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64619         (__internal_setnetgrent): ... this.  Add internal_function to
64620         definition.  Add libc_hidden_def.
64621         (setnetgrent): Update caller.
64622         (internal_endnetgrent): Renamed to ...
64623         (__internal_endnetgrent): ... this.  Add internal_function to
64624         definition.  Add libc_hidden_def.
64625         (endnetgrent): Update caller.
64626         (internal_getnetgrent_r): Renamed to ...
64627         (__internal_getnetgrent_r): ... this.  Add internal_function to
64628         definition.  Add libc_hidden_def.
64629         (__getnetgrent_r): Update caller.
64630         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64632 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64634         * stdlib/longlong.h: Update from GCC.
64636 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64638         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64639         on _QL, which is set by umul_ppmm but never used.
64640         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64641         variables, which are set by GMP macros but never used.
64642         * stdio-common/_itowa.c (_itowa): Likewise.
64643         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64644         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64646 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64648         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64649         struct La_sh_regs is not constant.
64650         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64651         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64652         and struct La_sparc64_regs are not constant.
64654 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64656         * sysdeps/unix/sysv/linux/kernel-features.h
64657         (__ASSUME_POSIX_TIMERS): Remove.
64658         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64659         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64660         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64661         Make code unconditional.
64662         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64663         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64664         Make code unconditional.
64665         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64666         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64667         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64668         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64669         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64670         Make code unconditional.
64671         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64672         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64673         (__libc_missing_posix_timers): Remove.
64675 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64677         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64678         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64680         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64682         * elf/dl-sym.c: Include <stdlib.h>.
64684         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64685         constants, which avoids warnings in 32-bit builds.
64687         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64688         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64690         * misc/lseek.c: File moved to ...
64691         * io/lseek.c: ... here.
64693         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64695         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64696         shifting LEN more than 31 bits at once.
64698 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64700         [BZ #14195]
64701         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64702         segmentation fault for a case of two empty input strings.
64703         * string/test-strncasecmp.c (check1): Renamed to...
64704         (bz12205): ...this.
64705         (bz14195): Add new testcase for two empty input strings and N > 0.
64706         (test_main): Call new testcase, adapt for renamed function.
64708 2012-08-15  Andreas Jaeger  <aj@suse.de>
64710         [BZ #14090]
64711         * crypt/md5test2.c: New test, based on test supplied by Serge
64712         Belyshev <belyshev@depni.sinp.msu.ru>.
64713         * crypt/Makefile (xtests): Add md5test-giant..
64714         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64716 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64718         [BZ #14090]
64719         * crypt/md5.c (md5_process_block): Don't assume the buffer
64720         length is less than 2**32.
64721         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64722         length is less than 2**64.
64724 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64726         * string/str-two-way.h: Include <sys/param.h>.
64727         (MAX): Macro removed.
64729         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64730         Move #define and #undef of memmove to just before and after
64731         including <string.h>.
64733         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64734         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64735         and after including <string.h>.  Move declarations of
64736         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64737         to before #include "string/memmove.c".
64739         * include/dirent.h: Declare __getdirentries.
64741         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64742         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64744 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64746         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64747         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64748         * sysdeps/i386/configure: Regenerated.
64749         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64750         STABS_CURRENT_FILE, and STABS_FUN.
64751         (END): Remove call to STABS_FUN_END.
64752         (STABS_CURRENT_FILE1): Delete.
64753         (STABS_CURRENT_FILE): Likewise.
64754         (STABS_FUN): Likewise.
64755         (STABS_FUN_END): Likewise.
64756         (STABS_FUN2): Likewise.
64757         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64758         * sysdeps/x86_64/configure: Regenerated.
64760 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64762         * elf/dl-open.c: Include <atomic.h>.
64763         * elf/dl-lookup.c: Likewise.
64765 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64767         * sysdeps/unix/sysv/linux/kernel-features.h
64768         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64769         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64770         unconditionally.
64771         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64772         unconditionally.
64773         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64774         condition on __ASSUME_CLONE_THREAD_FLAGS.
64776 2012-08-14  Andreas Jaeger  <aj@suse.de>
64778         * sysdeps/i386/fpu/libm-test-ulps: Update.
64780 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64782         * include/atomic.h (atomic_exchange_and_add): Split into ...
64783         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64784         New atomic macros.
64786 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64790 2012-08-13  Jeff Law <law@redhat.com>
64792         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64793         null byte in the output string.
64795 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64797         * sysdeps/unix/sysv/linux/kernel-features.h
64798         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64799         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64800         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64801         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64802         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64803         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64804         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64806 2012-08-09  Jeff Law <law@redhat.com>
64808         [BZ #13939]
64809         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64810         When avoid_arena is set, don't retry in the that arena.  Pick the
64811         next one, whatever it might be.
64812         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64813         (arena_lock): Pass in new parameter to arena_get2.
64814         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64815         arena_get2.
64816         (__libc_malloc): Unify retrying after main arena failure with
64817         __libc_memalign version.
64818         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64820 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64822         [BZ #14166]
64823         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64824         to __redirect_strstr.
64825         (__strstr_sse42): Use typeof __redirect_strstr.
64826         (__strstr_ia32): Likewise.
64827         (__libc_strstr): New prototype.
64828         (strstr): Renamed to ...
64829         (__libc_strstr): This.
64830         (strstr): New strong alias of __libc_strstr.
64831         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64832         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64833         __redirect_time.
64834         Include <time.h>.
64835         (__libc_time): New prototype.
64836         (time_ifunc): Replace time with __libc_time.
64837         (time): New strong alias and hidden definition of __libc_time.
64838         (__GI_time): Remove strong alias.
64839         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64840         Include <stddef.h>.
64841         (memmove): Redefined to __redirect_memmove.
64842         (__memmove_sse2): Use typeof __redirect_memmove.
64843         (__memmove_ssse3): Likewise.
64844         (__memmove_ssse3_back): Likewise.
64845         (__libc_memmove): New prototype.
64846         (memmove): Renamed to ...
64847         (__libc_memmove): This.
64848         (memmove): New strong alias of __libc_memmove.
64850 2012-08-08  Mark Salter  <msalter@redhat.com>
64852         * elf/elf.h
64853         (R_MN10300_TLS_GD): Define.
64854         (R_MN10300_TLS_LD): Likewise.
64855         (R_MN10300_TLS_LDO): Likewise.
64856         (R_MN10300_TLS_GOTIE): Likewise.
64857         (R_MN10300_TLS_IE): Likewise.
64858         (R_MN10300_TLS_LE): Likewise.
64859         (R_MN10300_TLS_DTPMOD): Likewise.
64860         (R_MN10300_TLS_DTPOFF): Likewise.
64861         (R_MN10300_TLS_TPOFF): Likewise.
64862         (R_MN10300_SYM_DIFF): Likewise.
64863         (R_MN10300_ALIGN): Likewise.
64864         (R_MN10300_NUM): Update.
64866 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64869         Remove.
64871 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64873         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64875         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64876         sysdeps/unix -> sysdeps/posix move.
64877         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64879 2012-08-07      Allan McRae     <allan@archlinux.org>
64881         [BZ #14303]
64882         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64883         (SUNOS_CPP): Likewise.
64884         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64885         not found.
64886         (open_input): Call CPP using execvp.
64888 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64890         * sysdeps/unix/sysv/linux/kernel-features.h
64891         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64892         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64893         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64894         (__ASSUME_WAITID_SYSCALL): Likewise.
64895         * sysdeps/unix/sysv/linux/dl-execstack.c
64896         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64897         code unconditional.
64898         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64899         conditional code.
64900         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64901         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64902         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64903         code.
64904         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64905         unconditional.
64906         [__ASSUME_WAITID_SYSCALL]: Likewise.
64907         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64909 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64911         * sysdeps/unix/closedir.c: Renamed to ...
64912         * sysdeps/posix/closedir.c: ... here.
64913         * sysdeps/unix/dirfd.c: Renamed to ...
64914         * sysdeps/posix/dirfd.c: ... here.
64915         * sysdeps/unix/dirstream.h: Renamed to ...
64916         * sysdeps/posix/dirstream.h: ... here.
64917         * sysdeps/unix/fdopendir.c: Renamed to ...
64918         * sysdeps/posix/fdopendir.c: ... here.
64919         * sysdeps/unix/opendir.c: Renamed to ...
64920         * sysdeps/posix/opendir.c: ... here.
64921         * sysdeps/unix/readdir.c: Renamed to ...
64922         * sysdeps/posix/readdir.c: ... here.
64923         * sysdeps/unix/readdir_r.c: Renamed to ...
64924         * sysdeps/posix/readdir_r.c: ... here.
64925         * sysdeps/unix/rewinddir.c: Renamed to ...
64926         * sysdeps/posix/rewinddir.c: ... here.
64927         * sysdeps/unix/seekdir.c: Renamed to ...
64928         * sysdeps/posix/seekdir.c: ... here.
64929         * sysdeps/unix/telldir.c: Renamed to ...
64930         * sysdeps/posix/telldir.c: ... here.
64931         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64932         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64933         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64934         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64936         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64937         * bits/fcntl.h: ... here.
64939         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64940         not 0.
64941         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64942         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64943         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64944         (struct flock): Move l_start, l_len to the beginning.
64945         Use __pid_t for l_pid.
64946         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64947         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64948         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64949         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64950         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64951         [__USE_LARGEFILE64] (struct flock64): New type.
64952         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64954         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64955         * bits/dirent.h: ... here.
64957         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64958         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64960 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64962         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64963         Change from 2.6.0 to 2.6.16.
64964         * sysdeps/unix/sysv/linux/configure: Regenerated.
64965         * sysdeps/unix/sysv/linux/kernel-features.h
64966         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64967         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64968         version.
64969         (__ASSUME_UTIMES): Likewise.
64970         (__ASSUME_CLONE_STOPPED): Remove.
64971         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64972         architectures, not kernel version.
64973         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64974         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64975         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64976         (__ASSUME_WAITID_SYSCALL): Likewise.
64977         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64978         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64979         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64980         refer to older versions.
64982 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64984         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64985         Define alphasort64 as an alias.
64986         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64987         Define versionsort64 as an alias.
64988         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64989         Define scandir64 as an alias.
64990         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64991         Define scandirat64 as an alias.
64992         * dirent/alphasort64.c (alphasort64):
64993         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64994         * dirent/versionsort64.c: Likewise.
64995         * dirent/scandir64.c: Likewise.
64996         * dirent/scandirat64.c: Likewise.
64997         * sysdeps/wordsize-64/alphasort.c: File removed.
64998         * sysdeps/wordsize-64/alphasort64.c: File removed.
64999         * sysdeps/wordsize-64/scandir.c: File removed.
65000         * sysdeps/wordsize-64/scandir64.c: File removed.
65001         * sysdeps/wordsize-64/scandirat.c: File removed.
65002         * sysdeps/wordsize-64/scandirat64.c: File removed.
65003         * sysdeps/wordsize-64/versionsort.c: File removed.
65004         * sysdeps/wordsize-64/versionsort64.c: File removed.
65005         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65006         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65007         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65008         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65009         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65010         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65011         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65012         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65014         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65015         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65016         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65017         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65018         [defined __arch64__ || defined __sparcv9]
65019         (__INO_T_MATCHES_INO64_T): New macro.
65020         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65021         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65022         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65023         * sysdeps/unix/sysv/linux/bits/dirent.h
65024         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65025         (_DIRENT_MATCHES_DIRENT64): New macro.
65027         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65028         Define lockf64 as an alias.
65029         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65030         Define fseeko64 as an alias.
65031         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65032         Define ftello64 as an alias.
65033         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65034         Define _IO_fgetpos64 and fgetpos64 as aliases.
65035         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65036         Define _IO_fsetpos64 and fsetpos64 as aliases.
65037         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65038         Conditionalize body on this.
65039         * libio/fseeko64.c: Likewise.
65040         * libio/ftello64.c: Likewise.
65041         * libio/iofgetpos64.c: Likewise.
65042         * libio/iofsetpos64.c: Likewise.
65043         * sysdeps/wordsize-64/lockf.c: File removed.
65044         * sysdeps/wordsize-64/lockf64.c: File removed.
65045         * sysdeps/wordsize-64/fseeko.c: File removed.
65046         * sysdeps/wordsize-64/fseeko64.c: File removed.
65047         * sysdeps/wordsize-64/ftello.c: File removed.
65048         * sysdeps/wordsize-64/ftello64.c: File removed.
65049         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65050         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65051         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65052         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65053         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65055         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65057         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65059         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65060         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65061         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65064         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65065         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65066         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65067         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65068         [defined __arch64__ || defined __sparcv9]
65069         (__OFF_T_MATCHES_OFF64_T): New macro.
65070         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65071         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65073         (__OFF_T_MATCHES_OFF64_T): New macro.
65075 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65077         * stdlib/secure-getenv.c (__secure_getenv): Replace
65078         GLIBC_2_16 with GLIBC_2_17.
65080 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65082         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65083         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65085 2012-08-03  David S. Miller  <davem@davemloft.net>
65087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65089 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65091         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65092         Remove.
65093         (__ASSUME_CORRECT_SI_PID): Likewise.
65094         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65095         (__ASSUME_TMPFS_NAME): Likewise.
65096         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65097         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65098         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65099         (HAVE_AUX_SECURE): Make definition unconditional.
65100         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65101         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65103 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65105         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65106         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65107         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65108         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65109         __eloop_threshold instead of SYMLOOP_MAX.
65111         * sysdeps/generic/eloop-threshold.h: New file.
65112         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65113         of MAXSYMLINKS.
65114         * elf/chroot_canon.c (chroot_canon): Likewise.
65116 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65118         [BZ #13717]
65119         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65120         Change to 2.6.0 everywhere.
65121         * sysdeps/unix/sysv/linux/configure: Regenerated.
65122         * sysdeps/unix/sysv/linux/kernel-features.h
65123         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65124         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65125         kernel versions.
65126         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65127         (__ASSUME_FUTEX_REQUEUE): Remove.
65128         (__ASSUME_STATFS64): Define unconditionally.
65129         (__ASSUME_AT_SECURE): Likewise.
65130         (__ASSUME_CORRECT_SI_PID): Likewise.
65131         (__ASSUME_TGKILL): Define without depending on kernel version for
65132         i386.
65133         (__ASSUME_UTIMES): Likewise.
65134         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65135         kernel version.
65136         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65137         (__ASSUME_TMPFS_NAME): Likewise.
65138         * README: Update reference to Linux kernel versions.
65140 2012-08-02  Marek Polacek  <polacek@redhat.com>
65142         [BZ# 14150]
65143         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65144         libc_cv_asm_type_prefix with %.
65145         * configure: Regenerated.
65146         * include/libc-symbols.h: Remove comment about
65147         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65148         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65149         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65150         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65151         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65152         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65153         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65154         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65155         * elf/tst-unique2mod1.c: Likewise.
65156         * elf/tst-unique1mod2.c: Likewise.
65157         * elf/tst-unique1mod1.c: Likewise.
65158         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65159         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65160         Replace ASM_TYPE_DIRECTIVE with .type.
65161         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65162         * sysdeps/i386/sysdep.h: Likewise.
65163         * sysdeps/x86_64/sysdep.h: Likewise.
65164         * sysdeps/sh/sysdep.h: Likewise.
65165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65166         Do not define ASM_TYPE_DIRECTIVE.
65167         * sysdeps/powerpc/sysdep.h: Likewise.
65168         * sysdeps/powerpc/powerpc32/sysdep.h:
65169         Replace ASM_TYPE_DIRECTIVE with .type.
65170         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65171         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65172         * sysdeps/i386/fpu/e_powf.S: Likewise.
65173         * sysdeps/i386/fpu/e_expl.S: Likewise.
65174         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65175         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65176         * sysdeps/i386/fpu/e_pow.S: Likewise.
65177         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65178         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65179         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65180         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65181         * sysdeps/i386/fpu/e_log2.S: Likewise.
65182         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65183         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65184         * sysdeps/i386/fpu/e_powl.S: Likewise.
65185         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65186         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65187         * sysdeps/i386/fpu/e_logl.S: Likewise.
65188         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65189         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65190         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65191         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65192         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65193         * sysdeps/i386/fpu/e_log.S: Likewise.
65194         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65195         * sysdeps/i386/fpu/e_logf.S: Likewise.
65196         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65197         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65198         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65199         * sysdeps/i386/fpu/e_log10.S: Likewise.
65200         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65201         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65202         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65203         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65204         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65205         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65206         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65207         * sysdeps/i386/i686/strtok.S: Likewise.
65208         * sysdeps/i386/i386-mcount.S: Likewise.
65209         * sysdeps/i386/strtok.S: Likewise.
65210         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65211         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65212         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65213         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65214         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65215         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65216         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65217         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65218         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65219         * sysdeps/x86_64/_mcount.S: Likewise.
65220         * sysdeps/x86_64/strtok.S: Likewise.
65221         * sysdeps/sh/_mcount.S: Likewise.
65223 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65225         * libio/iofopen.c: Include <fcntl.h>.
65226         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65227         (_IO_fopen64, fopen64): Define as aliases.
65228         * libio/iofopen64.c: Include <fcntl.h>.
65229         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65230         Conditionalize body on this.
65231         * sysdeps/wordsize-64/iofopen.c: File removed.
65232         * sysdeps/wordsize-64/iofopen64.c: File removed.
65234 2012-08-01  Marek Polacek  <polacek@redhat.com>
65236         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65237         Use dlfcn directly instead of a variable.
65238         (binfmt-subdir): Do not define.
65239         (dlfcn): Likewise.
65241 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65243         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65244         Remove all definitions.
65245         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65246         <kernel-features.h>.
65247         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65248         (miss_F_GETOWN_EX): Remove all definitions.
65249         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65250         macro definition.
65251         [!__ASSUME_FCNTL64]: Remove conditional code.
65252         [__ASSUME_FCNTL64]: Make code unconditional.
65253         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65254         <kernel-features.h>.
65255         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65256         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65257         (lockf64) [__NR_fcntl64]: Make code unconditional.
65258         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65260         * sysdeps/unix/sysv/linux/kernel-features.h
65261         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65262         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65263         Make code unconditional.
65264         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65265         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65267         [__NR_vfork]: Make code unconditional.
65268         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65269         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65271         [__NR_vfork]: Make code unconditional.
65272         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65273         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65275 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65277         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65278         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65280         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65281         Define mkstemp64 as an alias.
65282         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65283         Define mkstemps64 as an alias.
65284         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65285         Define mkostemp64 as an alias.
65286         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65287         Define mkostemps64 as an alias.
65288         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65289         Conditionalize body on this.
65290         * misc/mkostemp64.c: Likewise.
65291         * misc/mkostemps64.c: Likewise.
65292         * misc/mkstemps64.c: Likewise.
65293         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65294         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65295         * sysdeps/wordsize-64/mkostemp.c: File removed.
65296         * sysdeps/wordsize-64/mkstemp.c: File removed.
65297         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65298         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65300         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65302         [BZ #14138]
65303         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65304         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65305         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65306         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65308         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65309         compat_symbol macros from <shlib-compat.h> rather than the underlying
65310         default_symbol_version and symbol_version macros, so that DEFAULT
65311         lines in shlib-versions are respected.
65312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65314 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65316         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65317         Declare with warn_unused_result.
65318         (setgid, setregid, setegid, setresgid): Likewise.
65319         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65320         Likewise.
65321         * WUR-REPORT: Remove set*id functions.
65323 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65325         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65327 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65329         [BZ #10191]
65330         * include/sys/socket.h (__libc_accept, __libc_accept4):
65331         Add attribute_hidden.
65332         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65334         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65335         use of PTR_MANGLE.
65336         * inet/getnetgrent_r.c (setup): Likewise.
65338         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65340 2012-07-31  David S. Miller  <davem@davemloft.net>
65342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65344 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65346         [BZ #13629]
65347         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65348         value between 1.0 and 2.0 and smaller part has absolute value less
65349         than 1.0.
65350         * math/s_clog10.c (__clog10): Likewise.
65351         * math/s_clog10f.c (__clog10f): Likewise.
65352         * math/s_clog10l.c (__clog10l): Likewise.
65353         * math/s_clogf.c (__clogf): Likewise.
65354         * math/s_clogl.c (__clogl): Likewise.
65355         * math/libm-test.inc (clog_test): Add more tests.
65356         (clog10_test): Likewise.
65357         * sysdeps/i386/fpu/libm-test-ulps: Update.
65358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65360 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65362         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65363         Exit with zero in case no suitable GID is found, and write a
65364         message to standard error.
65366 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65368         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65369         rather than to 1.
65370         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65371         (MAXPATHLEN): Removed.
65372         (NOGROUP, NODEV): New macros.
65373         (setbit, clrbit, isset, isclr): New macros.
65374         (howmany, roundup, powerof2): New macros.
65375         (DEV_BSIZE): New macro.
65377         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65378         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65380         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65381         definition on [!__NO_LONG_DOUBLE_MATH].
65383         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65384         PTR_MANGLE and PTR_DEMANGLE.
65386         * socket/accept4.c (accept4): Rename to __libc_accept4.
65387         Define accept4 as a weak alias.
65389         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65390         on [_DIRENT_HAVE_D_TYPE].
65391         * io/ftw.c (ftw_dir): Likewise.
65393         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65395         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65397         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65398         Use the BSD numbers rather than the arbitrary ones we had.
65399         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65400         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65401         (SIGXCPU, SIGXFSZ): New macros.
65402         (_NSIG): Now 32.
65404         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65405         initializer on [_LIBC_REENTRANT].
65407         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65408         definitions inside [_POSIX_MAPPED_FILES].
65410         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65412         * dirent/opendir.c: Include <fcntl.h>.
65414         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65415         (__libc_getspecific): Likewise.
65416         (__libc_key_create): Likewise.
65418         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65419         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65420         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65421         (tmpfile64): Define as alias.
65422         * sysdeps/wordsize-64/tmpfile.c: File removed.
65423         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65424         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65425         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65427         * stdio-common/vfscanf.c: Include <stdbool.h>.
65428         * nss/makedb.c: Likewise.
65429         * stdio-common/_i18n_number.h: Likewise.
65430         * argp/argp-help.c: Likewise.
65431         * posix/wordexp.c: Likewise.
65432         * sysdeps/posix/spawni.c: Likewise.
65433         * nss/nss_files/files-initgroups.c: Likewise.
65434         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65435         * nss/nss_files/files-initgroups.c: Likewise.
65436         * nss/nss_db/db-netgrp.c: Likewise.
65437         * nss/nss_db/db-initgroups.c: Likewise.
65438         * io/fchmodat.c: Include <sys/stat.h>.
65440         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65441         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65443         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65444         [HAVE_MMAP].
65446         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65447         Add multiple inclusion protection.
65449 2012-07-27  David S. Miller  <davem@davemloft.net>
65451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65453 2012-07-27  Gary Benson  <gbenson@redhat.com>
65455         [BZ #14298]
65456         * elf/rtld.c: Include <stap-probe.h>.
65457         (dl_main): Added static probes "init_start" and "init_complete".
65458         * elf/dl-load.c: Include <stap-probe.h>.
65459         (lose): Take new parameter "nsid".
65460         Added static probe "map_failed".
65461         (_dl_map_object_from_fd): Pass namespace id to lose.
65462         Added static probe "map_start".
65463         (open_verify): Pass namespace id to lose.
65464         * elf/dl-open.c: Include <stap-probe.h>.
65465         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65466         and "reloc_complete".
65467         * elf/dl-close.c: Include <stap-probe.h>.
65468         (_dl_close_worker): Added static probes "unmap_start" and
65469         "unmap_complete".
65470         * elf/rtld-debugger-interface.txt: New file documenting the above.
65472 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65474         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65475         rather than a string variable.
65476         * sunrpc/rpc_main.c (h_output): Likewise.
65477         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65479 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65481         * inet/check_native.c: New file.
65483 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65485         [BZ #13629]
65486         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65487         if larger part has absolute value 1.0.
65488         * math/s_clog10.c (__clog10): Likewise.
65489         * math/s_clog10f.c (__clog10f): Likewise.
65490         * math/s_clog10l.c (__clog10l): Likewise.
65491         * math/s_clogf.c (__clogf): Likewise.
65492         * math/s_clogl.c (__clogl): Likewise.
65493         * math/libm-test.inc (clog_test): Add more tests.
65494         (clog10_test): Likewise.
65495         * sysdeps/i386/fpu/libm-test-ulps: Update.
65496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65498         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65499         (pltexit): Likewise.
65500         (La_regs): Likewise.
65501         (La_retval): Likewise.
65502         (int_retval): Likewise.
65503         Update #error for removed macros to refer only to definitions in
65504         tst-audit.h.
65505         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65506         macro.
65507         (pltexit): Likewise.
65508         (La_regs): Likewise.
65509         (La_retval): Likewise.
65510         (int_retval): Likewise.
65511         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65512         macro.
65513         (pltexit): Likewise.
65514         (La_regs): Likewise.
65515         (La_retval): Likewise.
65516         (int_retval): Likewise.
65517         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65518         macro.
65519         (pltexit): Likewise.
65520         (La_regs): Likewise.
65521         (La_retval): Likewise.
65522         (int_retval): Likewise.
65523         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65524         macro.
65525         (pltexit): Likewise.
65526         (La_regs): Likewise.
65527         (La_retval): Likewise.
65528         (int_retval): Likewise.
65529         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65530         macro.
65531         (pltexit): Likewise.
65532         (La_regs): Likewise.
65533         (La_retval): Likewise.
65534         (int_retval): Likewise.
65535         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65536         macro.
65537         (pltexit): Likewise.
65538         (La_regs): Likewise.
65539         (La_retval): Likewise.
65540         (int_retval): Likewise.
65541         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65542         macro definitions in tst-audit.h.
65543         * sysdeps/i386/tst-audit.h: New file.
65544         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65545         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65546         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65547         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65548         * sysdeps/sh/tst-audit.h: Likewise.
65549         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65550         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65551         * sysdeps/x86_64/tst-audit.h: Likewise.
65553 2012-07-26  Andreas Jaeger  <aj@suse.de>
65555         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65556         ptrace.
65558         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65559         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65560         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65561         PTRACE_O_MASK.
65562         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65563         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65564         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65566         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65567         value.
65569         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65570         _sigsys.
65571         (si_call_addr, si_syscall, si_arch): Define new macro.
65572         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65573         _sigsys.
65574         (si_call_addr, si_syscall, si_arch): Define new marcro.
65575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65576         _sigsys.
65577         (si_call_addr, si_syscall, si_arch): Define new macro.
65578         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65579         _sigsys.
65580         (si_call_addr, si_syscall, si_arch): Define new macro.
65582 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65584         [BZ #13717]
65585         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65586         Change to 2.4.21 where previously 2.4.1.
65587         * sysdeps/unix/sysv/linux/configure: Regenerated.
65588         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65589         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65590         Linux kernel version.
65591         (__ASSUME_STD_AUXV): Remove.
65592         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65593         kernel version.
65594         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65595         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65596         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65597         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65598         (__ASSUME_NETLINK_SUPPORT): Likewise.
65599         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65600         (__no_netlink_support): Remove conditional definition.
65601         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65602         Remove.
65603         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65604         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65605         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65606         (if_nameindex_ioctl): Remove.
65607         (if_nameindex_netlink): Do not handle __no_netlink_support.
65608         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65609         code.
65610         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65611         Remove conditional code.
65612         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65613         code.
65614         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65615         unconditional.
65616         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65617         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65618         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65619         Remove.
65620         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65621         [!__ASSUME_STD_AUXV]: Remove conditional code.
65622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65623         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65624         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65626         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65627         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65628         code.
65629         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65631         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65632         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65633         conditional code.
65634         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65636         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65637         code.
65638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65639         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65640         conditional code.
65641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65642         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65643         code unconditional.
65644         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65645         conditional code.
65646         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65647         unconditional.
65648         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65649         conditional code.
65650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65651         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65652         unconditional.
65653         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65654         conditional code.
65655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65656         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65657         code unconditional.
65658         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65659         conditional code.
65660         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65661         unconditional.
65662         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65663         conditional code.
65664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65665         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65666         code unconditional.
65667         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65668         conditional code.
65669         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65670         unconditional.
65671         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65672         conditional code.
65674 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65676         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65677         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65678         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65679         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65680         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65681         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65682         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65683         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65684         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65685         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65686         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65687         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65688         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65689         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65690         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65691         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65692         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65693         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65694         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65696         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65697         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65698         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65700 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65702         * Versions.def: Add GLIBC_2.17.
65703         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65704         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65705         Introduce __libc_secure_getenv.
65706         * stdlib/Versions (2.17): Add secure_getenv
65707         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65708         * stdlib/secure-getenv.c: Rename __secure_getenv to
65709         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65710         symbol __secure_getenv for GLIBC_2.0.
65711         * stdlib/tst-secure-getenv.c: New.
65712         * stdlib/Makefile (tests): Add testcase.
65713         * manual/startup.texi (Environment Access): Document
65714         secure_getenv.
65715         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65716         __libc_secure_getenv.
65717         * inet/ruserpass.c (ruserpass): Likewise.
65718         * malloc/mtrace.c (mtrace): Likewise.
65719         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65720         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65721         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65722         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65723         HAVE_SECURE_GETENV.
65724         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65725         __secure_getenv to __libc_secure_getenv.
65726         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65728         Likewise.
65729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65730         Likewise.
65731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65739 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65741         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65742         (struct La_i86_retval): Likewise.
65743         (struct La_x86_64_regs): Likewise.
65744         (struct La_x86_64_retval): Likewise.
65745         (struct La_x32_regs): Likewise.
65746         (struct La_x32_retval): Likewise.
65747         (struct La_ppc32_regs): Likewise.
65748         (struct La_ppc32_retval): Likewise.
65749         (struct La_ppc64_regs): Likewise.
65750         (struct La_ppc64_retval): Likewise.
65751         (struct La_sh_regs): Likewise.
65752         (struct La_sh_retval): Likewise.
65753         (struct La_s390_32_regs): Likewise.
65754         (struct La_s390_32_retval): Likewise.
65755         (struct La_s390_64_regs): Likewise.
65756         (struct La_s390_64_retval): Likewise.
65757         (struct La_sparc32_regs): Likewise.
65758         (struct La_sparc32_retval): Likewise.
65759         (struct La_sparc64_regs): Likewise.
65760         (struct La_sparc64_retval): Likewise.
65761         (struct audit_ifaces): Remove architecture-specific pltenter and
65762         pltexit members.
65763         * sysdeps/i386/ldsodefs.h: New file.
65764         * sysdeps/powerpc/ldsodefs.h: Likewise.
65765         * sysdeps/s390/ldsodefs.h: Likewise.
65766         * sysdeps/sh/ldsodefs.h: Likewise.
65767         * sysdeps/sparc/ldsodefs.h: Likewise.
65768         * sysdeps/x86_64/ldsodefs.h: Likewise.
65770 2012-07-25  Marek Polacek  <polacek@redhat.com>
65772         [BZ #6808]
65773         * math/libm-test.inc (yn_test): Add another test.
65774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65775         to ERANGE when the result is +-Inf.
65776         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65777         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65778         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65779         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65781 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65783         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65784         equal to 0.
65785         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65786         clock_t.
65787         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65789 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65791         * configure.in <sysdeps resolving>: Correct printing
65792         Implies_before.
65793         * configure: Regenerate.
65795 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65797         * math/w_ilogb.c: Include <limits.h>.
65798         * math/w_ilogbl.c: Likewise.
65800 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65802         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65803         va_copy.  Document allowing for unavailable va_copy only as
65804         pre-C99 compatibility.
65805         * manual/string.texi (Copying and Concatenation): Use va_copy
65806         instead of __va_copy in concat example.
65808 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65810         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65811         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65812         it if not null.
65814         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65815         with O_NOLINK passed to __file_name_lookup.
65817         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65818         with O_NOLINK passed to __file_name_lookup.
65820         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65821         negative N or less than NGIDS.
65823         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65824         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65825         enough.  Use memcpy instead of strncpy.
65827 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65829         * elf/Makefile (check-data): Remove.
65830         (localplt.data): New vpath directive.
65831         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65832         instead of $(check-data).
65833         * scripts/data/localplt-generic.data: Move to ...
65834         * sysdeps/generic/localplt.data: ... here.
65835         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65836         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65837         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65839         ... here.
65840         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65842         ... here.
65843         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65845         ... here.
65846         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65848         ... here.
65849         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65851         ... here.
65852         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65854         ... here.
65856 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65858         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65859         PPC32 and PPC64 files.
65860         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65861         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65863 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65865         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65866         __makecontext_ret to ...
65867         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65868         ... here and call exit if uc_link is NULL.  New file.
65869         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65870         __makecontext_ret.S.
65871         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65872         __makecontext_ret to ...
65873         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65874         ... here and call exit if uc_link is NULL.  New file.
65875         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65876         __makecontext_ret.S.
65878 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65880         * elf/elf.h (R_390_IRELATIVE): New definition.
65881         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65882         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65883         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65885         (elf_machine_lazy_rel): Likewise.
65886         * sysdeps/s390/dl-irel.h: New file.
65887         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65888         * sysdeps/s390/s390-64/memset.S: New asm code.
65889         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65890         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65891         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65892         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65893         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65894         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65895         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65896         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65897         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65898         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65899         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65900         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65901         * sysdeps/s390/s390-32/memset.S: New asm code.
65902         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65904 2012-07-17  Marek Polacek  <polacek@redhat.com>
65906         [BZ #14349]
65907         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65908         * sysdeps/s390/s390-64/configure.in: Likewise.
65909         * sysdeps/sparc/configure.in: Likewise.
65910         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65911         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65912         * sysdeps/i386/configure.in: Likewise.
65913         * sysdeps/x86_64/configure.in: Likewise.
65914         * sysdeps/sh/configure.in: Likewise.
65915         * sysdeps/s390/s390-32/configure: Regenerated.
65916         * sysdeps/s390/s390-64/configure: Likewise.
65917         * sysdeps/x86_64/configure: Likewise.
65918         * sysdeps/sh/configure: Likewise.
65919         * sysdeps/powerpc/powerpc64/configure: Likewise.
65920         * sysdeps/powerpc/powerpc32/configure: Likewise.
65921         * sysdeps/sparc/configure: Likwise.
65922         * sysdeps/i386/configure: Likewise.
65924         * elf/dl-open.c: Comment fixes.
65926 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65928         * Makefile [CXX] (check-data): Remove.
65929         [CXX] (c++-types.data): New vpath directive.
65930         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65931         vpath.  Do not allow for C++ type data being missing.
65932         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65933         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65934         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65935         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65936         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65937         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65938         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65940         ... here.
65941         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65943         ... here.
65944         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65946         ... here.
65947         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65949         ... here.
65950         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65952         ... here.
65953         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65955         ... here.
65956         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65958         ... here.
65959         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65962         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65963         definitions to architecture-specific files.
65964         (TLS_IE): Likewise.
65965         (TLS_LD): Likewise.
65966         (TLS_GD): Likewise.
65967         * sysdeps/i386/tls-macros.h: New file.
65968         * sysdeps/powerpc/tls-macros.h: Likewise.
65969         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65970         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65971         * sysdeps/sh/tls-macros.h: Likewise.
65972         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65973         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65974         * sysdeps/x86_64/tls-macros.h: Likewise.
65976 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65978         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65979         zero value for regular exit case.
65981         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65982         (__start_context): Preserve zero value for regular exit case.
65984 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65985             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65987         * manual/setjmp.texi (setcontext): Clarify normal process
65988         termination when uc_link is the null pointer.
65989         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65990         exit call.
65992 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65994         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65995         preprocessor.  Test for each exception mask separately.
65997 2012-07-16  Andreas Jaeger  <aj@suse.de>
65999         * po/ru.po: Update from translation team.
66001 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66003         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66004         equal to 0.
66005         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66006         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66007         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66008         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66009         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66011 2012-07-13  Andreas Jaeger  <aj@suse.de>
66013         * po/fr.po: Update from translation team.
66015 2012-07-12  Marek Polacek  <polacek@redhat.com>
66017         [BZ #14173]
66018         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66020         loop condition.
66022 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66024         [BZ #13717]
66025         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66026         Change to 2.4.1 where previously 2.4.0.
66027         * sysdeps/unix/sysv/linux/configure: Regenerated.
66028         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66029         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66030         version.
66031         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66032         (__ASSUME_AT_CLKTCK): Remove.
66033         (__ASSUME_AT_PAGESIZE): Likewise.
66034         (__ASSUME_AT_XID): Likewise.
66035         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66036         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66037         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66038         unconditionally.
66039         (HAVE_AUX_PAGESIZE): Likewise.
66040         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66041         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66042         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66044 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66046         [BZ #14307]
66047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66048         the temporary buffer used to invoke __gethostbyname2_r,
66049         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66050         host_data / struct gaih_addrtuple.
66051         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66052         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66053         header file nss/nsswitch.h.
66054         * nss/nsswitch.h (global scope): Add definition of implementation
66055         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66056         resolv/nss_dns/dns-host.c).
66058 2012-07-11  Andreas Jaeger  <aj@suse.de>
66060         * po/fr.po: Update from translation team.
66062         * po/sv.po: Update from translation team
66063         * po/fr.po: Another update from translation team.
66065 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66067         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66068         for subnormals or multiply small sinh result by itself.
66069         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66072 2012-07-11  David S. Miller  <davem@davemloft.net>
66074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66076 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66078         [BZ #14347]
66079         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66080         (INTERNAL_MARK): Shift it here.
66082 2012-07-10  Marek Polacek  <polacek@redhat.com>
66084         [BZ #14151]
66085         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66086         libc_cv_asm_global_directive with .globl.
66087         * configure: Regenerated.
66088         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66089         with .globl.
66090         * sysdeps/i386/configure: Regenerated.
66091         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66092         with .globl.
66093         * sysdeps/x86_64/configure: Regenerated.
66094         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66095         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66096         * elf/tst-unique2mod2.c: Likewise.
66097         * elf/tst-unique2mod1.c: Likewise.
66098         * elf/tst-unique1mod2.c: Likewise.
66099         * elf/tst-unique1mod1.c: Likewise.
66100         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66101         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66102         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66103         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66104         * sysdeps/mach/sysdep.h: Likewise.
66105         * sysdeps/i386/sysdep.h: Likewise.
66106         * sysdeps/i386/i386-mcount.S: Likewise.
66107         * sysdeps/x86_64/_mcount.S: Likewise.
66108         * sysdeps/x86_64/sysdep.h: Likewise.
66109         * sysdeps/sh/_mcount.S: Likewise.
66110         * sysdeps/sh/sysdep.h: Likewise.
66111         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66112         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66113         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66114         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66115         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66116         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66117         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66118         * locale/localeinfo.h: Likewise.
66119         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66120         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66122 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66124         [BZ #14336]
66125         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66126         system".
66127         * manual/message.texi (The Uniforum approach): Likewise.
66128         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66129         (glibc iconv Implementation): Likewise.
66131 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66133         [BZ #14337]
66134         * math/s_clog.c (__clog): Avoid scaling a value down where that
66135         could result in underflow.
66136         * math/s_clog10.c (__clog10): Likewise.
66137         * math/s_clog10f.c (__clog10f): Likewise.
66138         * math/s_clog10l.c (__clog10l): Likewise.
66139         * math/s_clogf.c (__clogf): Likewise.
66140         * math/s_clogl.c (__clogl): Likewise.
66141         * math/libm-test.inc (clog_test): Add more tests.
66142         (clog10_test): Likewise.
66143         * sysdeps/i386/fpu/libm-test-ulps: Update.
66144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66146 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66148         [BZ #14283]
66149         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66150         by 7 not 8 to examine high bit of fractional part.
66152         [BZ #14042]
66153         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66154         for call to __mcount_internal.
66155         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66156         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66157         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66159 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66161         [BZ #14154]
66162         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66163         approximation for values within 0x1p-13f of an odd multiple of
66164         pi/4.
66165         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66166         exception.  Add more tests.
66167         * sysdeps/i386/fpu/libm-test-ulps: Update.
66169         [BZ #6778]
66170         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66171         inputs and return -1 for them.  Do not check for +Inf in case not
66172         reachable for +Inf.
66173         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66174         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66175         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66176         and return -1 for them.  Do not check for +Inf in case not
66177         reachable for +Inf.
66178         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66179         define.
66180         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66181         and return -1 for them.  Do not check for +Inf in case not
66182         reachable for +Inf.
66183         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66184         spurious underflow.
66185         * sysdeps/i386/fpu/libm-test-ulps: Update.
66186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66188 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66190         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66192 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66194         [BZ #14157]
66195         [BZ #14331]
66196         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66197         could result in spurious underflow.  Scale down values above
66198         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66199         * math/s_csqrtf.c (__csqrtf): Likewise.
66200         * math/s_csqrtl.c (__csqrtl): Likewise.
66201         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66202         spurious underflow.
66203         * sysdeps/i386/fpu/libm-test-ulps: Update.
66204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66206 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66208         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66209         xopen-msg.sed.
66210         * catgets/xopen-msg.awk: New file.
66211         * catgets/xopen-msg.sed: Removed.
66213         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66214         po2text.sed.
66215         * intl/po2test.awk: New file.
66216         * intl/po2test.sed: Removed.
66218 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66220         [BZ #14328]
66221         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66222         or multiply small sinh result by itself.
66223         * math/s_ctanf.c (__ctanf): Likewise.
66224         * math/s_ctanh.c (__ctanh): Likewise.
66225         * math/s_ctanhf.c (__ctanhf): Likewise.
66226         * math/s_ctanhl.c (__ctanhl): Likewise.
66227         * math/s_ctanl.c (__ctanl): Likewise.
66228         * math/libm-test.inc (ctan_test_tonearest): New function.
66229         (ctan_test_towardzero): Likewise.
66230         (ctan_test_downward): Likewise.
66231         (ctan_test_upward): Likewise.
66232         (ctanh_test_tonearest): Likewise.
66233         (ctanh_test_towardzero): Likewise.
66234         (ctanh_test_downward): Likewise.
66235         (ctanh_test_upward): Likewise.
66236         (main): Call these new functions.
66237         * sysdeps/i386/fpu/libm-test-ulps: Update.
66238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66240 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66242         * .gitignore: Delete /ports entry.
66244 2012-07-03  Andreas Jaeger  <aj@suse.de>
66246         * po/bg.po: Update from translation team.
66247         * po/cs.po: Likewise.
66248         * po/de.po: Likewise.
66249         * po/hr.po: Likewise.
66250         * po/nl.pl: Likewise.
66251         * po/pl.po: Likewise.
66252         * po/vi.po: Likewise.
66254 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66256         * Makeconfig [!+link] (+link-before-libc): New variable.
66257         [!+link] (+link-after-libc): Likewise.
66258         [!+link] (+link-tests): Likewise.
66259         [!+link] (+link): Define in terms of $(+link-before-libc) and
66260         $(+link-after-libc).
66261         [!+link-static] (+link-static-before-libc): New variable.
66262         [!+link-static] (+link-static-after-libc): Likewise.
66263         [!+link-static] (+link-static-tests): Likewise.
66264         [!+link-static] (+link-static): Define in terms of
66265         $(+link-static-before-libc) and $(+link-static-after-libc).
66266         [build-shared] (link-libc-before-gnulib): New variable.
66267         [build-shared] (link-libc-tests): Likewise.
66268         [build-shared] (link-libc): Define in terms of
66269         $(link-libc-before-gnulib).
66270         [!build-shared] (link-libc-tests): New variable.
66271         (link-libc-static-tests): New variable.
66272         [!gnulib] (gnulib-arch): New variable.
66273         [!gnulib] (gnulib-tests): Likewise.
66274         [!gnulib] (static-gnulib-arch): Likewise.
66275         [!gnulib] (static-gnulib-tests): Likewise.
66276         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66277         Define with "=" instead of ":=".
66278         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66279         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66280         * Rules (binaries-all-notests): New variable.
66281         (binaries-all-tests): Likewise.
66282         (binaries-static-notests): Likewise.
66283         (binaries-static-tests): Likewise.
66284         (binaries-all): Define using $(binaries-all-notests) and
66285         $(binaries-all-tests).
66286         (binaries-static): Define using $(binaries-static-notests) and
66287         $(binaries-static-tests).
66288         (binaries-shared-tests): New variable.
66289         (binaries-shared-notests): Likewise.
66290         (binaries-shared): Remove variable.
66291         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66292         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66293         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66294         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66295         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66296         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66297         * elf/Makefile (sln-modules): New variable.
66298         (extra-objs): Add $(sln-modules:=.o).
66299         (ldconfig-modules): Add static-stubs.
66300         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66301         * elf/static-stubs.c: New file.
66303         [BZ #14283]
66304         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66305         by 7 not 8 to examine high bit of fractional part.  Use volatile
66306         variables when splitting into final array of floats if
66307         __FLT_EVAL_METHOD__ != 0.
66308         * math/libm-test.inc (cos_test): Add another test.
66309         (sin_test): Likewise.
66310         * sysdeps/i386/fpu/libm-test-ulps: Update.
66312         [BZ #14273]
66313         * math/libm-test.inc (cosh_test): Add more tests.
66315         * version.h (RELEASE): Set to "development".
66316         (VERSION): Set to "2.16.90".
66318 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66320         * NEWS: Update copyright. Remove last-updated date.
66321         Mention math library bug fixes and timezone data changes.
66322         * README: Mention GNU/Hurd, x32, and HPPA support status.
66324 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66326         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66328 2012-06-27  Andreas Jaeger  <aj@suse.de>
66330         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66332 2012-06-25  Andreas Jaeger  <aj@suse.de>
66334         * sysdeps/s390/fpu/libm-test-ulps: Update.
66336 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66337             Thomas Schwinge  <thomas@codesourcery.com>
66339         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66340         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66341         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66342         fanotify_mark.
66344 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66346         * sysdeps/mach/start.c: Remove file.
66347         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66348         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66349         * sysdeps/sh/init-first.c: Likewise.
66351         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66352         registers for frame unwinding purposes, add CFI directives.
66353         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66354         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66355         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66356         Likewise.
66358         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66359         __fortify_fail returning.
66360         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66362         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66363         sysdeps/sh/____longjmp_chk.S.
66364         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66365         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66366         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66367         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66369         * sysdeps/sh/abort-instr.h: New file.
66370         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66371         process in case exit returns.
66373         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66374         initialize the GOT register before use.
66376         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66377         calculation of ARGC > 4.
66379         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66380         meaningful names to some local labels.
66382 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66383             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66385         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66386         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66387         (__arch_compare_and_exchange_val_16_acq): Likewise.
66388         (__arch_compare_and_exchange_val_32_acq): Likewise.
66389         (atomic_exchange_and_add): Fix gUSA sequence.
66390         (atomic_add): Likewise.
66391         (atomic_add_negative): Likewise.
66392         (atomic_add_zero): Likewise.
66393         (atomic_bit_test_set): Likewise.
66395 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66397         [BZ #13579]
66398         * include/link.h (struct link_map): Add l_free_initfini.
66399         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66400         l_initfini.
66401         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66402         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66403         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66404         set.
66406 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66408         * configure.in: Use AC_LANG_SOURCE.
66409         * configure: Regenerate.
66411 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66413         * configure.in (libc_cv_localstatedir): New substituted variable.
66414         * configure: Regenerated.
66415         * config.make.in (localstatedir): New variable, substituted from
66416         libc_cv_localstatedir.
66417         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66418         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66419         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66420         * sysdeps/gnu/configure: Regenerated.
66422 2012-06-21  Jeff Law  <law@redhat.com>
66424         [BZ #14277]
66425         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66426         free.  Simplify list management for _LIBC case.
66428 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66430         [BZ #14273]
66431         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66432         Clear sign bit of 64-bit integer value before comparing against
66433         overflow value.
66435         * sysdeps/mach/configure: Regenerated.
66437 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66439         [BZ #14278]
66440         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66442 2012-06-21  Jeff Law  <law@redhat.com>
66444         [BZ #13882]
66445         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66446         uint16_t for elements in the "seen" array to avoid char overflows.
66447         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66448         * elf/dl-open.c (dl_open_worker): Likewise.
66450 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66452         * scripts/list-sources.sh: Scan PORTS for translations.
66453         * po/libc.pot: Regenerated.
66455 2012-06-21  Andreas Jaeger  <aj@suse.de>
66457         [BZ #12194]
66458         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66459         warning.
66460         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66461         * bits/byteswap-16.h (__bswap_16): Likewise.
66462         * bits/byteswap.h (__bswap_constant_16): Likewise.
66464 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66466         [BZ #14117]
66467         * sysdeps/i386/fpu_control.h: Removed.
66468         * sysdeps/x86_64/fpu_control.h: Moved to ...
66469         * sysdeps/x86/fpu_control.h: Here.
66471         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66472         (_FPU_SETCW): Likewise.
66474 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66476         [BZ #14117]
66477         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66478         * sysdeps/x86/fpu/bits/mathinline.h: This.
66479         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66481         [BZ #14050]
66482         [BZ #14117]
66483         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66484         functions if __x86_64__ is defined.
66486 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66488         * string/endian.h: Add !__ASSEMBLER__ condition for including
66489         conversion interfaces.
66491 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66493         [BZ #14241]
66494         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66495         of ABS(x) in calculating zero to negative powers other than odd
66496         integers.
66497         * math/libm-test.inc (pow_test): Add more tests.
66499 2012-06-15  Andreas Jaeger  <aj@suse.de>
66501         * manual/contrib.texi (Contributors): Update entry of Liubov
66502         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66503         Machado Filho.
66505 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66507         * string/string.h: Add __wur to GNU version of strerror_r.
66509 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66511         [BZ #14229]
66512         * string/Makefile (tests): Add tst-strtok_r.
66513         * string/tst-strtok_r.c: New file.
66514         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66515         RAX_LP/RDX_LP on SAVE_PTR.
66517 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66519         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66521 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66523         * libm_test.inc (csqrt_test): Allow more spurious underflow
66524         exceptions.
66525         (j0_test): Likewise.
66526         (j1_test): Likewise.
66527         (y0_test): Likewise.
66528         (y1_test): Likewise.
66530 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66532         * po/Makefile (libc.pot): Use UTF-8 charset.
66534 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66536         [BZ #14210]
66537         Suppress sign-conversion warning from FD_SET.
66538         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66539         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66540         not unsigned long int.
66541         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66543 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66545         [BZ #14050]
66546         [BZ #14117]
66547         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66548         __extern_always_inline instead of __extern_inline.
66549         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66550         (__signbit): Likewise.
66551         (__signbitl): Support C++ namespace.
66552         (lrintf): New inline function.
66553         (lrint): Likewise.
66554         (llrintf): Likewise.
66555         (llrint): Likewise.
66556         (fmaxf): Likewise.
66557         (fmax): Likewise.
66558         (fminf): Likewise.
66559         (fmin): Likewise.
66560         (rint): Likewise.
66561         (rintf): Likewise.
66562         (ceil): Likewise.
66563         (ceilf): Likewise.
66564         (floor): Likewise.
66565         (floorf): Likewise.
66566         (nearbyint): Likewise.
66567         (nearbyintf): Likewise.
66569 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66572         non-default versions.
66574 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66576         [BZ #14218]
66577         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66579 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66581         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66582         (FE_UPWARD, FE_DOWNWARD): Don't define.
66583         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66584         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66586         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66587         reading it.
66588         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66589         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66591 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66593         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66594         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66595         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66596         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66598 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66600         [BZ #14117]
66601         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66602         * sysdeps/i386/fpu/Implies: New file.
66603         * sysdeps/x86_64/fpu/Implies: Likewise.
66604         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66605         * sysdeps/x86/fpu/bits/fenv.h: This.
66607         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66608         __SSE_MATH__.
66610 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66612         [BZ #14134]
66613         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66614         character 0xffff that matches the last element of the
66615         conversion table.
66617 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66619         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66620         fmodl commit.
66622 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66625         values higher than 25.6283.
66627 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66630         subnormal exponent extraction and add some __builtin_expect.
66631         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66632         Fix for subnormal mantissa calculation.
66634 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66636         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66637         cpu2 is -1 and errno is not ENOSYS.
66639 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66641         [BZ #14117]
66642         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66643         * sysdeps/x86/bits/string.h: This.
66644         * sysdeps/x86_64/bits/string.h: Removed.
66646         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66647         if not compiling for x86-64, but compiling for >= i486.
66649         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66650         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66652         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66653         New macro from Linux kernel 3.4.0.
66654         (FP_XSTATE_MAGIC2): Likewise.
66655         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66656         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66657         (struct _fpx_sw_bytes): New struct.
66658         (struct _xsave_hdr): Likewise.
66659         (struct _ymmh_state): Likewise.
66660         (struct _xstate): Likewise.
66662         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66663         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66664         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66665         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66666         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66667         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66669         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66670         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66671         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66672         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66673         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66674         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66676 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66678         [BZ #13743]
66679         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66680         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66681         (sysdep_headers): Include sys/platform/ppc.h.
66682         * sysdeps/powerpc/test-gettimebase.c: Test for
66683         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66684         * manual/Makefile (appendices): Include platform.texi.
66685         * manual/contrib.texi (Contributors): Update @node pointers.
66686         * manual/maint.texi (Maintenance): Likewise.
66687         (Platform): New node.
66688         * manual/platform.texi: New file.  Document the new features.
66690 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66691             Jakub Jelinek  <jakub@redhat.com>
66693         [BZ #14188]
66694         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66695         where __builtin_expect is unavailable.
66697 2012-06-03  David S. Miller  <davem@davemloft.net>
66699         * stdlib/longlong.h: Updated from GCC.
66701 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66703         [BZ #14042]
66704         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66705         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66706         __mcount_internal.
66707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66708         (GLIBC_2.16): Likewise.
66710 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66712         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66714 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66717         (default-abi): New variable.
66718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66719         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66720         variable.
66721         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66722         Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66724         Likewise.
66725         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66726         Likewise.
66728         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66729         definition.  Document in comment.
66731 2012-06-01  David S. Miller  <davem@davemloft.net>
66733         * stdlib/longlong.h: Updated from GCC.
66735 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66737         [BZ #14117]
66738         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66739         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66740         sys/debugreg.h sys/io.h here.
66741         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66742         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66743         sys/io.h.
66744         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66745         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66746         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66747         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66748         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66749         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66751         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66752         Define only if __x86_64__ is defined.
66754 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66756         [BZ #14048]
66757         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66758         Use int64_t for variable i.
66759         * math/libm-test.inc (fmod_test): Add more tests.
66761         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66762         z computation is not scheduled after fetestexcept.
66763         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66764         Use math_force_eval instead of asm to ensure calculation scheduled
66765         before exception test.
66766         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66767         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66769 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66772         computation is not scheduled after fetestexcept.
66774 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66776         [BZ #14117]
66777         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66778         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66780 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66782         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66783         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66785 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66787         [BZ #14117]
66788         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66789         <bits/wordsize.h>.
66790         (__WCHAR_MIN): Support __WORDSIZE == 64.
66791         (__WCHAR_MAX): Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66794         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66796         [BZ #14183]
66797         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66798         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66800         [BZ #14117]
66801         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66802         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66804         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66805         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66807         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66808         Defined to 1 if __x86_64__ isn't defined.
66809         (_STAT_VER_LINUX_OLD): New.
66810         (st_atime): Remove duplicate.
66811         (st_mtime): Likewise.
66812         (st_ctime): Likewise.
66814 2012-05-31  David S. Miller  <davem@davemloft.net>
66816         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66817         entries.
66819 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66821         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66822         gen-libm-test.pl.
66824         [BZ #14132]
66825         * elf/dl-reloc.c: Include <_itoa.h>.
66826         (_dl_reloc_bad_type): Remove use of INTUSE.
66827         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66828         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66829         * stdio-common/psiginfo.c (psiginfo): Likewise.
66830         * stdio-common/psignal.c (psignal): Likewise.
66831         * string/strsignal.c (strsignal): Likewise.
66832         * include/signal.h (_sys_siglist): Declare hidden proto.
66833         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66834         INTVARDEF with libc_hidden_data_def.
66835         * stdio-common/itoa-udigits.c: Likewise.
66836         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66837         (_itoa_lower_digits_internal): Remove declaration.
66838         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66839         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66840         (_sys_sigabbrev_internal): Remove aliases.
66841         (_sys_siglist): Define hidden alias.
66843 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66846         bits/sysctl.h.
66848 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66850         [BZ #14117]
66851         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66852         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66854         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66855         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66856         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66857         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66858         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66859         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66861         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66862         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66863         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66865         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66866         with __addr.
66867         (insw): Likewise.
66868         (insl): Likewise.
66869         (outsb): Likewise.
66870         (outsw): Likewise.
66871         (outsl): Likewise.
66873         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66874         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66875         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66877         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66878         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66879         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66880         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66881         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66882         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66884         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66885         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66887         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66888         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66890         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66891         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66892         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66894         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66895         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66896         to ...
66897         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66899         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66900         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66901         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66903         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66904         for x86-64.
66905         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66907 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66909         * math/math.h (M_El): Use two more decimal places.
66910         (M_LOG2El): Likewise.
66911         (M_LOG10El): Likewise.
66912         (M_LN2l): Likewise.
66913         (M_LN10l): Likewise.
66914         (M_PIl): Likewise.
66915         (M_PI_2l): Likewise.
66916         (M_PI_4l): Likewise.
66917         (M_1_PIl): Likewise.
66918         (M_2_PIl): Likewise.
66919         (M_2_SQRTPIl): Likewise.
66920         (M_SQRT2l): Likewise.
66921         (M_SQRT1_2l): Likewise.
66923 2012-05-31  David S. Miller  <davem@davemloft.net>
66925         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66926         values between float registers.
66927         * sysdeps/sparc/sparc64/memset.S: Likewise.
66928         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66930 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66932         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66933         -D_FORTIFY_SOURCE=1.
66934         (CPPFLAGS-tst-longjmp_chk.c): Define.
66935         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66936         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66937         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66938         CFLAGS-tst-wchar-h.c.
66940 2012-05-31  Marek Polacek  <polacek@redhat.com>
66942         [BZ #14132]
66943         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66944         __endmntent_internal): Remove declaration.
66945         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66946         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66947         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66949 2012-05-30  David S. Miller  <davem@davemloft.net>
66951         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66952         (___Q_simulate_exceptions): Use real FP ops rather than writing
66953         into the %fsr.
66954         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66955         Likewise.
66957 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66959         [BZ #14117]
66960         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66961         * sysdeps/x86/bits/xtitypes.h: This.
66963         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66964         * sysdeps/x86/bits/wordsize.h: This.
66966         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66967         * sysdeps/x86/bits/huge_vall.h: This.
66969         * sysdeps/i386/bits/select.h: Removed.
66970         * sysdeps/x86_64/bits/select.h: Renamed to ...
66971         * sysdeps/x86/bits/select.h: This.
66973         * sysdeps/i386/bits/setjmp.h: Removed.
66974         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66975         * sysdeps/x86/bits/setjmp.h: This.
66977         * sysdeps/i386/bits/mathdef.h: Removed.
66978         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66979         * sysdeps/x86/bits/mathdef.h: This.
66981 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66983         [BZ #14132]
66984         * include/sys/socket.h (__connect_internal)
66985         (__libc_sa_len_internal): Remove declaration.
66986         (__connect, __libc_sa_len): Declare hidden_proto.
66987         (SA_LEN): Remove use of INTUSE.
66988         * socket/connect.c: Add libc_hidden_def.
66989         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66990         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66991         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66992         alias.
66993         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66994         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66995         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66996         of adding _internal alias.
66998 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67000         [BZ #14117]
67001         * sysdeps/i386/bits/link.h: Removed.
67002         * sysdeps/i386/bits/linkmap.h: Likewise.
67003         * sysdeps/x86_64/bits/link.h: Renamed to ...
67004         * sysdeps/x86/bits/link.h: This.
67005         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67006         * sysdeps/x86/bits/linkmap.h: This.
67008         * sysdeps/i386/bits/endian.h: Removed.
67009         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67010         * sysdeps/x86/bits/endian.h: This.
67012         * sysdeps/i386/bits/byteswap.h: Removed.
67013         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67014         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67015         * sysdeps/x86/bits/byteswap.h: This.
67016         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67017         * sysdeps/x86/bits/byteswap-16.h: This.
67018         * sysdeps/i386/Implies: Add x86.
67019         * sysdeps/x86_64/Implies: Likewise.
67021 2012-05-30  David S. Miller  <davem@davemloft.net>
67023         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67024         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67025         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67026         (FP_TRAPPING_EXCEPTIONS): Define.
67027         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67028         (FP_TRAPPING_EXCEPTIONS): Define.
67029         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67030         subnormals only when inexact has been signalled or underflow
67031         exceptions are enabled.
67032         (_FP_PACK_CANONICAL): Likewise.
67034 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67036         [BZ #14183]
67037         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67038         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67040 2012-05-30  Richard Henderson  <rth@twiddle.net>
67042         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67043         with #ifndef NOT_IN_libc.
67045         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67046         marked to avoid plt entry.
67048 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67050         [BZ #14112]
67051         * Makeconfig (default-abi): New macro.
67052         (abi-includes): Likewise.
67053         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67054         $(abi-$(default-abi)-lib-soname) for soname if defined.
67055         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67056         abi-variants.
67057         * Makefile (installed-stubs): Likewise.
67058         * include/stubs-biarch.h: Removed.
67059         * scripts/lib-names.awk: Only handle one library at a time.
67060         * scripts/soversions.awk: Remove WORDSIZE support.
67061         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67062         entries.
67063         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67064         Removed.
67065         (syscall-list-default-condition): Likewise.
67066         (syscall-list-default-condition): Likewise.
67067         (syscall-list-includes): Likewise.
67068         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67069         syscall-list-* with abi-*.  Handle undefined abi-variants.
67070         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67071         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67072         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67073         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67074         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67075         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67076         Removed.
67077         (syscall-list-32-options): Likewise.
67078         (syscall-list-32-condition): Likewise.
67079         (syscall-list-64-options): Likewise.
67080         (syscall-list-64-condition): Likewise.
67081         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67082         macro.
67083         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67084         Renamed to ...
67085         (abi-*): This.
67086         (abi-64-ld-soname): New macro.
67087         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67088         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67089         Renamed to ...
67090         (abi-*): This.
67091         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67092         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67094 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67096         * sysdeps/unix/sysv/linux/kernel-features.h
67097         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67098         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67099         include <kernel-features.h>.
67100         [!__NR_ftruncate64]: Remove conditional code.
67101         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67102         [__NR_ftruncate64]: Make code unconditional.
67103         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67104         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67105         include <kernel-features.h>.
67106         [!__NR_ftruncate64]: Remove conditional code.
67107         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67108         [__NR_ftruncate64]: Make code unconditional.
67109         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67111         include <kernel-features.h>.
67112         [!__NR_ftruncate64]: Remove conditional code.
67113         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67114         [__NR_ftruncate64]: Make code unconditional.
67115         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67117         include <kernel-features.h>.
67118         [!__NR_ftruncate64]: Remove conditional code.
67119         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67120         [__NR_ftruncate64]: Make code unconditional.
67121         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67123         * configure.in (libc_cv_fpie): Weaken to a compile test using
67124         LIBC_TRY_CC_OPTION.
67125         * configure: Regenerated.
67127 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67133         Refreshed.
67134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67140         Refreshed.
67142 2012-05-27  David S. Miller  <davem@davemloft.net>
67144         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67145         (___Q_zero): New.
67146         (__Q_simulate_exceptions): Return void.  Change to simulate
67147         exceptions by writing into the %fsr.
67148         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67149         (__Qp_handle_exceptions): Likewise.
67150         (numbers): Delete.
67151         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67152         __Qp_handle_exceptions.
67153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67154         __Qp_handle_exceptions.
67155         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67156         as unused and give dummy FP_RND_NEAREST initializer.
67157         (FP_INHIBIT_RESULTS): Define.
67158         (___Q_simulate_exceptions): Update declaration.
67159         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67160         formatting.
67161         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67162         as unused and give dummy FP_RND_NEAREST initializer.
67163         (__Qp_handle_exceptions): Update declaration.
67164         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67165         formatting.
67167 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67169         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67170         the temporary FPU control word.
67171         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67172         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67173         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67174         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67175         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67176         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67177         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67178         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67179         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67180         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67181         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67183 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67185         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67186         fields.
67188 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67190         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67191         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67192         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67193         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67194         Likewise.
67195         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67196         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67197         Likewise.
67199 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67201         * po/h.po: Update from translation team.
67203 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67205         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67207         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67208         handling of denormals.
67209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67210         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67211         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67212         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67216         Likewise.
67218 2012-05-26  Marek Polacek  <polacek@redhat.com>
67220         [BZ #14152]
67221         * math/libm-test.inc (fma_test): Don't always expect underflow
67222         exception.
67224 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67226         [BZ #12416]
67227         * elf/tst-execstack.c: Include stackinfo.h.
67228         (do_test): Adjust test case to ensure that pthread_getattr_np
67229         behaviour remains the same after marking stack executable.
67231 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67233         * sysdeps/unix/sysv/linux/kernel-features.h
67234         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67235         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67236         kernel-features.h.
67237         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67238         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67239         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67240         kernel-features.h.
67241         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67242         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67244 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67246         * configure.in: Define the default includes to being none.
67247         * configure: Regenerated.
67249 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67251         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67252         * sysdeps/x86_64/setjmp.S: Likewise.
67253         * sysdeps/i386/bsd-setjmp.S: Likewise.
67254         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67255         * sysdeps/i386/setjmp.S: Likewise.
67256         * sysdeps/i386/__longjmp.S: Likewise.
67257         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67258         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67260         * include/stap-probe.h: New file.
67261         * configure.in: Handle --enable-systemtap.
67262         * configure: Regenerated.
67263         * config.h.in (USE_STAP_PROBE): New #undef.
67264         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67265         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67266         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67268 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67270         [BZ #13717]
67271         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67272         to 2.4.0 where earlier.
67273         * sysdeps/unix/sysv/linux/configure: Regenerated.
67274         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67275         <kernel-features.h>.
67276         [__ASSUME_32BITUIDS]: Make code unconditional.
67277         [!__ASSUME_32BITUIDS]: Remove conditional code.
67278         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67279         <kernel-features.h>.
67280         [__ASSUME_32BITUIDS]: Make code unconditional.
67281         [!__ASSUME_32BITUIDS]: Remove conditional code.
67282         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67283         [__ASSUME_32BITUIDS]: Make code unconditional.
67284         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67285         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67286         <kernel-features.h>.
67287         [__ASSUME_32BITUIDS]: Make code unconditional.
67288         [!__ASSUME_32BITUIDS]: Remove conditional code.
67289         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67290         <kernel-features.h>.
67291         [__ASSUME_32BITUIDS]: Make code unconditional.
67292         [!__ASSUME_32BITUIDS]: Remove conditional code.
67293         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67294         <kernel-features.h>.
67295         [__ASSUME_32BITUIDS]: Make code unconditional.
67296         [!__ASSUME_32BITUIDS]: Remove conditional code.
67297         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67298         <kernel-features.h>.
67299         [__ASSUME_32BITUIDS]: Make code unconditional.
67300         [!__ASSUME_32BITUIDS]: Remove conditional code.
67301         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67302         <kernel-features.h>.
67303         [__ASSUME_32BITUIDS]: Make code unconditional.
67304         [!__ASSUME_32BITUIDS]: Remove conditional code.
67305         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67306         <kernel-features.h>.
67307         [__ASSUME_32BITUIDS]: Make code unconditional.
67308         [!__ASSUME_32BITUIDS]: Remove conditional code.
67309         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67310         <kernel-features.h>.
67311         [__ASSUME_32BITUIDS]: Make code unconditional.
67312         [!__ASSUME_32BITUIDS]: Remove conditional code.
67313         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67314         <kernel-features.h>.
67315         [__ASSUME_32BITUIDS]: Make code unconditional.
67316         [!__ASSUME_32BITUIDS]: Remove conditional code.
67317         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67318         <kernel-features.h>.
67319         [__ASSUME_32BITUIDS]: Make code unconditional.
67320         [!__ASSUME_32BITUIDS]: Remove conditional code.
67321         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67322         <kernel-features.h>.
67323         [__ASSUME_32BITUIDS]: Make code unconditional.
67324         [!__ASSUME_32BITUIDS]: Remove conditional code.
67325         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67326         <kernel-features.h>.
67327         [__NR_setresgid] (__setresgid): Do not declare.
67328         [__ASSUME_32BITUIDS]: Make code unconditional.
67329         [!__ASSUME_32BITUIDS]: Remove conditional code.
67330         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67331         <kernel-features.h>.
67332         [__NR_setresuid] (__setresuid): Do not declare.
67333         [__ASSUME_32BITUIDS]: Make code unconditional.
67334         [!__ASSUME_32BITUIDS]: Remove conditional code.
67335         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67336         <kernel-features.h>.
67337         [__ASSUME_32BITUIDS]: Make code unconditional.
67338         [!__ASSUME_32BITUIDS]: Remove conditional code.
67339         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67340         <kernel-features.h>.
67341         [__ASSUME_32BITUIDS]: Make code unconditional.
67342         [!__ASSUME_32BITUIDS]: Remove conditional code.
67343         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67344         <kernel-features.h>.
67345         [__ASSUME_32BITUIDS]: Make code unconditional.
67346         [!__ASSUME_32BITUIDS]: Remove conditional code.
67347         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67348         <kernel-features.h>.
67349         [__ASSUME_32BITUIDS]: Make code unconditional.
67350         [!__ASSUME_32BITUIDS]: Remove conditional code.
67351         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67352         <kernel-features.h>.
67353         [__ASSUME_32BITUIDS]: Make code unconditional.
67354         [!__ASSUME_32BITUIDS]: Remove conditional code.
67355         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67356         <kernel-features.h>.
67357         [__ASSUME_32BITUIDS]: Make code unconditional.
67358         [!__ASSUME_32BITUIDS]: Remove conditional code.
67359         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67360         <kernel-features.h>.
67361         [__ASSUME_32BITUIDS]: Make code unconditional.
67362         [!__ASSUME_32BITUIDS]: Remove conditional code.
67363         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67364         <kernel-features.h>.
67365         [__ASSUME_32BITUIDS]: Make code unconditional.
67366         [!__ASSUME_32BITUIDS]: Remove conditional code.
67367         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67368         <kernel-features.h>.
67369         [__ASSUME_32BITUIDS]: Make code unconditional.
67370         [!__ASSUME_32BITUIDS]: Remove conditional code.
67371         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67372         <kernel-features.h>.
67373         [__ASSUME_32BITUIDS]: Make code unconditional.
67374         [!__ASSUME_32BITUIDS]: Remove conditional code.
67375         * sysdeps/unix/sysv/linux/kernel-features.h
67376         (__ASSUME_SETRESUID_SYSCALL): Remove.
67377         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67378         (__ASSUME_32BITUIDS): Likewise.
67379         (__ASSUME_LDT_WORKS): Likewise.
67380         (__ASSUME_O_DIRECTORY): Likewise.
67381         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67382         architecture but not kernel version.
67383         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67384         (__ASSUME_MMAP2_SYSCALL): Likewise.
67385         (__ASSUME_STAT64_SYSCALL): Likewise.
67386         (__ASSUME_IPC64): Likewise.
67387         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67388         <kernel-features.h>.
67389         [__ASSUME_32BITUIDS]: Make code unconditional.
67390         [!__ASSUME_32BITUIDS]: Remove conditional code.
67391         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67392         <kernel-features.h>.
67393         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67394         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67395         132096]: Remove conditional code.
67396         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67397         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67398         <kernel-features.h>.
67399         [__ASSUME_32BITUIDS]: Make code unconditional.
67400         [!__ASSUME_32BITUIDS]: Remove conditional code.
67401         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67402         <kernel-features.h>.
67403         [__ASSUME_32BITUIDS]: Make code unconditional.
67404         [!__ASSUME_32BITUIDS]: Remove conditional code.
67405         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67406         <kernel-features.h>.
67407         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67408         unconditional.
67409         (__setresgid): Do not declare.
67410         [__ASSUME_32BITUIDS]: Make code unconditional.
67411         [!__ASSUME_32BITUIDS]: Remove conditional code.
67412         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67413         <kernel-features.h>.
67414         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67415         unconditional.
67416         (__setresuid): Do not declare.
67417         [__ASSUME_32BITUIDS]: Make code unconditional.
67418         [!__ASSUME_32BITUIDS]: Remove conditional code.
67419         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67420         <kernel-features.h>.
67421         [__ASSUME_32BITUIDS]: Make code unconditional.
67422         [!__ASSUME_32BITUIDS]: Remove conditional code.
67423         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67424         <kernel-features.h>.
67425         [__ASSUME_32BITUIDS]: Make code unconditional.
67426         [!__ASSUME_32BITUIDS]: Remove conditional code.
67428 2012-05-25  Richard Henderson  <rth@twiddle.net>
67430         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67431         dl_hwcap to ifunc resolver.
67432         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67433         elf_ifunc_invoke.
67434         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67435         dl_hwcap to ifunc resolver.
67436         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67438 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67440         [BZ #14153]
67441         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67442         for |x| <= 2**-26, not 2**-57.
67443         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67444         exception.
67446 2012-05-24  Jeff Law  <law@redhat.com>
67448         * stdio-common/Makefile (tests): Add bug25.
67449         * stdio-common/bug25.c: New test.
67451 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67453         [BZ #13576]
67454         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67455         multiple of MALLOC_ALIGNMENT in size.
67456         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67458 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67460         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67461         Require >= 256.
67462         (FILENAME_MAX): Use macro-int-constant.
67463         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67464         (_IOFBF): Use macro-int-constant.
67465         (_IOLBF): Likewise.
67466         (_IONBF): Likewise.
67467         (SEEK_CUR): Likewise.
67468         (SEEK_END): Likewise.
67469         (SEEK_SET): Likewise.
67470         (TMP_MAX): Likewise.
67471         (EOF): Use macro-int-constant.  Require < 0.
67472         (NULL): Use macro-constant.  Require == 0.
67473         (stdin): Require type to be FILE *.
67474         (stdout): Likewise.
67475         (stderr): Likewise.
67476         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67477         macro-int-constant.
67478         (EXIT_SUCCESS): Likewise.
67479         (NULL): Use macro-constant.  Require == 0.
67480         (RAND_MAX): Use macro-int-constant.
67481         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67482         [C99-based standards] (strtof): Require function.
67483         [C99-based standards] (strtold): Likewise.
67484         [C99-based standards] (strtoll): Likewise.
67485         [C99-based standards] (strtoull): Likewise.
67486         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67487         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67488         [ISO || ISO99 || ISO11] (math.h): Likewise.
67489         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67490         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67493 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67495         [BZ #14132]
67496         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67497         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67498         * intl/dgettext.c (DCGETTEXT): Likewise.
67499         * intl/gettext.c (DCGETTEXT): Likewise.
67500         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67501         * posix/regex_internal.h (gettext): Likewise.
67502         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67503         Remove declaration.
67504         * include/argz.h (__argz_count_internal)
67505         (__argz_stringify_internal): Remove declaration.
67506         (__argz_count, __argz_stringify): Declare hidden proto.
67507         * intl/dcgettext.c: Remove use of INTDEF.
67508         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67509         * string/argz-stringify.c: Likewise.
67510         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67511         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67512         Declare hidden proto.
67513         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67514         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67515         Declare hidden proto.
67516         * include/stdio.h (__asprintf_internal): Don't declare.
67517         (__asprintf): Don't define as macro.  Declare hidden proto.
67518         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67519         (__fsetlocking): Declare hidden proto.
67520         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67521         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67522         hidden proto.
67523         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67524         (_IO_setlinebuf): Remove use of INTUSE.
67525         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67526         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67527         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67528         Remove declaration.
67529         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67530         (_IO_do_flush): Remove use of INTUSE.
67531         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67532         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67533         (_IO_adjust_column, _IO_least_wmarker)
67534         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67535         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67536         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67537         (_IO_default_doallocate, _IO_wdefault_doallocate)
67538         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67539         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67540         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67541         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67542         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67543         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67544         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67545         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67546         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67547         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67548         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67549         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67550         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67551         proto.
67552         (_IO_flush_all_internal, _IO_adjust_column_internal)
67553         (_IO_default_uflow_internal, _IO_default_finish_internal)
67554         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67555         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67556         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67557         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67558         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67559         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67560         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67561         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67562         (_IO_file_close_internal, _IO_file_close_it_internal)
67563         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67564         (_IO_file_init_internal, _IO_file_attach_internal)
67565         (_IO_file_fopen_internal, _IO_file_read_internal)
67566         (_IO_file_sync_internal, _IO_file_seek_internal)
67567         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67568         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67569         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67570         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67571         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67572         (_IO_list_all_internal, _IO_link_in_internal)
67573         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67574         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67575         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67576         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67577         (_IO_do_write_internal, _IO_padn_internal)
67578         (_IO_getline_info_internal, _IO_getline_internal)
67579         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67580         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67581         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67582         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67583         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67584         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67585         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67586         with libc_hidden_ver, remove use of INTUSE.
67587         * libio/genops.c: Likewise.
67588         * libio/freopen.c: Likewise.
67589         * libio/freopen64.c: Likewise.
67590         * libio/iofclose.c: Likewise.
67591         * libio/iofdopen.c: Likewise.
67592         * libio/iofflush.c: Likewise.
67593         * libio/iofflush_u.c: Likewise.
67594         * libio/iofgets.c: Likewise.
67595         * libio/iofgets_u.c: Likewise.
67596         * libio/iofopen.c: Likewise.
67597         * libio/iofopncook.c: Likewise.
67598         * libio/iofread.c: Likewise.
67599         * libio/iofread_u.c: Likewise.
67600         * libio/ioftell.c: Likewise.
67601         * libio/iofwrite.c: Likewise.
67602         * libio/iogetline.c: Likewise.
67603         * libio/iogets.c: Likewise.
67604         * libio/iogetwline.c: Likewise.
67605         * libio/iopadn.c: Likewise.
67606         * libio/iopopen.c: Likewise.
67607         * libio/ioseekoff.c: Likewise.
67608         * libio/ioseekpos.c: Likewise.
67609         * libio/iosetbuffer.c: Likewise.
67610         * libio/iosetvbuf.c: Likewise.
67611         * libio/ioungetc.c: Likewise.
67612         * libio/ioungetwc.c: Likewise.
67613         * libio/iovdprintf.c: Likewise.
67614         * libio/iovsprintf.c: Likewise.
67615         * libio/iovsscanf.c: Likewise.
67616         * libio/memstream.c: Likewise.
67617         * libio/obprintf.c: Likewise.
67618         * libio/oldfileops.c: Likewise.
67619         * libio/oldiofclose.c: Likewise.
67620         * libio/oldiofdopen.c: Likewise.
67621         * libio/oldiofopen.c: Likewise.
67622         * libio/oldiopopen.c: Likewise.
67623         * libio/oldstdfiles.c: Likewise.
67624         * libio/putc.c: Likewise.
67625         * libio/setbuf.c: Likewise.
67626         * libio/setlinebuf.c: Likewise.
67627         * libio/stdfiles.c: Likewise.
67628         * libio/strops.c: Likewise.
67629         * libio/vasprintf.c: Likewise.
67630         * libio/vscanf.c: Likewise.
67631         * libio/vsnprintf.c: Likewise.
67632         * libio/vswprintf.c: Likewise.
67633         * libio/wfiledoalloc.c: Likewise.
67634         * libio/wfileops.c: Likewise.
67635         * libio/wgenops.c: Likewise.
67636         * libio/wmemstream.c: Likewise.
67637         * libio/wstrops.c: Likewise.
67638         * libio/__fpurge.c: Likewise.
67639         * libio/__fsetlocking.c: Likewise.
67640         * assert/assert.c: Likewise.
67641         * debug/fgets_chk.c: Likewise.
67642         * debug/fgets_u_chk.c: Likewise.
67643         * debug/fread_chk.c: Likewise.
67644         * debug/fread_u_chk.c: Likewise.
67645         * debug/gets_chk.c: Likewise.
67646         * debug/obprintf_chk.c: Likewise.
67647         * debug/vasprintf_chk.c: Likewise.
67648         * debug/vdprintf_chk.c: Likewise.
67649         * debug/vsnprintf_chk.c: Likewise.
67650         * debug/vsprintf_chk.c: Likewise.
67651         * malloc/mtrace.c: Likewise.
67652         * misc/error.c: Likewise.
67653         * misc/syslog.c: Likewise.
67654         * stdio-common/asprintf.c: Likewise.
67655         * stdio-common/fxprintf.c: Likewise.
67656         * stdio-common/getw.c: Likewise.
67657         * stdio-common/isoc99_fscanf.c: Likewise.
67658         * stdio-common/isoc99_scanf.c: Likewise.
67659         * stdio-common/isoc99_vfscanf.c: Likewise.
67660         * stdio-common/isoc99_vscanf.c: Likewise.
67661         * stdio-common/isoc99_vsscanf.c: Likewise.
67662         * stdio-common/printf-prs.c: Likewise.
67663         * stdio-common/printf_fp.c: Likewise.
67664         * stdio-common/printf_fphex.c: Likewise.
67665         * stdio-common/printf_size.c: Likewise.
67666         * stdio-common/putw.c: Likewise.
67667         * stdio-common/scanf.c: Likewise.
67668         * stdio-common/sprintf.c: Likewise.
67669         * stdio-common/tmpfile.c: Likewise.
67670         * stdio-common/vfprintf.c: Likewise.
67671         * stdio-common/vfscanf.c: Likewise.
67672         * stdlib/strfmon_l.c: Likewise.
67673         * sunrpc/openchild.c: Likewise.
67674         * sunrpc/xdr_stdio.c: Likewise.
67675         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67676         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67678 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67680         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67682         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67683         in the third column, to generate for the shared library an IFUNC
67684         that uses _dl_vdso_vsym.
67685         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67686         * Makeconfig (object-suffixes-noshared): New variable.
67688         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67689         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67690         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67691         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67693         [BZ #14132]
67694         * include/sys/time.h (__gettimeofday): Remove macro.
67695         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67696         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67697         Remove INTDEF.
67698         (__gettimeofday): Add libc_hidden_def.
67699         (gettimeofday): Add libc_hidden_weak.
67700         * sysdeps/mach/gettimeofday.c: Likewise.
67701         * sysdeps/posix/gettimeofday.c: Likewise.
67702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67703         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67704         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67705         (__gettimeofday_internal): Remove strong_alias.
67706         (__gettimeofday): Add libc_hidden_def.
67707         (gettimeofday): Add libc_hidden_weak.
67708         * sysdeps/unix/syscalls.list (gettimeofday):
67709         Remove __gettimeofday_internal alias.
67711 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67712             H.J. Lu  <hongjiu.lu@intel.com>
67714         [BZ #12495]
67715         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67716         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67717         (largebin_index_32_big): New.
67718         (largebin_index): Use it for 16-byte alignment.
67719         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67720         correction with front_misalign.
67722 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67726         Likewise.
67727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67728         Likewise.
67729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67730         Likewise.
67731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67732         Likewise.
67733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67734         Likewise.
67735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67736         Likewise.
67737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67738         Likewise.
67739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67740         Likewise.
67741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67742         Likewise.
67743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67744         Likewise.
67745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67746         Likewise.
67747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67748         Likewise.
67750         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67751         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67753 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67755         [BZ #10846]
67756         [BZ #14036]
67757         * math/libm-test.inc (exp_test): Add test from bug 14036.
67758         (pow_test): Add test from bug 10846.
67760         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67761         and other flags.
67762         (special_function): Do not include flags in test name.
67763         (parse_args): Likewise.
67764         * sysdeps/i386/fpu/libm-test-ulps: Update.
67765         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67766         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67767         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67770         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67771         exceptions.
67772         * math/libm-test.inc ("Philosophy"): Update comment about
67773         exception testing.
67774         (UNDERFLOW_EXCEPTION): New macro.
67775         (UNDERFLOW_EXCEPTION_OK): Likewise.
67776         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67777         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67778         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67779         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67780         (INVALID_EXCEPTION_OK): Update value.
67781         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67782         (OVERFLOW_EXCEPTION_OK): Likewise.
67783         (IGNORE_ZERO_INF_SIGN): Likewise.
67784         (test_exceptions): Handle underflow exceptions.
67785         (acos_test): Update for underflow exception expectations.
67786         (cexp_test): Likewise.
67787         (clog_test): Likewise.
67788         (clog10_test): Likewise.
67789         (csqrt_test): Likewise.
67790         (ctan_test): Likewise.
67791         (ctanh_test): Likewise.
67792         (exp_test): Likewise.
67793         (exp10_test): Likewise.
67794         (exp2_test): Likewise.
67795         (expm1_test): Likewise.
67796         (fma_test): Likewise.
67797         (j0_test): Likewise.
67798         (jn_test): Likewise.
67799         (nexttoward_test): Likewise.
67800         (pow_test): Likewise.
67801         (scalbn_test): Likewise.
67802         (scalbln_test): Likewise.
67803         (tan_test): Likewise.
67804         (y1_test): Likewise.
67805         * sysdeps/i386/fpu/libm-test-ulps: Update.
67806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67808 2012-05-23  David S. Miller  <davem@davemloft.net>
67810         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67811         (__libc_sigaction): Remove unused local variables.
67813 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67815         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67817 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67819         mktime: avoid signed integer overflow
67820         * time/mktime.c (__mktime_internal): Do not mishandle the case
67821         where diff == INT_MIN.
67823         mktime: simplify computation of average
67824         * time/mktime.c (ranged_convert): Use new time_t_avg function
67825         instead of rolling our own (probably-slower) code.
67827         mktime: do not assume signed right shift propagates sign bit
67828         * time/mktime.c (isdst_differ): New static function.
67829         (__mktime_internal): No need to normalize tm_isdst now.
67830         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67831         tm_isdst values.
67833         mktime: merge another wrapv change from gnulib
67834         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67835         from some compilers.
67837         mktime: remove incorrect attempt at unusual arithmetics
67838         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67839         The code didn't really work on such machines anyway.
67840         (TYPE_MINIMUM): Assume two's complement.
67841         (twos_complement_arithmetic): Verify that long_int and time_t
67842         are two's complement (or unsigned, in the latter case).
67844         mktime: check signed shifts on long_int and time_t, too
67845         * time/mktime.c (SHR): Check that shifts work as desired
67846         on the types long_int and time_t too, as SHR is used on
67847         such types.
67849         mktime: do not assume 'long' is wide enough
67850         * time/mktime.c (verify): Move decl up.
67851         (long_int): New type.
67852         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67853         to remove assumption in the code that 'long' is wide enough to
67854         store year values.  This assumption is not true on x32 and on
67855         some non-glibc platforms.
67857         mktime: merge wrapv change from gnulib
67858         * time/mktime.c (WRAPV): New macro.
67859         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67860         (guess_time_tm, __mktime_internal): Do not assume that signed
67861         integer overflow wraps around; modern compilers generate code
67862         where this assumption is no longer valid.
67864 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67866         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67867         Replace "jmp L(pseudo_end)" with "ret".
67868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67869         Likewise.
67871 2012-05-23  Andreas Jaeger  <aj@suse.de>
67873         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67874         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67876 2012-05-23  Andreas Jaeger  <aj@suse.de>
67877             Maximilian Attems  <max@stro.at>
67879         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67880         New macros.
67882 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67884         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67885         code so that pseudo_end is just ret and the stack pointer is
67886         correct also for static library in error case.
67888 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67890         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67891         move to syscalls.list.
67892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67897         * manual/install.texi (Running make install): Do not mention Linux
67898         kernel version for which pt_chown is not needed.
67899         (Linux): Do not mention problems with nscd with 2.0 kernels.
67900         * INSTALL: Regenerated.
67902 2012-05-23  Andreas Jaeger  <aj@suse.de>
67904         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67905         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67906         macro.
67907         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67908         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67909         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67910         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67911         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67912         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67913         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67914         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67916         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67917         * sysdeps/unix/sysv/linux/bits/in.h
67918         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67920 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67922         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67923         (PREPARE_VERSION): Just use assert instead, it will be elided
67924         under [NDEBUG] anyway.
67926 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67928         * sysdeps/unix/sysv/linux/Makefile: Include
67929         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67930         (sysdep_routines): Remove sysctl.
67931         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67932         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67933         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67934         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67935         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67937 2012-05-22  Andreas Jaeger  <aj@suse.de>
67939         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67940         that pseudo_end is just ret and the stack pointer is correct also
67941         for static library in error case.
67943 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67945         [BZ #14122]
67946         * nss/nsswitch.c (defconfig_entries): New variable.
67947         (__nss_database_lookup): Don't leak defconfig entries.
67948         (nss_parse_service_list): Don't leak on error paths.
67949         (free_database_entries): New function.
67950         (free_defconfig): New function.
67951         (free_mem): Move common code to free_database_entries.
67953 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67955         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67956         Add arch_prctl.
67957         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67959         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67960         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67962         New macro.
67963         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67964         (INTERNAL_SYSCALL_TYPES): Likewise.
67965         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67966         (LOAD_REGS_TYPES_[1-6]): Likewise.
67967         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67968         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67970 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67972         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67973         copysignl for GLIBC_2_0.
67974         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67975         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67977         logbl for GLIBC_2_0.
67978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67979         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67981 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67983         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67984         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67986         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67987         Use "neg %eax".
67989         * time/mktime.c: Update copyright years.
67991 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67993         mktime: merge comment-quoting-style change from gnulib
67994         * time/mktime.c: Quote 'like this' in comments.
67995         The GNU coding standards suggest that we no longer quote `like this',
67996         as "`" and "'" are typically rendered asymmetrically nowadays.
67997         The typical gnulib style is to quote 'like this' when quoting
67998         code, and "like this" when quoting English.
68000         * time/mktime.c (compile-command): Add "-I.".
68002         mktime: merge mktime-internal.h change from gnulib
68003         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68005         mktime: merge time_r change from gnulib
68006         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68008         mktime: merge DEBUG change from gnulib
68009         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68010         case system <time.h> has a #define.
68012         mktime: merge <sys/types.h> change from gnulib
68013         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68014         since <time.t> is now guaranteed to define time_t.
68016         mktime: merge HAVE_CONFIG_H change from gnulib
68017         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68019 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68022         Use "neg %eax".
68024         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68025         __rlim_t cast.
68026         (struct rusage): Use anonymous union to pad each field to
68027         __syscall_slong_t.
68029 2012-05-21  David S. Miller  <davem@davemloft.net>
68031         * Makefules (o-iterator): Remove .s cases.
68032         (compile-command.s): Delete.
68033         (COMPILE.s): Delete.
68034         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68036 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68038         * configure.in (libc_cv_predef_stack_protector): Only consider
68039         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68040         * configure: Regenerated.
68042 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68045         New macro.  Use R*LP on int and pointer.
68046         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68047         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68048         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68049         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68051         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68052         [__WORDSIZE_TIME64_COMPAT32] instead of
68053         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68054         (struct utmp): Likewise.
68055         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68056         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68057         Renamed to ...
68058         (__WORDSIZE_TIME64_COMPAT32): This.
68059         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68060         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68061         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68062         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68063         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68064         (__WORDSIZE_TIME64_COMPAT32): New macro.
68066 2012-05-21  Andreas Jaeger  <aj@suse.de>
68068         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68069         only if [SHARED]. Add prototype for __wcschr_ia32.
68071 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68073         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68074         of %rbp unmolested in the jmp_buf while mangling the low bits.
68075         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68076         unmolested high bits of %rbp while demangling the low bits.
68077         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68079 2012-05-21  Andreas Jaeger  <aj@suse.de>
68081         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68082         * sunrpc/svc_simple.c: Use it for registerrpc.
68083         * sunrpc/xcrypt.c: Use it for passwd2des.
68085         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68087 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68089         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68090         Don't define if [__SYSCALL_WORDSIZE != 32].
68091         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68092         New macro.
68094 2012-05-21  Bruno Haible  <bruno@clisp.org>
68095             Andreas Jaeger  <aj@suse.de>
68097         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68098         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68099         inptr and inend for must_buffer_ch.
68100         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68101         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68102         * stdio-common/Makefile (tests): Remove bug15.
68103         (bug15-ENV): Remove macro.
68104         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68105         anymore.
68107 2012-05-19  Andreas Jaeger  <aj@suse.de>
68108             Roland McGrath  <roland@hack.frob.com>
68110         * manual/contrib.texi: Completely rewritten. It contains now an
68111         alphabetical list of contributors and their contributions.
68113 2012-05-21  Richard Henderson  <rth@twiddle.net>
68115         * misc/getauxval.c (__getauxval): Use unsigned long int.
68116         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68117         (getauxval): Use unsigned long int.
68119 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68121         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68123 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68125         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68126         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68127         __alignof__ (long double).
68129 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68133 2012-05-20  Richard Henderson  <rth@twiddle.net>
68135         * misc/getauxval.c: New file.
68136         * misc/sys/auxv.h: New file.
68137         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68138         (routines): Add getauxval.
68139         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68140         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68141         * elf/dl-sysdep.c (_dl_auxv): Remove.
68142         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68143         * elf/dl-support.c (_dl_auxv): New variable.
68144         (_dl_aux_init): Initialize it.
68145         * manual/startup.texi (Auxiliary Vector): New node.
68146         * sysdeps/generic/bits/hwcap.h: New file.
68147         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68148         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68149         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68150         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68151         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68154         Update.
68155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68158         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68164 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68168 2012-05-19  David S. Miller  <davem@davemloft.net>
68170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68172 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68174         [BZ #14123]
68175         * math/s_ccosh.c: Include <float.h>
68176         (__ccosh): Avoid internal overflow calculating sinh and cosh
68177         values before multiplying by sin and cos values.
68178         * math/s_ccoshf.c: Likewise.
68179         * math/s_ccoshl.c: Likewise.
68180         * math/s_csin.c: Likewise.
68181         * math/s_csinf.c: Likewise.
68182         * math/s_csinl.c: Likewise.
68183         * math/s_csinh.c: Likewise.
68184         * math/s_csinhf.c: Likewise.
68185         * math/s_csinhl.c: Likewise.
68186         * math/libm-test.inc (ccos_test): Add more tests.
68187         (ccosh_test): Likewise.
68188         (csin_test): Likewise.
68189         (csinh_test): Likewise.
68190         * sysdeps/i386/fpu/libm-test-ulps: Update.
68191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68193 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68195         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68196         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68198         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68200 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68202         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68203         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68204         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68205         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68206         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68207         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68208         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68209         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68210         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68211         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68212         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68213         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68214         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68215         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68216         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68217         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68218         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68219         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68220         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68221         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68222         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68223         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68224         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68225         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68226         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68227         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68228         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68229         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68230         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68231         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68232         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68234 2012-05-18  Andreas Jaeger  <aj@suse.de>
68236         * csu/.gitignore: Delete.
68238 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68240         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68241         (timex): Use __syscall_slong_t.
68243 2012-05-18  Andreas Jaeger  <aj@suse.de>
68244             Carlos O'Donell  <carlos_odonell@mentor.com>
68246         * manual/install.texi (Configuring and compiling): Update
68247         description about files modified in the source directory.
68248         * INSTALL: Regenerated.
68250 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68252         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68253         value.  Use "or" to set return value to -1.
68254         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68255         negate return value.
68257 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68259         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68260         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68261         failure if the compiler has Graphite support disabled.
68262         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68263         Likewise.
68264         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68265         (CFLAGS-memmove.c): Likewise.
68266         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68267         Likewise.
68269 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68271         * sysdeps/x86_64/x32/_itoa.h: New file.
68273         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68274         getdents system call only if kernel and user dirents have the
68275         same d_ino and d_off.
68277         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68278         LLONG_MAX != LONG_MAX.
68279         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68280         (_fitoa_word): Likewise.
68282         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68283         years.
68284         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68285         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68286         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68288         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68289         include <bits/wordsize.h>.  Check __x86_64__ instead of
68290         __WORDSIZE.
68291         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68292         if __x86_64__ is defined.  Use anonymous union on fpstate.
68294         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68295         anonymous union.
68297 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68299         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68300         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68301         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68302         Refer to _rtld_local_ro instead of _rtld_global_ro.
68303         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68304         Likewise.
68305         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68306         Likewise.
68307         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68308         Likewise.
68309         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68310         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68311         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68313         [BZ #10882]
68314         * sysdeps/powerpc/powerpc32/dl-machine.c
68315         (__elf_machine_runtime_setup) [PROF]: Don't reference
68316         _dl_prof_resolve.
68318 2012-05-18  Andreas Jaeger  <aj@suse.de>
68320         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68321         function only available for GCCs before 3.4 since GCC 3.4
68322         introduced a builtin.
68323         (lrint): Likewise.
68324         (llrintf): Likewise.
68325         (llrint): Likewise.
68326         (fmaxf): Likewise.
68327         (fmax): Likewise.
68328         (fminf): Likewise.
68329         (fmin): Likewise.
68330         (rint): Likewise.
68331         (rintf): Likewise.
68332         (nearbyint): Likewise.
68333         (nearbyintf): Likewise.
68334         (ceil): Likewise.
68335         (ceilf): Likewise.
68336         (floor): Likewise.
68337         (floorf): Likewise.
68339 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68341         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68342         on both fields and cast pointer to __syscall_ulong_t.
68344         * bits/types.h (__fsword_t): New type.
68345         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68346         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68348         (__FSWORD_T_TYPE): Likewise.
68349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68350         (__FSWORD_T_TYPE): Likewise.
68351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68352         (__FSWORD_T_TYPE): Likewise.
68353         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68354         (__FSWORD_T_TYPE): Likewise.
68355         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68356         __SWORD_TYPE with __fsword_t.
68357         (statfs64): Likewise.
68359 2012-05-17  David S. Miller  <davem@davemloft.net>
68361         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68363 2012-05-17  Andreas Jaeger  <aj@suse.de>
68365         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68366         warning.
68368 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68370         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68372 2012-05-17  Andreas Jaeger  <aj@suse.de>
68374         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68375         when it is used.
68377 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68379         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68381 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68383         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68384         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68386 2012-05-17  Andreas Jaeger  <aj@suse.de>
68387             Carlos O'Donell  <carlos_odonell@mentor.com>
68389         [BZ #14059]
68390         * sysdeps/x86_64/multiarch/init-arch.h
68391         (bit_YMM_Usable): Rename to...
68392         (bit_AVX_Usable): ... this.
68393         (bit_FMA4_Usable): New macro.
68394         (bit_XMM_state): New macro.
68395         (bit_YMM_state): New macro.
68396         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68397         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68398         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68399         (CPUID_OSXSAVE): New macro.
68400         (CPUID_AVX): New macro.
68401         (CPUID_FMA4): New macro.
68402         (index_YMM_Usable): Rename to...
68403         (index_AVX_Usable): ... this.
68404         (HAS_AVX): Use HAS_ARCH_FEATURE.
68405         (HAS_FMA4): Likewise.
68406         (HAS_YMM_USABLE): Remove.
68407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68408         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68409         are present.
68410         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68411         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68412         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68413         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68414         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68416 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68418         * math/libm-test.c: Support platforms without multiple rounding modes.
68419         * math/bug-nextafter.c: Support platforms without FP exceptions.
68420         * math/bug-nexttoward.c: Likewise.
68421         * math/test-fenv.c: Likewise.
68422         * math/test-misc.c: Likewise.
68423         * stdlib/bug-getcontext.c: Likewise.
68425 2012-05-17  Andreas Jaeger  <aj@suse.de>
68427         * manual/examples/search.c (critter_cmp): Change signature to
68428         avoid warnings.
68429         * manual/string.texi (Collation Functions): Likewise.
68431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68433         * bits/types.h: Fold copyright years.
68434         * bits/typesizes.h: Likewise.
68435         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68436         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68439         * time/time.h: Likewise.
68441 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68443         [BZ #208]
68444         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68445         in instead of returning them.  Return void.
68446         (__libc_mallinfo): Accumulate over all arenas.
68447         (__malloc_stats): Adjust for change in int_mallinfo interface.
68449 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68451         [BZ #10375]
68452         * configure.in (NM): Add AC_CHECK_TOOL for it.
68453         (libc_extra_cflags): New substituted variable.
68454         Check for -fstack-protector being used implicitly.
68455         * configure: Regenerated.
68456         * config.make.in (config-extra-cflags): New variable,
68457         gets @libc_extra_cflags@.
68458         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68460         [BZ #10375]
68461         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68462         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68463         * configure: Regenerated.
68464         * config.make.in (CPPUNDEFS): New substituted variable.
68465         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68466         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68467         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68469 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68471         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68472         (mq_attr): Use __syscall_slong_t.
68474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68476         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68477         Check __x86_64__ instead of __WORDSIZE.
68478         (_STAT_VER_LINUX): Likewise.
68479         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68480         __syscall_ulong_t and __syscall_slong_t.
68481         (stat64): Likewise.
68483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68487 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68489         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68493         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68494         __syscall_ulong_t.
68496         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68497         include <bits/wordsize.h>.  Check __x86_64__ instead of
68498         __WORDSIZE.
68499         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68500         defined.
68501         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68503         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68504         include <bits/wordsize.h>.  Check __x86_64__ instead of
68505         __WORDSIZE.
68506         (user_regs_struct): Use "__extension__ unsigned long long"
68507         instead of "unsigned long" if __x86_64__ is defined.
68508         (user): Likewise.  Pad after pointer field if __ILP32__ is
68509         defined.
68511 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68513         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68514         versions 5 to 9.
68515         * configure: Regenerated.
68516         * manual/install.texi (texinfo): Increase version requirement to
68517         4.5 or later.
68518         * INSTALL: Regenerated.
68520         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68524         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68526         * sysdeps/x86_64/x32/ffs.c: New file.
68528         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68529         __syscall_ulong_t.
68530         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68531         defined.  Use __syscall_ulong_t.
68532         (shminfo): Use __syscall_ulong_t.
68533         (shm_info): Likewise.
68535         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68536         __syscall_ulong_t.
68538         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68539         <bits/wordsize.h>.
68540         (msgqnum_t): Use __syscall_ulong_t.
68541         (msglen_t): Likewise.
68542         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68543         __syscall_ulong_t.
68545         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68546         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68548         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68550         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68551         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68553         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68554         __syscall_slong_t.
68556         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68557         include <bits/wordsize.h>.  Check __x86_64__ instead of
68558         __WORDSIZE.
68560         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68561         "unsigned long long int" if __x86_64__ is defined.
68562         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68564         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68565         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68566         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68568         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68569         <stdint.h>.
68570         (GET_PC): Cast to uintptr_t first.
68571         (GET_FRAME): Likewise.
68572         (GET_STACK): Likewise.
68574         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68576         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68577         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68578         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68579         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68580         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68581         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68582         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68583         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68585         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68586         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68587         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68588         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68589         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68591         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68592         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68593         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68594         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68595         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68597         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68599         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68601         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68604 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68606         * Makerules (+depfiles): Also collect depfiles from .oS in
68607         $(extra-objs).
68608         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68609         .oS, $(libnldbl-routines)).
68611         * Makerules (native-compile-mkdep-flags): Define.
68612         * sunrpc/Makefile (extra-objs): Add $(addprefix
68613         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68614         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68615         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68616         calling $(make-target-directory).
68618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68620         * bits/types.h (__snseconds_t): Removed.
68621         * time/time.h (struct timespec): Replace __snseconds_t with
68622         __syscall_slong_t.
68623         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68624         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68625         Likewise.
68626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68627         (__SNSECONDS_T_TYPE): Likewise.
68628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68629         (__SNSECONDS_T_TYPE): Likewise.
68630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68631         (__SNSECONDS_T_TYPE): Likewise.
68633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68635         * sysdeps/mach/hurd/bits/typesizes.h
68636         (__SYSCALL_SLONG_TYPE): New macro.
68637         (__SYSCALL_ULONG_TYPE): Likewise.
68639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68641         * bits/types.h (__syscall_slong_t): New type.
68642         (__syscall_ulong_t): Likewise.
68644         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68645         (__SYSCALL_ULONG_TYPE): Likewise.
68646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68647         (__SYSCALL_SLONG_TYPE): Likewise.
68648         (__SYSCALL_ULONG_TYPE): Likewise.
68649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68650         (__SYSCALL_SLONG_TYPE): Likewise.
68651         (__SYSCALL_ULONG_TYPE): Likewise.
68652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68653         (__SYSCALL_SLONG_TYPE): Likewise.
68654         (__SYSCALL_ULONG_TYPE): Likewise.
68656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68658         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68659         Add sigaltstack-offsets.sym.
68660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68661         <sigaltstack-offsets.h>.
68662         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68663         longjmp_msg pointer.
68664         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68665         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68666         signal stack.
68667         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68669 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68671         * elf/stackguard-macros.h: Remove file.
68672         * sysdeps/generic/stackguard-macros.h: New file.
68673         * sysdeps/i386/stackguard-macros.h: Likewise.
68674         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68675         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68676         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68677         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68678         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68679         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68680         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68681         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68682         <elf/stackguard-macros.h>.
68684         [BZ #14109]
68685         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68686         __aligned__ in attribute.
68687         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68688         (gregset_t): Likewise.
68690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68692         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68693         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68694         * sysdeps/x86_64/x32/Implies-after: New file.
68696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68698         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68699         and access return value for _dl_profile_fixup.  Use R10_LP to
68700         load frame size.
68702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68704         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68708         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68709         * sysdeps/x86_64/x32/sysdep.h: New file.
68711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68713         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68714         * sysdeps/x86_64/setjmp.S: Likewise.
68716 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68718         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68719         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68720         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68722         remove unused global constant.
68724 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68726         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68727         include of <not-cancel.h>.
68729 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68731         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68733 2012-05-15  Jeff Law  <law@redhat.com>
68734             Andreas Jaeger  <aj@suse.de>
68736         [BZ #13594]
68737         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68738         out from...
68739         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68740         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68741         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68742         code changing __hst_map_handle.map.
68744 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68746         * configure.in (sysnames): Look for Implies-before and Implies-after
68747         files.
68748         * configure: Regenerated.
68750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68752         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68753         8-byte data alignment with LP_SIZE alignment.
68755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68757         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68758         into R10_LP.
68760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68762         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68766         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68767         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68768         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68769         Likewise.
68770         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68774         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68775         (stackinfo_sub_sp): Likewise.
68777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68779         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68780         RAX_LP.
68782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68784         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68785         into R*_LP.
68787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68789         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68790         sizes into R*_LP.
68792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68794         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68798         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68799         into R11_LP and load __x86_64_shared_cache_size_half into
68800         R8_LP.
68802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68804         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68805         R8_LP.
68807 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68810         logb for POWER7.
68811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68812         logbf for POWER7.
68813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68814         logbl for POWER7.
68815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68816         powerpc32/power7/fpu/s_logb.c via #include.
68817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68818         powerpc32/power7/fpu/s_logbf.c via #include.
68819         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68820         powerpc32/power7/fpu/s_logbl.c via #include.
68822 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68824         * README.libm: Remove file.
68826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68828         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68829         count for x32.  Use R*_LP and omit operand-size suffix.
68831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68833         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68834         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68835         * sysdeps/x86_64/x32/shlib-versions: New file.
68837 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68839         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68840         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68841         Use _dl_fatal_printf instead.
68843 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68845         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68846         set if not set by the user.  Do not allow for being unset.
68847         * sysdeps/unix/sysv/linux/configure: Regenerated.
68849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68851         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68852         the `q' suffix from lea and replace .quad with ASM_ADDR.
68854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68857         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68858         instead of $17.
68859         (PTR_DEMANGLE): Likewise.
68861 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68863         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68864         (LP_OP): Likewise.
68865         (ASM_ADDR): Likewise.
68866         (RAX_LP): Likewise.
68867         (RBP_LP): Likewise.
68868         (RBX_LP): Likewise.
68869         (RCX_LP): Likewise.
68870         (RDI_LP): Likewise.
68871         (RSI_LP): Likewise.
68872         (RSP_LP): Likewise.
68873         (R8_LP): Likewise.
68874         (R9_LP): Likewise.
68875         (R10_LP): Likewise.
68876         (R10_LP): Likewise.
68877         (R11_LP): Likewise.
68878         (R12_LP): Likewise.
68879         (R13_LP): Likewise.
68880         (R14_LP): Likewise.
68881         (R15_LP): Likewise.
68883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68885         * sysdeps/x86_64/x32/dl-machine.h: New file.
68887 2012-05-14  Andreas Jaeger  <aj@suse.de>
68889         * manual/Makefile (subdir): Remove export of subdir.
68890         (all): Remove target.
68891         (.PHONY): Remove all from list.
68892         (mkinstalldirs): Remove.
68893         (.PHONY): Remove installdirs from list.
68894         ($(inst_infodir)/libc.info): Use make-target-directory.
68895         (installdirs): Remove.
68896         (subdir_%): Remove.
68897         (glibc-targets): Remove.
68898         (lib): Remove.
68899         (stubs): Remove.
68900         ($(objpfx)stubs ../po/manual.pot): Remove.
68901         ($(objpfx)stamp%): Remove.
68902         (make-target-directory): Remove.
68903         (subdir_install): Remove.
68904         (routines): Remove.
68905         (aux): Remove.
68906         (sources): Remove.
68907         (objects): Remove.
68908         (headers): Remove.
68910         [BZ #13750]
68911         * manual/.gitignore: Remove, it's not needed anymore.
68912         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68913         all files in it.
68914         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68915         directory.
68916         (texis): Renamed to $(objpfx)texis.
68917         (texis-path): New, contains path to generated files.
68918         (chapters.%): Use texis-path for complete path, add extra argument
68919         libc-texinfo.sh.
68920         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68921         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68922         (summary,texi, stamp-summary): Use complete path of
68923         files. Generate files in build dir.
68924         (dir-add.texi): Build in build dir.
68925         (libm-err.texi,stamp-libm-err): Likewise.
68926         (version.texi, stamp-version): Likewise.
68927         (.%c.texi): Likewise.
68928         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68929         (mostlyclean): Remove target.
68930         (realclean): Remove target.
68931         (generated): Add new variable with contents from mostlyclean and
68932         realclean, remove entries duplicated in common-mostlyclean, add
68933         stamp-libm-err and stamp-version.
68934         (generated-dirs): Add libc directory.
68935         ($(inst_infodir)/libc.info): Install files from build dir.
68937         * manual/install.texi (Configuring and compiling): Adjust since
68938         the info files are not part of the tar ball anymore.
68940 2012-05-14  Andreas Jaeger  <aj@suse.de>
68942         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68943         variable.
68945 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68947         [BZ #13717]
68948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68949         to 2.2.0 where earlier.
68950         * sysdeps/unix/sysv/linux/configure: Regenerated.
68951         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68952         Remove conditional code.
68953         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68954         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68955         Remove conditional code.
68956         [!__NR_lchown]: Likewise.
68957         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68958         [__NR_lchown]: Likewise.
68959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68960         comment referencing __ASSUME_LCHOWN_SYSCALL.
68961         * sysdeps/unix/sysv/linux/i386/sigaction.c
68962         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68963         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68964         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68965         Remove conditional code.
68966         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68967         (__protocol_available): Remove #if 0 code.
68968         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68969         conditional code.
68970         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68971         * sysdeps/unix/sysv/linux/kernel-features.h
68972         (__ASSUME_GETCWD_SYSCALL): Don't define.
68973         (__ASSUME_REALTIME_SIGNALS): Likewise.
68974         (__ASSUME_PREAD_SYSCALL): Likewise.
68975         (__ASSUME_PWRITE_SYSCALL): Likewise.
68976         (__ASSUME_POLL_SYSCALL): Likewise.
68977         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68978         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68979         non-SPARC.
68980         (__ASSUME_SIOCGIFNAME): Don't define.
68981         (__ASSUME_MSG_NOSIGNAL): Likewise.
68982         (__ASSUME_SENDFILE): Define unconditionally.
68983         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68984         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68985         conditional code.
68986         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68987         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68988         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68989         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68990         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68991         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68992         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68994         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68997         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69000         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69006         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69009         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69012         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69013         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69015         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69016         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69017         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69018         Remove conditional code.
69019         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69020         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69021         Remove conditional code.
69022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69023         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69024         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69025         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69026         Remove conditional code.
69027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69028         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69029         Remove conditional code.
69030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69031         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69032         Remove conditional code.
69033         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69034         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69035         Remove conditional code.
69036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69037         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69038         Remove conditional code.
69039         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69040         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69041         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69043         * sysdeps/unix/sysv/linux/sigaction.c
69044         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69045         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69046         * sysdeps/unix/sysv/linux/sigpending.c
69047         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69048         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69049         * sysdeps/unix/sysv/linux/sigprocmask.c
69050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69052         * sysdeps/unix/sysv/linux/sigsuspend.c
69053         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69054         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69055         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69056         (__libc_missing_rt_sigs): Remove.
69057         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69058         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69059         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69060         Remove conditional code.
69061         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69062         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69063         return 1.
69064         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69065         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69066         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69067         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69069 2012-05-14  Andreas Jaeger  <aj@suse.de>
69071         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69072         it's not used in glibc.
69073         (__coshm1): Likewise.
69074         (__acosh1p): Likewise.
69075         (__sgn): Likewise.
69077         * manual/string.texi (Copying and Concatenation): Add missing
69078         variable in concat example.
69079         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69083         [BZ #14103]
69084         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69085         __builtin_clzl with __builtin_clzll.
69087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69089         [BZ #14104]
69090         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69091         libc_freeres_ptr.
69093 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69095         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69096         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69097         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69098         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69100 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69102         * NEWS: Update ia64 info.
69104 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69106         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69107         used as bcopy.
69109 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69111         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69112         * sysdeps/unix/syscalls.list (dup3): Likewise.
69113         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69114         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69116 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69118         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69119         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69121 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69123         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69124         thread pointer.
69125         (TLS_IE): Use mov/add instead of movq/addq to load thread
69126         pointer.
69127         (TLS_GD_PREFIX): New.
69128         (TLS_GD): Use it.
69130 2012-05-11  David S. Miller  <davem@davemloft.net>
69132         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69133         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69134         (_FPU_SETCW): Likewise.
69136 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69138         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69139         is 32-byte aligned.
69141 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69143         [BZ #11837]
69144         * iconvdata/gb18030.c: Update tables.
69145         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69146         characters specially.
69147         (BODY for TO_LOOP): Add encoding of missing ranges.
69149 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69151         [BZ #13673]
69152         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69153         * sysdeps/mach/hurd/dup3.c: Likewise.
69154         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69155         * sysdeps/powerpc/memmove.c:: Likewise.
69157 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69160         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69162 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69164         * elf/elf.h (R_X86_64_RELATIVE64): New.
69165         (R_X86_64_NUM): Updated.
69166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69167         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69168         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69169         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69170         tst-quad1pie tst-quad2pie
69171         (modules-names): Add tst-quadmod1 tst-quadmod2.
69172         ($(objpfx)tst-quad1): New dependency.
69173         ($(objpfx)tst-quad2): Likewise.
69174         ($(objpfx)tst-quad1pie): Likewise.
69175         ($(objpfx)tst-quad2pie): Likewise.
69176         * sysdeps/x86_64/tst-quad1.c: New file.
69177         * sysdeps/x86_64/tst-quad1pie.c: New file.
69178         * sysdeps/x86_64/tst-quad2.c: Likewise.
69179         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69180         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69181         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69182         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69183         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69187         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69188         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69189         * streams/stropts.h (t_scalar_t): Define type.
69191         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69192         (_PATH_PRESERVE): Set to "/var/lib".
69193         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69195         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69196         instead of int.
69198         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69199         if __dir_mkfile succeeded.
69201         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69202         checking for _hurd_dtablesize.  Unlock it right after having
69203         finished _hurd_dtable allocation.
69205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69207         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69208         * sysdeps/mach/hurd/configure: Regenerated.
69209         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69210         special-casing to...
69211         * sysdeps/gnu/configure.in: ... this new file.
69212         * sysdeps/unix/sysv/linux/configure: Regenerated.
69213         * sysdeps/gnu/configure: New generated file.
69215         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69216         for Linux: use nsec instead of usec, as well as:
69217         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69218         members of type struct timespec.
69219         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69220         New macros.
69221         (struct stat64): Likewise.
69222         (_STATBUF_ST_NSEC): New macro.
69223         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69225         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69226         __strtoul_internal rather than strtoul.
69228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69230         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69231         and reject them.
69233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69235         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69236         which preserves existing values.
69237         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69239 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69241         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69242         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69243         greater than FD_SETSIZE.
69245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69247         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69248         allocated, call __vm_protect to finish enabling the existing space, and
69249         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69250         allocate the remainder.
69252 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69254         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69255         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69259         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69260         sysdeps/mach/hurd/readlink.c.
69262         * posix/tst-sysconf.c (posix_options): Only use
69263         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69264         _POSIX_SYNCHRONIZED_IO when they are defined
69265         * sysdeps/mach/hurd/bits/posix_opt.h:
69266         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69267         (_XOPEN_REALTIME): Undefine macro.
69268         (_XOPEN_REALTIME_THREADS): Undefine macro.
69269         (_XOPEN_SHM): Undefine macro.
69270         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69271         macro to -1.
69272         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69273         macro to -1.
69274         (_POSIX_ASYNC_IO): Undefine macro.
69275         (_POSIX_PRIORITIZED_IO): Undefine macro.
69276         (_POSIX_SPIN_LOCKS): Define macro to -1.
69278         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69279         SA_NODEFER, SA_RESETHAND.
69280         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69281         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69282         F_DUPFD_CLOEXEC.
69284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69286         * elf/Makefile (pldd-modules): Define unconditionally.
69288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69290         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69294         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69295         Return ENOENT when name is empty.
69296         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69300         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69302         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69306         Fix mlock in all cases except non-readable pages.
69307         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69308         instead of VM_PROT_ALL as parameter to __vm_wire function.
69310         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69311         (__mkdir): When path is `/', just fail with EEXIST.
69312         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69316         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69317         <sys/uio.h> (for writev).
69318         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69319         and <sys/param.h> (for MIN).
69321 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69323         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69324         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69325         if interrupted.
69327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69329         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69330         Depend on against $(link-rpcuserlibs).
69332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69334         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69335         (__libc_stack_end): Do not use attribute_relro.
69336         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69337         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69338         to libthread-provided value.
69339         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69340         attribute_relro.
69342 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69344         [BZ #3748]
69345         * bits/libc-lock.h (__libc_once_get): New macro.
69346         * sysdeps/mach/bits/libc-lock.h: Likewise.
69347         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69349         instead of using implementation details.
69351         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69352         * libio/freopen.c: Likewise.
69353         * libio/freopen64.c: Likewise.
69354         * misc/syslog.c: Likewise.
69355         * nscd/connections.c: Likewise.
69356         * nscd/netgroupcache.c: Likewise.
69357         * sysdeps/posix/getcwd.c: Likewise.
69359 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69361         * math/w_ilogbf.c: Add #include <limits.h>.
69363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69365         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69366         path instead of returning without unlocking.
69368         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69369         immediate-write ioctls.
69370         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69374         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69375         __builtin_frame_address instead of making assumptions about the
69376         location of the return address relative to DATA.  Force early load of
69377         the return address.
69378         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69379         __builtin_frame_address.
69381         dup3 for GNU Hurd.
69382         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69383         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69384         implement dup3 and do some further code clean-ups.
69385         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69386         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69390         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69392         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69393         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69394         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69395         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69396         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69397         d->port.lock.
69399         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69400         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69401         when handler == SIG_ERR, not when handler != SIG_ERR.
69403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69405         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69406         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69407         definitions.
69409         accept4 for GNU Hurd.
69410         * include/sys/socket.h (__libc_accept4): New prototype.
69411         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69412         to implement __libc_accept4.
69413         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69414         __libc_accept4.
69415         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69417         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69418         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69419         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69420         signal-defines.sym.
69422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69424         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69428         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69429         assertion on O_CLOEXEC flag.
69430         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69431         * hurd/intern-fd.c: Likewise.
69432         * hurd/port2fd.c: Likewise.
69434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69436         [BZ #3906]
69437         * bits/in.h (IPV6_PKTINFO): Define new macro.
69438         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69440 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69442         [BZ #13954]
69443         [BZ #13955]
69444         [BZ #13956]
69445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69446         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69447         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69448         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69450         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69451         * math/libm-test.inc (logb_test) : Additional logb tests.
69453 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69454             Andreas Jaeger  <aj@suse.de>
69456         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69457         * configure: Regenerated.
69458         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69459         * config.make.in (link-obsolete-rpc): New substituted variable.
69460         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69461         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69462         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69463         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69464         so that libc.a contains the symbols.
69465         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69466         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69467         * sunrpc/auth_none.c: Likewise.
69468         * sunrpc/auth_unix.c: Likewise.
69469         * sunrpc/authdes_prot.c: Likewise.
69470         * sunrpc/authuxprot.c: Likewise.
69471         * sunrpc/clnt_gen.c: Likewise.
69472         * sunrpc/clnt_perr.c: Likewise.
69473         * sunrpc/clnt_raw.c: Likewise.
69474         * sunrpc/clnt_simp.c: Likewise.
69475         * sunrpc/clnt_tcp.c: Likewise.
69476         * sunrpc/clnt_udp.c: Likewise.
69477         * sunrpc/clnt_unix.c: Likewise.
69478         * sunrpc/des_crypt.c: Likewise.
69479         * sunrpc/des_soft.c: Likewise.
69480         * sunrpc/get_myaddr.c: Likewise.
69481         * sunrpc/key_call.c: Likewise.
69482         * sunrpc/key_prot.c: Likewise.
69483         * sunrpc/netname.c: Likewise.
69484         * sunrpc/pm_getmaps.c: Likewise.
69485         * sunrpc/pm_getport.c: Likewise.
69486         * sunrpc/pmap_clnt.c: Likewise.
69487         * sunrpc/pmap_prot.c: Likewise.
69488         * sunrpc/pmap_prot2.c: Likewise.
69489         * sunrpc/pmap_rmt.c: Likewise.
69490         * sunrpc/publickey.c: Likewise.
69491         * sunrpc/rpc_cmsg.c: Likewise.
69492         * sunrpc/rpc_common.c: Likewise.
69493         * sunrpc/rpc_dtable.c: Likewise.
69494         * sunrpc/rpc_prot.c: Likewise.
69495         * sunrpc/rpc_thread.c: Likewise.
69496         * sunrpc/rtime.c: Likewise.
69497         * sunrpc/svc.c: Likewise.
69498         * sunrpc/svc_auth.c: Likewise.
69499         * sunrpc/svc_raw.c: Likewise.
69500         * sunrpc/svc_run.c: Likewise.
69501         * sunrpc/svc_tcp.c: Likewise.
69502         * sunrpc/svc_udp.c: Likewise.
69503         * sunrpc/svc_unix.c: Likewise.
69504         * sunrpc/svcauth_des.c: Likewise.
69505         * sunrpc/xcrypt.c: Likewise.
69506         * sunrpc/xdr.c: Likewise.
69507         * sunrpc/xdr_array.c: Likewise.
69508         * sunrpc/xdr_float.c: Likewise.
69509         * sunrpc/xdr_intXX_t.c: Likewise.
69510         * sunrpc/xdr_mem.c: Likewise.
69511         * sunrpc/xdr_rec.c: Likewise.
69512         * sunrpc/xdr_ref.c: Likewise.
69513         * sunrpc/xdr_sizeof.c: Likewise.
69514         * sunrpc/xdr_stdio.c: Likewise.
69516 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69519         change.  Update copyright years.
69521 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69523         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69525 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69526             Joseph Myers  <joseph@codesourcery.com>
69527             Paul Pluzhnikov  <ppluzhnikov@google.com>
69529         [BZ #14012]
69530         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69531         requiring rpcgen.
69532         [cross-compiling] (extra-libs): Likewise.
69533         [cross-compiling] (extra-libs-others): Likewise.
69534         [cross-compiling] (librpcsvc-routines): Likewise.
69535         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69536         [cross-compiling] (omit-deps): Likewise.
69537         (sunrpc-CPPFLAGS): New variable.
69538         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69539         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69540         (cross-rpcgen-objs): New variable.
69541         (extra-objs): Append $(cross-rpcgen-objs).
69542         ($(cross-rpcgen-objs)): New rule.
69543         ($(objpfx)cross-rpcgen): Likewise.
69544         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69545         comment.
69546         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69547         ($(objpfx)x%.stmp): Likewise.
69548         * sunrpc/proto.h [IS_IN_build] (_): Define.
69549         [IS_IN_build] (_libc_intl_domainname): Likewise.
69551 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69554         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69555         and R_X86_64_TPOFF64.
69557 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69559         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69560         sysdeps/unix/sysv/syscalls.list.
69561         (stime): Likewise.
69562         (utime): Likewise.
69563         * sysdeps/unix/sysv/syscalls.list: Remove file.
69565 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69567         [BZ #3440]
69568         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69569         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69570         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69571         (__LC_IDENTIFICATION): Make these macros useful in #if
69572         expressions, as required by C99.
69574 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69576         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69577         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69578         after this.
69580 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69582         * stdlib/longlong.h: Updated from GCC.
69584 2012-05-09  Andreas Jaeger  <aj@suse.de>
69586         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69587         default is first entry.
69588         (run_mode): Set type.
69589         (main): Remove informal message about syslog.
69590         (options): Fix typo.
69592         [BZ #14053]
69593         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69594         to asm.
69595         (lrint): Likewise.
69596         (llrintf): Likewise.
69597         (llrint): Likewise.
69598         (rint): Likewise.
69599         (rintf): Likewise.
69600         (nearbyint): Likewise.
69601         (nearbyintf): Likewise.
69603 2012-05-09  Andreas Jaeger  <aj@suse.de>
69604             Pedro Alves  <palves@redhat.com>
69606         * nscd/nscd.c (run_mode): Use enum.
69607         (main): Cleanup coding style issue.
69609 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69610             Andreas Jaeger  <aj@suse.de>
69612         * nscd/nscd.c (go_background): Replaced with...
69613         (run_mode): ... this.
69614         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69615         (options): Add -F --foreground.
69616         (main): Implement it.
69617         (parse_opt): Parse it.
69619 2012-05-09  Andreas Jaeger  <aj@suse.de>
69621         [BZ #14083]
69622         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69623         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69624         -Wconversion warning.
69625         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69626         Likewise.
69628 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69630         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69631         == 0.
69632         (LC_ALL): Use macro-int-constant.
69633         (LC_COLLATE): Likewise.
69634         (LC_CTYPE): Likewise.
69635         (LC_MESSAGES): Likewise.
69636         (LC_MONETARY): Likewise.
69637         (LC_NUMERIC): Likewise.
69638         (LC_TIME): Likewise.
69639         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69640         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69642         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69643         Specify type.
69644         [C99-based standards] (float_t): Expect type.
69645         [C99-based standards] (double_t): Expect type.
69646         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69647         type.
69648         [C99-based standards] (HUGE_VALL): Likewise.
69649         [C99-based standards] (INFINITY): Likewise.
69650         [C99-based standards] (NAN): Likewise.
69651         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69652         [C99-based standards] (FP_NAN): Likewise.
69653         [C99-based standards] (FP_NORMAL): Likewise.
69654         [C99-based standards] (FP_SUBNORMAL): Likewise.
69655         [C99-based standards] (FP_ZERO): Likewise.
69656         [C99-based standards] (FP_FAST_FMA): Use
69657         optional-macro-int-constant.  Specify type.  Require == 1.
69658         [C99-based standards] (FP_FAST_FMAF): Likewise.
69659         [C99-based standards] (FP_FAST_FMAL): Likewise.
69660         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69661         [C99-based standards] (FP_ILOGBNAN): Likewise.
69662         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69663         Specify type.
69664         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69665         [C99-based standards] (math_errhandling): Specify type.
69666         [ISO99 || ISO11] (signgam): Do not allow.
69667         [non-C99-based standards] (copysignf): Do not allow.
69668         [non-C99-based standards] (exp2f): Likewise.
69669         [non-C99-based standards] (log2f): Likewise.
69670         [non-C99-based standards] (modff): Allow.
69671         [non-C99-based standards] (erff): Do not allow.
69672         [non-C99-based standards] (erfcf): Likewise.
69673         [non-C99-based standards] (gammaf): Likewise.
69674         [non-C99-based standards] (hypotf): Likewise.
69675         [non-C99-based standards] (j0f): Likewise.
69676         [non-C99-based standards] (j1f): Likewise.
69677         [non-C99-based standards] (jnf): Likewise.
69678         [non-C99-based standards] (lgammaf): Likewise.
69679         [non-C99-based standards] (tgammaf): Likewise.
69680         [non-C99-based standards] (y0f): Likewise.
69681         [non-C99-based standards] (y1f): Likewise.
69682         [non-C99-based standards] (ynf): Likewise.
69683         [non-C99-based standards] (isnanf): Likewise.
69684         [non-C99-based standards] (acoshf): Likewise.
69685         [non-C99-based standards] (asinhf): Likewise.
69686         [non-C99-based standards] (atanhf): Likewise.
69687         [non-C99-based standards] (cbrtf): Likewise.
69688         [non-C99-based standards] (expm1f): Likewise.
69689         [non-C99-based standards] (ilogbf): Likewise.
69690         [non-C99-based standards] (log1pf): Likewise.
69691         [non-C99-based standards] (logbf): Likewise.
69692         [non-C99-based standards] (nextafterf): Likewise.
69693         [non-C99-based standards] (remainderf): Likewise.
69694         [non-C99-based standards] (rintf): Likewise.
69695         [non-C99-based standards] (scalbf): Likewise.
69696         [non-C99-based standards] (copysignl): Likewise.
69697         [non-C99-based standards] (exp2l): Likewise.
69698         [non-C99-based standards] (log2l): Likewise.
69699         [non-C99-based standards] (modfl): Allow.
69700         [non-C99-based standards] (erfl): Do not allow.
69701         [non-C99-based standards] (erfcl): Likewise.
69702         [non-C99-based standards] (gammal): Likewise.
69703         [non-C99-based standards] (hypotl): Likewise.
69704         [non-C99-based standards] (j0l): Likewise.
69705         [non-C99-based standards] (j1l): Likewise.
69706         [non-C99-based standards] (jnl): Likewise.
69707         [non-C99-based standards] (lgammal): Likewise.
69708         [non-C99-based standards] (tgammal): Likewise.
69709         [non-C99-based standards] (y0l): Likewise.
69710         [non-C99-based standards] (y1l): Likewise.
69711         [non-C99-based standards] (ynl): Likewise.
69712         [non-C99-based standards] (isnanl): Likewise.
69713         [non-C99-based standards] (acoshl): Likewise.
69714         [non-C99-based standards] (asinhl): Likewise.
69715         [non-C99-based standards] (atanhl): Likewise.
69716         [non-C99-based standards] (cbrtl): Likewise.
69717         [non-C99-based standards] (expm1l): Likewise.
69718         [non-C99-based standards] (ilogbl): Likewise.
69719         [non-C99-based standards] (log1pl): Likewise.
69720         [non-C99-based standards] (logbl): Likewise.
69721         [non-C99-based standards] (nextafterl): Likewise.
69722         [non-C99-based standards] (remainderl): Likewise.
69723         [non-C99-based standards] (rintl): Likewise.
69724         [non-C99-based standards] (scalbl): Likewise.
69725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69726         [non-C99-based standards] (FP_*): Do not allow.
69727         [C99-based standards] (FP_*): Change to
69728         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69729         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69730         allow.
69731         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69732         (SIG_ERR): Likewise.
69733         [X/Open-based standards] (SIG_HOLD): Likewise.
69734         (SIG_IGN): Likewise.
69735         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69736         positive value.
69737         (SIGFPE): Likewise.
69738         (SIGILL): Likewise.
69739         (SIGINT): Likewise.
69740         (SIGSEGV): Likewise.
69741         (SIGTER): Likewise.
69742         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69743         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69744         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69745         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69746         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69747         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69748         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69749         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69750         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69751         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69752         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69753         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69754         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69755         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69756         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69757         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69758         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69759         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69760         [X/Open-based standards] (SIGTRAP): Likewise.
69761         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69762         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69763         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69764         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69765         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69766         allow.
69768 2012-05-08  Ian Wienand  <ianw@vmware.com>
69770         [BZ #14080]
69771         * time/tzset.c (__tzset_parse_tz): Update default rules for
69772         daylight time changes in the Energy Policy Act of 2005.
69774 2012-05-09  Andreas Jaeger  <aj@suse.de>
69776         [BZ #13983]
69777         * elf/ldconfig.c (parse_conf): Change string to make clear that
69778         ldconfig only issued a warning if ld.so.conf does not exist.
69780 2012-05-08  David S. Miller  <davem@davemloft.net>
69782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69783         movxtod instead of popping the value on the stack.
69785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69787 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69789         * config.h.in: Add HAVE_ARM_PCS_VFP.
69791 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69793         [BZ #13979]
69794         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69795         checking but the checks are disabled for any reason.
69797 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69799         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69800         and ELF64_R_TYPE with ELFW(R_TYPE).
69802 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69804         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69805         (ulimit): Likewise.
69807         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69808         (settimeofday): Likewise.
69810 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69812         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69813         a struct th_u2 inside the union, and move tu_block/tu_code into
69814         a new th_u3 union of tu_block/tu_code inside of that.  Move
69815         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69816         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69817         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69818         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69819         (th_stuff): Change to th_u1.tu_stuff.
69820         (th_data): Define.
69821         (th_msg): Change to th_u1.th_u2.tu_data.
69823 2012-05-07  David S. Miller  <davem@davemloft.net>
69825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69827         [BZ #14074]
69828         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69829         (SETUP_PIC_REG): Use it.
69830         (SETUP_PIC_REG_LEAF): Use it.
69832 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69834         [BZ #13885]
69835         [BZ #13923]
69836         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69837         USE_AS_EXPM1L.
69838         (EXPL_FINITE): Likewise.
69839         (FLDLOG): Likewise.
69840         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69841         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69842         e_expl.S.
69843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69844         USE_AS_EXPM1L.
69845         (EXPL_FINITE): Likewise.
69846         (FLDLOG): Likewise.
69847         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69848         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69849         e_expl.S.
69850         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69851         test of -max_value argument for long double.
69852         * sysdeps/i386/fpu/libm-test-ulps: Update.
69853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69855 2012-05-06  David S. Miller  <davem@davemloft.net>
69857         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69858         quad soft-float symbols whose references which are compiler
69859         generated.
69860         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69862 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69864         [BZ #13884]
69865         [BZ #13914]
69866         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69867         USE_AS_EXP10L.
69868         (EXPL_FINITE): Likewise.
69869         (FLDLOG): Likewise.
69870         (c0): Likewise.
69871         (c1): Likewise.
69872         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69873         Adjust comments for base varying.
69874         (__expl_finite): Change alias to EXPL_FINITE.
69875         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69876         e_expl.S.
69877         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69878         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69880         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69881         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69882         USE_AS_EXP10L.
69883         (EXPL_FINITE): Likewise.
69884         (FLDLOG): Likewise.
69885         (c0): Likewise.
69886         (c1): Likewise.
69887         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69888         Adjust comments for base varying.
69889         (__expl_finite): Change alias to EXPL_FINITE.
69890         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69891         tests for bugs.
69892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69894         [BZ #14064]
69895         * math/libm-test.inc (check_float_internal): Correct ulp
69896         calculation for subnormal expected results.
69898 2012-05-06  Andreas Jaeger  <aj@suse.de>
69900         * Makeconfig (+math-flags): New, set to -frounding-math.
69901         (+cflags): Add +math-flags so that all of glibc gets compiled with
69902         it.
69904         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69906 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69908         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69909         Disable one test.
69911         [BZ #13787]
69912         [BZ #13922]
69913         [BZ #14036]
69914         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69915         (__ieee754_expl): Allow for and saturate large arguments.
69916         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69917         (u_threshold): Likewise.
69918         (__exp): Call __ieee754_exp before checking for overflow and
69919         underflow.
69920         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69921         (u_threshold): Likewise.
69922         (__expf): Call __ieee754_expf before checking for overflow and
69923         underflow.
69924         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69925         (u_threshold): Likewise.
69926         (__expl): Call __ieee754_expl before checking for overflow and
69927         underflow.
69928         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69929         (__ieee754_expl): Allow for and saturate large arguments.
69930         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69931         missing overflow exception on overflow.
69932         (expm1_test): Do not allow missing overflow exception on overflow.
69934         * sysdeps/i386/fpu/e_expl.c: Move to ...
69935         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69936         rather than using inline asm.
69937         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69938         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69939         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69941         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69942         (nice): Likewise.
69943         (poll): Likewise.
69944         (signal): Likewise.
69945         (time): Likewise.
69946         (times): Likewise.
69948 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69950         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69951         sysdeps/unix/common/syscalls.list.
69952         (fchmod): Likewise.
69953         (fchown): Likewise.
69954         (ftruncate): Likewise.
69955         (getrusage): Likewise.
69956         (gettimeofday): Likewise.
69957         (setpgid): Likewise.
69958         (setregid): Likewise.
69959         (setreuid): Likewise.
69960         (sigaction): Likewise.
69961         (truncate): Likewise.
69962         (vhangup): Likewise.
69963         * sysdeps/unix/common/syscalls.list: Remove file.
69964         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69965         * sysdeps/unix/sysv/linux/Implies: Likewise.
69967 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69969         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69971         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69972         Moved to ...
69973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69974         Here.
69975         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69976         to ...
69977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69978         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69979         to ...
69980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69981         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69982         to ...
69983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69984         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69985         to ...
69986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69987         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69988         to ...
69989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69990         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69991         to ...
69992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69993         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69994         to ...
69995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69996         Here.
69997         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69998         to ...
69999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70000         Here.
70001         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70002         to ...
70003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70004         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70005         Moved to ...
70006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70007         Here.
70008         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70009         to ...
70010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70012 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70014         * sysdeps/unix/common/bits/dirent.h: Remove file.
70015         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70017         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70018         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70019         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70020         * sysdeps/unix/bsd/isatty.c: Likewise.
70021         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70022         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70023         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70025 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70027         [BZ #13563]
70028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70029         long double comparison inaccuracies.
70030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70033 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70035         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70036         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70038 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70040         [BZ #14049]
70041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70042         nonzero digits before rounding a hex value.
70043         * stdlib/tst-strtod.c (tests): Add another test.
70045 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70047         * sysdeps/s390/fpu/libm-test-ulps: Update.
70049 2012-05-03  Andreas Jaeger  <aj@suse.de>
70051         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70052         does not get optimized out.
70053         (malloc_opt_barrier): New.
70055 2012-05-03  Andreas Jaeger  <aj@suse.de>
70056             Roland McGrath  <roland@hack.frob.com>
70058         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70059         intermediate file deletion.
70060         (generated): Add .symlist files.
70062 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70064         [BZ #13775]
70065         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70066         Redirect under this condition.
70067         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70068         [__USE_GNU] (__dprintf_chk): Not under this condition.
70069         [__USE_GNU] (__vdprintf_chk): Likewise.
70070         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70071         under this condition.
70072         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70073         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70074         [__USE_XOPEN2K8] (vdprintf): Likewise.
70075         [__USE_GNU] (__dprintf_chk): Not under this condition.
70076         [__USE_GNU] (__vdprintf_chk): Likewise.
70077         [__USE_GNU] (dprintf): Likewise.
70078         [__USE_GNU] (vdprintf): Likewise.
70080 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70082         * elf/Makefile (common-generated): Set this instead of generated for
70083         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70084         $(all-built-dso)-derived lists.
70086 2012-05-03  Andreas Jaeger  <aj@suse.de>
70088         * sysdeps/i386/fpu/libm-test-ulps: Update.
70090         * FAQ: Removed.
70091         * FAQ.in: Likewise.
70092         * scripts/gen-FAQ.pl: Likewise.
70093         * manual/install.texi (Installation): Point to online location of
70094         FAQ.
70095         * Makefile (files-for-dist): Remove FAQ.
70096         (FAQ): Remove.
70098 2012-05-02  Allan McRae  <allan@archlinux.org>
70100         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70101         (LDFLAGS-reldepmod5.so): Likewise.
70102         (LDFLAGS-reldep6mod1.so): Likewise.
70103         (LDFLAGS-reldep6mod4.so): Likewise.
70104         (LDFLAGS-reldep8mod3.so): Likewise.
70105         (LDFLAGS-unload4mod1.so): Likewise.
70106         (LDFLAGS-unload4mod2.so): Likewise.
70107         (LDFLAGS-tst-initorder): Likewise.
70108         (LDFLAGS-tst-initordera2.so): Likewise.
70109         (LDFLAGS-tst-initordera3.so): Likewise.
70110         (LDFLAGS-tst-initordera4.so): Likewise.
70111         (LDFLAGS-tst-initorderb2.so): Likewise.
70112         (LDFLAGS-noload): Likewise.
70113         (LDFLAGS-next): Likewise.
70114         (LDFLAGS-order2mod1.so): Likewise.
70115         (LDFLAGS-order2mod2.so): Likewise.
70116         (LDFLAGS-tst-initorder2): Likewise.
70117         (LDFLAGS-tst-initorder2a.so): Likewise.
70118         (LDFLAGS-tst-initorder2b.so): Likewise.
70119         (LDFLAGS-tst-initorder2c.so): Likewise.
70120         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70122 2012-05-02  David S. Miller  <davem@davemloft.net>
70124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70126 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70128         [BZ #14055]
70129         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70131 2012-05-02  Andreas Jaeger  <aj@suse.de>
70133         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70134         since we manipulate rounding mode.
70135         (CPPFLAGS-test-idouble.c): Likewise.
70136         (CPPFLAGS-test-ifloat.c): Likewise.
70137         (CFLAGS-test-ldouble.c): Likewise.
70138         (CFLAGS-test-double.c): Likewise.
70139         (CFLAGS-test-float.c): Likewise.
70140         (CFLAGS-test-misc.c): Likewise.
70141         (CFLAGS-test-test-fenv.c): Likewise.
70143 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70145         [BZ #2550]
70146         [BZ #2570]
70147         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70148         comparisons to determine direction to adjust input.
70150 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70152         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70153         output to the target.
70155         * scripts/localplt.awk: New file.
70156         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70157         (check-localplt-CFLAGS): Variable removed.
70158         ($(all-built-dso:=.jmprel)): New static pattern rule.
70159         (generated): Add those targets.
70160         (localplt-built-dso): New variable.
70161         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70163         * elf/check-localplt.c: File removed.
70165         * scripts/check-execstack.awk: New file.
70166         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70167         (check-execstack-CFLAGS): Variable removed.
70168         ($(objpfx)check-execstack.h): Target removed.
70169         ($(objpfx)execstack-default): New target.
70170         (generated): Add that instead of check-execstack.h.
70171         ($(all-built-dso:=.phdr)): New static pattern rule.
70172         (generated): Add those targets.
70173         * elf/check-execstack.c: File removed.
70175         * scripts/check-textrel.awk: New file.
70176         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70177         (check-textrel-CFLAGS): Variable removed.
70178         (all-built-dso): Use := to define.o
70179         ($(all-built-dso:=.dyn)): New static pattern rule.
70180         (generated): Add those targets.
70181         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70182         * config.make.in (READELF): New substituted variable.
70183         * elf/check-textrel.c: File removed.
70185 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70187         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70188         allow.
70189         * conform/data/ctype.h-data [C99-based standards] (isblank):
70190         Expect function.
70191         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70192         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70194         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70195         Specify type.  Require positive value.
70196         (EILSEQ): Likewise.
70197         (ERANGE): Likewise.
70198         [ISO || POSIX] (EILSEQ): Do not expect.
70199         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70200         Specify type.  Require positive value.
70201         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70202         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70203         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70204         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70205         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70206         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70207         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70208         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70209         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70210         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70211         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70212         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70213         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70214         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70215         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70216         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70217         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70218         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70219         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70220         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70221         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70222         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70223         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70224         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70225         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70226         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70227         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70228         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70229         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70230         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70231         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70232         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70233         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70234         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70235         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70236         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70237         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70238         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70239         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70240         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70241         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70242         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70243         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70244         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70245         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70246         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70247         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70248         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70249         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70250         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70251         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70252         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70253         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70254         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70255         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70256         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70257         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70258         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70259         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70260         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70261         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70262         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70263         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70264         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70265         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70266         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70267         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70268         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70269         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70270         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70271         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70272         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70273         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70274         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70275         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70276         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70277         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70278         Require >= 2.
70279         (FLT_ROUNDS): Expect as macro, not constant.
70280         (FLT_MANT_DIG): Use macro-int-constant.
70281         (DBL_MANT_DIG): Likewise.
70282         (LDBL_MANT_DIG): Likewise.
70283         (FLT_DIG): Likewise.
70284         (DBL_DIG): Likewise.
70285         (LDBL_DIG): Likewise.
70286         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70287         (DBL_MIN_EXP): Likewise.
70288         (LDBL_MIN_EXP): Likewise.
70289         (FLT_MAX_EXP): Use macro-int-constant.
70290         (DBL_MAX_EXP): Likewise.
70291         (LDBL_MAX_EXP): Likewise.
70292         (FLT_MAX_10_EXP): Likewise.
70293         (DBL_MAX_10_EXP): Likewise.
70294         (LDBL_MAX_10_EXP): Likewise.
70295         (FLT_MAX): Use macro-constant.
70296         (DBL_MAX): Likewise.
70297         (LDBL_MAX): Likewise.
70298         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70299         (DBL_EPSILON): Likewise.
70300         (LDBL_EPSILON): Likewise.
70301         (FLT_MIN): Likewise.
70302         (DBL_MIN): Likewise.
70303         (LDBL_MIN): Likewise.
70304         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70305         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70306         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70307         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70308         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70309         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70310         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70311         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70312         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70313         [ISO11] (FLT_TRUE_MIN): Likewise.
70314         [ISO11] (LDBL_TRUE_MIN): Likewise.
70315         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70316         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70317         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70318         (SCHAR_MAX): Likewise.
70319         (UCHAR_MAX): Likewise.
70320         (CHAR_MIN): Likewise.
70321         (CHAR_MAX): Likewise.
70322         (MB_LEN_MAX): Use macro-int-constant.
70323         (SHRT_MIN): Use macro-int-constant.  Specify type.
70324         (SHRT_MAX): Likewise.
70325         (USHRT_MAX): Likewise.
70326         (INT_MAX): Likewise.
70327         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70328         bound negative.
70329         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70330         bound with "U".
70331         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70332         bound with "L".
70333         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70334         bound negative.  Suffix upper bound with "L".
70335         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70336         bound with "UL".
70337         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70338         Specify type.
70339         [C99-based standards] (LLONG_MAX): Likewise.
70340         [C99-based standards] (ULLONG_MAX): Likewise.
70341         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70342         == 0.
70343         [ISO11] (max_align_t): Require type.
70344         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70346         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70347         from $CFLAGS, without defining away __attribute__ calls.
70348         (checknamespace): Use $CFLAGS_namespace.
70350         * conform/conformtest.pl (@keywords): Only include C99 keywords
70351         for standards based on C99 or C11.
70353         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70354         Disable tests.
70355         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70356         UNIX98]: Likewise.
70358         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70359         usability of symbols in #if.
70361         * conform/conformtest.pl: If macro or constant types start
70362         "promoted:", expect the symbol to be of the following type
70363         promoted by the integer promotions.
70365         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70366         in one place.  Also handle "macro-constant".
70368         * conform/conformtest.pl: Only accept expected macro values with
70369         "==".  Parse all "macro" lines in one place.
70370         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70372         * conform/conformtest.pl: Handle braced types on "constant" lines
70373         instead of handling "typed-constant".
70374         * conform/data/signal.h-data: Use "constant" instead of
70375         "typed-constant".
70377         * conform/conformtest.pl: Handle "optional-" at start of lines in
70378         one place rather than duplicating several cases.  Handle each
70379         format of "macro" line with initial "optional-".
70381         * conform/conformtest.pl: Only accept expected constant or
70382         optional-constant values with "==".  Parse all "constant" lines in
70383         one place.  Parse all "optional-constant" lines in one place.
70384         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70385         * conform/data/fmtmsg.h-data: Likewise.
70386         * conform/data/netinet/in.h-data: Likewise.
70387         * conform/data/tar.h-data: Likewise.
70388         * conform/data/limits.h-data: Use "==" form on "constant" and
70389         "optional-constant" lines.
70391         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70392         Use -std=c99 for XOPEN2K.
70393         (@knownproblems): Remove.
70394         (newtoken): Don't check %isknown.
70396         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70397         Do not expect macro.
70398         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70399         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70400         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70401         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70402         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70403         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70404         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70405         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70406         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70407         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70408         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70409         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70410         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70411         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70412         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70413         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70414         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70415         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70416         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70417         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70418         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70419         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70420         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70421         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70422         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70423         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70424         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70425         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70426         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70427         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70428         [XPG3] (acosh): Likewise.
70429         [XPG3] (asinh): Likewise.
70430         [XPG3] (atanh): Likewise.
70431         [XPG3] (cbrt): Likewise.
70432         [XPG3] (expm1): Likewise.
70433         [XPG3] (ilogb): Likewise.
70434         [XPG3] (log1p): Likewise.
70435         [XPG3] (logb): Likewise.
70436         [XPG3] (nextafter): Likewise.
70437         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70438         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70439         [XPG3] (remainder): Likewise.
70440         [XPG3] (rint): Likewise.
70441         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70442         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70443         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70444         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70445         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70446         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70447         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70448         [UNIX98 || XOPEN2K] (scalb): Expect.
70449         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70450         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70451         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70452         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70453         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70454         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70455         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70456         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70457         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70458         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70459         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70460         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70461         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70462         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70463         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70464         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70465         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70466         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70467         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70468         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70469         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70470         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70471         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70472         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70473         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70474         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70475         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70476         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70477         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70478         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70479         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70480         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70481         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70482         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70483         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70484         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70485         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70486         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70487         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70488         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70489         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70490         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70491         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70492         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70493         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70494         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70495         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70496         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70497         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70498         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70499         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70500         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70501         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70502         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70503         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70504         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70505         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70506         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70507         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70508         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70509         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70510         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70511         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70512         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70513         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70514         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70515         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70516         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70517         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70518         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70519         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70520         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70521         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70522         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70523         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70524         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70525         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70526         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70527         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70528         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70529         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70530         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70531         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70532         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70533         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70534         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70535         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70536         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70537         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70538         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70539         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70540         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70541         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70542         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70543         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70544         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70545         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70546         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70547         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70548         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70549         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70550         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70551         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70552         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70553         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70554         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70555         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70556         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70557         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70558         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70559         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70560         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70561         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70562         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70563         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70564         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70565         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70566         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70567         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70568         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70569         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70570         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70571         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70572         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70573         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70574         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70575         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70576         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70577         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70578         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70579         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70580         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70581         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70582         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70583         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70584         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70585         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70587         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70588         _XOPEN_SOURCE_EXTENDED for XPG4.
70590         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70592         * Makeconfig (localtime): Remove variable.
70593         (inst_localtime-file): Likewise.
70595 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70598         Update.
70599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70600         Update.
70601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70602         Update.
70603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70604         Update.
70605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70606         Update.
70607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70608         Update.
70609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70610         Update.
70611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70612         Update.
70613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70614         Update.
70616 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70618         [BZ #2550]
70619         [BZ #2570]
70620         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70621         comparisons to determine direction to adjust input.
70622         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70623         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70625         Likewise.
70626         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70627         Likewise.
70628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70629         Likewise.
70630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70632         Likewise.
70633         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70634         Likewise.
70635         * math/libm-test.inc (nexttoward_test): Add more tests.
70637 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70639         [BZ #14040]
70640         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70641         in version GLIBC_2.1, not GLIBC_2.0.
70642         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70643         Likewise.
70645 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70647         [BZ #13942]
70648         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70649         (1 - x) * (1 + x).
70650         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70651         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70652         * math/libm-test.inc (acos_test): Add more tests.
70653         (asin_test): Likewise.
70654         * sysdeps/i386/fpu/libm-test-ulps: Update.
70655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70657         [BZ #14034]
70658         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70659         of square root.
70660         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70661         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70662         * math/libm-test.inc (acos_test_tonearest): New function.
70663         (acos_test_towardzero): Likewise.
70664         (acos_test_downward): Likewise.
70665         (acos_test_upward): Likewise.
70666         (asin_test_tonearest): Likewise.
70667         (asin_test_towardzero): Likewise.
70668         (asin_test_downward): Likewise.
70669         (asin_test_upward): Likewise.
70670         (main): Call the new functions.
70671         * sysdeps/i386/fpu/libm-test-ulps: Update.
70672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70674         [BZ #13884]
70675         [BZ #13924]
70676         * math/e_exp10.c: Include <float.h>.
70677         (__ieee754_exp10): Handle underflow here rather than multiplying
70678         large negative argument by M_LN10.
70679         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70680         of __ieee754_expf.
70681         * math/e_exp10l.c: Include <float.h>.
70682         (__ieee754_exp10l): Handle underflow here rather than multiplying
70683         large negative argument by M_LN10l.
70684         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70685         spurious overflow exception on underflow.
70687 2012-04-29  Marek Polacek  <polacek@redhat.com>
70689         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70690         (__fortify_function): New macro.
70691         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70692         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70693         __extern_always_inline.
70694         * libio/bits/stdio2.h: Likewise.
70695         * libio/bits/stdio.h: Likewise.
70696         * string/string.h: Likewise.
70697         * string/bits/string3.h: Likewise.
70698         * include/stdio.h: Likewise.
70699         * stdlib/bits/stdlib.h: Likewise.
70700         * stdlib/stdlib.h: Likewise.
70701         * rt/bits/mqueue2.h: Likewise.
70702         * rt/mqueue.h: Likewise.
70703         * posix/bits/unistd.h: Likewise.
70704         * posix/unistd.h: Likewise.
70705         * io/bits/poll2.h: Likewise.
70706         * io/bits/fcntl2.h: Likewise.
70707         * io/fcntl.h: Likewise.
70708         * io/sys/poll.h: Likewise.
70709         * misc/bits/syslog.h: Likewise.
70710         * misc/bits/syslog-ldbl.h: Likewise.
70711         * misc/sys/syslog.h: Likewise.
70712         * socket/bits/socket2.h: Likewise.
70713         * socket/sys/socket.h: Likewise.
70714         * debug/tst-chk1.c: Likewise.
70715         * wcsmbs/bits/wchar2.h: Likewise.
70716         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70717         * wcsmbs/wchar.h: Likewise.
70719 2012-04-29  Andreas Jaeger  <aj@suse.de>
70721         * Makerules (tests): Remove enable-check-abi protection.
70722         (check-abi-warn): Remove.
70723         (check-abi-%): Remove check-abi-warn usage.
70725         * configure.in: Remove check-abi configure option.
70726         * configure: Regenerated.
70727         * config.make.in (enable-check-abi): Remove.
70729 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70731         [BZ #14033]
70732         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70733         double functions to double *_finite functions.
70735         [BZ #13941]
70736         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70737         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70738         LDBL_MIN_EXP.
70739         * stdio-common/Makefile (tests): Add tst-sprintf3.
70740         * stdio-common/tst-sprintf3.c: New file.
70742         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70743         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70745 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70747         * conform/conformtest.pl: Remove duplicate typed-constant
70748         handling.
70750 2012-04-28  David S. Miller  <davem@davemloft.net>
70752         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70753         (check-abi-%): Remove AWK script prerequisite and explicit
70754         abilist directory.
70755         (check-abi): Rewrite to just diff the symlist with the abilist.
70756         (config-tls, config-abi-config): Delete, no longer used.
70757         (update-abi-%): Remove AWK script and explicit abilist directory.
70758         (update-abi): Rewrite to simply compare and conditionally copy the
70759         symlist and the sysdep abilist file.  Remove update-abi-config
70760         checks.
70761         * abilist/ld.abilist: Remove.
70762         * abilist/libBrokenLocale.abilist: Remove.
70763         * abilist/libanl.abilist: Remove.
70764         * abilist/libcrypt.abilist: Remove.
70765         * abilist/libdl.abilist: Remove.
70766         * abilist/librt.abilist: Remove.
70767         * abilist/libthread_db.abilist: Remove.
70768         * abilist/libutil.abilist: Remove.
70769         * scripts/extract-abilist.awk: Remove.
70770         * scripts/merge-abilist.awk: Remove.
70771         * sysdeps/generic/libcidn.abilist: New file.
70772         * sysdeps/generic/libnss_compat.abilist: New file.
70773         * sysdeps/generic/libnss_db.abilist: New file.
70774         * sysdeps/generic/libnss_dns.abilist: New file.
70775         * sysdeps/generic/libnss_files.abilist: New file.
70776         * sysdeps/generic/libnss_hesiod.abilist: New file.
70777         * sysdeps/generic/libnss_nis.abilist: New file.
70778         * sysdeps/generic/libnss_nisplus.abilist: New file.
70779         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70780         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70781         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70782         file.
70783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70784         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70785         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70786         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70787         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70788         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70789         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70791         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70792         file.
70793         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70794         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70795         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70796         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70797         file.
70798         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70799         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70800         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70801         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70802         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70803         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70804         file.
70805         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70806         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70807         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70808         file.
70809         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70811         New file.
70812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70813         New file.
70814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70815         New file.
70816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70817         New file.
70818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70819         New file.
70820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70821         New file.
70822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70823         New file.
70824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70825         New file.
70826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70827         New file.
70828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70829         New file.
70830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70831         New file.
70832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70833         New file.
70834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70835         New file.
70836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70837         file.
70838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70839         New file.
70840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70841         New file.
70842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70843         file.
70844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70845         New file.
70846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70847         New file.
70848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70849         file.
70850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70851         New file.
70852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70853         New file.
70854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70855         New file.
70856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70857         New file.
70858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70859         New file.
70860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70861         New file.
70862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70864         file.
70865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70866         New file.
70867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70868         file.
70869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70870         file.
70871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70872         file.
70873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70874         file.
70875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70876         file.
70877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70878         New file.
70879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70880         file.
70881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70882         file.
70883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70884         New file.
70885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70886         file.
70887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70889         file.
70890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70891         New file.
70892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70893         file.
70894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70895         file.
70896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70897         file.
70898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70899         file.
70900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70901         file.
70902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70903         New file.
70904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70905         file.
70906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70907         file.
70908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70909         New file.
70910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70911         file.
70912         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70913         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70914         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70915         file.
70916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70917         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70918         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70919         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70920         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70921         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70922         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70923         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70924         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70925         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70928         file.
70929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70930         New file.
70931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70932         file.
70933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70934         file.
70935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70936         file.
70937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70938         file.
70939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70940         file.
70941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70942         New file.
70943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70944         New file.
70945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70946         file.
70947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70948         New file.
70949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70950         file.
70951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70953         file.
70954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70955         New file.
70956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70957         file.
70958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70959         file.
70960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70961         file.
70962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70963         file.
70964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70965         file.
70966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70967         New file.
70968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70969         New file.
70970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70971         file.
70972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70973         New file.
70974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70975         file.
70977 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70979         * conform/conformtest.pl: Fix typo in handling typed-constant from
70980         allow-header.
70982 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70984         * README: Cut down references to pre-2.6 Linux kernels and
70985         Linuxthreads.  Update lists of configurations in libc and ports
70986         and sort alphabetically.  Say "or newer" with Linux kernel version
70987         requirements.
70989         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70991 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70993         [BZ #887]
70994         * math/libm-test.inc (logb_test_downward): New test to expose
70995         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70996         rounding mode.
70998 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71000         [BZ #14027]
71001         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71002         to be done.
71003         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71004         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71006 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71008         * sysdeps/unix/i386/brk.S: Remove file.
71009         * sysdeps/unix/i386/dl-brk.S: Likewise.
71010         * sysdeps/unix/i386/pipe.S: Likewise.
71011         * sysdeps/unix/i386/sigreturn.S: Likewise.
71012         * sysdeps/unix/i386/syscall.S: Likewise.
71013         * sysdeps/unix/i386/vfork.S: Likewise.
71014         * sysdeps/unix/i386/wait.S: Likewise.
71016         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71017         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71019         * configure.in (arm*-none*): Do not allow without
71020         --enable-hacker-mode.
71021         (netbsd*): Remove case setting base_os.
71022         (386bsd*): Likewise.
71023         (freebsd*): Likewise.
71024         (bsdi*): Likewise.
71025         (osf*): Likewise.
71026         (sunos*): Likewise.
71027         (ultrix*): Likewise.
71028         (newsos*): Likewise.
71029         (dynix*): Likewise.
71030         (*bsd*): Likewise.
71031         (sysv*): Likewise.
71032         (isc*): Likewise.
71033         (esix*): Likewise.
71034         (sco*): Likewise.
71035         (minix*): Likewise.
71036         (irix4*): Likewise.
71037         (irix6*): Likewise.
71038         (solaris[2-9]*): Likewise.
71039         (none): Likewise.
71040         * configure: Regenerated.
71042 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71044         [BZ #11521]
71045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71046         overflow or cancellation in calculating denominator.
71047         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71049         down expression to avoid unexpected rounding in newer GCCs.
71050         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71052 2012-04-26  David S. Miller  <davem@davemloft.net>
71054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71055         long-double compat symbols.
71056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71070 2012-04-25  David S. Miller  <davem@davemloft.net>
71072         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71073         HWCAP_* values only after the memory barriers have been defined.
71074         (atomic_full_barrier): Define.
71075         (atomic_read_barrier): Define.
71076         (atomic_write_barrier): Define.
71078 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71080         * shlib-versions: Add libgcc_s version information.
71081         * sysdeps/generic/libgcc_s.h: Remove.
71082         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71083         libgcc_s.h.
71084         * sysdeps/gnu/unwind-resume.c: Likewise.
71085         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71087 2012-04-25  David S. Miller  <davem@davemloft.net>
71089         * sysdeps/unix/sparc/brk.S: Delete.
71090         * sysdeps/unix/sparc/dl-brk.S: Delete.
71091         * sysdeps/unix/sparc/pipe.S: Delete.
71092         * sysdeps/unix/sparc/sysdep.S: Delete.
71093         * sysdeps/unix/sparc/sysdep.h: Delete.
71094         * sysdeps/unix/sparc/vfork.S: Delete.
71095         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71096         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71097         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71098         (ret_ERRVAL, r0, r1, MOVE): Define.
71099         (JUMPTARGET): Remove.
71100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71101         sysdeps/unix/sparc/sysdep.h
71102         (ENTRY, END): Remove.
71103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71105 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71107         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71108         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71109         -DIS_IN_build.
71111         * timezone/README: Update upstream location and email address for
71112         tzcode and tzdata.
71113         * timezone/zdump.c: Update from tzcode 2012b.
71114         * timezone/zic.c: Likewise.
71116         * configure.in (libc_cv_as_needed): Remove test.
71117         * configure: Regenerated.
71118         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71119         conditional definition.
71120         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71121         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71122         * config.make.in (have-as-needed): Remove variable.
71124 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71125             Paul Pluzhnikov  <ppluzhnikov@google.com>
71127         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71128         strings correctly.
71130 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71132         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71133         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71134         * sysdeps/sh/strlen.S: Likewise.
71136 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71138         * sysdeps/unix/fork.S: Remove file.
71139         * sysdeps/unix/i386/fork.S: Likewise.
71140         * sysdeps/unix/sparc/fork.S: Likewise.
71142         * sysdeps/unix/system.c: Remove file.
71143         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71145         * sysdeps/unix/getegid.S: Remove file.
71146         * sysdeps/unix/geteuid.S: Likewise.
71148 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71150         * scripts/check-localplt.awk: New file.
71151         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71152         of diff.
71153         * scripts/data/localplt-generic.data: Add a comment.
71155         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71156         NODE when __dir_mkfile failed.
71157         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71158         Reported by Ludovic Courtès <ludo@gnu.org>.
71160 2012-04-24  Andreas Jaeger  <aj@suse.de>
71162         * Makerules (common-clean): Also remove gen-as-const-headers
71163         files.
71165 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71167         * Makerules (native-compile): Do not change working directory for
71168         build.  Use $(OUTPUT_OPTION) in command.
71169         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71171 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71173         [BZ #13886]
71174         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71175         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71176         * math/libm-test.inc (floor_test): Add more tests.
71177         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71179 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71181         * sysdeps/unix/getdents.c: Remove file.
71182         * sysdeps/unix/sysv/getdents.c: Likewise.
71183         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71185         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71186         sysdeps/unix/mman/syscalls.list.
71187         (mmap): Likewise.
71188         (mprotect): Likewise.
71189         (msync): Likewise.
71190         (munmap): Likewise.
71191         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71192         * sysdeps/unix/mman/syscalls.list: Remove.
71193         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71195         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71196         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71197         * configure: Regenerated.
71198         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71199         $(libgcc_s_suffix).
71200         * config.make.in (libgcc_s_suffix): Remove variable.
71202 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71204         * sysdeps/unix/sysv/gethostname.c: Move to ...
71205         * sysdeps/posix/gethostname.c: ... here.
71207         * sysdeps/unix/execve.S: Remove file.
71209         * sysdeps/unix/_exit.S: Remove file.
71211 2012-04-23  Andreas Jaeger  <aj@suse.de>
71213         [BZ #13739]
71214         * manual/Makefile: Remove make dist support, there's no
71215         need for a stand-alone documentation tar ball.
71216         (TEXI2DVI): Define always, it's not in Makeconfig.
71217         (dist): Removed.
71218         (tar-it): Removed.
71219         (edition): Removed.
71220         (glibc-doc-$(edition).tar): Removed
71221         (%.Z): Removed.
71222         (%.gz): Removed.
71223         (%.uu): Removed.
71224         (ETAGS): Remove, it's in Makeconfig.
71225         (move-if-change): Remove, it's in Makeconfig.
71227 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71229         [BZ #13970]
71230         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71231         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71232         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71233         (strtod_l, strtof_l, strtold_l): Remove __wur.
71234         It is not necessarily an error to ignore strtol's return value.
71235         One can reliably look at the stored endptr to decide whether
71236         the number had valid syntax.
71238 2012-04-21  Andreas Jaeger  <aj@suse.de>
71240         [BZ #13739]
71241         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71243 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71245         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71246         * sysdeps/unix/sysv/Versions: Remove file.
71248 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71250         [BZ #13927]
71251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71253 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71255         [BZ #7064]
71256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71257         version from __vm86.
71259 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71261         * sysdeps/unix/common/lxstat.c: Remove file.
71262         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71264         * sysdeps/unix/sysv/Makefile: Remove file.
71266         * sysdeps/unix/sysv/direct.h: Remove file.
71268         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71269         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71270         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71271         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71272         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71273         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71274         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71276         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71278         * sysdeps/unix/xmknod.c: Remove file.
71279         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71281         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71283         * sysdeps/unix/sysv/i386/time.S: Remove file.
71285         * sysdeps/unix/fxstat.c: Remove file.
71286         * sysdeps/unix/xstat.c: Likewise.
71287         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71289         * sysdeps/unix/sysv/sigaction.c: Remove file.
71291         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71292         (sysdep_headers): Remove variable.
71293         [termio.h not in sysdep_headers] (generated): Likewise.
71294         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71295         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71296         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71297         * sysdeps/unix/sysv/tcflow.c: Likewise.
71298         * sysdeps/unix/sysv/tcflush.c: Likewise.
71299         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71300         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71301         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71302         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71303         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71305         * sysdeps/unix/siglist.c: Remove file.
71307         * sysdeps/unix/getppid.S: Remove file.
71309         * sysdeps/unix/mkdir.c: Remove file.
71310         * sysdeps/unix/rmdir.c: Likewise.
71312 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71314         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71315         ERR_MAX value.
71316         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71317         errlist-compat value.
71319 2012-04-18  David S. Miller  <davem@davemloft.net>
71321         * sysdeps/generic/memcopy.h (reg_char): Delete.
71322         * debug/strcat_chk.c: Use char, not reg_char.
71323         * debug/strcpy_chk.c: Likewise.
71324         * debug/strncat_chk.c: Likewise.
71325         * debug/strncpy_chk.c: Likewise.
71326         * string/memchr.c: Likewise.
71327         * string/memrchr.c: Likewise.
71328         * string/rawmemchr.c: Likewise.
71329         * string/strcat.c: Likewise.
71330         * string/strchr.c: Likewise.
71331         * string/strchrnul.c: Likewise.
71332         * string/strcmp.c: Likewise.
71333         * string/strcpy.c: Likewise.
71334         * string/strncat.c: Likewise.
71335         * string/strncmp.c: Likewise.
71336         * string/strncpy.c: Likewise.
71338 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71340         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71341         __builtin_memcopy is called when src and dest ranges are known to not
71342         overlap.
71344 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71346         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71347         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71348         fwd_align_merge macro call.
71349         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71350         bwd_align_merge macro call.
71351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71353 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71355         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71356         bwd_align_merge macros.
71357         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71358         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71359         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71361 2012-04-18  David S. Miller  <davem@davemloft.net>
71363         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71365 2012-04-18  Andreas Jaeger  <aj@suse.de>
71367         [BZ# 6794]
71368         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71369         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71370         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71372         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71373         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71374         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71376         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71377         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71378         Adjust for changed ldbl-128 files.
71380         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71381         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71382         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71384 2012-04-17  David S. Miller  <davem@davemloft.net>
71386         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71388 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71390         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71391         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71392         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71393         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71394         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71395         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71397 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71399         [BZ #6794]
71400         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71401         * math/libm-test.inc: Add ilogb errno and exception tests.
71402         * math/w_ilogb.c: New file: ilogb wrapper.
71403         * math/w_ilogbf.c: New file: ilogbf wrapper.
71404         * math/w_ilogbl.c: New file: ilogbl wrapper.
71405         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71406         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71407         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71408         exception being thrown with 0.0 as argument.
71409         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71410         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71411         exception being thrown with 0.0 as argument.
71412         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71413         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71414         exception being thrown with 0.0 as argument.
71415         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71416         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71417         exception being thrown with 0.0 as argument.
71418         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71419         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71420         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71421         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71422         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71423         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71424         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71425         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71426         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71428 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71430         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71431         with altivec.
71433 2012-04-16  Marek Polacek  <polacek@redhat.com>
71435         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71437 2012-04-16  Marek Polacek  <polacek@redhat.com>
71439         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71440         operands of fdivp instruction.
71442 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71444         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71445         * elf/tst-auditmod3b.c: Likewise.
71446         * elf/tst-auditmod4b.c: Likewise.
71447         * elf/tst-auditmod5b.c: Likewise.
71448         * elf/tst-auditmod6b.c: Likewise.
71449         * elf/tst-auditmod6c.c: Likewise.
71450         * elf/tst-auditmod7b.c: Likewise.
71451         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71452         * sysdeps/x86_64/preconfigure.in: Likewise.
71453         * sysdeps/x86_64/preconfigure: Regenerated.
71455 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71457         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71458         __ILP32__.
71460 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71463         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71465 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71467         [BZ #13973]
71468         * locale/iso-639.def: Fix gl language name. Spotted by
71469         Yaron Shahrabani.
71471 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71473         [BZ #2074]
71474         * libio/libio.h (__io_write_fn): Update comment.
71476 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71478         [BZ #2074]
71479         * stdio.texi (Hook Functions): The user provided writer function
71480         is not allowed to return -1.
71482 2012-04-11  David S. Miller  <davem@davemloft.net>
71484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71486 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71488         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71489         Add a leading slash to rtkaio.
71491 2012-04-11  Jim Meyering  <meyering@redhat.com>
71493         [BZ #11959]
71494         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71495         It is not necessarily an error to ignore fwrite's return
71496         value.  One can reliably use ferror to test for errors after
71497         the fact.
71499 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71501         * bits/types.h (__snseconds_t): New type.
71502         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71504         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71505         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71506         (__SNSECONDS_T_TYPE): Likewise.
71507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71508         (__SNSECONDS_T_TYPE): Likewise.
71509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71510         (__SNSECONDS_T_TYPE): Likewise.
71512 2012-04-10  Andreas Jaeger  <aj@suse.de>
71514         [BZ #2636]
71515         * manual/time.texi (Processor Time): Return type of times is
71516         elapsed real time since an arbitrary point in the past.
71517         (CPU Time): Move CLK_TCK from here...
71518         (Processor Time): ...to here.  Correct description.
71519         * manual/conf.texi (Constants for Sysconf): Correct description of
71520         _SC_CLK_TCK.
71522 2012-04-10  David S. Miller  <davem@davemloft.net>
71524         [BZ #13967]
71525         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71526         where the is a gap between DT_REL(A) and DT_JMPREL.
71528 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71530         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71531         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71532         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71534 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71536         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71537         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71538         (dl_main): Handle --inhibit-cache.
71539         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71540         _dl_inhibit_cache.
71541         * elf/dl-load.c (_dl_map_object): Use it.
71542         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71544 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71546         [BZ #13872]
71547         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71548         (__ieee754_powl): Saturate large exponents rather than testing for
71549         overflow of y*log2(x).
71550         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71551         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71552         exceptions.
71554         [BZ #11521]
71555         * math/s_ctan.c: Include <float.h>.
71556         (__ctan): Avoid internal overflow or cancellation in calculating
71557         denominator.
71558         * math/s_ctanf.c: Likewise.
71559         * math/s_ctanl.c: Likewise.
71560         * math/s_ctanh.c: Likewise.
71561         * math/s_ctanhf.c: Likewise.
71562         * math/s_ctanhl.c: Likewise.
71563         * math/libm-test.inc (ctan_test): Add more tests.
71564         (ctanh_test): Likewise.
71565         * sysdeps/i386/fpu/libm-test-ulps: Update.
71566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71568 2012-04-09  Andreas Jaeger  <aj@suse.de>
71570         [BZ #6894]
71571         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71572         is an optional BSD extension.
71574         [BZ #10254]
71575         * manual/stdio.texi (Opening Streams): Document additional fopen
71576         parameters.
71578 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71580         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71581         %eax without telling the compiler.
71583 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71585         [BZ # 13963]
71586         * manual/install.texi: Use sourceware.org.
71588 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71590         [BZ #13873]
71591         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71592         (__ieee754_pow): Generate overflow and underflow using huge*huge
71593         and tiny*tiny rather than just returning constant infinity or zero
71594         for large exponents.
71595         * math/libm-test.inc (pow_test): Require overflow exceptions for
71596         applicable cases of large exponents.
71598         [BZ #706]
71599         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71600         (__ieee754_pow): Use iterative multiplication algorithm only for
71601         integer exponents with absolute value below 1024.  Check for odd
71602         integer exponents when using algorithm for real exponents.
71603         * math/libm-test.inc (pow_test): Add more tests.
71604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71606 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71608         [BZ #13705]
71609         * math/libm-test.inc (exp_test): Do not allow overflow exception
71610         on underflow test.
71612 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71614         [BZ #13705]
71615         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71616         instead of __kernel_standard_f.
71618 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71620         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71621         * sysdeps/x86_64/memset_chk.S: Likewise.
71623 2012-04-08  Andreas Jaeger  <aj@suse.de>
71625         [BZ #10153]
71626         * manual/startup.texi (Environment Access): Describe return value
71627         for putenv and setenv.
71629         [BZ #6895]
71630         * manual/filesys.texi (Directory Entries): Add description for
71631         DT_LNK.
71633         [BZ #6890]
71634         * manual/filesys.texi (Directory Entries): Clarify that it's file
71635         system not operating system in the description of DT_UNKNOWN.
71637         [BZ #6578]
71638         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71640 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71642         [BZ #6649]
71643         * manual/llio.texi (Opening and Closing Files): Add cross
71644         reference to explain mode argument.
71646 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71648         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71649         * sysdeps/x86_64/memset_chk.S: Likewise.
71651 2012-04-07  David S. Miller  <davem@davemloft.net>
71653         * elf/elf.h (R_SPARC_WDISP10): Define.
71654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71655         R_SPARC_SIZE32.
71656         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71657         R_SPARC_SIZE64 and R_SPARC_H34.
71659 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71661         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71662         conditions and remove no longer applicable assertion.
71664 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71666         * bits/byteswap.h: Include <features.h>.
71667         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71668         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71670 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71672         * bits/byteswap.h (__bswap_16): Removed.
71673         Include <bits/byteswap-16.h> to get __bswap_16.
71674         * sysdeps/i386/bits/byteswap.h: Likewise.
71675         * sysdeps/s390/bits/byteswap.h: Likewise.
71676         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71677         * bits/byteswap-16.h: New file.
71678         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71679         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71680         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71681         * string/Makefile (headers): Add bits/byteswap-16.h.
71683 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71685         [BZ #13895]
71686         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71687         extra indirection.
71688         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71689         * nss/tst-nss-static.c: New.
71691 2012-04-06  Robert Millan  <rmh@gnu.org>
71693         [BZ #6486]
71694         * manual/llio.texi (File Position Primitive): lseek
71695         refers to WHENCE when it really means OFFSET.
71697 2012-04-06  Andreas Jaeger  <aj@suse.de>
71699         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71700         strncmp declarations.
71702         * abilist/libc.abilist: Add __poll and __ppoll.
71704 2012-04-05  David S. Miller  <davem@davemloft.net>
71706         * scripts/check-local-headers.sh: Accept a host triplet in the
71707         path matched by the exclude regexp.
71709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71710         definition.
71711         * sysdeps/powerpc/powerpc32/dl-machine.h
71712         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71713         * sysdeps/s390/s390-32/dl-machine.h
71714         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71715         * sysdeps/sparc/sparc32/dl-machine.h
71716         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71717         * sysdeps/sparc/sparc64/dl-machine.h
71718         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71720         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71721         lazy binding.
71722         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71723         undefined symbol errors.
71725         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71726         DT_NEEDED entries.
71728 2012-04-05  Michael Matz  <matz@suse.de>
71730         [BZ #13592]
71731         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71733 2012-04-05  Andreas Jaeger  <aj@suse.de>
71735         [BZ #13908]
71736         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71737         comment.
71739 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71741         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71742         which ROUND is no valid rounding mode.
71744 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71746         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71747         read again.
71748         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71750 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71752         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71753         an exception using FPU order intentionally.
71755 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71757         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71758         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71759         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71760         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71762 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71764         [BZ #12340]
71765         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71766         EINVAL when BUFLEN is too smal.
71768 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71770         [BZ #13553]
71771         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71772         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71774 2012-04-03  Andreas Jaeger  <aj@suse.de>
71776         [BZ #13938]
71777         * manual/setjmp.texi (System V contexts): Fix sentence.
71779         [BZ #13926]
71780         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71781         New macro for this case.
71782         [!__GNUC__] (__bswap_64): New inline function for this case.
71783         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71784         * bits/byteswap.h: Likewise.
71785         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71786         ull, guard with __GLIBC_HAVE_LONG_LONG.
71788         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71789         __GLIBC_HAVE_LONG_LONG.
71791         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71792         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71794 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71796         [BZ #13691]
71797         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71798         inptr and inend, rather than using last_ch.
71800 2012-04-02  David S. Miller  <davem@davemloft.net>
71802         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71803         * stdio-common/printf-parse.h (read_int): Change return type to
71804         'int', return -1 on INT_MAX overflow.
71805         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71806         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71807         overflows INT_MAX.  Check for overflow of in-format-string precision
71808         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71809         SIZE_MAX not INT_MAX for integer overflow test.
71810         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71811         skip the construct in the format string but do not record anything.
71812         * stdio-common/bug22.c: Adjust to test both width/prevision
71813         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71814         explicitly for proper errno values.
71816 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71818         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71819         CHAR_MAX.
71820         * string/test-strcmp.c [! WIDE]: Likewise.
71821         * time/tst-mktime2.c: Likewise for INT_MAX.
71822         * string/test-string.h: #include <sys/param.h> for MIN.
71824         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71825         * sysdeps/i386/init-first.c (init): Likewise.
71826         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71827         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71828         * sysdeps/sh/init-first.c (init): Likewise.
71830 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71832         * po/ru.po: Update from translation team.
71833         * po/vi.po: Likewise.
71835 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71837         * resolv/nss_dns/dns-host.c: Merge copyright years.
71839 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71841         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71842         Optimize memcpy with prefetch if
71843         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71844         src, dst pointers have unequal 16 byte alignments.
71846 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71848         [BZ #13928]
71849         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71850         from a CNAME entry and return the minimum ttl for the query.
71851         (gaih_getanswer_slice): Likewise.
71853 2012-03-30  Jeff Law  <law@redhat.com>
71855         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71856         due to long keys.
71857         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71858         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71860         * resolv/nss_dns/dns-host.c: Update copyright year.
71862 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71864         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71865         requests to save a system call.  Fix check that all bytes are sent.
71867         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71868         comments for sendmmsg.
71870 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71872         [BZ #13691]
71873         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71874         with only 1 character between 0x0041 and 0x01b0.
71875         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71876         * wcsmbs/tst-mbsnrtowcs.c: New file.
71878 2012-03-29  David S. Miller  <davem@davemloft.net>
71880         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71881         small copies by hand.
71883 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71885         [BZ #13761]
71886         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71887         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71888         group memberships.
71890 2012-03-28  David S. Miller  <davem@davemloft.net>
71892         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71893         that branches into memcpy.
71894         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71897         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71899         bits.
71900         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71901         implementation too.
71902         * sysdeps/sparc/mempcpy.S: New file.
71904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71905         the IFUNC routine in the libc case.
71906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71908         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71909         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71910         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71911         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71912         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71913         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71914         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71915         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71917         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71918         loop to 256 bytes instead of 64 bytes and fix test signedness.
71920         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71921         * sysdeps/sparc/sparc32/Makefile: rather than here...
71922         * sysdeps/sparc/sparc64/Makefile: and here.
71924 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71926         * malloc/mallocbug.c: Avoid warnings about unused variables.
71928 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71930         [BZ #13760]
71931         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71932         in the right place. Discard and retry query if response is
71933         larger than input buffer size.
71935 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71937         [BZ #369]
71938         [BZ #2678]
71939         [BZ #3866]
71940         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71941         x for large integer exponent.
71942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71944         sign of result as needed afterwards.
71945         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71946         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71947         result for underflowing pow the same as for overflow.
71948         (__kernel_standard_l): Handle powl overflow and underflow here
71949         rather than calling __kernel_standard.
71950         * math/libm-test.inc (pow_test): Add more tests.
71952         [BZ #3868]
71953         [BZ #13879]
71954         [BZ #13910]
71955         [BZ #13911]
71956         [BZ #13912]
71957         [BZ #13913]
71958         [BZ #13915]
71959         [BZ #13916]
71960         [BZ #13917]
71961         [BZ #13918]
71962         [BZ #13919]
71963         [BZ #13920]
71964         [BZ #13921]
71965         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71966         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71967         (__kernel_standard_l): New function.
71968         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71969         __kernel_standard.
71970         * math/w_acosl.c (__acosl): Likewise.
71971         * math/w_asinl.c (__asinl): Likewise.
71972         * math/w_atan2l.c (__atan2l): Likewise.
71973         * math/w_atanhl.c (__atanhl): Likewise.
71974         * math/w_coshl.c (__coshl): Likewise.
71975         * math/w_exp10l.c (__exp10l): Likewise.
71976         * math/w_exp2l.c (__exp2l): Likewise.
71977         * math/w_fmodl.c (__fmodl): Likewise.
71978         * math/w_hypotl.c (__hypotl): Likewise.
71979         * math/w_j0l.c (__j0l, __y0l): Likewise.
71980         * math/w_j1l.c (__j1l, __y1l): Likewise.
71981         * math/w_jnl.c (__jnl, __ynl): Likewise.
71982         * math/w_lgammal.c (__lgammal): Likewise.
71983         * math/w_log10l.c (__log10l): Likewise.
71984         * math/w_log2l.c (__log2l): Likewise.
71985         * math/w_logl.c (__logl): Likewise.
71986         * math/w_powl.c (__powl): Likewise.
71987         * math/w_remainderl.c (__remainderl): Likewise.
71988         * math/w_scalbl.c (sysv_scalbl): Likewise.
71989         * math/w_sinhl.c (__sinhl): Likewise.
71990         * math/w_sqrtl.c (__sqrtl): Likewise.
71991         * math/w_tgammal.c (__tgammal): Likewise.
71992         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71993         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71994         * math/libm-test.inc (acos_test): Add more tests.
71995         (acosh_test): Likewise.
71996         (asin_test): Likewise.
71997         (atanh_test): Likewise.
71998         (exp_test): Likewise.
71999         (exp10_test): Likewise.
72000         (exp2_test): Likewise.
72001         (expm1_test): Likewise.
72002         (lgamma_test): Likewise.
72003         (log_test): Likewise.
72004         (log10_test): Likewise.
72005         (log1p_test): Likewise.
72006         (log2_test): Likewise.
72007         (pow_test): Do not allow some spurious overflow exceptions.
72008         (sqrt_test): Add more tests.
72009         (tgamma_test): Likewise.
72010         (y0_test): Likewise.
72011         (y1_test): Likewise.
72012         (yn_test): Likewise.
72014 2012-03-27  Anton Blanchard  <anton@samba.org>
72016         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72017         MAP_HUGETLB.
72018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72019         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72022 2012-03-27  David S. Miller  <davem@davemloft.net>
72024         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72026         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72027         have-as-vis3 check.
72029 2012-03-27  Andreas Jaeger  <aj@suse.de>
72031         * sysdeps/x86_64/elf/configure.in: Moved to ...
72032         * sysdeps/x86_64/configure.in: ... here.
72033         * sysdeps/x86_64/elf/start.S: Moved to ...
72034         * sysdeps/x86_64/start.S: ... here.
72035         * sysdeps/x86_64/elf/configure: Delete.
72037         * sysdeps/x86_64/configure.in: Merge contents from
72038         sysdeps/i386/configure.in (without i686 check).
72040         * sysdeps/i386/elf/Versions: Merge into ...
72041         * sysdeps/i386/Versions: ... this.
72042         * sysdeps/i386/elf/Versions: Delete file.
72043         * sysdeps/i386/elf/start.S: Moved to ...
72044         * sysdeps/i386/start.S: ...here.
72045         * sysdeps/i386/elf/configure.in: Merge into...
72046         * sysdeps/i386/configure.in: ...here.
72047         * sysdeps/i386/elf/configure.in: Delete file.
72048         * sysdeps/i386/elf/configure: Delete file.
72050         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72051         * debug/backtracesyms.c: ... here.
72052         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72053         * debug/backtracesymsfd.c: ... here.
72054         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72055         * sysdeps/generic/ifunc-sel.h: ... here.
72057         * sysdeps/unix/i386/start.c: Delete file.
72058         * sysdeps/unix/sparc/start.c: Delete file.
72059         * sysdeps/unix/start.c: Delete file.
72061         * sysdeps/sh/elf/configure.in: Moved to ...
72062         * sysdeps/sh/configure.in: ... here.
72063         * sysdeps/sh/elf/start.S: Moved to ...
72064         * sysdeps/sh/start.S: ... here.
72065         * sysdeps/sh/elf/configure: Delete file.
72067         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72068         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72069         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72070         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72071         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72072         * sysdeps/powerpc/powerpc64/start.S: here.
72073         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72074         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72075         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72076         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72077         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72079         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72080         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72081         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72082         * sysdeps/powerpc/powerpc32/start.S: ... here.
72083         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72084         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72085         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72087         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72088         * sysdeps/powerpc/ifunc-sel.h: ... here.
72089         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72090         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72092         * sysdeps/sparc/elf/configure.in: Moved to ...
72093         * sysdeps/sparc/configure.in: ... here.
72094         * sysdeps/sparc/elf/configure: Delete file.
72095         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72096         * sysdeps/sparc/sparc32/start.S: ... here.
72097         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72098         * sysdeps/sparc/sparc64/start.S: ... here.
72099         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72100         * sysdeps/sparc/sparc32/Makefile: ... this.
72101         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72102         * sysdeps/sparc/sparc64/Makefile: ... this.
72104         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72105         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72106         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72107         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72108         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72109         * sysdeps/s390/s390-32/setjmp.S: ... here.
72110         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72111         * sysdeps/s390/s390-32/configure.in: ... here.
72112         * sysdeps/s390/s390-32/elf/configure: Delete file.
72113         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72114         * sysdeps/s390/s390-32/start.S: ... here.
72116         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72117         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72118         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72119         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72120         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72121         * sysdeps/s390/s390-64/setjmp.S: ... here.
72122         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72123         * sysdeps/s390/s390-64/configure.in: ... here
72124         * sysdeps/s390/s390-64/elf/configure: Delete file.
72125         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72126         * sysdeps/s390/s390-64/start.S: ... here.
72127         * sysdeps/s390/s390-64/elf/configure: Delete.
72129         * configure.in: Remove support for elf directories in sysdeps.
72131         * configure: Regenerated.
72132         * sysdeps/i386/configure: Regenerated.
72133         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72134         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72135         * sysdeps/s390/s390-32/configure: Regenerated.
72136         * sysdeps/s390/s390-64/configure: Regenerated.
72137         * sysdeps/sh/configure: Regenerated.
72138         * sysdeps/sparc/configure: Regenerated.
72139         * sysdeps/x86_64/configure: Regenerated.
72141 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72145         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72146         denormal result into account.
72148 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72150         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72151         Reported by Allan McRae <allan@archlinux.org>.
72153 2012-03-23  Jeff Law  <law@redhat.com>
72155         * nss/getnssent.c (__nss_getent): Fix typo.
72157 2012-03-23  David S. Miller  <davem@davemloft.net>
72159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72161 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72163         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72164         to pad to uint64_t for each field.
72165         (dl_tls_index): Replace unsigned long with uint64_t.
72167 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72168         Paul Pluzhnikov  <ppluzhnikov@google.com>
72170         [BZ #6528]
72171         * grp/Makefile (otherlibs): Don't set it.
72172         * inet/Makefile (otherlibs): Likewise.
72173         * login/Makefile (otherlibs): Likewise.
72174         * nscd/Makefile (otherlibs): Likewise.
72175         * posix/Makefile (otherlibs): Likewise.
72176         * pwd/Makefile (otherlibs): Likewise.
72177         * rt/Makefile (otherlibs): Likewise.
72178         * sunrpc/Makefile (otherlibs): Likewise.
72179         * nss/Makefile (otherlibs): Likewise.
72180         Add libnss_files to routines and static-only-routines.
72181         ($(objpfx)getent): Remove rule.
72182         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72183         static-only-routines.
72185 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72187         [BZ #13892]
72188         * math/s_cexp.c: Include <float.h>.
72189         (__cexp): Handle exp result overflowing not necessarily
72190         overflowing both real and imaginary parts of result.
72191         * math/s_cexpf.c: Likewise.
72192         * math/s_cexpl.c: Likewise.
72193         * math/libm-test.inc (cexp_test): Add more tests.
72194         * sysdeps/i386/fpu/libm-test-ulps: Update.
72195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72197 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72199         * include/link.h (ELFW): New macro.
72200         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72201         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72203 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72205         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72206         with uint64_t.
72208 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72210         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72211         declaration.
72212         (struct La_x32_retval): Likewise.
72214 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72216         * sysdeps/x86_64/preconfigure.in: New file.
72217         * sysdeps/x86_64/preconfigure: New generated file.
72219 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72221         [BZ #13824]
72222         * math/e_exp2l.c: Include <float.h>.
72223         (__ieee754_exp2l): Handle overflow and underflow cases
72224         separately.  Only pass fractional part of argument to
72225         __ieee754_expl.
72226         * math/libm-test.inc (exp2_test): Add more tests.
72228         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72229         negating x to take absolute value.
72230         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72231         Likewise.
72232         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72234         Likewise.
72235         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72236         computing low part if x was negated.
72237         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72239 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72241         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72242         la_x32_gnu_pltexit.
72243         (pltexit): Cast int_retval to ptrdiff_t.
72244         * elf/tst-auditmod3b.c: Likewise.
72245         * elf/tst-auditmod4b.c: Likewise.
72246         * elf/tst-auditmod5b.c: Likewise.
72247         * elf/tst-auditmod6b.c: Likewise.
72248         * elf/tst-auditmod6c.c: Likewise.
72249         * elf/tst-auditmod7b.c: Likewise.
72251         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72252         and x32_gnu_pltexit.
72254         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72255         __ELF_NATIVE_CLASS.
72256         (La_x32_regs): New macro.
72257         (La_x32_retval): Likewise.
72258         (la_x32_gnu_pltenter): New function prototype.
72259         (la_x32_gnu_pltexit): Likewise.
72261 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72264         exponent.
72266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72268         * configure.in (libc_cv_cc_nofma): Check for option to disable
72269         generation of FMA instructions.
72270         * configure: Regenerate.
72271         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72272         * sysdeps/ieee754/dbl-64/Makefile: New file.
72273         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72274         Remove brandred-fma4.
72275         (CFLAGS-brandred-fma4.c): Remove.
72276         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72277         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72278         define.
72279         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72280         define.
72282 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72284         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72285         LLONG_MAX != LONG_MAX.
72286         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72287         (_fitoa_word): Likewise.
72288         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72289         LLONG_MAX != LONG_MAX.
72290         * stdio-common/_itowa.h: Include <_itoa.h>.
72291         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72292         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72293         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72294         only if not defined.
72295         (_ITOA_WORD_TYPE): Likewise.
72296         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72297         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72299 2012-03-21  David S. Miller  <davem@davemloft.net>
72301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72303 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72305         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72306         of x86_64 when setting libc_cv_slibdir, libdir and
72307         libc_cv_localedir.
72308         * sysdeps/unix/sysv/linux/configure: Regenerated.
72310 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72312         * manual/lang.texi (Old Varargs): Remove section.
72313         (How Variadic): Update menu.
72314         (va_start): Do not mention varargs.h.
72316 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72317             Joseph Myers  <joseph@codesourcery.com>
72319         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72320         link test.
72321         * configure: Regenerated.
72323 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72325         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72326         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72327         conformtest.pl
72329 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72331         * NOTES: Remove.
72332         * Makefile (files-for-dist): Remove NOTES.
72333         (NOTES): Remove rule.
72334         * README: Don't refer to NOTES.
72335         * manual/creature.texi: Don't include macros.texi.
72336         * manual/intro.texi (creature.texi): Remove comment referring to
72337         NOTES.
72339         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72340         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72341         * configure: Regenerated.
72342         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72343         LIBC_TRY_CC_OPTION.
72344         (libc_cv_as_i686): Likewise.
72345         (libc_cv_cc_avx): Likewise.
72346         (libc_cv_cc_sse2avx): Likewise.
72347         (libc_cv_cc_fma4): Likewise.
72348         (libc_cv_cc_novzeroupper): Likewise.
72349         * sysdeps/i386/configure: Regenerated.
72351         [BZ #13883]
72352         * sysdeps/i386/fpu/s_cexp.S: Remove.
72353         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72354         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72355         * math/libm-test.inc (cexp_test): Add more tests.
72356         * sysdeps/i386/fpu/libm-test-ulps: Update.
72357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72359 2012-03-21  Allan McRae  <allan@archlinux.org>
72361         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72365         [BZ #13871]
72366         * math/w_exp2.c: Do not include <float.h>.
72367         (o_threshold, u_threshold): Remove.
72368         (__exp2): Calculate result before checking finiteness and calling
72369         __kernel_standard.
72370         * math/w_exp2f.c: Likewise.
72371         * math/w_exp2l.c: Likewise.
72372         * math/libm-test.inc (exp2_test): Require overflow exception for
72373         1e6 input.
72375         [BZ #3866]
72376         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72377         range of signed 64-bit integers before using fistpll.  Remove
72378         checks for whether integers fit in mantissa bits.
72379         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72380         the range of signed 32-bit integers before using fistpl.  Remove
72381         checks for whether integers fit in mantissa bits.
72382         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72383         (__ieee754_powl): Test for y outside the range of signed 64-bit
72384         integers before using fistpll.  Reduce 64-bit values to 63-bit
72385         ones as needed.
72386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72387         divide-by-zero is raised for zero to large negative powers.
72388         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72389         (__ieee754_powl): Test for y outside the range of signed 64-bit
72390         integers before using fistpll.  Reduce 64-bit values to 63-bit
72391         ones as needed.
72392         * math/libm-test.inc (pow_test): Add more tests.
72394 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72396         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72397         <stdio-common/_itoa.h>.
72398         * debug/segfault.c: Likewise.
72399         * elf/dl-cache.c: Likewise.
72400         * elf/dl-minimal.c: Likewise.
72401         * elf/dl-misc.c: Likewise.
72402         * elf/dl-sysdep.c: Likewise.
72403         * elf/dl-version.c: Likewise.
72404         * elf/rtld.c: Likewise.
72405         * hurd/hurdsock.c: Likewise.
72406         * hurd/lookup-retry.c: Likewise.
72407         * malloc/malloc.c: Likewise.
72408         * malloc/mtrace.c: Likewise.
72409         * nscd/nscd_getgr_r.c: Likewise.
72410         * nscd/nscd_getpw_r.c: Likewise.
72411         * nscd/nscd_getserv_r.c: Likewise.
72412         * posix/getopt_init.c: Likewise.
72413         * posix/wordexp.c: Likewise.
72414         * stdio-common/_itoa.c: Likewise.
72415         * stdio-common/printf_fphex.c: Likewise.
72416         * stdio-common/vfprintf.c: Likewise.
72417         * string/_strerror.c: Likewise.
72418         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72419         * sysdeps/i386/i686/hp-timing.h: Likewise.
72420         * sysdeps/mach/_strerror.c: Likewise.
72421         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72422         * sysdeps/mach/hurd/sethostid.c: Likewise.
72423         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72424         * sysdeps/mach/xpg-strerror.c: Likewise.
72425         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72427         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72428         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72429         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72430         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72431         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72432         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72433         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72434         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72435         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72436         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72437         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72438         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72439         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72440         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72441         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72442         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72443         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72444         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72445         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72447         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72449         * stdio-common/_itoa.h: Moved to ...
72450         * sysdeps/generic/_itoa.h: Here.
72452         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72454         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72455         instead of "_itoa.h" and "_itowa.h".
72456         * stdio-common/vfprintf.: Likewise.
72458 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72460         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72461         <bits/wordsize.h>.
72462         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72463         (__signbit): Likwise.
72464         (llrintf): Likwise.
72465         (llrint): Likwise.
72467 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72469         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72470         __WORDSIZE != 64.
72472 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72474         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72475         OVERFLOW_EXCEPTION_OK.
72476         * math/libm-test.inc ("Philosophy"): Update comment about
72477         exception testing.
72478         (OVERFLOW_EXCEPTION): Define.
72479         (OVERFLOW_EXCEPTION_OK): Likewise.
72480         (INVALID_EXCEPTION_OK): Renumber.
72481         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72482         (IGNORE_ZERO_INF_SIGN): Likewise.
72483         (test_exceptions): Handle FE_OVERFLOW.
72484         (exp10_test): Expect overflow exceptions.
72485         (exp2_test): Likewise.
72486         (expm1_test): Likewise.
72487         (nextafter_test): Likewise.
72488         (pow_test): Likewise.
72489         (scalbn_test): Likewise.
72490         (scalbln_test): Likewise.
72492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72494         * sysdeps/x86_64/bits/atomic.h
72495         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72496         64bit integer.
72497         (atomic_exchange_acq): Likewise.
72498         (__arch_exchange_and_add_body): Likewise.
72499         (__arch_add_body): Likewise.
72500         (atomic_add_negative): Likewise.
72501         (atomic_add_zero): Likewise.
72503 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72505         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72506         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72510         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72511         Check __x86_64__ instead of __WORDSIZE.
72513 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72515         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72517 2012-03-19  David S. Miller  <davem@davemloft.net>
72519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72521         * sysdeps/sparc/fpu/fenv_private.h: New file.
72522         * sysdeps/sparc/fpu/math_private.h: Use it.
72523         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72524         Remove.
72525         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72526         (libc_feholdexcept_setroundl): Remove.
72527         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72528         Remove.
72529         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72530         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72532 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72534         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72535         int64_t instead of long int.
72536         (INSERT_WORDS64): Likwise.
72538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72540         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72541         _Unwind_GetCFA return to _Unwind_Ptr first.
72543 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72545         [BZ #13629]
72546         * math/s_clog.c: Include <float.h>.
72547         (__clog): Scale large or subnormal inputs.
72548         * math/s_clogf.c: Likewise.
72549         * math/s_clogl.c: Likewise.
72550         * math/s_clog10.c: Include <float.h>.
72551         (M_LOG10_2): Define.
72552         (__clog10): Scale large or subnormal inputs.
72553         * math/s_clog10f.c: Likewise.
72554         * math/s_clog10l.c: Likewise.
72555         * math/libm-test.inc (clog_test): Add more tests.
72556         (clog10_test): Likewise.
72557         * sysdeps/i386/fpu/libm-test-ulps: Update.
72558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72560         [BZ #11451]
72561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72562         x and y.
72563         * math/libm-test.inc (atan2_test): Add another test.
72565         * Makerules (common-objdir-compile): Remove.
72566         * sysdeps/unix/Makefile (config-generated): Do not add
72567         $(unix-generated) to variable.
72568         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72569         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72570         Remove rule.
72571         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72572         Likewise.
72573         [generic bits/local_lim.h] (before-compile): Do not append to
72574         variable.
72575         [generic bits/local_lim.h] (common-generated): Likewise.
72576         [generic sys/param.h] (before-compile): Do not append to variable.
72577         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72578         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72579         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72580         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72581         include.
72582         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72583         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72584         [generic sys/param.h] ($(addprefix
72585         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72586         [generic sys/param.h] (common-generated): Do not append to
72587         variable.
72588         [generic sys/param.h] (sysdep_headers): Likewise.
72589         [generic bits/errno.h] (before-compile): Do not append to
72590         variable.
72591         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72592         rule.
72593         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72594         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72595         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72596         [generic bits/errno.h] (common-generated): Do not append to
72597         variable.
72598         [generic bits/ioctls.h] (before-compile): Do not append to
72599         variable.
72600         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72601         rule.
72602         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72603         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72604         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72605         rule.
72606         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72607         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72608         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72609         [generic bits/ioctls.h] (common-generated): Do not append to
72610         variable.
72611         [generic sys/syscall.h] (syscall.h): Remove variable.
72612         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72613         rule.
72614         [generic sys/syscall.h] (before-compile): Do not append to
72615         variable.
72616         [generic sys/syscall.h] (common-generated): Likewise.
72617         * sysdeps/unix/errnos-tmpl.c: Remove file.
72618         * sysdeps/unix/errnos.awk: Likewise.
72619         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72620         * sysdeps/unix/ioctls.awk: Likewise.
72621         * sysdeps/unix/mk-local_lim.c: Likewise.
72622         * sysdeps/unix/snarf-ioctls: Likewise.
72624 2012-03-19  Richard Henderson  <rth@twiddle.net>
72626         * sysdeps/i386/fpu/fenv_private.h: New file.
72627         * sysdeps/i386/fpu/math_private.h: Use it.
72628         (math_opt_barrier, math_force_eval): Remove.
72629         (libc_feholdexcept_setround_53bit): Remove.
72630         (libc_feupdateenv_53bit): Remove.
72631         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72632         (math_opt_barrier, math_force_eval): Remove.
72633         (libc_feholdexcept): Remove.
72634         (libc_feholdexcept_setround): Remove.
72635         (libc_fetestexcept, libc_fesetenv): Remove.
72636         (libc_feupdateenv_test): Remove.
72637         (libc_feupdateenv, libc_feholdsetround): Remove.
72638         (libc_feresetround): Remove.
72640         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72641         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72643         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72644         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72645         (libc_feupdateenv_testl): New.
72646         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72647         (libc_feupdateenv_testf): New.
72648         (libc_feupdateenv): Use libc_feupdateenv_test.
72649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72650         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72652         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72653         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72654         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72655         (libc_feresetround_noex): New.
72656         (libc_feresetround_noexf): New.
72657         (libc_feresetround_noexl): New.
72658         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72659         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72660         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72661         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72662         SET_RESTORE_ROUND.
72663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72665         (__cos): Likewise.
72666         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72668         SET_RESTORE_ROUND_NOEX.
72669         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72670         SET_RESTORE_ROUND_NOEXF.
72671         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72672         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72673         (libc_feholdsetroundf): New.
72674         (libc_feresetround, libc_feresetroundf): New.
72676         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72677         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72678         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72680         * sysdeps/generic/math_private.h: Include <fenv.h>.
72681         (default_libc_feholdexcept): New.
72682         (default_libc_feholdexcept_setround): New.
72683         (default_libc_fesetenv, default_libc_feupdateenv): New.
72684         (libc_feholdexcept): Only define if undefined.
72685         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72686         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72687         (libc_feholdexcept_setroundl): Likewise.
72688         (libc_feholdexcept_setround_53bit): Likewise.
72689         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72690         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72691         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72692         (libc_feupdateenv_53bit): Likewise.
72693         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72694         (libc_feholdexcept): Convert from macro to inline function.
72695         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72696         (libc_fesetenv, libc_feupdateenv): Likewise.
72698         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72699         not previously defined.
72700         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72701         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72702         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72703         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72704         * sysdeps/ieee754/flt-32/math_private.h: New file.
72705         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72706         math_private.h below SET_FLOAT_WORD.
72707         (__isnan, __isinf_ns, __finite): Remove.
72708         (__isnanf, __isinf_nsf, __finitef): Remove.
72710 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72714 2012-03-17  David S. Miller  <davem@davemloft.net>
72716         [BZ #6471]
72717         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72718         for 2.16.
72720 2012-03-16  David S. Miller  <davem@davemloft.net>
72722         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72723         warnings.
72725         [BZ #6471]
72726         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72727         properly.
72728         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72729         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72730         sysdep_routines when subdir is sysvipc.
72731         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72732         __getshmlba helper.
72734         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72736 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72738         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72739         [__LP64__].
72741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72743         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72744         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72745         (__lround): Renamed to ...
72746         (__llround): This.  Replace long int with long long int.
72747         Define lround functions as aliases of llround functions.
72748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72752         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72753         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72754         adresses to uintptr_t.  Replace "long int" and "unsigned long
72755         int" with "greg_t" on va_arg.
72757 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72759         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72760         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72762         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72763         Move e_machine check before EI_CLASS check.  Handle x32
72764         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72765         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72766         SKIP_EM_IA_64 and include
72767         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72769         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72770         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72771         (add_system_dir): New macro.
72773         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72774         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72776 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72778         [BZ #2551]
72779         [BZ #2552]
72780         [BZ #2553]
72781         [BZ #2554]
72782         [BZ #2562]
72783         [BZ #2563]
72784         [BZ #2565]
72785         [BZ #2566]
72786         [BZ #2576]
72787         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72788         (y0): Likewise.
72789         * math/w_j0f.c (j0f): Likewise.
72790         (y0f): Likewise.
72791         * math/w_j0l.c (__j0l): Likewise.
72792         (__y0l): Likewise.
72793         * math/w_j1.c (j1): Likewise.
72794         (y1): Likewise.
72795         * math/w_j1f.c (j1f): Likewise.
72796         (y1f): Likewise.
72797         * math/w_j1l.c (__j1l): Likewise.
72798         (__y1l): Likewise.
72799         * math/w_jn.c (jn): Likewise.
72800         (yn): Likewise.
72801         * math/w_jnf.c (jnf): Likewise.
72802         (ynf): Likewise.
72803         * math/w_jnl.c (__jnl): Likewise.
72804         (__ynl): Likewise.
72805         * math/libm-test.inc (j0_test): Add more tests.
72806         (j1_test): Likewise.
72807         (jn_test): Likewise.  Add trailing semicolon to existing test.
72808         (y0_test): Likewise.
72809         (y1_test): Likewise.
72810         * sysdeps/i386/fpu/libm-test-ulps: Update.
72811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72813         [BZ #13851]
72814         [BZ #13854]
72815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72816         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72817         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72818         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72819         (__tanl): Set errno for infinite argument.
72820         * sysdeps/i386/fpu/mptan.c: Remove.
72821         * sysdeps/i386/fpu/s_tan.S: Likewise.
72822         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72823         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72824         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72825         * math/libm-test.inc (tan_test): Add more tests and enable more
72826         tests for double and long double.
72827         * sysdeps/i386/fpu/libm-test-ulps: Update.
72828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72830 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72832         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72833         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72835 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72837         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72838         * configure.in: Use it for both main tree and add-ons.
72839         * configure: Regenerated.
72841 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72843         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72845 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72847         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72848         in comment.
72850         [BZ #13851]
72851         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72852         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72853         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72854         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72855         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72856         infinite argument.
72857         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72858         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72859         != 0 for prec == 2.
72860         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72861         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72862         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72863         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72864         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72865         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72866         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72867         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72868         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72869         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72870         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72871         * math/libm-test.inc (cos_test): Add more tests and enable more
72872         tests for long double.
72873         (sin_test): Likewise.
72874         (sincos_test): Likewise.
72875         * sysdeps/i386/fpu/libm-test-ulps: Update.
72876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72878 2012-03-16  David S. Miller  <davem@davemloft.net>
72880         * sysdeps/sparc/fpu/math_private.h: New file.
72882 2012-03-15  David S. Miller  <davem@davemloft.net>
72884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72885         file.
72886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72888         file.
72889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72895         sysdep routines.
72896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72898         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72899         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72901         * sysdeps/sparc/sparc-ifunc.h: New file.
72902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72903         sparc-ifunc.h
72904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72906         Likewise.
72907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72908         Likewise.
72909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72913         Likewise.
72914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72919         Likewise.
72920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72921         Likewise.
72922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72928         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72940         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72944         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72947 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72949         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72950         scaling.
72951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72953 2012-03-15  Andreas Jaeger  <aj@suse.de>
72955         [BZ #13852]
72956         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72957         ieee754/flt-32 implementation for sin, cos and sincos.
72958         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72959         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72960         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72961         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72962         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72963         ieee754/flt-32 implementation for tan.
72965         * math/libm-test.inc (cos_test): Enable some large input tests for
72966         float as well
72967         (sin_test): Likewise.
72968         (sincos_test): Likewise.
72969         (tan_test): Add tests for large input.
72971         * sysdeps/i386/fpu/libm-test-ulps: Update.
72973 2012-03-15  Andreas Jaeger  <aj@suse.de>
72975         [BZ #13658]
72976         * math/libm-test.inc (cos_test): Add more test cases.
72977         (sin_test): Likewise.
72978         (sincos_test): Likewise.
72980 2012-03-15  Andreas Jaeger  <aj@suse.de>
72982         [BZ #13837]
72983         * math/libm-test.inc (cos_test): Add a test case for large input
72984         value.
72985         (sin_test): Likewise.
72986         (sincos_test): Likewise.
72988 2012-03-15  Andreas Jaeger  <aj@suse.de>
72989             Joseph Myers  <joseph@codesourcery.com>
72991         [BZ #13658]
72992         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72993         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72994         * sysdeps/i386/fpu/branred.c: Likewise.
72995         * sysdeps/i386/fpu/dosincos.c: Likewise.
72996         * sysdeps/i386/fpu/mpa.c: Likewise.
72997         * sysdeps/i386/fpu/s_cos.S: Likewise.
72998         * sysdeps/i386/fpu/s_sin.S: Likewise.
72999         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73000         * sysdeps/i386/fpu/sincos32.c: Likewise.
73002         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73003         Define.
73004         (libc_feupdateenv_53bit): Define.
73005         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73006         Define.
73007         (libc_feupdateenv_53bit): Define.
73009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73010         53 bit (without extend i386 double precision).
73012         * math/libm-test.inc (sincos_test): Add tests for large input.
73013         (sin): Likewise.
73014         (cos): Likewise.
73016         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73018 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73022 2012-03-15  David S. Miller  <davem@davemloft.net>
73024         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73025         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73026         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73027         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73040         file.
73041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73043         file.
73044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73046         file.
73047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73049         file.
73050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73052         fmin/fmax sysdep routines.
73053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73055 2012-03-14  David S. Miller  <davem@davemloft.net>
73057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73061         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73077         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73078         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73081         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73085         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73086         routines.
73087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73088         file.
73089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73091         file.
73092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73094         file.
73095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73097         file.
73098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73100         file.
73101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73103         file.
73104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73105         file.
73106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73107         file.
73108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73109         file.
73110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73111         New file.
73112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73113         file.
73114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73115         file.
73116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73118         file.
73119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73121         file.
73122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73124         file.
73125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73127         VIS3 routines.
73129         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73130         New file.
73132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73134         * sysdeps/sparc/configure.in: New file.
73135         * sysdeps/sparc/configure: Generate.
73136         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73137         * configure: Regenerate.
73138         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73139         * config.make.in (have-as-vis3): New.
73140         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73141         available use -Av9d instead of -Av9a.
73142         * sysdeps/sparc/sparc64/Makefile: Likewise.
73143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73145         New file.
73146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73147         file.
73148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73149         New file.
73150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73151         file.
73152         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73158         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73159         fzeros/fnegs to load 0x80000000 into a float register instead of
73160         using the stack.
73161         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73163 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73166         bits/syscall.h.
73167         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73168         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73169         ($(inst_includedir)/bits/syscall.h): Remove rule.
73170         ($(objpfx)bits/syscall.d): Include instead of
73171         $(objpfx)syscall-list.d.
73172         (generated): Change syscall-list.h and syscall-list.d to
73173         bits/syscall.h and bits/syscall.d.
73175 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73177         [BZ #13846]
73178         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73180 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73182         [BZ #13841]
73183         * math/s_csqrt.c: Include <float.h>.
73184         (__csqrt): Scale large or subnormal inputs.
73185         * math/s_csqrtf.c: Likewise.
73186         * math/s_csqrtl.c: Likewise.
73187         * math/libm-test.inc (csqrt_test): Add more tests.
73188         * sysdeps/i386/fpu/libm-test-ulps: Update.
73189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73191         [BZ #13840]
73192         * math/libm-test.inc (hypot_test): Add more tests.
73194 2012-03-13  David S. Miller  <davem@davemloft.net>
73196         [BZ #13840]
73197         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73198         double-precision for the calculation instead of scaling.
73200 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73202         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73203         manipulate bits before adding and subtracting TWO52[sx].
73204         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73205         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73206         Likewise.
73207         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73209 2012-03-13  David S. Miller  <davem@davemloft.net>
73211         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73212         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73214         rtld-global-offsets.h
73215         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73217         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73218         large parameters.
73220         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73222         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73223         'err' in the ifdef scope in which it is actually used.
73225         * nss/nss_db/db-init.c: Include string.h
73227 2012-03-12  David S. Miller  <davem@davemloft.net>
73229         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73230         masking out of the most significant byte of random value used.
73231         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73232         Fix coding style in previous change.
73234         * sysdeps/unix/sysv/linux/kernel-features.h
73235         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73236         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73237         expression.
73238         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73239         later.
73241 2012-03-11  David S. Miller  <davem@davemloft.net>
73243         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73244         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73245         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73246         for 'resultvar' otherwise things get truncated on 64-bit.
73248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73249         Fix masking out of the most significant byte of random value used.
73251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73253 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73257 2012-03-09  David S. Miller  <davem@davemloft.net>
73259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73260         variables with appropriate CPP guards.
73261         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73262         from the frame pointer, not the stack pointer.  Correct layout
73263         comments.  Fix test on resulting framesize and the management of
73264         the outregs buffer for pltexit.  Preserve floating point return
73265         values across _dl_call_pltexit call.
73266         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73267         framesize and the management of the outregs buffer for pltexit.
73268         Preserve floating point return values across _dl_call_pltexit
73269         call.
73270         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73271         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73272         (la_sparc64_gnu_pltexit): New functions.
73273         (print_exit): Fix format string for return register value.
73275 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73277         * sunrpc/Makefile (others): Add rpcgen.
73278         ($(objpfx)rpcgen): Remove special build rule and dependency on
73279         libc.
73280         * sunrpc/rpcgen.c: New file.
73282 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73284         [BZ #13673]
73285         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73286         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73287         * sysdeps/i386/crti.S: Likewise.
73288         * sysdeps/i386/crtn.S: Likewise.
73289         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73290         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73291         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73292         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73293         * sysdeps/sh/crti.S: Likewise.
73294         * sysdeps/sh/crtn.S: Likewise.
73295         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73297         [BZ #13673]
73298         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73299         with URL.
73300         * locale/programs/locfile-kw.gperf: Likewise.
73301         * locale/programs/charmap-kw.h: Regenerated.
73302         * locale/programs/locfile-kw.h: Likewise.
73304         [BZ #13673]
73305         * intl/plural.y: Replace FSF snail mail address with URL.
73306         * intl/plural.c: Regenerated.
73308 2012-03-09  Richard Henderson  <rth@twiddle.net>
73310         * include/math_private.h: Remove file.
73311         * math/math_private.h: Move file ...
73312         * sysdeps/generic/math_private.h: ... here.
73314         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73315         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73316         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73318         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73319         and <math_private.h>.
73320         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73321         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73322         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73323         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73324         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73325         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73328         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73329         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73330         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73331         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73332         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73334         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73335         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73336         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73337         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73338         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73339         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73340         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73341         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73342         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73344         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73345         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73346         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73347         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73348         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73349         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73350         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73352         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73353         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73354         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73355         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73356         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73357         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73358         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73359         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73360         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73361         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73362         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73363         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73364         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73365         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73366         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73367         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73368         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73369         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73370         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73371         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73378         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73379         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73381         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73383         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73384         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73385         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73386         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73387         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73388         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73389         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73390         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73391         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73392         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73393         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73394         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73395         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73398         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73399         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73400         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73401         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73403         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73407         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73408         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73409         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73410         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73411         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73412         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73413         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73414         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73415         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73416         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73417         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73418         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73420         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73421         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73422         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73423         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73424         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73425         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73426         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73427         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73428         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73430         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73431         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73432         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73433         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73434         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73435         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73436         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73437         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73438         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73439         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73440         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73441         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73442         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73443         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73444         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73445         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73446         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73447         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73448         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73449         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73450         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73451         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73452         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73453         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73454         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73455         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73456         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73457         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73458         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73459         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73460         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73461         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73462         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73463         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73464         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73465         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73466         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73467         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73468         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73469         * sysdeps/ieee754/k_standard.c: Likewise.
73470         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73471         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73472         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73473         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73474         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73475         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73476         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73477         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73486         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73487         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73488         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73489         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73490         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73491         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73492         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73493         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73494         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73495         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73496         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73497         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73498         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73500         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73501         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73502         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73503         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73504         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73505         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73506         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73507         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73508         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73509         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73513         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73514         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73515         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73516         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73518         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73519         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73520         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73521         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73523         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73526         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73527         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73528         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73529         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73530         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73531         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73532         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73533         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73534         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73535         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73536         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73537         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73538         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73539         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73540         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73542         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73543         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73545         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73546         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73547         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73549         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73552         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73553         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73555         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73556         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73557         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73558         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73559         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73560         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73561         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73562         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73563         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73566         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73567         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73568         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73569         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73571         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73572         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73573         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73574         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73577         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73578         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73579         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73580         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73581         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73582         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73583         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73584         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73585         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73586         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73588         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73589         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73590         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73592         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73593         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73594         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73595         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73596         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73597         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73598         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73602         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73603         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73605         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73607         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73609         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73610         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73611         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73612         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73613         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73614         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73615         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73618         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73619         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73620         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73621         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73622         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73623         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73624         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73625         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73626         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73627         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73628         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73629         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73630         * sysdeps/ieee754/s_lib_version.c: Likewise.
73631         * sysdeps/ieee754/s_matherr.c: Likewise.
73632         * sysdeps/ieee754/s_signgam.c: Likewise.
73633         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73634         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73635         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73636         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73637         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73638         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73639         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73640         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73641         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73642         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73643         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73644         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73645         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73646         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73647         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73648         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73649         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73650         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73651         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73655 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73657         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73658         * sunrpc/rpc_main.c: Likewise.
73659         * sunrpc/rpc_svcout.c: Likewise.
73661 2012-03-09  David S. Miller  <davem@davemloft.net>
73663         * include/math_private.h: New file.
73665 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73667         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73668         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73669         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73670         from <bits/socket_type.h>.
73671         (enum __socket_type): Don't define here.
73672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73674         bits/socket_type.h.
73676         [BZ #13566]
73677         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73678         checking __USE_GNU.
73680         * Makerules ($(inst_includedir)/%.h): New rule.
73681         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73682         (install-others): Remove variable setting.
73683         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73685 2012-03-08  Richard Henderson  <rth@twiddle.net>
73687         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73688         from macro to inline function; merge with the
73689         !__LIBC_INTERNAL_MATH_INLINES version.
73690         (__ieee754_sqrtf): Likewise.
73692         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73693         to inline function.
73694         (__rintf, __floor, __floorf): Likewise.
73696         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73697         macro to inline function.
73698         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73700         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73701         not <math/math_private.h>.
73703 2012-03-08  David S. Miller  <davem@davemloft.net>
73705         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73706         copyright year.
73707         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73709 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73711         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73712         normalization.
73713         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73714         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73716 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73718         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73719         be defined individually, they must be defined as a block.  Define
73720         S for printing a string instead of hidint the different by using a
73721         macro for adding the 'l'.
73722         * stdio-common/tst-fphex-wide.c: Adjust.
73724 2012-03-07  Marek Polacek  <polacek@redhat.com>
73726         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73728 2012-03-08  Marek Polacek  <polacek@redhat.com>
73730         [BZ #13806]
73731         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73732         * stdio-common/tst-fphex.c: Define a few macros to make the
73733         test reusable.  Use them.
73734         * stdio-common/tst-fphex-wide.c: New file.
73736 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73738         [BZ #6911]
73739         * manual/macros.texi (gnusystems): New macro.
73740         (nongnusystems): Likewise.
73741         (gnulinuxhurdsystems): Likewise.
73742         (gnuhurdsystems): Likewise..
73743         (gnulinuxsystems): Likewise.
73744         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73745         variants of the GNU system, not "GNU system".
73746         * manual/conf.texi: Likewise.
73747         * manual/errno.texi: Likewise.  Update example of errno macro
73748         expansion.
73749         * manual/filesys.texi: Likewise.
73750         (getumask): Document as specific to GNU/Hurd.
73751         * manual/install.texi: Likewise.  Reword some references to
73752         GNU/Linux.
73753         * manual/intro.texi: Likewise.
73754         * manual/io.texi: Likewise.
73755         (File Name Portability): Detail which constraints are inapplicable
73756         to all GNU systems and which are only inapplicable to GNU/Hurd.
73757         * manual/job.texi: Likewise.
73758         * manual/llio.texi: Likewise.
73759         (O_NOCTTY): Document as present on GNU/Linux.
73760         * manual/maint.texi: Likewise.
73761         * manual/memory.texi: Likewise.
73762         * manual/pattern.texi: Likewise.
73763         * manual/pipe.texi: Likewise.
73764         * manual/process.texi: Likewise.
73765         * manual/resource.texi: Likewise.
73766         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73767         child on GNU/Hurd.
73768         * manual/setjmp.texi: Likewise.
73769         * manual/signal.texi: Likewise.
73770         * manual/startup.texi: Likewise.
73771         * manual/stdio.texi: Likewise.
73772         * manual/terminal.texi: Likewise.
73773         (ONLCR): Document as POSIX.
73774         (OXTABS): Document availability on GNU/Linux as XTABS.
73775         (ONOEOT): Document availability separately from other bits.
73776         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73777         * manual/time.texi: Likewise.
73778         * manual/users.texi: Likewise.
73779         * INSTALL: Regenerated.
73780         * sysdeps/gnu/errlist.c: Regenerated.
73782         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73783         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73784         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73785         puts.
73786         * configure: Regenerated.
73788 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73790         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73791         default includes instead of AC_HEADER_CHECK.
73792         * sysdeps/i386/configure: Regenerated.
73794         [BZ #10716]
73795         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73796         * math/s_cacoshf.c (__cacoshf): Likewise.
73797         * math/s_cacoshl.c (__cacoshl): Likewise.
73798         * math/s_casinh.c (__casinh): Set signs of result from argument.
73799         * math/s_casinhf.c (__casinhf): Likewise.
73800         * math/s_casinhl.c (__casinhl): Likewise.
73801         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73802         (casinh_test): Add more tests.
73803         * sysdeps/i386/fpu/libm-test-ulps: Update.
73804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73806 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73808         * po/zh_TW.po: Update from translation team.
73810         * login/Makefile (distribute): Remove variable.
73811         * catgets/Makefile: Likewise.
73812         * mach/Makefile: Likewise.
73813         * malloc/Makefile: Likewise.
73814         * misc/Makefile: Likewise.
73815         * iconv/Makefile: Likewise.
73816         * nscd/Makefile: Likewise.
73817         * hurd/Makefile: Likewise.
73818         * manual/Makefile: Likewise.
73819         * locale/Makefile: Likewise.
73820         * intl/Makefile: Likewise.
73821         * conform/Makefile: Likewise.
73822         * nss/Makefile: Likewise.
73823         * time/Makefile: Likewise.
73824         * soft-fp/Makefile: Likewise.
73825         * dirent/Makefile: Likewise.
73826         * gmon/Makefile: Likewise.
73827         * po/Makefile: Likewise.
73828         * rt/Makefile: Likewise.
73829         * socket/Makefile: Likewise.
73830         * math/Makefile: Likewise.
73831         * signal/Makefile: Likewise.
73832         * debug/Makefile: Likewise.
73833         * elf/Makefile: Likewise.
73834         * timezone/Makefile: Likewise.
73835         * stdlib/Makefile: Likewise.
73836         * iconvdata/Makefile: Likewise.
73837         * sunrpc/Makefile: Likewise.
73838         * io/Makefile: Likewise.
73839         * argp/Makefile: Likewise.
73840         * inet/Makefile: Likewise.
73841         * hesiod/Makefile: Likewise.
73842         * grp/Makefile: Likewise.
73843         * csu/Makefile: Likewise.
73844         * wctype/Makefile: Likewise.
73845         * crypt/Makefile: Likewise.
73846         * libio/Makefile: Likewise.
73847         * string/Makefile: Likewise.
73848         * nis/Makefile: Likewise.
73849         * resolv/Makefile: Likewise.
73850         * stdio-common/Makefile: Likewise.
73851         * wcsmbs/Makefile: Likewise.
73852         * dlfcn/Makefile: Likewise.
73853         * posix/Makefile: Likewise.
73855         [BZ #6959]
73856         * timezone/Makefile: Don't install timezone files, just the programs
73857         and scripts.
73859 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73861         * nss/databases.def: Add missing gshadow entry.
73863         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73865 2012-03-06  Marek Polacek  <polacek@redhat.com>
73867         [BZ #13726]
73868         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73869         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73870         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73871         * stdio-common/tst-long-dbl-fphex.c: New file.
73873 2012-03-06  David S. Miller  <davem@davemloft.net>
73875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73876         (set_obp_int): New function.
73877         (get_obp_int): New function.
73878         (__get_clockfreq_via_dev_openprom): Likewise.
73879         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73880         Avoid unused variable warnings on 'val' and use builtin_expect.
73881         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73882         __builtin_expect.
73883         (INLINE_CLONE_SYSCALL): Likewise.
73885 2012-03-05  David S. Miller  <davem@davemloft.net>
73887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73889 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73894         only for |x| >= 40.
73895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73897 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73900         Replace gettimeofday with __vdso_gettimeofday.
73902         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73903         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73904         __vdso_clock_gettime and __vdso_getcpu.
73906         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73907         time with __vdso_time.
73909 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73911         * manual/lang.texi (size_t): Note types to which size_t may be
73912         equivalent with the GNU C Library, but do not describe when
73913         differences between them are significant.
73915 2012-03-05  Andreas Jaeger  <aj@suse.de>
73917         * sysdeps/i386/fpu/libm-test-ulps: Update.
73919 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73921         [BZ #3976]
73922         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73923         (__ieee754_pow): Save and restore rounding mode and use
73924         round-to-nearest for main computations.
73925         * math/libm-test.inc (pow_test_tonearest): New function.
73926         (pow_test_towardzero): Likewise.
73927         (pow_test_downward): Likewise.
73928         (pow_test_upward): Likewise.
73929         (main): Call the new functions.
73930         * sysdeps/i386/fpu/libm-test-ulps: Update.
73931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73933         [BZ #3976]
73934         * math/libm-test.inc (cosh_test_tonearest): New function.
73935         (cosh_test_towardzero): Likewise.
73936         (cosh_test_downward): Likewise.
73937         (cosh_test_upward): Likewise.
73938         (sinh_test_tonearest): Likewise.
73939         (sinh_test_towardzero): Likewise.
73940         (sinh_test_downward): Likewise.
73941         (sinh_test_upward): Likewise.
73942         (main): Call the new functions.
73943         * sysdeps/i386/fpu/libm-test-ulps: Update.
73944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73946 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73949         default stack guard is set in last bytes.
73950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73952 2012-03-05  Kees Cook  <keescook@chromium.org>
73954         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73956         [BZ #13656]
73957         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73958         possibly allocate from heap instead of stack.
73959         * stdio-common/bug-vfprintf-nargs.c: New file.
73960         * stdio-common/Makefile (tests): Add nargs overflow test.
73962 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73966 2012-03-03  Marek Polacek  <polacek@redhat.com>
73968         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73969         * math/math_private.h: Likewise.
73970         * stdlib/tst-strtod.c: Likewise.
73971         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73972         * sysdeps/x86_64/bits/atomic.h: Likewise.
73974 2012-03-02  David S. Miller  <davem@davemloft.net>
73976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73980         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73981         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73982         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73983         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73985 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73987         [BZ #13792]
73988         * manual/examples/README: New file, says the example source files
73989         can be used under GPL>=2.
73990         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73991         line containing just "*/".
73992         * manual/examples/add.c: Add copyright header (GPL>=2).
73993         * manual/examples/argp-ex1.c: Likewise.
73994         * manual/examples/argp-ex2.c: Likewise.
73995         * manual/examples/argp-ex3.c: Likewise.
73996         * manual/examples/argp-ex4.c: Likewise.
73997         * manual/examples/atexit.c: Likewise.
73998         * manual/examples/db.c: Likewise.
73999         * manual/examples/dir.c: Likewise.
74000         * manual/examples/dir2.c: Likewise.
74001         * manual/examples/execinfo.c: Likewise.
74002         * manual/examples/filecli.c: Likewise.
74003         * manual/examples/filesrv.c: Likewise.
74004         * manual/examples/fmtmsgexpl.c: Likewise.
74005         * manual/examples/genpass.c: Likewise.
74006         * manual/examples/inetcli.c: Likewise.
74007         * manual/examples/inetsrv.c: Likewise.
74008         * manual/examples/isockad.c: Likewise.
74009         * manual/examples/longopt.c: Likewise.
74010         * manual/examples/memopen.c: Likewise.
74011         * manual/examples/memstrm.c: Likewise.
74012         * manual/examples/mkfsock.c: Likewise.
74013         * manual/examples/mkisock.c: Likewise.
74014         * manual/examples/mygetpass.c: Likewise.
74015         * manual/examples/pipe.c: Likewise.
74016         * manual/examples/popen.c: Likewise.
74017         * manual/examples/rprintf.c: Likewise.
74018         * manual/examples/search.c: Likewise.
74019         * manual/examples/select.c: Likewise.
74020         * manual/examples/setjmp.c: Likewise.
74021         * manual/examples/sigh1.c: Likewise.
74022         * manual/examples/sigusr.c: Likewise.
74023         * manual/examples/stpcpy.c: Likewise.
74024         * manual/examples/strdupa.c: Likewise.
74025         * manual/examples/strftim.c: Likewise.
74026         * manual/examples/strncat.c: Likewise.
74027         * manual/examples/subopt.c: Likewise.
74028         * manual/examples/swapcontext.c: Likewise.
74029         * manual/examples/termios.c: Likewise.
74030         * manual/examples/testopt.c: Likewise.
74031         * manual/examples/testpass.c: Likewise.
74032         * manual/examples/timeval_subtract.c: Likewise.
74034         [BZ #13792]
74035         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74036         function to ...
74037         * manual/timeval_subtract.c.texi: ... here, new file.
74039 2012-03-02  David S. Miller  <davem@davemloft.net>
74041         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74043 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74045         [BZ #3976]
74046         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74047         (__sin): Save and restore rounding mode and use round-to-nearest
74048         for all computations.
74049         (__cos): Save and restore rounding mode and use round-to-nearest
74050         for all computations.
74051         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74052         <fenv.h>.
74053         (tan): Save and restore rounding mode and use round-to-nearest for
74054         all computations.
74055         * math/libm-test.inc (cos_test_tonearest): New function.
74056         (cos_test_towardzero): Likewise.
74057         (cos_test_downward): Likewise.
74058         (cos_test_upward): Likewise.
74059         (sin_test_tonearest): Likewise.
74060         (sin_test_towardzero): Likewise.
74061         (sin_test_downward): Likewise.
74062         (sin_test_upward): Likewise.
74063         (tan_test_tonearest): Likewise.
74064         (tan_test_towardzero): Likewise.
74065         (tan_test_downward): Likewise.
74066         (tan_test_upward): Likewise.
74067         (main): Call the new functions.
74068         * sysdeps/i386/fpu/libm-test-ulps: Update.
74069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74071         [BZ #10135]
74072         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74073         small n, then large n, before computing and testing k+n.
74074         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74076         Likewise.
74077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74078         Likewise.
74079         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74080         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74087         * math/libm-test.inc (scalbn_test): Add more tests.
74088         (scalbln_test): Likewise.
74090         * manual/filesys.texi (mode_t): Describe constraints on size and
74091         signedness, not exact equivalence to a particular type.
74092         (ino_t): Likewise.
74093         (ino64_t): Likewise.
74094         (dev_t): Likewise.
74095         (nlink_t): Likewise.
74096         (blkcnt_t): Likewise.
74097         (blkcnt64_t): Likewise.
74098         * manual/llio.texi (off_t): Likewise.
74100         [BZ #3976]
74101         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74102         (__ieee754_exp): Save and restore rounding mode and use
74103         round-to-nearest for all computations.
74104         * math/libm-test.inc (exp_test_tonearest): New function.
74105         (exp_test_towardzero): Likewise.
74106         (exp_test_downward): Likewise.
74107         (exp_test_upward): Likewise.
74108         (main): Call the new functions.
74109         * sysdeps/i386/fpu/libm-test-ulps: Update.
74110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74112 2012-03-01  Chris Demetriou  <cgd@google.com>
74114         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74115         have predictable order.
74117 2012-03-01  David S. Miller  <davem@davemloft.net>
74119         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74121         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74122         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74123         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74124         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74126         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74127         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74128         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74130         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74131         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74132         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74133         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74134         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74138         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74139         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74140         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74142         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74143         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74144         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74145         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74146         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74147         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74149         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74150         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74151         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74152         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74155         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74156         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74158         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74159         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74160         * sysdeps/sparc/elf/configure: Regenerated.
74162 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74164         * configure.in (AS, LD): Require binutils 2.20 or later.
74165         * configure: Regenerated.
74166         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74167         as required minimum version.
74168         * INSTALL: Regenerated.
74170         [BZ #2541]
74171         [BZ #4108]
74172         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74173         before squaring exponent.
74174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74175         bottom long double and 27 bits of top long double before squaring
74176         exponent.
74177         * math/libm-test.inc (erfc_test): Add more tests.
74178         * sysdeps/i386/fpu/libm-test-ulps: Update.
74179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74182 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74184         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74185         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74186         containing bit-fields.
74187         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74188         * soft-fp/single.h (_FP_UNION_S): Likewise.
74189         * soft-fp/double.h (_FP_UNION_D): Likewise.
74191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74193         [BZ #13786]
74194         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74195         not include ../strcmp.S.
74196         [USE_AS_STRNCASECMP_L]: Likewise.
74197         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74198         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74199         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74200         (__strncasecmp_l_ia32): Define as alias to
74201         __strncasecmp_l_nonascii.
74203         [BZ #5794]
74204         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74205         * sysdeps/i386/fpu/libm-test-ulps: Update.
74206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74208         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74211 2012-02-29  Jeff Law  <law@redhat.com>
74213         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74214         out of bounds read.
74216 2012-02-29  Marek Polacek  <polacek@redhat.com>
74218         [BZ #13706]
74219         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74220         * elf/Makefile: Add rules to run tst-unused-dep.out.
74222 2012-02-28  David S. Miller  <davem@davemloft.net>
74224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74228         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74229         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74231 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74233         * math/libm-test.inc (llround_test): Move one test from
74234         lround_test.  Use TEST_f_L in moved test.
74235         (lround_test): Move misplaced test to llround_test.  Add testcase
74236         from bug 2561.
74238 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74240         * sysdeps/x86_64/fpu/e_expf.S: New file.
74241         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74243 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74245         [BZ #13637]
74246         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74247         of remain_len that may cause incomplete multi-byte character and
74248         false match.
74249         * posix/bug-regex33.c: New file.
74250         * posix/Makefile (tests): Add bug-regex33.
74252 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74254         * manual/macros.texi: New file.
74255         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74256         * manual/libc.texinfo: Include macros.texi.
74257         * manual/creatute.texi: Likewise.
74258         * manual/install.texi: Likewise.
74259         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74260         @glibcadj{} in references to the GNU C Library.
74261         * manual/charset.texi: Likewise.
74262         * manual/conf.texi: Likewise.
74263         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74264         when not using those macros.
74265         * manual/creature.texi: Likewise.
74266         * manual/crypt.texi: Likewise.
74267         * manual/errno.texi: Likewise.
74268         * manual/filesys.texi: Likewise.
74269         * manual/header.texi: Likewise.
74270         * manual/install.texi: Likewise.
74271         * manual/intro.texi: Likewise.
74272         * manual/io.texi: Likewise.
74273         * manual/job.texi: Likewise.
74274         * manual/lang.texi: Likewise.
74275         * manual/libc.texiinfo: Likewise.
74276         * manual/llio.texi: Likewise.
74277         * manual/locale.texi: Likewise.
74278         * manual/maint.texi: Likewise.
74279         * manual/math.texi: Likewise.
74280         * manual/memory.texi: Likewise.
74281         * manual/message.texi: Likewise.
74282         * manual/nss.texi: Likewise.
74283         * manual/pattern.texi: Likewise.
74284         * manual/process.texi: Likewise.
74285         * manual/resource.texi: Likewise.
74286         * manual/search.texi: Likewise.
74287         * manual/setjmp.texi: Likewise.
74288         * manual/signal.texi: Likewise.
74289         * manual/socket.texi: Likewise.
74290         * manual/startup.texi: Likewise.
74291         * manual/stdio.texi: Likewise.
74292         * manual/string.texi: Likewise.
74293         * manual/sysinfo.texi: Likewise.
74294         * manual/syslog.texi: Likewise.
74295         * manual/terminal.texi: Likewise.
74296         * manual/time.texi: Likewise.
74297         * manual/users.texi: Likewise.
74298         * INSTALL: Regenerated.
74299         * NOTES: Regenerated.
74300         * sysdeps/gnu/errlist.c: Regenerated.
74302 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74304         * include/dirent.h: Include <dirstream.h> before
74305         <dirent/dirent.h>.
74307 2012-02-28  David S. Miller  <davem@davemloft.net>
74309         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74310         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74311         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74312         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74314 2012-02-27  David S. Miller  <davem@davemloft.net>
74316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74318         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74319         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74322         frame pointer instead of stack pointer relative arg slot.
74323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74324         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74325         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74327 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74329         [BZ #3992]
74330         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74332 2012-02-27  David S. Miller  <davem@davemloft.net>
74334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74338         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74339         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74340         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74341         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74343 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74345         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74346         later.  Allow versions 5-9.
74347         * configure: Regenerated.
74348         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74349         required minimum version and 4.6 as recommended version.  Do not
74350         mention bugs in GCC 2.7 and 2.8.
74351         * INSTALL: Regenerated.
74353 2012-02-27  David S. Miller  <davem@davemloft.net>
74355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74359         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74360         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74361         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74362         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74365         manipulate bits before adding and subtracting TWO112[sx].
74366         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74368 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74370         [BZ #13775]
74371         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74372         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74373         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74374         being in POSIX, because they are in 1003.1-2008.
74376         * rt/tst-aio.c: Include <fcntl.h>.
74377         * rt/tst-aio7.c: Likewise.
74378         * rt/tst-aio64.c: Likewise.
74380         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74382 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74384         * manual/install.texi (--with-headers): Describe headers as
74385         interface headers, not private headers.
74386         (Specific advice for GNU/Linux systems): Describe use of headers
74387         from "make headers_install", not private headers from older
74388         kernels.
74389         * INSTALL: Regenerated.
74390         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74391         Change to 2.6.19.
74392         * sysdeps/unix/sysv/linux/configure: Regenerated.
74394         * manual/llio.texi (fclean): Remove documentation.
74396         * manual/Makefile (libc-texi-generated): New variable.  Include
74397         version.texi.
74398         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74399         $(libc-texi-generated), not duplicated list of files.
74400         (version.texi, stamp-version): New rules.
74401         (realclean): Remove $(libc-texi-generated), not individual files
74402         from that list.  Do not remove dir-add.texinfo.
74403         * manual/libc.texinfo: Comment out uses of edition numbers and
74404         references to printed manual.  Remove last-updated dates.
74405         (EDITION): Comment out.
74406         (ISBN): Likewise.
74407         (VERSION, UPDATED): Remove.
74408         (version.texi): Include.
74410 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74412         * sysdeps/posix/spawni.c: Include <signal.h>.
74413         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74414         * sysdeps/pthread/aio_fsync.c: Likewise.
74416 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74418         * conform/Makefile (tests): Run only when not cross-compiling and
74419         when fast-check is not defined.
74421         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74422         * conform/data/limits.h-data: Fixes for POSIX2008.
74423         * conform/run-conformtest.sh: Run all tests.
74424         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74425         headers.
74426         * include/bits/dlfcn.h: Likewise.
74427         * include/langinfo.h: Likewise.
74428         * include/monetary.h: Likewise.
74429         * include/sys/poll.h: Likewise.
74431         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74432         for __USE_GNU.
74433         * posix/spawn.h: Define __need_sigset_t.
74434         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74435         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74436         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74437         to get sigevent_t only.
74438         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74439         only for __USE_GNU.
74440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74441         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74442         process_vm_writev only for __USE_GNU.
74443         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74445         * conform/Makefile: For now ignore errors from run-conformtest.
74446         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74447         POSIX to avoid namespace pollution.  Don't prepend headers.
74448         * conform/data/aio.h-data: Fixes for POSIX testing.
74449         * conform/data/fcntl.h-data: Likewise.
74450         * conform/data/glob.h-data: Likewise.
74451         * conform/data/grp.h-data: Likewise.
74452         * conform/data/pthread.h-data: Likewise.
74453         * conform/data/pwd.h-data: Likewise.
74454         * conform/data/signal.h-data: Likewise.
74455         * conform/data/spawn.h-data: Likewise.
74456         * conform/data/stdio.h-data: Likewise.
74457         * conform/data/stdlib.h-data: Likewise.
74458         * conform/data/stropts.h-data: Likewise.
74459         * conform/data/sys/mman.h-data: Likewise.
74460         * conform/data/sys/stat.h-data: Likewise.
74461         * conform/data/sys/types.h-data: Likewise.
74462         * conform/data/sys/wait.h-data: Likewise.
74463         * conform/data/time.h-data: Likewise.
74464         * conform/data/unistd.h-data: Likewise.
74465         * conform/data/utime.h-data: Likewise.
74467         * io/sys/stat.h: fchmod was always in POSIX.
74468         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74469         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74470         * rt/aio.h: Define __need_timespec before including <time.h>.
74471         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74472         struct.  Add forward declaration of pthread_attr_t and use it in
74473         sigevent.
74474         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74476         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74477         always remove CLK_TCK definition.
74479 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74481         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74483 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74485         * conform/run-conformtest.sh: New file.
74486         * conform/Makefile: Run run-conformtest for tests.
74487         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74488         support.
74490         * conform/data/uchar.h-data: New file.
74491         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74492         * conform/data/arpa/inet.h-data: Likewise.
74493         * conform/data/assert.h-data: Likewise.
74494         * conform/data/complex.h-data: Likewise.
74495         * conform/data/cpio.h-data: Likewise.
74496         * conform/data/ctype.h-data: Likewise.
74497         * conform/data/dirent.h-data: Likewise.
74498         * conform/data/dlfcn.h-data: Likewise.
74499         * conform/data/errno.h-data: Likewise.
74500         * conform/data/fcntl.h-data: Likewise.
74501         * conform/data/float.h-data: Likewise.
74502         * conform/data/fmtmsg.h-data: Likewise.
74503         * conform/data/fnmatch.h-data: Likewise.
74504         * conform/data/ftw.h-data: Likewise.
74505         * conform/data/glob.h-data: Likewise.
74506         * conform/data/grp.h-data: Likewise.
74507         * conform/data/iconv.h-data: Likewise.
74508         * conform/data/inttypes.h-data: Likewise.
74509         * conform/data/langinfo.h-data: Likewise.
74510         * conform/data/libgen.h-data: Likewise.
74511         * conform/data/limits.h-data: Likewise.
74512         * conform/data/locale.h-data: Likewise.
74513         * conform/data/math.h-data: Likewise.
74514         * conform/data/monetary.h-data: Likewise.
74515         * conform/data/mqueue.h-data: Likewise.
74516         * conform/data/ndbm.h-data: Likewise.
74517         * conform/data/net/if.h-data: Likewise.
74518         * conform/data/netdb.h-data: Likewise.
74519         * conform/data/netinet/in.h-data: Likewise.
74520         * conform/data/nl_types.h-data: Likewise.
74521         * conform/data/poll.h-data: Likewise.
74522         * conform/data/pthread.h-data: Likewise.
74523         * conform/data/pwd.h-data: Likewise.
74524         * conform/data/regex.h-data: Likewise.
74525         * conform/data/sched.h-data: Likewise.
74526         * conform/data/search.h-data: Likewise.
74527         * conform/data/semaphore.h-data: Likewise.
74528         * conform/data/setjmp.h-data: Likewise.
74529         * conform/data/signal.h-data: Likewise.
74530         * conform/data/spawn.h-data: Likewise.
74531         * conform/data/stdarg.h-data: Likewise.
74532         * conform/data/stdio.h-data: Likewise.
74533         * conform/data/stdlib.h-data: Likewise.
74534         * conform/data/string.h-data: Likewise.
74535         * conform/data/strings.h-data: Likewise.
74536         * conform/data/stropts.h-data: Likewise.
74537         * conform/data/sys/ipc.h-data: Likewise.
74538         * conform/data/sys/mman.h-data: Likewise.
74539         * conform/data/sys/msg.h-data: Likewise.
74540         * conform/data/sys/resource.h-data: Likewise.
74541         * conform/data/sys/select.h-data: Likewise.
74542         * conform/data/sys/sem.h-data: Likewise.
74543         * conform/data/sys/shm.h-data: Likewise.
74544         * conform/data/sys/socket.h-data: Likewise.
74545         * conform/data/sys/stat.h-data: Likewise.
74546         * conform/data/sys/statvfs.h-data: Likewise.
74547         * conform/data/sys/time.h-data: Likewise.
74548         * conform/data/sys/timeb.h-data: Likewise.
74549         * conform/data/sys/times.h-data: Likewise.
74550         * conform/data/sys/types.h-data: Likewise.
74551         * conform/data/sys/uio.h-data: Likewise.
74552         * conform/data/sys/un.h-data: Likewise.
74553         * conform/data/sys/utsname.h-data: Likewise.
74554         * conform/data/sys/wait.h-data: Likewise.
74555         * conform/data/syslog.h-data: Likewise.
74556         * conform/data/tar.h-data: Likewise.
74557         * conform/data/termios.h-data: Likewise.
74558         * conform/data/utime.h-data: Likewise.
74559         * conform/data/utmpx.h-data: Likewise.
74560         * conform/data/varargs.h-data: Likewise.
74561         * conform/data/wchar.h-data: Likewise.
74562         * conform/data/wctype.h-data: Likewise.
74563         * conform/data/wordexp.h-data: Likewise.
74565         * include/stropts.h: New file.
74566         * include/uchar.h: New file.
74567         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74568         * include/assert.h: Likewise.
74569         * include/ctype.h: Likewise.
74570         * include/dirent.h: Likewise.
74571         * include/dlfcn.h: Likewise.
74572         * include/fcntl.h: Likewise.
74573         * include/fnmatch.h: Likewise.
74574         * include/glob.h: Likewise.
74575         * include/grp.h: Likewise.
74576         * include/libio.h: Likewise.
74577         * include/locale.h: Likewise.
74578         * include/math.h: Likewise.
74579         * include/net/if.h: Likewise.
74580         * include/netdb.h: Likewise.
74581         * include/netinet/in.h: Likewise.
74582         * include/pthread.h: Likewise.
74583         * include/pwd.h: Likewise.
74584         * include/regex.h: Likewise.
74585         * include/sched.h: Likewise.
74586         * include/search.h: Likewise.
74587         * include/setjmp.h: Likewise.
74588         * include/signal.h: Likewise.
74589         * include/stdio.h: Likewise.
74590         * include/stdlib.h: Likewise.
74591         * include/string.h: Likewise.
74592         * include/sys/cdefs.h: Likewise.
74593         * include/sys/mman.h: Likewise.
74594         * include/sys/msg.h: Likewise.
74595         * include/sys/resource.h: Likewise.
74596         * include/sys/select.h: Likewise.
74597         * include/sys/socket.h: Likewise.
74598         * include/sys/stat.h: Likewise.
74599         * include/sys/statvfs.h: Likewise.
74600         * include/sys/time.h: Likewise.
74601         * include/sys/times.h: Likewise.
74602         * include/sys/uio.h: Likewise.
74603         * include/sys/utsname.h: Likewise.
74604         * include/sys/wait.h: Likewise.
74605         * include/termios.h: Likewise.
74606         * include/time.h: Likewise.
74607         * include/ulimit.h: Likewise.
74608         * include/unistd.h: Likewise.
74609         * include/utime.h: Likewise.
74610         * include/wchar.h: Likewise.
74611         * include/wctype.h: Likewise.
74612         * include/wordexp.h: Likewise.
74614         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74616         * time/time.h: TIME_UTC must be a macro.
74617         Make timespec_get available for ISO C11 only as well.
74619 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74621         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74622         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74624 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74626         * configure.in: Use -o not -a in test for unsupported multi-arch.
74628 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74630         * manual/texinfo.tex: Update to version 2012-01-19.16.
74632 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74634         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74636 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74638         [BZ #13738]
74639         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74640         * manual/fdl-1.3.texi: New file.
74641         * manual/fdl-1.1.texi: File removed.
74643         [BZ #13738]
74644         * manual/libc.texinfo (FDL_VERSION): New @set.
74645         Use it for mention of FDL in cover text.
74646         (Documentation License): Use it in @include file name.
74648 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74649             Roland McGrath  <roland@hack.frob.com>
74651         [BZ #5461]
74652         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74653         (not LONG_LONG_MAX and LONG_LONG_MIN.
74654         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74655         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74656         name.
74657         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74661         [BZ #2547]
74662         [BZ #11365]
74663         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74664         manipulate bits before adding and subtracting TWO23[sx].
74665         * math/libm-test.inc (nearbyint_test): Add more tests.
74667 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74669         [BZ #2548]
74670         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74671         bits before adding and subtracting TWO23[sx].
74672         * math/libm-test.inc (rint_test): Add more tests.
74673         (rint_test_tonearest): Likewise.
74674         (rint_test_towardzero): Likewise.
74675         (rint_test_downward): Likewise.
74676         (rint_test_upward: Likewise.
74678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74680         [BZ #10110]
74681         * include/stdc-predef.h: New file.  Extracted from features.h.
74682         * include/features.h: Include stdc-predef.h.
74683         * Makefile (headers): Add stdc-predef.h.
74684         * CONFORMANCE (Compiler limitations): Update.
74686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74688         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74690 2012-02-21  David S. Miller  <davem@davemloft.net>
74692         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74693         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74695 2012-02-20  David S. Miller  <davem@davemloft.net>
74697         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74698         using a normal save/restore sequence, rather than allocating a
74699         dummy stack frame just to store a frame pointer and restore.
74700         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74702 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74704         * manual/install.texi: Fix stray word in line-wrapped comment.
74706 2012-02-20  David S. Miller  <davem@davemloft.net>
74708         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74709         both binutils and gcc support GOTDATA.
74711         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74712         "rd %pc" in the PIC register setup sequences.
74714         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74715         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74716         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74717         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74718         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74720         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74721         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74723         (SYSCALL_ERROR_HANDLER): Likewise.
74724         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74725         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74727         (SYSCALL_ERROR_HANDLER): Likewise.
74729         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74730         (HAVE_GCC_GOTDATA): New.
74731         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74732         relocation support in both binutils and gcc.
74733         * sysdeps/sparc/elf/configure: Regenerate.
74735         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74736         * sysdeps/sparc/sparc32/elf/configure: Delete.
74737         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74738         * sysdeps/sparc/sparc64/elf/configure: Delete.
74739         * sysdeps/sparc/elf/configure.in: New file.
74740         * sysdeps/sparc/elf/configure: Generate.
74742         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74743         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74745         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74746         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74750         * manual/install.texi: Do not mention specific glibc version
74751         numbers.
74752         * manual/libc.texinfo (VERSION, UPDATED): Update.
74753         (@copying): Use @copyright{} and range of years.
74755 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74757         [BZ #13695]
74758         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74759         [crti.S not in sysdirs] (generated): Do not append.
74760         [crti.S not in sysdirs] (omit-deps): Likewise.
74761         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74762         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74763         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74764         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74765         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74766         Likewise.
74767         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74768         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74769         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74770         * csu/defs.awk: Remove file.
74771         * sysdeps/generic/initfini.c: Likewise.
74772         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74773         variable.
74774         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74775         Likewise.
74777 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74779         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74780         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74781         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74782         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74783         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74784         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74785         <bits/epoll.h>.
74786         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74787         (__EPOLL_PACKED): Define to empty if not defined by
74788         <bits/epoll.h>.
74789         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74791         bits/epoll.h.
74793 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74795         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74796         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74797         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74798         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74799         <bits/timerfd.h>.
74800         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74802         bits/timerfd.h.
74804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74806         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74807         in C locale.
74808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74810         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74813 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74818 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74820         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74821         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74822         defined.
74823         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74824         Likewise.
74825         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74826         entry for 2.16.
74828 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74830         * math/w_acos.c: Use non-signaling floating-point comparisons.
74831         * math/w_acosf.c: Likewise.
74832         * math/w_acosh.c: Likewise.
74833         * math/w_acoshf.c: Likewise.
74834         * math/w_acoshl.c: Likewise.
74835         * math/w_acosl.c: Likewise.
74836         * math/w_asin.c: Likewise.
74837         * math/w_asinf.c: Likewise.
74838         * math/w_asinl.c: Likewise.
74839         * math/w_atanh.c: Likewise.
74840         * math/w_atanhf.c: Likewise.
74841         * math/w_atanhl.c: Likewise.
74842         * math/w_exp2.c: Likewise.
74843         * math/w_exp2f.c: Likewise.
74844         * math/w_exp2l.c: Likewise.
74845         * math/w_j0.c: Likewise.
74846         * math/w_j0f.c: Likewise.
74847         * math/w_j0l.c: Likewise.
74848         * math/w_j1.c: Likewise.
74849         * math/w_j1f.c: Likewise.
74850         * math/w_j1l.c: Likewise.
74851         * math/w_jn.c: Likewise.
74852         * math/w_jnf.c: Likewise.
74853         * math/w_log.c: Likewise.
74854         * math/w_log10.c: Likewise.
74855         * math/w_log10f.c: Likewise.
74856         * math/w_log10l.c: Likewise.
74857         * math/w_log2.c: Likewise.
74858         * math/w_log2f.c: Likewise.
74859         * math/w_log2l.c: Likewise.
74860         * math/w_logf.c: Likewise.
74861         * math/w_logl.c: Likewise.
74862         * math/w_sqrt.c: Likewise.
74863         * math/w_sqrtf.c: Likewise.
74864         * math/w_sqrtl.c: Likewise.
74865         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74866         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74867         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74868         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74869         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74871 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74873         [BZ #9739]
74874         * manual/string.texi (strnlen): Use correct parameter name in
74875         equivalent expression.
74877 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74879         [BZ #11174]
74880         * manual/users.texi (seteuid): Consistently use neweuid for
74881         argument name.
74883 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74885         [BZ #13704]
74886         * manual/nss.texi (Services in the NSS configuration): Correct
74887         list of services in example configuration file.
74889 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74891         [BZ #11322]
74892         * manual/arith.texi: Remove statements about negative zero
74893         behaving identically to zero.
74895 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74897         [BZ #5993]
74898         * manual/install.texi: Do not document upgrading from libc5.
74900 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74902         [BZ #4596]
74903         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74905 2012-02-18  David S. Miller  <davem@davemloft.net>
74907         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74908         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74909         %o7 across the call.
74910         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74911         instead.
74912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74913         SETUP_PIC_REG_LEAF.
74914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74915         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74916         * sysdeps/sparc/crtn.S: Likewise.
74918 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74920         * aout/Makefile: Remove.
74922 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74924         [BZ #13058]
74925         * manual/examples/argp-ex1.c (main): Format definition in GNU
74926         style.
74927         * manual/examples/argp-ex2.c (main): Likewise.
74928         * manual/examples/argp-ex3.c (main): Likewise.
74929         * manual/examples/argp-ex4.c (main): Likewise.
74930         * manual/examples/longopt.c (main): Use new-style prototype
74931         definition.
74932         * manual/examples/strncat.c (main): Specify return type and use
74933         (void) for arguments.
74934         * manual/examples/subopt.c (main): Use char **argv argument.
74936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74938         [BZ #5077]
74939         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74940         rounding modes.
74942 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74944         [BZ #6907]
74945         * manual/string.texi (strchr): Change when strchrnul is
74946         recommended.
74948 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74950         [BZ #174]
74951         * manual/locale.texi (setlocale): Document LOCPATH.
74953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74955         [BZ #10210]
74956         * manual/process.texi (execle): Move @dots{} before last argument.
74958 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74960         [BZ #12047]
74961         * manual/charset.texi (Generic Charset Conversion): Fix typo
74962         (LC_TYPE -> LC_CTYPE).
74964 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74966         [BZ #5805]
74967         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74968         (scalbnf): Likewise.
74969         (scalbnl): Likewise.
74970         (scalbln): Likewise.
74971         (scalblnf): Likewise.
74972         (scalblnl): Likewise.
74973         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74974         (vwarnx): Likewise.
74975         (verr): Likewise.
74976         (verrx): Likewise.
74977         * manual/filesys.texi (telldir): Use braces around return type.
74978         * manual/llio.texi (mmap): Add space after comma.
74979         (mmap64): Likewise.
74980         * manual/math.texi (jn): Use @var{} on parameter names.
74981         (jnf): Likewise.
74982         (jnl): Likewise.
74983         (yn): Likewise.
74984         (ynf): Likewise.
74985         (ynl): Likewise.
74986         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74987         line.
74988         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74989         "...".
74990         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74991         (sched_get_priority_max): Likewise.
74992         * manual/signal.texi (sigvec): Add space after comma.
74993         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74994         names.
74995         (if_indextoname): Likewise.
74996         (if_freenameindex): Likewise.
74997         (sendto): Use ',' instead of '.' in prototype.
74998         * manual/startup.texi (syscall): Use @dots{} instead of literal
74999         "...".
75000         * manual/stdio.texi (__fpending): Separate initial words of
75001         paragraph from @deftypefun line.
75002         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75003         "...".
75004         (vsyslog): Use @var{} on parameter names.
75005         * manual/terminal.texi (stty): Use @var{} on parameter names.
75006         * manual/users.texi (getutmp): Use @var{} on parameter names.
75007         (getutmpx): Likewise.
75009 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75011         [BZ #6884]
75012         * manual/stdio.texi (fopen): Fix typos in description of
75013         ",ccs=STRING".
75015 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75017         [BZ #4026]
75018         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75019         get clock_id definition.
75021 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75023         [BZ #4822]
75024         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75025         (madvise): Cast every argument to void on its own.
75027 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75029         [BZ #9902]
75030         * manual/startup.texi (Exit Status): Fix typo.
75032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75034         [BZ #10140]
75035         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75036         * manual/examples/argp-ex2.c: Likewise.
75037         * manual/examples/argp-ex3.c: Likewise.
75039 2012-02-16  Richard Henderson  <rth@redhat.com>
75041         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75042         * sysdeps/s390/s390-32/initfini.c: Remove.
75043         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75044         * sysdeps/s390/s390-64/initfini.c: Remove.
75046 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75048         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75049         compiler output for sysdeps/generic/initfini.c.
75050         * sysdeps/sh/elf/initfini.c: Remove file.
75052 2012-02-16  David S. Miller  <davem@davemloft.net>
75054         [BZ #11494]
75055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75057         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75058         * sysdeps/sparc/crti.S: New file.
75059         * sysdeps/sparc/crtn.S: New file.
75060         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75061         * sysdeps/sparc/sparc64/Makefile: Likewise.
75063 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75065         [BZ #3335]
75066         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75068 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75070         [BZ #4822]
75071         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75073         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75074         (write, read, close): Likewise.
75075         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75077 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75079         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75080         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75081         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75082         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75083         <bits/signalfd.h>.
75084         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75086         bits/signalfd.h.
75088 2012-02-14  Marek Polacek  <polacek@redhat.com>
75090         * sysdeps/x86_64/crti.S: New file.
75091         * sysdeps/x86_64/crtn.S: New file.
75092         * sysdeps/x86_64/elf/initfini.c: Remove file.
75094 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75096         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75097         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75098         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75099         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75100         <bits/inotify.h>.
75101         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75103         bits/inotify.h.
75105 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75107         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75108         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75109         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75110         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75111         <bits/eventfd.h>.
75112         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75114         bits/eventfd.h.
75116 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75118         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75119         __feraiseexcept instead of feraiseexcept.
75121         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75122         nanosleep invocations.
75123         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75124         strings, and add error checking for a nanosleep invocations.
75126 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75128         Replace FSF snail mail address with URLs, as per GNU coding standards.
75129         Most of the snail mail addresses were wrong anyway, and omitting
75130         them makes the source code easier to maintain.  Almost all of the
75131         changes are to license notices and to locale LC_IDENTIFICATION
75132         addresses, except for this one:
75133         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75134         not its snail mail address.
75136 2012-02-09  Richard Henderson  <rth@twiddle.net>
75138         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75139         of kernel-features.h.
75141         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75143 2012-02-08  Marek Polacek  <polacek@redhat.com>
75145         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75146         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75147         * sysdeps/gnu/_G_config.h: Likewise.
75148         * sysdeps/generic/_G_config.h: Likewise.
75150 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75152         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75153         tests.
75154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75156         * sysdeps/powerpc/powerpc32/crti.S: New file.
75157         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75158         * sysdeps/powerpc/powerpc64/crti.S: New file.
75159         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75161         * Makeconfig (have-initfini): Don't set.
75162         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75163         * configure.in (nopic_initfini): Don't substitute.
75164         * config.h.in (HAVE_INITFINI): Don't #undef.
75165         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75166         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75168 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75170         Support crti.S and crtn.S provided directly by architectures.
75171         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75172         [crti.S in sysdirs] (omit-deps): Likewise.
75173         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75174         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75175         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75176         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75177         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75178         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75179         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75180         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75181         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75182         compiler output for sysdeps/generic/initfini.c.
75183         * sysdeps/i386/elf/Makefile: Remove file.
75184         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75186 2012-02-07  Marek Polacek  <polacek@redhat.com>
75188         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75189         * sysdeps/gnu/_G_config.h: Likewise.
75190         * sysdeps/mach/hurd/_G_config.h: Likewise.
75192 2012-02-07  Marek Polacek  <polacek@redhat.com>
75194         * math/Makefile (tests): Add tst-CMPLX2.
75195         * math/tst-CMPLX2.c: New file.
75197 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75199         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75201         * math/libm-test.inc (jn_test): Add missing L suffix.
75203 2012-02-06  Marek Polacek  <polacek@redhat.com>
75205         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75206         * sysdeps/i386/fpu/e_powf.S: Likewise.
75207         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75208         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75209         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75210         * sysdeps/i386/fpu/e_pow.S: Likewise.
75211         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75213         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75214         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75215         * sysdeps/i386/fpu/e_log2.S: Likewise.
75216         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75217         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75218         * sysdeps/i386/fpu/e_powl.S: Likewise.
75219         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75220         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75221         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75222         * sysdeps/i386/fpu/e_logl.S: Likewise.
75223         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75224         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75225         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75226         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75227         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75228         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75229         * sysdeps/i386/fpu/e_log.S: Likewise.
75230         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75231         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75232         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75233         * sysdeps/i386/fpu/e_logf.S: Likewise.
75234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75236         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75237         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75238         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75239         * sysdeps/i386/fpu/e_log10.S: Likewise.
75240         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75241         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75242         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75243         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75244         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75245         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75246         * sysdeps/i386/asm-syntax.h: Likewise.
75247         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75248         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75249         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75250         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75251         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75253         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75254         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75255         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75256         * sysdeps/powerpc/sysdep.h: Likewise.
75257         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75258         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75260 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75262         [BZ #411]
75263         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75265 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75267         * sysdeps/i386/sysdep.h: Include <features.h>.
75268         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75269         version.
75271 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75273         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75274         Define.
75275         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75276         LOAD_PIC_REG_STR.
75278 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75280         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75281         (SETUP_PIC_REG): Use GET_PC_THUNK.
75282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75283         macro.
75285 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75287         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75288         for non-PIC compilation.
75289         (SETUP_PIC_REG): Add .p2align directive.
75290         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75291         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75294         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75295         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75296         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75297         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75298         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75299         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75300         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75301         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75302         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75303         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75304         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75305         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75306         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75307         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75308         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75309         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75310         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75312         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75313         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75314         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75316         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75317         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75321         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75322         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75325         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75327         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75329         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75330         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75332 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75334         * math/tst-CMPLX.c: Include <stdio.h>.
75336 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75338         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75339         float.
75340         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75341         * sysdeps/sparc/bits/mathdef.h: Likewise.
75343 2012-01-31  Marek Polacek  <polacek@redhat.com>
75345         * libio/libio.h: Don't define _PARAMS.
75346         * locale/programs/config.h: Don't define PARAMS.
75347         * stdlib/strtol_l.c: Likewise.
75348         (__strtol_l): Remove PARAMS from the prototype.
75350 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75352         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75353         names.  Just use the correct names.  Remove unnecessary wrapper
75354         functions.
75355         * malloc/arena.c: Likewise.
75356         * malloc/hooks.c: Likewise.
75358         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75359         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75360         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75362 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75364         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75365         into tail calls.
75366         (update_get_addr): New function.
75367         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75368         GET_ADDR_MODULE parameter.
75370 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75372         * crypt/cert.c: Remove __STDC__ conditionals.
75373         * crypt/crypt-entry.c: Likewise.
75374         * crypt/crypt_util.c: Likewise.
75375         * libio/filedoalloc.c: Likewise.
75376         * libio/fileops.c: Likewise.
75377         * libio/genops.c: Likewise.
75378         * libio/iofclose.c: Likewise.
75379         * libio/iofdopen.c: Likewise.
75380         * libio/iofopen.c: Likewise.
75381         * libio/iofopen64.c: Likewise.
75382         * libio/iogetdelim.c: Likewise.
75383         * libio/iopopen.c: Likewise.
75384         * libio/obprintf.c: Likewise.
75385         * libio/oldfileops.c: Likewise.
75386         * libio/oldiofclose.c: Likewise.
75387         * libio/oldiofdopen.c: Likewise.
75388         * libio/oldiofopen.c: Likewise.
75389         * libio/oldiopopen.c: Likewise.
75390         * libio/wfiledoalloc.c: Likewise.
75391         * libio/wgenops.c: Likewise.
75392         * locale/programs/xmalloc.c: Likewise.
75393         * misc/syslog.c: Likewise.
75394         * stdio-common/xbug.c: Likewise.
75395         * string/memchr.c: Likewise.
75396         * string/memcmp.c: Likewise.
75397         * string/memrchr.c: Likewise.
75398         * string/rawmemchr.c: Likewise.
75399         * sysdeps/posix/getcwd.c: Likewise.
75400         * time/strftime_l.c: Likewise.
75402 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75404         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75405         * config.make.in (config-cflags-sse2avx): Define.
75406         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75407         Fix typo.
75409 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75411         * scripts/config.guess: Update from upstream config git repository.
75412         * scripts/config.sub: Likewise.
75414 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75416         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75417         (EM_NUM): Update.
75418         (R_TILEPRO_*, R_TILEGX_*): New macros.
75420         * scripts/firstversions.awk: Fix bug in version range handling.
75422         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75426         * include/sys/epoll.h: New file.
75427         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75428         libc_hidden_def.
75430 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75432         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75433         Avoid unnecessary __WORDSIZE == 64 test.
75434         (fmaxf): Use VEX format if possible.
75435         (fmax): Likewise.
75436         (fminf): Likewise.
75437         (fmin): Likewise.
75439         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75440         * math/math_private.h: Remove libc_fegetround* and
75441         libc_fesetround*.
75442         * sysdeps/i386/configure.in: Check for -msse2avx.
75443         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75444         also if SSE2AVX is defined.
75445         Remove libc_fegetround* and libc_fesetround*.
75446         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75447         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75449         of HAS_YMM_USABLE.
75450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75456         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75458 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75461         size is not set.
75462         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75464 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75466         [BZ #13618]
75467         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75468         relocation.
75469         * Makeconfig (libm): Define.
75470         * elf/Makefile: Add rules to build and run tst-relsort1.
75471         * elf/tst-relsort1.c: New file.
75472         * elf/tst-relsort1mod1.c: New file.
75473         * elf/tst-relsort1mod2.c: New file.
75475 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75477         * math/s_ldexp.c: Remove __STDC__ conditionals.
75478         * math/s_ldexpf.c: Likewise.
75479         * math/s_ldexpl.c: Likewise.
75480         * math/s_nextafter.c: Likewise.
75481         * math/s_nexttowardf.c: Likewise.
75482         * math/s_significand.c: Likewise.
75483         * math/s_significandf.c: Likewise.
75484         * math/s_significandl.c: Likewise.
75485         * math/w_jnl.c: Likewise.
75486         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75487         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75488         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75489         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75490         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75492         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75493         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75495         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75496         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75498         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75499         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75500         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75501         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75502         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75503         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75505         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75506         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75507         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75508         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75509         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75510         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75511         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75513         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75514         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75515         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75518         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75519         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75520         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75521         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75522         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75523         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75524         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75525         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75526         * sysdeps/ieee754/k_standard.c: Likewise.
75527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75528         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75529         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75530         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75531         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75532         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75533         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75534         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75535         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75536         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75537         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75538         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75539         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75540         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75546         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75547         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75548         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75549         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75550         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75551         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75552         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75558         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75559         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75560         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75561         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75563         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75566         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75567         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75569         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75570         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75571         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75572         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75575         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75576         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75577         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75578         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75585         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75586         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75588         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75589         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75594         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75595         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75596         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75598         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75599         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75600         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75601         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75602         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75603         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75604         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75605         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75606         * sysdeps/ieee754/s_matherr.c: Likewise.
75607         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75608         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75609         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75612 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75614         * crypt/md5.h: Remove __STDC__ conditionals.
75615         * libio/libioP.h: Likewise.
75616         * locale/programs/config.h: Likewise.
75617         * sysdeps/generic/sysdep.h: Likewise.
75618         * sysdeps/i386/asm-syntax.h: Likewise.
75619         * sysdeps/s390/asm-syntax.h: Likewise.
75620         * sysdeps/unix/sysdep.h: Likewise.
75621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75624 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75626         * libio/libio.h: Remove __STDC__ conditionals.
75627         * malloc/obstack.h: Likewise.
75628         * math/complex.h: Likewise.
75629         * math/math.h: Likewise.
75630         * sysdeps/generic/_G_config.h: Likewise.
75631         * sysdeps/gnu/_G_config.h: Likewise.
75632         * sysdeps/mach/hurd/_G_config.h: Likewise.
75633         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75634         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75635         * sysdeps/sparc/bits/mathdef.h: Likewise.
75637 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75639         [BZ #13583]
75640         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75641         Clean up HAS_* macros.
75642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75643         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75644         possible.
75645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75646         HAS_AVX.
75647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75653 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75655         * elf/tst-unique3.cc (gets): Remove declaration.
75656         * elf/tst-unique3lib.cc (gets): Likewise.
75657         * elf/tst-unique3lib2.cc (gets): Likewise.
75658         * elf/tst-unique4.cc (gets): Likewise.
75660 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75662         * include/stdio.h: Add C++ protection.  Add gets declarations and
75663         definitions.
75664         * debug/tst-chk1.c: Don't declare gets here.
75665         * stdio-common/tst-gets.c: Likewise.
75667 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75669         * posix/glob: Remove directory.
75671 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75673         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75675 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75677         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75678         of the non-standard EPFNOSUPPORT.
75680 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75682         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75683         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75684         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75686 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75688         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75690 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75692         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75693         transient errors.
75694         * nscd/grpcache.c (cache_addgr): Likewise.
75695         * nscd/hstcache.c (cache_addhst): Likewise.
75696         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75697         * nscd/pwdcache.c (cache_addpw): Likewise.
75698         * nscd/servicescache.c (cache_addserv): Likewise.
75700 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75702         * malloc/malloc.c: Various cleanups.
75703         * malloc/hooks.c: Likewise.
75705         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75706         * stdlib/bug-fmtmsg1.c: New file.
75708         * stdlib/fmtmsg.c (init): Add missing unlock.
75709         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75711 2012-01-12  Marek Polacek  <polacek@redhat.com>
75713         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75714         and _GNU_SOURCE.
75716 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75718         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75720         macro to ensure uniqueness of label name.
75721         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75722         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75724 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75728         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75729         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75730         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75733 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75735         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75737         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75738         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75739         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75741         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75744         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75748         * math/bits/math-finite.h: Add ldexp support.
75750 2012-01-10  Marek Polacek  <polacek@redhat.com>
75752         * locale/programs/localedef.h (show_archive_content): Add noreturn
75753         attribute.
75755 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75757         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75759 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75761         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75763         * io/Makefile (headers): Add bits/poll2.h.
75765 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75768         typo #include statement.
75770 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75772         * include/sys/cdefs.h: Define __attribute_alloc_size.
75773         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75774         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75775         * elf/pldd.c: Likewise.
75776         * iconv/iconv_charmap.c: Likewise.
75777         * iconv/iconvconfig.c: Likewise.
75778         * iconv/strtab.c: Likewise.
75779         * locale/programs/locale.c: Likewise.
75780         * locale/programs/localedef.h: Likewise.
75781         * locale/programs/simple-hash.c: Likewise.
75782         * nscd/nscd.h: Likewise.
75783         * nss/makedb.c: Likewise.
75784         * sysdeps/generic/ldconfig.h: Likewise.
75785         * locale/programs/localedef.c: Remove xmalloc prototype.
75786         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75788 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75790         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75791         appropriate.
75793 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75795         * math/Makefile (tests): Add tst-CMPLX.
75796         * math/tst-CMPLX.c: New file.
75798         * math/complex.h (CMPLXL): Fix typo.
75800         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75801         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75802         GLIBC_2.16.
75803         * debug/tst-chk1.c: Add poll and ppoll tests.
75804         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75805         * include/sys/poll.h: Add hidden proto for ppoll.
75806         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75807         * sysdeps/mach/hurd/ppoll.c: Likewise.
75808         * io/ppoll.c: Likewise.
75809         * debug/poll_chk.c: New file.
75810         * debug/ppoll_chk.c: New file.
75811         * include/bits/poll2.h: New file.
75812         * io/bits/poll2.h: New file.
75814         [BZ #1350]
75815         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75817         * configure.in: static is always set to yes.  Remove.
75818         * config.make.in: Don't set build-static.
75819         * Makeconfig: Remove use of build-static.
75820         * dlfcn/Makefile: Likewise.
75821         * elf/Makefile: Likewise.
75822         * math/Makefile: Likewise.
75823         * misc/Makefile: Likewise.
75824         * nptl/Makefile: Likewise.
75825         * sysdeps/mach/hurd/Makefile: Likewise.
75827         * configure.in: PWD_P is not used anymore.
75828         * config.make.in: Remove PWD_P entry.
75830         * configure.in: Remove last remnants of RANLIB.
75831         No need to check for signed size_t anymore.
75832         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75833         and IA-64.
75834         Remove __builtin_expect test because we require at least gcc 3.4.
75835         * aclocal.m4: Likewise.
75837         * wcsmbs/mbrtoc16.c: Implement using towc function.
75838         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75839         * wcsmbs/wcsmbsload.c: Likewise.
75840         * iconv/gconv_simple.c: Likewise.
75841         * iconv/gconv_int.h: Likewise.
75842         * iconv/gconv_builtin.h: Likewise.
75843         * iconv/iconv_prog.c: Remove CHAR16 handling.
75845         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75847         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75849         * configure.in: Remove --with-elf and --enable-bounded options.
75850         Dont set base_machine for ia64.  More non-ELF conditions removed.
75851         Remove testing and setting of leading underscore information.
75852         * config.make.in (build-bounded): Set to no.
75853         * config.h.in: Remove NO_UNDERSCORES entry.
75854         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75855         them.
75856         * csu/start.c: Remove !NO_UNDERSCORE code.
75857         * locale/localeinfo.h: Likewise.
75858         * sysdeps/generic/machine-gmon.h: Likewise.
75859         * sysdeps/generic/sysdep.h: Likewise.
75860         * sysdeps/i386/sysdep.h: Likewise.
75861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75862         * sysdeps/mach/sysdep.h: Likewise.
75863         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75865         * sysdeps/sh/sysdep.h: Likewise.
75866         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75867         * sysdeps/unix/i386/sysdep.S: Likewise.
75868         * sysdeps/unix/sparc/start.c: Likewise.
75869         * sysdeps/unix/sparc/sysdep.S: Likewise.
75870         * sysdeps/unix/sparc/sysdep.h: Likewise.
75871         * sysdeps/unix/start.c: Likewise.
75872         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75873         * sysdeps/x86_64/sysdep.h: Likewise.
75875 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75877         [BZ #13553]
75878         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75879         for non-gcc.
75880         * argp/argp-fmtstream.h: Use const instead __const.
75881         * argp/argp.h: Likewise.
75882         * assert/assert.h: Likewise.
75883         * bits/fenv.h: Likewise.
75884         * bits/sched.h: Likewise.
75885         * bits/sigset.h: Likewise.
75886         * bits/sigthread.h: Likewise.
75887         * catgets/nl_types.h: Likewise.
75888         * conform/data/pthread.h-data: Likewise.
75889         * crypt/crypt-private.h: Likewise.
75890         * crypt/crypt.h: Likewise.
75891         * crypt/crypt_util.c: Likewise.
75892         * ctype/ctype.h: Likewise.
75893         * debug/execinfo.h: Likewise.
75894         * debug/mbsnrtowcs_chk.c: Likewise.
75895         * debug/mbsrtowcs_chk.c: Likewise.
75896         * debug/wcsnrtombs_chk.c: Likewise.
75897         * debug/wcsrtombs_chk.c: Likewise.
75898         * debug/wcstombs_chk.c: Likewise.
75899         * dirent/dirent.h: Likewise.
75900         * dlfcn/dlfcn.h: Likewise.
75901         * elf/neededtest4.c: Likewise.
75902         * grp/grp.h: Likewise.
75903         * gshadow/gshadow.h: Likewise.
75904         * iconv/gconv.h: Likewise.
75905         * iconv/gconv_int.h: Likewise.
75906         * iconv/gconv_simple.c: Likewise.
75907         * iconv/iconv.h: Likewise.
75908         * iconv/loop.c: Likewise.
75909         * iconv/skeleton.c: Likewise.
75910         * include/aio.h: Likewise.
75911         * include/aliases.h: Likewise.
75912         * include/argz.h: Likewise.
75913         * include/arpa/inet.h: Likewise.
75914         * include/assert.h: Likewise.
75915         * include/dirent.h: Likewise.
75916         * include/dlfcn.h: Likewise.
75917         * include/execinfo.h: Likewise.
75918         * include/fcntl.h: Likewise.
75919         * include/fenv.h: Likewise.
75920         * include/glob.h: Likewise.
75921         * include/grp.h: Likewise.
75922         * include/libintl.h: Likewise.
75923         * include/mntent.h: Likewise.
75924         * include/netdb.h: Likewise.
75925         * include/pwd.h: Likewise.
75926         * include/rpc/netdb.h: Likewise.
75927         * include/sched.h: Likewise.
75928         * include/search.h: Likewise.
75929         * include/shadow.h: Likewise.
75930         * include/signal.h: Likewise.
75931         * include/stdio.h: Likewise.
75932         * include/stdlib.h: Likewise.
75933         * include/string.h: Likewise.
75934         * include/sys/socket.h: Likewise.
75935         * include/sys/stat.h: Likewise.
75936         * include/sys/statfs.h: Likewise.
75937         * include/sys/statvfs.h: Likewise.
75938         * include/sys/syslog.h: Likewise.
75939         * include/sys/time.h: Likewise.
75940         * include/sys/uio.h: Likewise.
75941         * include/time.h: Likewise.
75942         * include/unistd.h: Likewise.
75943         * include/utmp.h: Likewise.
75944         * include/wchar.h: Likewise.
75945         * include/wctype.h: Likewise.
75946         * inet/aliases.h: Likewise.
75947         * inet/arpa/inet.h: Likewise.
75948         * inet/netinet/ether.h: Likewise.
75949         * inet/netinet/in.h: Likewise.
75950         * intl/libintl.h: Likewise.
75951         * io/bits/fcntl2.h: Likewise.
75952         * io/fcntl.h: Likewise.
75953         * io/ftw.h: Likewise.
75954         * io/sys/poll.h: Likewise.
75955         * io/sys/stat.h: Likewise.
75956         * io/sys/statfs.h: Likewise.
75957         * io/sys/statvfs.h: Likewise.
75958         * io/utime.h: Likewise.
75959         * libio/bits/stdio.h: Likewise.
75960         * libio/bits/stdio2.h: Likewise.
75961         * libio/libio.h: Likewise.
75962         * libio/libioP.h: Likewise.
75963         * libio/stdio.h: Likewise.
75964         * locale/lc-ctype.c: Likewise.
75965         * locale/locale.h: Likewise.
75966         * login/utmp.h: Likewise.
75967         * malloc/arena.c: Likewise.
75968         * malloc/malloc.c: Likewise.
75969         * malloc/malloc.h: Likewise.
75970         * malloc/mcheck.c: Likewise.
75971         * malloc/mtrace.c: Likewise.
75972         * math/bits/mathcalls.h: Likewise.
75973         * math/fenv.h: Likewise.
75974         * math/math_private.h: Likewise.
75975         * misc/bits/error.h: Likewise.
75976         * misc/bits/syslog.h: Likewise.
75977         * misc/err.h: Likewise.
75978         * misc/error.h: Likewise.
75979         * misc/fstab.h: Likewise.
75980         * misc/mntent.h: Likewise.
75981         * misc/regexp.h: Likewise.
75982         * misc/search.h: Likewise.
75983         * misc/sgtty.h: Likewise.
75984         * misc/sys/mman.h: Likewise.
75985         * misc/sys/syslog.h: Likewise.
75986         * misc/sys/uio.h: Likewise.
75987         * misc/sys/xattr.h: Likewise.
75988         * misc/ttyent.h: Likewise.
75989         * nis/rpcsvc/ypclnt.h: Likewise.
75990         * nss/nss.h: Likewise.
75991         * posix/bits/unistd.h: Likewise.
75992         * posix/fnmatch.h: Likewise.
75993         * posix/glob.h: Likewise.
75994         * posix/sched.h: Likewise.
75995         * posix/spawn.h: Likewise.
75996         * posix/sys/wait.h: Likewise.
75997         * posix/unistd.h: Likewise.
75998         * posix/wordexp.h: Likewise.
75999         * pwd/pwd.h: Likewise.
76000         * resolv/netdb.h: Likewise.
76001         * resource/sys/resource.h: Likewise.
76002         * rt/aio.h: Likewise.
76003         * rt/bits/mqueue2.h: Likewise.
76004         * rt/mqueue.h: Likewise.
76005         * shadow/shadow.h: Likewise.
76006         * signal/signal.h: Likewise.
76007         * socket/send.c: Likewise.
76008         * socket/sendto.c: Likewise.
76009         * socket/sys/socket.h: Likewise.
76010         * stdio-common/printf.h: Likewise.
76011         * stdlib/bits/stdlib.h: Likewise.
76012         * stdlib/fmtmsg.h: Likewise.
76013         * stdlib/monetary.h: Likewise.
76014         * stdlib/stdlib.h: Likewise.
76015         * stdlib/ucontext.h: Likewise.
76016         * streams/stropts.h: Likewise.
76017         * string/argz.h: Likewise.
76018         * string/bits/string2.h: Likewise.
76019         * string/string.h: Likewise.
76020         * string/strings.h: Likewise.
76021         * sunrpc/rpc/auth.h: Likewise.
76022         * sunrpc/rpc/auth_des.h: Likewise.
76023         * sunrpc/rpc/clnt.h: Likewise.
76024         * sunrpc/rpc/netdb.h: Likewise.
76025         * sunrpc/rpc/pmap_clnt.h: Likewise.
76026         * sunrpc/rpc/xdr.h: Likewise.
76027         * sysdeps/generic/inttypes.h: Likewise.
76028         * sysdeps/generic/net/if.h: Likewise.
76029         * sysdeps/generic/sys/swap.h: Likewise.
76030         * sysdeps/gnu/net/if.h: Likewise.
76031         * sysdeps/gnu/utmpx.h: Likewise.
76032         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76033         * sysdeps/i386/i486/bits/string.h: Likewise.
76034         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76035         * sysdeps/s390/bits/string.h: Likewise.
76036         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76037         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76038         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76039         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76040         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76041         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76042         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76043         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76044         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76045         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76046         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76047         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76048         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76049         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76050         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76051         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76052         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76054         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76055         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76057         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76058         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76059         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76060         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76061         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76062         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76064         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76065         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76066         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76067         * sysvipc/sys/ipc.h: Likewise.
76068         * sysvipc/sys/msg.h: Likewise.
76069         * sysvipc/sys/sem.h: Likewise.
76070         * sysvipc/sys/shm.h: Likewise.
76071         * termios/termios.h: Likewise.
76072         * time/sys/time.h: Likewise.
76073         * time/time.h: Likewise.
76074         * wcsmbs/bits/wchar2.h: Likewise.
76075         * wcsmbs/uchar.h: Likewise.
76076         * wcsmbs/wchar.h: Likewise.
76077         * wctype/wctype.h: Likewise.
76079         [BZ #13551]
76080         * Makeconfig: Remove all but ELF support including AIX support.
76081         * Makerules: Likewise.
76082         * config.h.in: Likewise.
76083         * config.make.in: Likewise.
76084         * configure: Likewise.
76085         * configure.in: Likewise.
76086         * csu/Makefile: Likewise.
76087         * csu/version.c: Likewise.
76088         * debug/Makefile: Likewise.
76089         * dlfcn/Makefile: Likewise.
76090         * elf/Makefile: Likewise.
76091         * extra-lib.mk: Likewise.
76092         * iconv/Makefile: Likewise.
76093         * include/libc-symbols.h: Likewise.
76094         * include/shlib-compat.h: Likewise.
76095         * resolv/Makefile: Likewise.
76096         * resolv/res_libc.c: Likewise.
76097         * rt/Makefile: Likewise.
76098         * sysdeps/i386/asm-syntax.h: Likewise.
76099         * sysdeps/i386/sysdep.h: Likewise.
76100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76101         * sysdeps/mach/sysdep.h: Likewise.
76102         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76103         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76104         * sysdeps/s390/asm-syntax.h: Likewise.
76105         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76107         * sysdeps/sh/sysdep.h: Likewise.
76108         * sysdeps/unix/sparc/sysdep.h: Likewise.
76109         * sysdeps/wordsize-32/divdi3.c: Likewise.
76110         * sysdeps/x86_64/sysdep.h: Likewise.
76112         * argp/Versions: Remove _argp_unlock_xxx.
76114         [BZ #13559]
76115         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76116         * abilist/libBrokenLocale.abilist: Likewise.
76117         * abilist/libanl.abilist: Likewise.
76118         * abilist/libc.abilist: Likewise.
76119         * abilist/libcrypt.abilist: Likewise.
76120         * abilist/libdl.abilist: Likewise.
76121         * abilist/libm.abilist: Likewise.
76122         * abilist/libnsl.abilist: Likewise.
76123         * abilist/libpthread.abilist: Likewise.
76124         * abilist/libresolv.abilist: Likewise.
76125         * abilist/librt.abilist: Likewise.
76126         * abilist/libthread_db.abilist: Likewise.
76127         * abilist/libutil.abilist: Likewise.
76128         * abilist/libnss_db.abilist: New file.
76130         * scripts/abilist.awk: Add support for indirect functions.
76132         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76134         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76136         * shlib-versions: Remove entries for ports architectures.
76138         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76139         files in ports.
76140         * elf/stackguard-macros.h: Remove support for IA-64.
76141         * elf/tst-auditmod1.c: Likewise.
76142         * sysdeps/generic/ldsodefs.h: Likewise.
76144         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76145         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76146         configure files.
76148         [BZ #13552]
76149         * configure.in: Remove --enable-omitfp support.
76150         * FAQ.in: Adjust.
76151         * config.make.in: Likewise.
76152         * Makeconfig: Likewise.
76153         * manual/install.texi: Likewise.
76155         In case anyone cares, the IA-64 architecture could move to ports.
76156         * sysdeps/ia64/*: Removed.
76157         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76158         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76160         [BZ #13555]
76161         * configure.in: Remove entries for unsupported architectures.
76163         [BZ #13533]
76164         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76165         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76166         routines.
76167         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76168         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76169         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76170         fall back to using wcrtomb.
76171         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76172         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76173         renaming.
76174         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76175         * wcsmbs/tst-c16c32-1.c: New file.
76177         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76178         local variable.
76180         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76182         * elf/tst-unique3.cc: Add explicit declaration of gets.
76183         * elf/tst-unique3lib.cc: Likewise.
76184         * elf/tst-unique3lib2.cc: Likewise.
76185         * elf/tst-unique4.cc: Likewise.
76187         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76189 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76191         [BZ #13566]
76192         * assert/assert.h (static_assert): Don't define for C++.
76193         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76194         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76196 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76198         * iconv/loop.c (single loop): Fix assertion in storing of
76199         remaining bytes.
76201         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76203 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76205         * posix/getconf.c: Update copyright year.
76206         * nss/getent.c: Likewise.
76207         * nss/makedb.c: Likewise.
76208         * iconv/iconvconfig.c: Likewise.
76209         * iconv/iconv_prog.c: Likewise.
76210         * elf/ldconfig.c: Likewise.
76211         * elf/pldd.c: Likewise.
76212         * elf/sotruss.ksh: Likewise.
76213         * catgets/gencat.c: Likewise.
76214         * csu/version.c: Likewise.
76215         * elf/ldd.bash.in: Likewise.
76216         * elf/sprof.c (print_version): Likewise.
76217         * locale/programs/locale.c: Likewise.
76218         * locale/programs/localedef.c: Likewise.
76219         * login/programs/pt_chown.c: Likewise.
76220         * nscd/nscd.c (print_version): Likewise.
76221         * debug/xtrace.sh: Likewise.
76222         * malloc/memusage.sh: Likewise.
76223         * malloc/mtrace.pl: Likewise.
76224         * debug/catchsegv.sh: Likewise.
76226 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76228         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76229         pure attribute.
76231 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76233         [BZ #13533]
76234         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76235         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76236         transformations.
76237         * iconv/gconv_int.h: Likewise.
76238         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76239         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76240         from libc for GLIBC_2.16.
76241         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76242         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76243         * wcsmbs/uchar.h: Really define mbstate_t.
76244         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76245         * wcsmbs/c16rtomb.c: New file.
76246         * wcsmbs/mbrtoc16.c: New file.
76247         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76248         for C/POSIX locale.
76249         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76250         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76252         * wcsmbs/wchar.h: Add missing __restrict.
76254 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76256         [BZ #13532]
76257         * time/Makefile (routines): Add timespec_get.
76258         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76259         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76260         timespec for ISO C11.
76261         * time/timespec_get.c: New file.
76262         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76263         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76265         [BZ #13531]
76266         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76267         * stdlib/stdlib.h: Declare aligned_alloc.
76268         * Versions.def: Add GLIBC_2.16 for libc.
76269         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76271         [BZ 13527]
76272         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76273         ISO C11.
76275         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76276         code.
76278         [BZ #13528]
76279         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76281         [BZ #13529]
76282         * assert/assert.h (static_assert): Define.
76284         * version.h: Update for 2.16 development version.
76286         [BZ #13526]
76287         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76288         _ISOC11_SOURCE.
76290         * version.h (RELEASE): Bump for 2.15 release.
76291         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76293         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76294         Patch by Marek Polacek <mpolacek@redhat.com>.
76296         * bits/byteswap.h: Protect long long constants with __extension__.
76297         * sysdeps/i386/bits/byteswap.h: Likewise.
76298         * sysdeps/ia64/bits/byteswap.h: Likewise.
76299         * sysdeps/s390/bits/byteswap.h: Likewise.
76300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76302 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76304         [BZ #13540]
76305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76306         destination buffer.
76307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76309 2011-12-23  Marek Polacek  <polacek@redhat.com>
76311         * elf/dl-addr.c (determine_info): Add inline keyword.
76312         * elf/tst-auditmod4b.c (check_avx): Likewise.
76313         * elf/tst-auditmod6b.c (check_avx): Likewise.
76314         * elf/tst-auditmod6c.c (check_avx): Likewise.
76315         * elf/tst-auditmod7b.c (check_avx): Likewise.
76317 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76319         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76320         !__SSE_MATH__.
76322 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76324         [BZ #13540]
76325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76326         processing for last bytes.
76328 2011-08-06  Bruno Haible  <bruno@clisp.org>
76330         [BZ #13061]
76331         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76332         U+0385, not to U+1FEE.
76334         [BZ #13062]
76335         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76336         entry for U+00A5 U+0301.
76338 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76340         [BZ #13166]
76341         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76342         buffer for the output is too small.
76344         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76345         optimization.
76347         [BZ #13185]
76348         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76349         SSE flags if possible.
76351 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76353         [BZ #13540]
76354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76355         processing for last bytes.
76357 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76359         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76360         (syscall-list-default-options, syscall-list-default-condition)
76361         (syscall-list-includes): Define.
76362         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76363         list of ABIs and options and #if conditions for each ABI.  Do not
76364         handle common syscalls between ABIs specially.
76365         * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
76371         (syscall-list-variants, syscall-list-32bit-options)
76372         (syscall-list-32bit-condition, syscall-list-64bit-options)
76373         (syscall-list-64bit-condition): Define.
76374         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76375         Remove.
76376         (syscall-list-variants, syscall-list-32bit-options)
76377         (syscall-list-32bit-condition, syscall-list-64bit-options)
76378         (syscall-list-64bit-condition): Define.
76379         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76380         Remove.
76381         (syscall-list-variants, syscall-list-32bit-options)
76382         (syscall-list-32bit-condition, syscall-list-64bit-options)
76383         (syscall-list-64bit-condition): Define.
76385 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76387         * locale/iso-639.def: Add brx entry.
76389         [BZ #13328]
76390         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76391         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76393         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76394         __feraiseexcept_renamed.
76396 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76398         [BZ #13538]
76399         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76400         EPOLLET with unsigned values.
76401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76402         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76404         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76405         to large cancellation.
76406         * math/s_cacoshf.c: Likewise.
76407         * math/s_cacoshl.c: Likewise.
76409 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76411         [BZ #13305]
76412         [BZ #12786]
76413         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76414         * math/s_cacoshf.c: Likewise.
76415         * math/s_cacoshl.c: Likewise.
76417 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76419         [BZ #13439]
76420         * iconv/gconv.h: Define __GCONV_SWAP.
76421         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76422         * iconvdata/utf-16.c: Likewise.
76423         * iconvdata/utf-32.c: Likewise.
76425 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76427         [BZ #13524]
76428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76429         numerator after shifting it by one limb.
76431 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76433         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76434         under [__USE_EXTERN_INLINES].
76436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76438         [BZ #13446]
76439         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76441 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76443         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76444         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76445         optimized code.
76446         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76447         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76448         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76449         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76450         for strncasecmp/strncasecmp_l compilation.
76451         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76452         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76454 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76456         [BZ #13484]
76457         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76458         of __asm__.
76460 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76462         [BZ #13506]
76463         * time/tzfile.c (__tzfile_read): Check values from file header.
76465 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76467         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76468         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76469         * powerpc/powerpc32/dl-start.S: Likewise.
76470         * powerpc/powerpc32/elf/start.S: Likewise.
76471         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76472         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76473         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76474         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76475         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76476         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76477         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76478         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76479         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76480         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76481         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76482         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76483         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76484         * powerpc/powerpc32/memset.S: Likewise.
76485         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76486         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76487         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76488         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76489         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76490         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76491         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76492         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76493         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76494         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76495         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76496         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76497         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76499 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76501         * math/libm-test.inc: Added more nearbyint tests.
76502         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76507 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76509         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76510         FD_CLOEXEC.
76512 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76514         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76515         Add wcscpy-ssse3 wcscpy-c.
76516         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76517         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76518         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76519         * sysdeps/x86_64/wcschr.S: New file.
76520         * sysdeps/x86_64/wcsrchr.S: New file.
76521         * string/test-strcmp.c: Remove checking of wcscmp function for
76522         wrong alignments.
76523         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76524         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76525         wcsrchr-sse2 wcsrchr-c.
76526         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76527         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76528         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76529         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76530         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76531         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76532         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76533         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76534         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76535         * wcsmbc/wcschr.c (WCSCHR): New macro.
76537 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76539         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76540         * wcsmbs/test-wcsrchr.c: New file.
76541         * string/test-strrchr.c: Add wcsrchr support.
76542         (WIDE): New macro.
76543         * wcsmbs/test-wcscpy.c: New file.
76544         * string/test-strcpy.c: Add wcscpy support.
76545         (WIDE): New macro.
76547 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76549         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76550         the inner loop.
76552 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76554         [BZ #13472]
76555         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76557 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76559         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76560         Minor optimizations.
76562         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76563         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76564         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76566 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76568         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76569         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76570         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76571         for gcc to avoid warnings.
76572         * inet/Makefile (tests): Add tst-checks.
76573         * inet/tst-checks.c: New file.
76575         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76576         warning.
76578         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76579         __wmemcmp_sse2.
76581         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76582         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76584         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76586 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76588         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76589         problem.
76591         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76593 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76595         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76596         conditional on GCC version.
76597         (__arch_compare_and_exchange_val_8_acq)
76598         (__arch_compare_and_exchange_val_16_acq)
76599         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76600         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76601         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76603 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76605         * sysdeps/sh/backtrace.c: New file.
76607 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76609         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76610         parenthesis.
76612 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76614         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76615         falling back to utime.
76617 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76619         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76620         expectations for float.
76622 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76624         * locale/weight.h (findidx): Add parameter len.
76625         * locale/weightwc.h (findidx): Likewise.
76626         * posix/fnmatch_loop.c (FCT): Adjust caller.
76627         * posix/regcomp.c (build_equiv_class): Likewise.
76628         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76629         * posix/regexec.c (check_node_accept_bytes): Likewise.
76630         * string/strcoll_l.c (STRCOLL): Likewise.
76631         * string/strxfrm_l.c (STRXFRM): Likewise.
76633 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76635         * Makefile.in: Remove CVSOPT handling.
76636         * configure.in: Remove use of AC_REVISION.
76637         * iconvdata/Makefile (distribute): No need to filter out CVS.
76638         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76639         handling.
76641 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76644         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76645         [USE_AS_STRNCASECMP_L]: Likewise.
76646         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76647         NO_TLS_DIRECT_SEG_REFS.
76648         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76649         Fix argument offsets for non-PIC.
76650         [USE_AS_STRNCASECMP_L]: Likewise.
76651         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76652         NO_TLS_DIRECT_SEG_REFS.
76654 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76656         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76657         O_CLOEXEC.
76658         * locale/loadlocale.c (_nl_load_locale): Likewise.
76660 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76662         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76663         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76665         (SYSCALL_GETTIME): Set errno on error.
76667         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76668         count references to noai6ai_cached.
76670 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76672         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76674         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76675         FD_CLOEXEC for /proc/self/maps.
76677         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76678         FD_CLOEXEC for /proc/meminfo.
76680         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76681         gai.conf.
76683         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76684         FD_CLOEXEC for given file.
76686         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76688         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76689         FD_CLOEXEC for /etc/hosts.
76690         (_gethtent): Likewise.
76692         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76694         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76695         cancellation and set FD_CLOEXEC for /etc/netgroup.
76697         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76698         reading /etc/publickey.
76700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76701         allow cancellation when reading /etc/group.
76703         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76704         cancellation.
76705         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76707         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76708         when using data file.
76710         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76712         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76713         (write_nis_obj): Use "c" and "e" in fopen.
76715         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76717         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76719         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76721         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76723         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76724         locale.alias.
76726         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76728         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76730         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76732         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76733         file parsing and set FD_CLOEXEC.
76735 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76737         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76739 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76741         * malloc/arena.c (arena_get2): Don't call reused_arena when
76742         _int_new_arena failed.
76744 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76746         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76747         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76748         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76750         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76752         to compile strcasecmp and strncasecmp.
76753         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76754         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76758 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76760         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76761         locale-defines.sym to gen-as-const-headers.
76762         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76763         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76764         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76765         to compile strcasecmp and strncasecmp.
76766         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76767         strcasecmp_l and strncasecmp_l.
76768         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76769         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76770         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76771         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76772         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76773         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76774         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76775         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76776         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76777         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76778         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76780 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76782         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76783         result of SYSDEP_GETTIME_CPU to retval.
76784         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76785         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76787         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76788         variable.
76790         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76791         mantissa words.
76792         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76795         from unused variable.
76797         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76798         DWARF definitions.
76799         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76800         for assembling.
76802         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76803         over namespaces.
76805         * sunrpc/rpc_prot.c (rejected): Fix case value.
76807         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76808         unsigned long long int to avoid warnings in shift.
76810         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76811         of use of trans.
76812         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76813         variable tmp.
76815         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76816         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76817         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76819         * nis/nis_table.c (nis_list): Use variable of correct type for
76820         result of __follow_path call.
76822 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76824         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76825         of math functions ceil, trunc, floor, round, and sqrt, when
76826         avaliable on the platform.
76827         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76828         name clash.
76829         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76830         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76831         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76833 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76835         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76836         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76838 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76840         * include/unistd.h: Fix __readlink return type.
76841         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76843 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76845         * stdlib/ucontext.h: Undo last change for makecontext.
76847 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76849         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76851         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76852         * setjmp/setjmp.h: Mark functions as non-leaf.
76853         * setjmp/bits/setjmp2.h: Likewise.
76854         * stdlib/ucontext.h: Likewise.
76856 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76858         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76859         (reused_arena): Don't check arena limit.
76860         (arena_get2): Atomically check arena limit.
76862 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76864         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76865         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76868         instructions.
76870 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76872         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76873         handler when locking.
76875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76876         Fix size of allocated buffer.
76878 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76880         [BZ #10103]
76881         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76882         declarations for long double functions.
76883         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76885         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76887 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76889         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76890         installed.
76892         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76893         is disabled.
76895 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76897         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76899 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76901         * include/alloca.h (stackinfo_alloca_round): Define.
76902         (extend_alloca): Use it.
76903         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76904         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76905         here.
76907         * scripts/check-local-headers.sh: Ignore libaudit.h.
76909         * nscd/Makefile (extra-objs): Make recursively expanded.
76911 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76913         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76916         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76917         * posix/tst-rfc3484-2.c: Likewise.
76918         * posix/tst-rfc3484-3.c: Likewise.
76920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76921         process_vm_writev.
76922         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76923         process_vm_writev.
76924         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76925         process_vm_writev from libc using GLIBC_2.15 version.
76927         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76929 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76931         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76932         stack usage.
76934 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76936         [BZ #13367]
76937         * nss/getent.c (initgroups_keys): Show error message in case no group
76938         names are given.
76940         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76941         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76942         __bump_nl_timestamp.
76943         * nscd/connections (nscd_init): When host database is served open
76944         netlink socket and request notification about configuration changes.
76945         (main_loop_poll): Track netlink file descriptor and bump timestamp
76946         in case data becomes available.
76947         (main_loop_epoll): Likewise.
76948         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76949         (database_pers_head): Add extra_data fileds.
76950         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76951         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76952         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76953         Adjust caller.
76954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76955         in6ai data, call __free_in6ai.
76956         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76957         Add -DHAVE_NETLINK.
76958         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76959         interface information.  Reuse previous data if netlink timestamp
76960         is not changed.
76961         (__bump_nl_timestamp): New function.
76962         (__free_in6ai): New function.
76964 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76966         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76967         close_not_cancel_no_status here.
76968         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76970 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76972         [BZ #13276]
76973         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76974         return value.
76976         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76977         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76978         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76980 2011-07-03  Andreas Jaeger  <aj@suse.de>
76982         [BZ #10709]
76983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76984         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76985         * math/libm-test.inc (sin_test): Add test case.
76987 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76989         [BZ #13337]
76990         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76991         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76993         * elf/chroot_canon.c (chroot_canon): Cleanups.
76995         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76997         [BZ #13335]
76998         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76999         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77001         * string/test-strchr.c: Make usable for strchrnul testing.
77002         * string/test-strchrnul.c: New file.
77003         * string/Makefile (strop-tests): Add strchrnul.
77005         * po/it.po: Update from translation team.
77006         * po/es.po: Likewise.
77008 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77010         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77011         the three constants needed as parameters.  Drop the others.
77012         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77013         __m128i_strloadu_tolower.
77014         Create and initialize variable zero and use it in all the places
77015         where _mm_setzero_si128 was used.
77017         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77018         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77019         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77021         anymore.
77022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77023         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77024         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77025         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77026         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77027         __mpranred, __mptan.
77028         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77029         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77030         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77031         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77032         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77033         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77035         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77036         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77038 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77040         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77041         redefine if SHARED.
77042         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77045         wide char related routines to wcsmbs subdir.
77047 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77049         [BZ #13344]
77050         * misc/sys/cdefs.h (__THROWNL): Define.
77051         * posix/unistd.h: Use __THREADNL instead of __THREAD
77052         for memory synchronization functions.
77054 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77056         [BZ #13349]
77057         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77058         doesn't exist.
77059         * manual/stdio.texi (Obstack Streams): Node removed.
77061 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77063         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77064         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77067         * math/math_private.h (math_force_eval): Allow non-addressable
77068         arguments.
77069         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77071 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77073         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77074         file is not needed.
77076         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77081         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77083         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77084         Add AVX variants.
77085         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77086         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77087         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77088         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77089         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77090         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77091         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77093         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77094         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77095         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77096         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77097         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77098         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77101         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77102         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77103         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77105         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77106         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77108         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77109         place.  Use VEX encoding when compiling for AVX.
77111 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77113         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77114         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77116         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77118 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77120         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77121         useless if() expression.
77122         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77123         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77124         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77126         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77127         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77128         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77130         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77131         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77133         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77134         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77135         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77136         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77137         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77138         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77140         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77142         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77144 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77146         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77147         condition.
77148         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77152         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77153         .text section.  Avoid duplicate constants.
77154         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77158         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77161         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77162         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77163         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77164         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77166         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77167         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77168         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77169         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77171         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77172         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77174         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77175         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77176         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77177         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77178         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77179         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77180         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77181         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77182         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77183         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77184         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77185         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77187         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77188         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77189         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77190         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77192         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77193         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77194         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77195         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77196         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77197         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77198         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77200 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77202         * sysdeps/x86_64/dla.h: Move to ...
77203         * sysdeps/x86_64/fpu/dla.h: ...here.
77204         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77205         situations.  Use __builtin_fma only for gcc 4.6 and up.
77207         * config.make.in: Add have-mfma4 entry.
77208         * configure.in: Substitute libc_cv_cc_fma4.
77209         * math/Makefile (dbl-only-routines): Add sincostab.
77210         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77211         Use __sincostab not sincos.
77212         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77213         name is a macro.
77214         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77218         using __copysign.
77219         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77220         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77221         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77222         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77223         and __inv.
77224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77225         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77226         __copysign.
77227         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77228         define aliases when function name is a macro.
77229         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77230         sysdeps/ieee754/dbl-64/sincos.tbl.
77231         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77232         fma4-enabled routines.
77233         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77234         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77235         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77236         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77238         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77240         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77242         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77243         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77244         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77245         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77246         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77247         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77248         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77249         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77250         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77251         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77252         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77253         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77254         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77256         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77257         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77258         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77259         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77260         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77261         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77262         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77264         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77265         rename.
77266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77271         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77272         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77275 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77277         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77279 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77281         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77283         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77284         prediction.
77285         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77287         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77288         Remove unused variable magic_bits.
77289         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77291         * string/strnlen.c: Define and use STRNLEN macro.
77292         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77293         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77295         * wcsmbs/wcslen.c: Define and use WCSLEN.
77296         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77297         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77298         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77299         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77300         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77301         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77302         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77304 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77307         strnlen-sse2-no-bsf.
77308         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77309         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77310         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77311         Add strnlen support.
77312         (USE_AS_STRNLEN): New macro.
77313         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77315         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77316         * sysdeps/x86_64/wcslen.S: New file.
77318 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77321         XMM-moves are used for copying on small sizes.
77323 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77325         * wcsmbs/Makefile (strop-tests): Add wcschr.
77326         * wcsmbs/test-wcschr.c: New file.
77327         * string/test-strchr.c: Update.
77328         Add wcschr support.
77329         (WIDE): New macro.
77331 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77333         * wcsmbs/Makefile (strop-tests): Add wcslen.
77334         * wcsmbs/test-wcslen.c: New file.
77335         * string/test-strlen.c: Update.
77336         Add wcslen support.
77337         (WIDE): New macro.
77339 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77341         * po/it.po: Update from translation team.
77343 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77345         * sysdeps/x86_64/wcscmp.S: Update.
77346         Fix wrong comparison semantics.
77347         wcscmp shall use signed comparison not unsigned.
77348         Don't use substraction to avoid overflow bug.
77349         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77350         * wcsmbc/wcscmp.c: Likewise.
77351         * string/test-strcmp.c: Likewise.
77352         Add new tests to check cases with negative values.
77354 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77356         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77357         * sysdeps/x86_64/dla.h: ...here.  New file.
77358         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77363         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77368 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77371         __ynl_finite aliases.
77373 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77377         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77378         define DLA_FMA.
77379         [DLA_FMA] (EMULV): Use DLA_FMA.
77380         [DLA_FMA] (MUL12): Use EMULV.
77381         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77382         that are not needed.
77383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77385         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77387         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77391 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77393         * math/s_nan.c: Undef __nan.
77394         * math/s_nanf.c: Undef __nanf.
77395         * math/s_nanl.c: Undef __nanl.
77396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77397         "math_private.h".
77399 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77401         * math/s_catan.c: Add branch predictions.
77402         * math/s_catanf.c: Likewise.
77403         * math/s_catanh.c: Likewise.
77404         * math/s_catanhf.c: Likewise.
77405         * math/s_catanhl.c: Likewise.
77406         * math/s_catanl.c: Likewise.
77407         * math/s_cexp.c: Likewise.
77408         * math/s_cexpf.c: Likewise.
77409         * math/s_cexpl.c: Likewise.
77410         * math/s_clog.c: Likewise.
77411         * math/s_clog10.c: Likewise.
77412         * math/s_clog10f.c: Likewise.
77413         * math/s_clog10l.c: Likewise.
77414         * math/s_clogf.c: Likewise.
77415         * math/s_clogl.c: Likewise.
77416         * math/s_csqrt.c: Likewise.
77417         * math/s_csqrtf.c: Likewise.
77418         * math/s_csqrtl.c: Likewise.
77419         * math/s_ctanf.c: Likewise.
77420         * math/s_ctanh.c: Likewise.
77421         * math/s_ctanhf.c: Likewise.
77422         * math/s_ctanhl.c: Likewise.
77423         * math/s_ctanl.c: Likewise.
77425         * math/math_private.h: Define __nan, __nanf, __nanl.
77426         * math/s_cacosh.c: Include <math_private.h>.
77427         * math/s_cacoshl.c: Likewise.
77428         * math/s_casinh.c: Likewise.
77429         * math/s_casinhf.c: Likewise.
77430         * math/s_casinhl.c: Likewise.
77431         * math/s_ccos.c: Rely entire on ccosh.
77432         * math/s_ccosf.c: Rely entire on ccoshf.
77433         * math/s_ccosl.c: Rely entirely on ccoshl.
77434         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77435         Remove tests for FE_INVALID.
77436         * math/s_ccoshf.c: Likewise.
77437         * math/s_ccoshl.c: Likewise.
77438         * math/s_csin.c: Likewise.
77439         * math/s_csinf.c: Likewise.
77440         * math/s_csinh.c Likewise.
77441         * math/s_csinhf.c: Likewise.
77442         * math/s_csinhl.c: Likewise.
77443         * math/s_csinl.c: Likewise.
77444         * math/s_ctan.c: Likewise.
77445         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77446         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77447         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77449 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77452         compilation problems.
77454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77455         __builtin_expect.
77457 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77459         * sysdeps/i386/configure.in: Test for -mfma4 option.
77460         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77461         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77462         COMMON_CPUID_INDEX_80000001.
77463         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77464         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77465         use it if FMA3 is not supported.
77466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77468         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77469         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77471 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77473         [BZ #12892]
77474         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77475         it would create a cycle with a link time dependency.
77477 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77479         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77480         instruction.
77481         * string/Makefile (strop-tests): Add rawmemchr.
77482         * string/test-rawmemchr.c: New file.
77484         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77485         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77486         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77487         when compiling str{,n}casecmp and when AVX is available.  Hook up
77488         new optimized code in initializers.
77490 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77492         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77493         __feraiseexcept instead of feraiseexcept.
77495 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77497         * math/math_private.h: Define defaults for libc_fetestexcept and
77498         libc_feupdateenv.
77499         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77500         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77501         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77502         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77503         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77504         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77505         libc_fetestexcept and libc_feupdateenv.
77507         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77508         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77509         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77510         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77511         libc_feholdexcept_setround.
77513         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77514         Add s_nearbyint-c and s_nearbyintf-c.
77515         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77516         nearbyintf inlines.
77517         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77519         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77522         * math/math_private.h: Define defaults for libc_fegetround,
77523         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77524         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77525         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77527         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77528         standard functions.
77529         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77530         Remove comments and hacks for old compiler versions.
77531         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77532         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77533         libc_feholdexceptl.
77535 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77537         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77538         (__feraiseexcept_renamed): Add __NTH.
77539         (feraiseexcept): Add __NTH.  Rename local variables to fix
77540         namespace violations.
77542 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77546         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77548         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77549         recently added interfaces.
77550         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77552         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77553         about macro parameter expansion.
77555         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77556         __NO_MATH_INLINES is defined.  Cleanups.
77558         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77559         and __floorf is target has SSE4.1.
77560         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77561         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77562         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77563         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77565         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77566         name.
77567         (floorf): Likewise.
77569         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77571 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77573         * misc/sys/cdefs.h: Fix last change.
77575         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77576         database lookup.
77578 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77580         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77582         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77584         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77585         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77586         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77587         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77588         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77590         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77591         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77592         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77593         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77594         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77595         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77596         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77597         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77598         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77599         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77600         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77601         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77602         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77603         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77605         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77606         ceil, ceilf, floor, floorf.
77608         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77609         Perform IRELATIVE relocations last.
77611         * elf/do-rel.h: Add another parameter nrelative, replacing the
77612         local variable with the same name.  Change name of the function
77613         to end in Rel or Rela (uppercase).
77614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77615         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77616         elf_dynamic_do_##reloc function.
77618 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77620         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77621         is sufficient, at least on modern CPUs.
77623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77625         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77628         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77629         __expl_finite.
77630         * math/bits/math-finite.h: Add entries for exp.
77631         * math/e_expl.c: Add __*_finite alias.
77632         * sysdeps/i386/fpu/e_exp.S: Likewise.
77633         * sysdeps/i386/fpu/e_expf.S: Likewise.
77634         * sysdeps/i386/fpu/e_expl.c: Likewise.
77635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77636         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77637         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77639         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77640         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77641         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77643         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77644         is sufficient, at least on modern CPUs.
77646         * ctype/ctype-info.c (__ctype_init): Define.
77647         * include/ctype.h (__ctype_init): Declare.
77648         (__ctype_b_loc): The variable is always initialized.
77649         (__ctype_toupper_loc): Likewise.
77650         (__ctype_tolower_loc): Likewise.
77651         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77652         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77654 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77656         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77658         * configure.in: Also look in $cxxmachine/include for C++ system
77659         headers.
77661 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77663         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77664         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77665         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77666         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77668         (USE_AS_WMEMCMP): New macro.
77669         Fixing indents.
77670         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77671         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77672         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77673         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77675         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77676         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77677         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77678         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77679         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77680         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77681         (USE_AS_WMEMCMP): New macro.
77682         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77683         * sysdeps/string/test-memcmp.c: Update.
77684         Fix simple_wmemcmp.
77685         Add new tests.
77686         * wcsmbs/wmemcmp.c: Update.
77687         (WMEMCMP): New macro.
77688         Fix overflow bug.
77690 2011-10-12  Andreas Jaeger  <aj@suse.de>
77692         [BZ #13268]
77693         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77695 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77697         * libio/iofwide.c (do_length): Avoid warning.
77699         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77701 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77703         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77705         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77706         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77707         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77708         * sysdeps/i386/i686/fpu/e_log.S: New file.
77709         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77710         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77712         * ctype/ctype.h: Add support for inlined isXXX functions when
77713         compiling C++ code.
77715 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77717         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77719         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77721 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77723         [BZ #13291]
77724         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77726 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77728         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77729         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77730         feraiseexcept.
77732         * sysdeps/x86_64/memrchr.S: Check for zero size.
77734         * string/stratcliff.c: Add memrchr tests.
77736 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77739         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77740         rawmemchr-sse2 rawmemchr-sse2-bsf.
77741         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77742         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77743         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77744         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77745         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77746         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77747         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77748         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77749         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77750         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77751         * string/memrchr.c (MEMRCHR): New macro.
77753 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77755         Add integration with gcc's -ffinite-math-only and optimize wrapper
77756         functions in libm.
77757         * Versions.def: Define GLIBC_2.15 version for libm.
77758         * math/Makefile (headers): Add bits/math-finite.h.
77759         * math/bits/math-finite.h: New file.
77760         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77761         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77762         * math/e_acoshl.c: Add __*_finite alias.
77763         * math/e_acosl.c: Likewise.
77764         * math/e_asinl.c: Likewise.
77765         * math/e_atan2l.c: Likewise.
77766         * math/e_atanhl.c: Likewise.
77767         * math/e_coshl.c: Likewise.
77768         * math/e_exp10.c: Likewise.
77769         * math/e_exp10f.c: Likewise.
77770         * math/e_exp10l.c: Likewise.
77771         * math/e_exp2l.c: Likewise.
77772         * math/e_fmodl.c: Likewise.
77773         * math/e_gammal_r.c: Likewise.
77774         * math/e_hypotl.c: Likewise.
77775         * math/e_j0l.c: Likewise.
77776         * math/e_j1l.c: Likewise.
77777         * math/e_jnl.c: Likewise.
77778         * math/e_lgammal_r.c: Likewise.
77779         * math/e_log10l.c: Likewise.
77780         * math/e_log2l.c: Likewise.
77781         * math/e_logl.c: Likewise.
77782         * math/e_powl.c: Likewise.
77783         * math/e_sinhl.c: Likewise.
77784         * math/e_sqrtl.c: Likewise.
77785         * math/e_scalb.c: Completely rewritten and optimized.
77786         * math/e_scalbf.c: Likewise.
77787         * math/e_scalbl.c: Likewise.
77788         * math/w_acos.c: Likewise.
77789         * math/w_acosf.c: Likewise.
77790         * math/w_acosl.c: Likewise.
77791         * math/w_acosh.c: Likewise.
77792         * math/w_acoshf.c: Likewise.
77793         * math/w_acoshl.c: Likewise.
77794         * math/w_asin.c: Likewise.
77795         * math/w_asinf.c: Likewise.
77796         * math/w_asinl.c: Likewise.
77797         * math/w_atan2.c: Likewise.
77798         * math/w_atan2f.c: Likewise.
77799         * math/w_atan2l.c: Likewise.
77800         * math/w_atanh.c: Likewise.
77801         * math/w_atanhf.c: Likewise.
77802         * math/w_atanhl.c: Likewise.
77803         * math/w_exp10.c: Likewise.
77804         * math/w_exp10f.c: Likewise.
77805         * math/w_exp10l.c: Likewise.
77806         * math/w_fmod.c: Likewise.
77807         * math/w_fmodf.c: Likewise.
77808         * math/w_fmodl.c: Likewise.
77809         * math/w_j0.c: Likewise.
77810         * math/w_j0f.c: Likewise.
77811         * math/w_j0l.c: Likewise.
77812         * math/w_j1.c: Likewise.
77813         * math/w_j1f.c: Likewise.
77814         * math/w_j1l.c: Likewise.
77815         * math/w_jn.c: Likewise.
77816         * math/w_jnf.c: Likewise.
77817         * math/w_log.c: Likewise.
77818         * math/w_logf.c: Likewise.
77819         * math/w_logl.c: Likewise.
77820         * math/w_log10.c: Likewise.
77821         * math/w_log10f.c: Likewise.
77822         * math/w_log10l.c: Likewise.
77823         * math/w_log2.c: Likewise.
77824         * math/w_log2f.c: Likewise.
77825         * math/w_log2l.c: Likewise.
77826         * math/w_pow.c: Likewise.
77827         * math/w_powf.c: Likewise.
77828         * math/w_powl.c: Likewise.
77829         * math/w_remainder.c: Likewise.
77830         * math/w_remainderf.c: Likewise.
77831         * math/w_remainderl.c: Likewise.
77832         * math/w_scalb.c: Likewise.
77833         * math/w_scalbf.c: Likewise.
77834         * math/w_scalbl.c: Likewise.
77835         * math/w_sqrt.c: Likewise.
77836         * math/w_sqrtf.c: Likewise.
77837         * math/w_sqrtl.c: Likewise.
77838         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77839         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77840         used.
77841         * math/math_private.h: Declare __kernel_standard_f.
77842         * math/w_cosh.c: Remove cruft and optimize a bit.
77843         * math/w_coshf.c: Likewise.
77844         * math/w_coshl.c: Likewise.
77845         * math/w_exp2.c: Likewise.
77846         * math/w_exp2f.c: Likewise.
77847         * math/w_exp2l.c: Likewise.
77848         * math/w_hypot.c: Likewise.
77849         * math/w_hypotf.c: Likewise.
77850         * math/w_hypotl.c: Likewise.
77851         * math/w_lgamma.c: Likewise.
77852         * math/w_lgamma_r.c: Likewise.
77853         * math/w_lgammaf.c: Likewise.
77854         * math/w_lgammaf_r.c: Likewise.
77855         * math/w_lgammal.c: Likewise.
77856         * math/w_lgammal_r.c: Likewise.
77857         * math/w_sinh.c: Likewise.
77858         * math/w_sinhf.c: Likewise.
77859         * math/w_sinhl.c: Likewise.
77860         * math/w_tgamma.c: Likewise.
77861         * math/w_tgammaf.c: Likewise.
77862         * math/w_tgammal.c: Likewise.
77863         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77864         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77865         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77866         Minor optimizations.  Pretty printing.  Remove cruft.
77867         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77868         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77870         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77871         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77872         * sysdeps/i386/fpu/e_asin.S: Likewise.
77873         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77874         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77875         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77876         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77877         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77878         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77879         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77880         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77881         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77882         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77883         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77884         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77885         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77886         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77887         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77888         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77889         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77890         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77891         * sysdeps/i386/fpu/e_log.S: Likewise.
77892         * sysdeps/i386/fpu/e_log10.S: Likewise.
77893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77894         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77895         * sysdeps/i386/fpu/e_log2.S: Likewise.
77896         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77897         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77898         * sysdeps/i386/fpu/e_logf.S: Likewise.
77899         * sysdeps/i386/fpu/e_logl.S: Likewise.
77900         * sysdeps/i386/fpu/e_pow.S: Likewise.
77901         * sysdeps/i386/fpu/e_powf.S: Likewise.
77902         * sysdeps/i386/fpu/e_powl.S: Likewise.
77903         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77904         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77905         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77906         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77908         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77909         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77910         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77911         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77912         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77913         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77914         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77915         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77916         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77917         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77918         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77919         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77921         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77922         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77923         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77924         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77925         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77926         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77928         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77929         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77930         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77931         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77932         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77933         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77934         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77935         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77936         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77937         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77938         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77939         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77940         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77941         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77942         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77943         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77944         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77945         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77946         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77947         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77948         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77949         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77950         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77951         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77952         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77953         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77954         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77955         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77957         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77959         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77960         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77961         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77962         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77967         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77968         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77969         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77970         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77986         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77987         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77988         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77991         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77993         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77995         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77996         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77997         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77998         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78000         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78001         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78002         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78003         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78004         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78005         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78006         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78007         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78008         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78009         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78010         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78011         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78012         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78013         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78014         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78015         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78016         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78017         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78018         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78020         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78021         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78022         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78023         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78024         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78025         (__isnanf): Likewise.
78026         (__isinf_ns): Likewise.
78027         (__isinf_nsf): Likewise.
78028         (__finite): Likewise.
78029         (__finitef): Likewise.
78030         (__ieee754_sqrt): Define as macro.
78031         (__ieee754_sqrtf): Define as macro.
78032         (__ieee754_sqrtl): Define as macro.
78033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78034         inlined copy.
78035         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78036         __FINITE_MATH_ONLY__ consistent.
78037         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78039 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78041         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78042         of rawmemchr.
78044         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78046 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78048         * po/ja.po: Update from translation team.
78050 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78052         * locale/programs/locarchive.c (prepare_address_space): New function.
78053         (create_archive, enlarge_archive, open_archive): Use it.
78055         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78056         inside [SHARED], where it is used.
78058         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78060         * nss/getent.c (netgroup_keys): Remove unused variable.
78061         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78063 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78065         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78066         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78068         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78069         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78070         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78071         * math/Makefile (libm-calls): Add s_isinf_ns.
78072         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78073         * math/multc3.c: Likewise.
78074         * math/s_casin.c: Likewise.
78075         * math/s_casinf.c: Likewise.
78076         * math/s_casinl.c: Likewise.
78077         * math/s_ccos.c: Likewise.
78078         * math/s_ccosf.c: Likewise.
78079         * math/s_ccosl.c: Likewise.
78080         * math/s_ctan.c: Likewise.
78081         * math/s_ctanf.c: Likewise.
78082         * math/s_ctanh.c: Likewise.
78083         * math/s_ctanhf.c: Likewise.
78084         * math/s_ctanhl.c: Likewise.
78085         * math/s_ctanl.c: Likewise.
78086         * math/w_fmod.c: Likewise.
78087         * math/w_fmodf.c: Likewise.
78088         * math/w_fmodl.c: Likewise.
78089         * math/w_remainder.c: Likewise.
78090         * math/w_remainderf.c: Likewise.
78091         * math/w_remainderl.c: Likewise.
78092         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78093         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78096         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78097         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78098         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78099         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78101         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78102         of the number.
78103         * stdio-common/printf_fphex.c: Likewise.
78104         * stdio-common/printf_size.c: Likewise.
78106         * math/e_exp10.c: Include math_private.h using <...> not "...".
78107         * math/e_exp10f.c: Likewise.
78108         * math/e_exp10l.c: Likewise.
78109         * math/e_exp2l.c: Likewise.
78110         * math/e_j0l.c: Likewise.
78111         * math/e_j1l.c: Likewise.
78112         * math/e_jnl.c: Likewise.
78113         * math/e_lgammal_r.c: Likewise.
78114         * math/e_rem_pio2l.c: Likewise.
78115         * math/e_scalb.c: Likewise.
78116         * math/e_scalbf.c: Likewise.
78117         * math/e_scalbl.c: Likewise.
78118         * math/k_cosl.c: Likewise.
78119         * math/k_sinl.c: Likewise.
78120         * math/k_tanl.c: Likewise.
78121         * math/s_cacoshf.c: Likewise.
78122         * math/s_catan.c: Likewise.
78123         * math/s_catanf.c: Likewise.
78124         * math/s_catanh.c: Likewise.
78125         * math/s_catanhf.c: Likewise.
78126         * math/s_catanhl.c: Likewise.
78127         * math/s_catanl.c: Likewise.
78128         * math/s_ccosh.c: Likewise.
78129         * math/s_ccoshf.c: Likewise.
78130         * math/s_ccoshl.c: Likewise.
78131         * math/s_cexp.c: Likewise.
78132         * math/s_cexpf.c: Likewise.
78133         * math/s_cexpl.c: Likewise.
78134         * math/s_clog.c: Likewise.
78135         * math/s_clog10.c: Likewise.
78136         * math/s_clog10f.c: Likewise.
78137         * math/s_clog10l.c: Likewise.
78138         * math/s_clogf.c: Likewise.
78139         * math/s_clogl.c: Likewise.
78140         * math/s_csin.c: Likewise.
78141         * math/s_csinf.c: Likewise.
78142         * math/s_csinh.c: Likewise.
78143         * math/s_csinhf.c: Likewise.
78144         * math/s_csinhl.c: Likewise.
78145         * math/s_csinl.c: Likewise.
78146         * math/s_csqrt.c: Likewise.
78147         * math/s_csqrtf.c: Likewise.
78148         * math/s_csqrtl.c: Likewise.
78149         * math/s_ctan.c: Likewise.
78150         * math/s_ctanf.c: Likewise.
78151         * math/s_ctanh.c: Likewise.
78152         * math/s_ctanhf.c: Likewise.
78153         * math/s_ctanhl.c: Likewise.
78154         * math/s_ctanl.c: Likewise.
78155         * math/s_ldexp.c: Likewise.
78156         * math/s_ldexpf.c: Likewise.
78157         * math/s_ldexpl.c: Likewise.
78158         * math/s_significand.c: Likewise.
78159         * math/s_significandf.c: Likewise.
78160         * math/s_significandl.c: Likewise.
78161         * math/w_acos.c: Likewise.
78162         * math/w_acosf.c: Likewise.
78163         * math/w_acosh.c: Likewise.
78164         * math/w_acoshf.c: Likewise.
78165         * math/w_acoshl.c: Likewise.
78166         * math/w_acosl.c: Likewise.
78167         * math/w_asin.c: Likewise.
78168         * math/w_asinf.c: Likewise.
78169         * math/w_asinl.c: Likewise.
78170         * math/w_atan2.c: Likewise.
78171         * math/w_atan2f.c: Likewise.
78172         * math/w_atan2l.c: Likewise.
78173         * math/w_atanh.c: Likewise.
78174         * math/w_atanhf.c: Likewise.
78175         * math/w_atanhl.c: Likewise.
78176         * math/w_cosh.c: Likewise.
78177         * math/w_coshf.c: Likewise.
78178         * math/w_coshl.c: Likewise.
78179         * math/w_dremf.c: Likewise.
78180         * math/w_exp10.c: Likewise.
78181         * math/w_exp10f.c: Likewise.
78182         * math/w_exp10l.c: Likewise.
78183         * math/w_exp2.c: Likewise.
78184         * math/w_exp2f.c: Likewise.
78185         * math/w_fmod.c: Likewise.
78186         * math/w_fmodf.c: Likewise.
78187         * math/w_fmodl.c: Likewise.
78188         * math/w_hypot.c: Likewise.
78189         * math/w_hypotf.c: Likewise.
78190         * math/w_hypotl.c: Likewise.
78191         * math/w_j0.c: Likewise.
78192         * math/w_j0f.c: Likewise.
78193         * math/w_j0l.c: Likewise.
78194         * math/w_j1.c: Likewise.
78195         * math/w_j1f.c: Likewise.
78196         * math/w_j1l.c: Likewise.
78197         * math/w_jn.c: Likewise.
78198         * math/w_jnf.c: Likewise.
78199         * math/w_jnl.c: Likewise.
78200         * math/w_lgamma.c: Likewise.
78201         * math/w_lgamma_r.c: Likewise.
78202         * math/w_lgammaf.c: Likewise.
78203         * math/w_lgammaf_r.c: Likewise.
78204         * math/w_lgammal.c: Likewise.
78205         * math/w_lgammal_r.c: Likewise.
78206         * math/w_log.c: Likewise.
78207         * math/w_log10.c: Likewise.
78208         * math/w_log10f.c: Likewise.
78209         * math/w_log10l.c: Likewise.
78210         * math/w_log2.c: Likewise.
78211         * math/w_log2f.c: Likewise.
78212         * math/w_log2l.c: Likewise.
78213         * math/w_logf.c: Likewise.
78214         * math/w_logl.c: Likewise.
78215         * math/w_pow.c: Likewise.
78216         * math/w_powf.c: Likewise.
78217         * math/w_powl.c: Likewise.
78218         * math/w_remainder.c: Likewise.
78219         * math/w_remainderf.c: Likewise.
78220         * math/w_remainderl.c: Likewise.
78221         * math/w_scalb.c: Likewise.
78222         * math/w_scalbf.c: Likewise.
78223         * math/w_scalbl.c: Likewise.
78224         * math/w_sinh.c: Likewise.
78225         * math/w_sinhf.c: Likewise.
78226         * math/w_sinhl.c: Likewise.
78227         * math/w_sqrt.c: Likewise.
78228         * math/w_sqrtf.c: Likewise.
78229         * math/w_sqrtl.c: Likewise.
78230         * math/w_tgamma.c: Likewise.
78231         * math/w_tgammaf.c: Likewise.
78232         * math/w_tgammal.c: Likewise.
78234         * po/ja.po: Update from translation team.
78236 2011-09-29  Andreas Jaeger  <aj@suse.de>
78238         [BZ #13179]
78239         * sunrpc/netname.c (netname2host): Fix logic.
78241         [BZ #6779]
78242         [BZ #6783]
78243         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78244         correctly.
78245         * math/w_remainder.c (__remainder): Likewise.
78246         * math/w_remainderf.c (__remainderf): Likewise.
78247         * math/libm-test.inc (remainder_test): Add test cases.
78249 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78251         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78252         sdiv_qrnnd.
78254 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78256         * string/test-memcmp.c: Avoid unncessary #defines.
78257         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78259 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78261         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78262         Use new sse2 version for core i3 - i7 as it's faster
78263         than sse42 version.
78264         (bit_Prefer_PMINUB_for_stringop): New.
78265         * sysdeps/x86_64/rawmemchr.S: Update.
78266         Replace with faster SSE2 version.
78267         * sysdeps/x86_64/memrchr.S: New file.
78268         * sysdeps/x86_64/memchr.S: Update.
78269         Replace with faster SSE2 version.
78271 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78273         * elf/dl-load.c (lose): Add cast to avoid warning.
78275 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78277         * po/ca.po: Update from translation team.
78279         * inet/getnetgrent_r.c: Hook up nscd.
78280         * nscd/Makefile (routines): Add nscd_netgroup.
78281         (nscd-modules): Add netgroupcache.
78282         (CFLAGS-netgroupcache.c): Define.
78283         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78284         (cache_search): Add const to second parameter.
78285         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78286         INNETGR.
78287         (dbs): Add netgrdb entry.
78288         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78289         (verify_persistent_db): Handle netgrdb.
78290         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78291         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78292         GETFDNETGR.
78293         (netgroup_response_header): Define.
78294         (innetgroup_response_header): Define.
78295         (datahead): Add netgroup_response_header and innetgroup_response_header
78296         elements.
78297         * nscd/nscd.conf: Add entries for netgroup cache.
78298         * nscd/nscd.h (dbtype): Add netgrdb.
78299         (_PATH_NSCD_NETGROUP_DB): Define.
78300         (netgroup_iov_disabled): Declare.
78301         (xmalloc, xcalloc, xrealloc): Move declarations here.
78302         (cache_search): Adjust prototype.
78303         Add netgroup-related prototypes.
78304         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78305         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78306         (__nscd_innetgr): Declare.
78307         * nscd/selinux.c (perms): Use access_vector_t as element type and
78308         add netgroup-related initializers.
78309         * nscd/netgroupcache.c: New file.
78310         * nscd/nscd_netgroup.c: New file.
78311         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78312         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78313         For four parameters use innetgr.
78314         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78315         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78316         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78317         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78319         * nscd/connections.c (register_traced_file): Don't register file
78320         for disabled databases.
78322 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78324         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78326         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78327         from tree and freeing node.
78329 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78331         * nss/nsswitch.c (__nss_database_lookup): Handle
78332         nss_parse_service_list out of memory case.
78334 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78336         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78337         out of memory case.
78339 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78341         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78342         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78343         pass it down.
78344         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78345         elf_machine_rela, elf_machine_lazy_rel.
78346         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78347         (ELF_DYNAMIC_DO_REL): Likewise.
78348         (ELF_DYNAMIC_DO_RELA): Likewise.
78349         (ELF_DYNAMIC_RELOCATE): Likewise.
78350         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78351         to ELF_DYNAMIC_DO_REL.
78352         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78353         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78354         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78355         elf_machine_rela.
78356         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78357         skip_ifunc, don't call ifunc function if non-zero.
78358         (elf_machine_rela): Likewise.
78359         (elf_machine_lazy_rel): Likewise.
78360         (elf_machine_lazy_rela): Likewise.
78361         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78362         (elf_machine_lazy_rel): Likewise.
78363         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78364         Likewise.
78365         (elf_machine_lazy_rel): Likewise.
78366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78367         Likewise.
78368         (elf_machine_lazy_rel): Likewise.
78369         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78370         (elf_machine_lazy_rel): Likewise.
78371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78372         (elf_machine_lazy_rel): Likewise.
78373         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78374         (elf_machine_lazy_rel): Likewise.
78375         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78376         (elf_machine_lazy_rel): Likewise.
78377         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78378         (elf_machine_lazy_rel): Likewise.
78379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78380         (elf_machine_lazy_rel): Likewise.
78382 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78384         * nss/nss_files/files-init.c (_nss_files_init): Use static
78385         initialization for all the *_traced_file variables.
78387 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78389         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78391 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78393         [BZ #13226]
78394         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78396 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78399         Reread the line before reparsing it.
78401 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78403         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78405 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78406             Maxim Kuvyrkov  <maxim@codesourcery.com>
78407             Joseph Myers  <joseph@codesourcery.com>
78409         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78410         if needed for __stack_chk_guard.
78412 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78414         * sysdeps/posix/spawni.c (script_execute): Always define it.
78415         It will be optimized away if unused.
78416         (maybe_script_execute): New function.
78417         (__spawni): Call it.
78419         * Makerules: Don't include tls.make.
78420         (config-tls): Always set to thread.
78421         * tls.make.c: File removed.
78423 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78425         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78426         * config.make.in (CPPFLAGS-config): New substituted variable.
78428 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78432         [BZ #13192]
78433         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78434         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78436 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78438         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78439         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78441         (CALL_FAIL): Likewise.
78442         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78443         (CALL_FAIL): Macro removed.
78444         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78446 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78448         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78449         for __FINITE_MATH_ONLY__ == 1.
78451 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78453         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78454         __ieee754_sqrt instead of sqrt.
78455         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78456         __ieee754_sqrtf instead of sqrtf.
78457         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78458         __floorf instead of floorf.
78459         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78460         __floorf, __truncf instead of floorf, truncf.
78462 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78464         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78466         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78467         __extern_always_inline.
78468         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78469         32-bit.
78471 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78473         * elf/rtld.c (dl_main): Also relocate in dependency order when
78474         doing symbol dependency testing.
78476 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78479         Always define `refsym'.
78481 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78483         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78484         (__FD_ELT): Renamed from __FDELT.
78485         * misc/bits/select2.h (__FD_ELT): Likewise.
78486         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78487         __FD_MASK instead of __FDELT, __FDMASK.
78488         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78489         Likewise.
78490         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78491         Likewise.
78493         * elf/Makefile (gen-ldd): Fix pattern.
78495         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78496         (init_tls): Likewise.
78498 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78502 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78504         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78505         `struct cmsghdr *' instead of `void *'.
78506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78507         Likewise.
78509 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78511         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78512         if non-absolute.
78513         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78514         ldd_rewrite_script.
78516 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78518         * configure.in: Remove --with-tls option.
78519         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78520         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78521         out in case it is missing.
78522         * sysdeps/ia64/elf/configure.in: Likewise.
78523         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78524         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78525         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78526         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78527         * sysdeps/sh/elf/configure.in: Likewise.
78528         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78529         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78530         * sysdeps/x86_64/elf/configure.in: Likewise.
78531         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78532         * sysdeps/mach/hurd/tls.h: Likewise.
78534         [BZ #13067]
78535         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78537         [BZ #13090]
78538         * configure.in: Fix use of AC_INIT.
78540         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78542 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78544         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78545         __set_errno.
78546         * malloc/hooks.c: Likewise.
78548         [BZ #11929]
78549         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78550         variables statically.
78551         (narenas): Initialize.
78552         (list_lock): Initialize.
78553         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78554         initializtion of main_arena and list_lock.  Small cleanups.
78555         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78556         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78557         Add initializers to main_arena and mp_.
78558         (malloc_state): Remove pagesize member.  Change all users to use
78559         GLRO(dl_pagesize).
78561         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78562         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78563         is always initialized.
78565         * malloc/malloc.c: Removed unused configurations and dead code.
78566         * malloc/arena.c: Likewise.
78567         * malloc/hooks.c: Likewise.
78568         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78570         * include/tls.h: Removed.  USE___THREAD must always be defined.
78571         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78572         * elf/dl-libc.c: Likewise.
78573         * elf/dl-tsd.c: Likewise.
78574         * include/errno.h: Likewise.
78575         * include/netdb.h: Likewise.
78576         * include/resolv.h: Likewise.
78577         * inet/herrno-loc.c: Likewise.
78578         * inet/herrno.c: Likewise.
78579         * malloc/arena.c: Likewise.
78580         * malloc/hooks.c: Likewise.
78581         * malloc/malloc.c: Likewise.
78582         * resolv/res-state.c: Likewise.
78583         * resolv/res_libc.c: Likewise.
78584         * sysdeps/i386/dl-machine.h: Likewise.
78585         * sysdeps/ia64/dl-machine.h: Likewise.
78586         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78588         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78589         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78590         * sysdeps/sh/dl-machine.h: Likewise.
78591         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78593         * sysdeps/unix/i386/sysdep.S: Likewise.
78594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78595         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78600         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78604         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78605         * sysdeps/x86_64/dl-machine.h: Likewise.
78606         * tls.make.c: Likewise.
78608         * configure.in: Remove --with-__thread option.  Make tests for
78609         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78610         tls_model attribute fail if no support is available.  Remove
78611         USE_IN_LIBIO.
78612         * Makeconfig: Adjust for dropped configure option.  All features are
78613         now mandatory.
78614         * Makerules: Likewise.
78615         * Versions.def: Likewise.
78616         * argp/argp-fmtstream.c: Likewise.
78617         * argp/argp-fmtstream.h: Likewise.
78618         * argp/argp-help.c: Likewise.
78619         * assert/assert.c: Likewise.
78620         * config.h.in: Likewise.
78621         * config.make.in: Likewise.
78622         * configure: Likewise.
78623         * configure.in: Likewise.
78624         * csu/Versions: Likewise.
78625         * csu/init.c: Likewise.
78626         * elf/tst-audit2.c: Likewise.
78627         * elf/tst-tls10.c: Likewise.
78628         * elf/tst-tls10.h: Likewise.
78629         * elf/tst-tls11.c: Likewise.
78630         * elf/tst-tls12.c: Likewise.
78631         * elf/tst-tls14.c: Likewise.
78632         * elf/tst-tlsmod11.c: Likewise.
78633         * elf/tst-tlsmod12.c: Likewise.
78634         * elf/tst-tlsmod13.c: Likewise.
78635         * elf/tst-tlsmod13a.c: Likewise.
78636         * elf/tst-tlsmod14a.c: Likewise.
78637         * elf/tst-tlsmod15b.c: Likewise.
78638         * elf/tst-tlsmod16a.c: Likewise.
78639         * elf/tst-tlsmod16b.c: Likewise.
78640         * elf/tst-tlsmod7.c: Likewise.
78641         * elf/tst-tlsmod8.c: Likewise.
78642         * elf/tst-tlsmod9.c: Likewise.
78643         * gmon/gmon.c: Likewise.
78644         * grp/fgetgrent_r.c: Likewise.
78645         * grp/putgrent.c: Likewise.
78646         * hurd/fopenport.c: Likewise.
78647         * include/libc-symbols.h: Likewise.
78648         * include/tls.h: Likewise.
78649         * intl/gettextP.h: Likewise.
78650         * intl/loadinfo.h: Likewise.
78651         * locale/global-locale.c: Likewise.
78652         * locale/localeinfo.h: Likewise.
78653         * mach/devstream.c: Likewise.
78654         * malloc/arena.c: Likewise.
78655         * malloc/set-freeres.c: Likewise.
78656         * misc/err.c: Likewise.
78657         * misc/getttyent.c: Likewise.
78658         * misc/mntent_r.c: Likewise.
78659         * posix/getopt.c: Likewise.
78660         * posix/wordexp.c: Likewise.
78661         * pwd/fgetpwent_r.c: Likewise.
78662         * resolv/Versions: Likewise.
78663         * resolv/res_hconf.c: Likewise.
78664         * shadow/fgetspent_r.c: Likewise.
78665         * shadow/putspent.c: Likewise.
78666         * stdio-common/printf_fphex.c: Likewise.
78667         * stdio-common/tmpfile.c: Likewise.
78668         * stdlib/abort.c: Likewise.
78669         * stdlib/fmtmsg.c: Likewise.
78670         * sunrpc/auth_unix.c: Likewise.
78671         * sunrpc/clnt_perr.c: Likewise.
78672         * sunrpc/clnt_tcp.c: Likewise.
78673         * sunrpc/clnt_udp.c: Likewise.
78674         * sunrpc/clnt_unix.c: Likewise.
78675         * sunrpc/openchild.c: Likewise.
78676         * sunrpc/svc_simple.c: Likewise.
78677         * sunrpc/svc_tcp.c: Likewise.
78678         * sunrpc/svc_udp.c: Likewise.
78679         * sunrpc/svc_unix.c: Likewise.
78680         * sunrpc/xdr.c: Likewise.
78681         * sunrpc/xdr_array.c: Likewise.
78682         * sunrpc/xdr_rec.c: Likewise.
78683         * sunrpc/xdr_ref.c: Likewise.
78684         * sunrpc/xdr_stdio.c: Likewise.
78686 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78688         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78690 2011-07-03  Andreas Jaeger  <aj@suse.de>
78692         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78693         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78694         regenerate with gen-libm-tests.pl.
78696 2010-05-12  Petr Baudis  <pasky@suse.cz>
78698         [BZ #11589]
78699         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78700         around j0() zero points by switching to j1().
78701         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78706 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78708         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78709         instead of 0.
78710         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78711         instead of 0.
78712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78713         Patch in part by Pavel Roskin <proski@gnu.org>.
78715         [BZ #13138]
78716         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78717         realloc.
78718         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78719         Free memory block if necessary.
78721         [BZ #12847]
78722         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78723         be NULL.  Don't lock in this case.
78725 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78727         * elf/elf.h (ELFOSABI_GNU): New macro.
78728         (ELFOSABI_LINUX): Define to that.
78730 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78732         * string/strncat.c (strncat): Undef the symbol in case it has been
78733         defined in bits/string.h.
78735 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78737         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78739         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78740         link map.
78742 2011-08-17  Andreas Jaeger  <aj@suse.de>
78744         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78746 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78747             Ian Lance Taylor  <iant@google.com>
78749         * math/libm-test.inc (lround_test): New testcase.
78750         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78752 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78754         * Makefile: Remove support for automatic cvs check-ins.
78755         * Makerules: Likewise.
78756         * config.make.in: Likewise.
78757         * configure.in: Likewise.
78758         * intl/Makefile: Likewise.
78759         * locale/Makefile: Likewise.
78760         * po/Makefile: Likewise.
78761         * posix/Makefile: Likewise.
78762         * sysdeps/gnu/Makefile: Likewise.
78763         * sysdeps/mach/hurd/Makefile: Likewise.
78764         * sysdeps/sparc/sparc32/Makefile: Likewise.
78766         [BZ #13118]
78767         * posix/Makefile (bug-regex32-ENV): Define.
78768         Patch by John Stanley <jpsinthemix@verizon.net>.
78770         * misc/Makefile (headers): Add bits/select2.h.
78771         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78772         * misc/bits/select2.h: New file.
78773         * include/bits/select2.h: New file.
78774         * debug/Makefile (routines): Add fdelt_chk.
78775         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78776         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78777         FD_ISSET.
78778         * debug/fdelt_chk.c: New file.
78780         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78781         * wcsmbs/test-wmemcmp.c: Likewise.
78782         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78783         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78785 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78787         * string/Makefile (strop-tests): Add memcmp.
78788         * string/test-wmemcmp.c: New file.
78789         * string/test-memcmp.c: Add wmemcmp support.
78791 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78793         [BZ #13153]
78794         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78795         2011-07-19 change.
78797         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78798         garbage value in a __mach_port_mod_refs call in the cases of the
78799         task-self and thread-self ports.
78801 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78803         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78805 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78807         * elf/dl-load.c (lose): Check for non-null L.
78809 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78811         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78813         * elf/dl-libc.c (dlerror_run): Pass back error code from
78814         dl_catch_error.
78816         [BZ #13123]
78817         * elf/dl-load.c (lose): Free l_origin if it is valid.
78819         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78820         names.
78821         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78822         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78824         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78825         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78826         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78828 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78830         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78831         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78833         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78834         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78835         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78836         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78837         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78838         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78839         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78841 2011-08-15  Alan Modra  <amodra@gmail.com>
78843         [BZ #13092]
78844         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78845         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78846         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78847         ppc_mcount to static-only-routines.
78848         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78849         __mcount_internal.
78850         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78851         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78853 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78855         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78856         for finite and infinity parameters.
78858 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78861         and add nop instructions for throughput optimization.
78862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78864 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78867         aligned copy for power7 with vector-scalar instructions.
78868         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78870 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78873         AVX check.
78875 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78877         [BZ #13144]
78878         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78879         last change.
78881 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78883         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78884         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78885         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78886         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78887         clock_gettime.
78889 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78891         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78892         Forgot to demangle the pointer.
78894         * sysdeps/i386/sysdep.h: Define atom_text_section.
78895         * sysdeps/x86_64/sysdep.h: Likewise.
78896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78897         section with atom_text_section.
78898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78900         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78901         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78902         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78906         already be defined.  Change to take two parameters and don't assign
78907         result to variable.  Adjust all users.
78908         Define INTERNAL_GETTIME if not already defined.
78909         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78910         call.
78911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78912         HAVE_CLOCK_GETTIME_VSYSCALL.
78913         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78916         gettimeofday vsyscall, just use time.
78918 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78921         <errno.h>.
78923 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78925         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78926         syscall on x86-64.
78927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78928         syscall.
78929         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78931         syscall if possible.
78933 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78935         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78936         e_ident.  Don't pass to find_mapsXX.
78937         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78939 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78942         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78943         * sysdeps/x86_64/multiarch/strchr.S: Update.
78944         Check bit_slow_BSF bit.
78945         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78947         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78949 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78951         [BZ #13134]
78952         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78953         before glibc 2.15.
78954         (tryshell): Define.
78955         (__spawni): Change last parameter to be flag.  Test
78956         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78957         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78958         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78959         * posix/spawni.c: Likewise.
78960         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78961         * posix/spawnp.c: Likewise.  Change normal version to use
78962         SPAWN_XFLAGS_USE_PATH.
78963         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78964         SPAWN_XFLAGS_TRY_SHELL.
78966         [BZ #13150]
78967         * posix/glob.h: Remove gcc 1.x support.
78969         [BZ #13068]
78970         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78972 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78975         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78976         strrchr-sse2-bsf
78977         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78978         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78979         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78980         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78981         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78982         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78984 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78986         * sysdeps/x86_64/wcscmp.S: New file.
78988         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78989         wcscmp-c wcscmp-sse2
78990         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78991         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78992         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78993         * wcsmbs/wcscmp.c: Allow renaming.
78995 2011-09-05  David S. Miller  <davem@davemloft.net>
78997         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78998         stack slot, rather than the struct return pointer slot.
78999         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79000         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79002         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79006         * po/ja.po: Update from translation team.
79008         [BZ #13144]
79009         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79010         kernel in 64-bit binaries.
79012 2011-09-01  David S. Miller  <davem@davemloft.net>
79014         * elf/elf.h (HWCAP_SPARC_*): Move to..
79015         * sysdeps/sparc/sysdep.h: this new file and add new values.
79016         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79017         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79018         _DL_HWCAP_COUNT to 24.
79019         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79020         entries.
79021         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79022         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79023         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79025         instead of magic constants.
79026         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79028 2011-08-31  David S. Miller  <davem@davemloft.net>
79030         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79032         Reimplement to do errno handling inline.
79033         (SYSCALL_ERROR_HANDLER): New macro.
79034         (__SYSCALL_STRING): Do not do errno handling in asm.
79035         (__CLONE_SYSCALL_STRING): Delete.
79036         (__INTERNAL_SYSCALL_STRING): Delete.
79037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79038         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79039         (PSEUDO): Reimplement to do errno handling inline.
79040         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79041         (SYSCALL_ERROR_HANDLER): New macro.
79042         (__SYSCALL_STRING): Do not do errno handling in asm.
79043         (__CLONE_SYSCALL_STRING): Delete.
79044         (__INTERNAL_SYSCALL_STRING): Delete.
79045         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79046         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79047         i386.
79048         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79049         (inline_syscall*): Add 'err' argument.
79050         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79051         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79052         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79053         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79055         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79056         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79058 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79060         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79062 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79064         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79065         directive.
79067 2011-08-24  David S. Miller  <davem@davemloft.net>
79069         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79071 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79073         * elf/Makefile: Add rules to build and run unload8 test.
79074         * elf/unload8.c: New file.
79075         * elf/unload8mod1.c: New file.
79076         * elf/unload8mod1x.c: New file.
79077         * elf/unload8mod2.c: New file.
79078         * elf/unload8mod3.c: New file.
79080         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79081         it wasn't used.
79083 2011-08-23  David S. Miller  <davem@davemloft.net>
79085         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79086         subtract stack bias.
79087         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79088         %sp not %fp in calculations.
79089         (_JMPBUF_UNWINDS_ADJ): Likewise.
79091         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79092         (aio_suspend): Call it to force an exception region around the
79093         AIO_MISC_WAIT() invocation.
79095 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79097         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79098         backslash.
79100 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79102         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79103         protection macro.
79104         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79105         and <dl-machine.h>.
79106         (Elf64_FuncDesc): Remove.
79108 2011-08-22  David S. Miller  <davem@davemloft.net>
79110         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79111         sigaltstack check, add missing cfi directives.
79112         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79113         missing cfi directives, and sigaltstack handling.
79115 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79117         [BZ #11724]
79118         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79119         object is seen twice.
79120         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79122         * elf/Makefile (distribute): Add tst-initorder2.c.
79123         (tests): Add tst-initorder2.
79124         (modules-names): Add tst-initorder2a tst-initorder2b
79125         tst-initorder2c tst-initorder2d.  Add rules to build them.
79126         ($(objpfx)tst-initorder2.out): New rule.
79127         * elf/tst-initorder2.c: New file.
79128         * elf/tst-initorder2.exp: New file.
79130 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79132         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79134         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79135         dependencies back to end of function.
79137         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79138         $(elfobjdir)/ld.so.
79140 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79143         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79145         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79146         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79147         of __vdso_gettimeofday.
79148         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79149         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79150         attribute_hidden.
79151         (_libc_vdso_platform_setup): Remove initialization of
79152         __vdso_gettimeofday and __vdso_time.
79154 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79156         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79157         and fgetc_unlocked.
79158         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79159         getc_unlocked.
79161         * elf/dl-open.c (add_to_global): Report additions to the global scope
79162         for LD_DEBUG=scopes.
79163         (dl_open_worker): Also print scope of newly loaded dependencies.
79164         (_dl_show_scope): Indicate if there is no scope.
79166         [BZ #13114]
79167         * stdio-common/Makefile (tests): Add bug24.
79168         * stdio-common/bug24.c: New file.
79170 2011-08-19  Andreas Jaeger  <aj@suse.de>
79172         [BZ #13114]
79173         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79174         non-existant file when using close-on-exec mode.
79176 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79179         the very first instruction.
79181         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79182         the CFI state in the end.
79183         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79184         inclusion of dl-trampoline.h.
79185         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79187 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79189         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79190         expectations for long double.
79192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79193         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79195 2011-08-14  David S. Miller  <davem@davemloft.net>
79197         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79198         artificual limit depends upon the system page size.
79200 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79202         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79203         * resolv/Makefile: Define CFLAGS-libresolv.
79205 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79207         * nss/makedb.c (compute_tables): Make variables used in nested
79208         function static.
79210 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79212         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79213         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79214         if buffer was too small.
79216         * elf/pldd.c (main): Attach to all threads in the process.
79217         Rewrite /proc handling to use *at functions.
79219 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79221         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79222         specifies first scope to show.
79223         (dl_open_worker): Update callers.  Move printing scope of new
79224         object to before the relocation.
79225         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79226         * sysdeps/generic/ldsodefs.h: Update declaration.
79228         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79229         string for the scope number.
79231 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79233         * nscd/servicescache.c (cache_addserv): Make sure written is always
79234         initialized.
79236 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79238         * sysdeps/i386/i486/bits/atomic.h
79239         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79240         statement expression, so as to suppress "set but not used" warning.
79241         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79243         * string/strncat.c (STRNCAT): Use prototype definition.
79245         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79246         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79247         -Iprograms here.
79248         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79249         (localedef-modules): Add localedef.
79250         (locale-modules): Add locale.
79252         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79253         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79254         to avoid a warning.
79256 2011-08-14  David S. Miller  <davem@davemloft.net>
79258         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79259         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79261 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79263         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79264         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79265         * elf/rtld.c (dl_main): Set l_name of vDSO.
79266         Call _dl_show_scope when DL_DEBUG_SCOPES.
79267         (process_dl_debug): Recognize scopes flag and also set it for all.
79268         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79269         Declare _dl_show_scope.
79271         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79272         (do_dlopen): Pass caller_dlopen to dl_open.
79273         (__libc_dlopen_mode): Initialize caller_dlopen.
79275         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79276         of libc.  Make tolower call locale-independent.  Optimize a bit by
79277         using isdigit instead of isalnum.
79278         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79280 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79282         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79283         was a dependency or dynamically loaded.
79285 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79287         * intl/l10nflist.c: Allow architecture-specific pop function.
79288         * sysdeps/x86_64/l10nflist.c: New file.
79290         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79291         classification.
79293 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79295         * include/dirent.h: Add libc_hidden_proto for scandirat and
79296         scandirat64.  Don't declare __scandirat64.
79297         * dirent/scandirat.c: Add libc_hidden_def.
79298         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79299         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79301 2011-08-10  David S. Miller  <davem@davemloft.net>
79303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79304         enum.
79305         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79306         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79307         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79309 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79311         * Versions.def [libc]: Add GLIBC_2.15.
79312         * dirent/Makefile (routines): Add scandirat and scandirat64.
79313         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79314         GLIBC_2.15.
79315         * dirent/dirent.h: Declare scandirat and scandirat64.
79316         * dirent/scandirat.c: New file.
79317         * dirent/scandirat64.c: New file.
79318         * sysdeps/wordsize-64/scandirat.c: New file.
79319         * sysdeps/wordsize-64/scandirat64.c: New file.
79320         * dirent/opendir.c: Define opendirat.
79321         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79322         using scandirat.
79323         * dirent/scandir64.c: Adjust for scandir.c change.
79324         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79325         __scandirat64, and __scandir_cancel_handler.
79326         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79327         additional parameter and use openat instead of open (outside of ld.so).
79328         Add new __opendir as wrapper around __opendirat.
79329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79330         here without requiring old scandirat implementation.
79332 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79334         * dirent/scandir.c (cancel_handler): Renamed to
79335         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79336         defined.  Adjust users.
79337         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79338         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79340 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79342         * string/test-string.h (IMPL): Use __STRING to expand name and then
79343         stringify it.
79345         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79346         of cleanups.
79348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79350         * string/Makefile: Update.
79351         (strop-tests): Append strncat.
79352         * string/test-wcscmp.c: New file.
79353         New comprehensive test for wcscmp.
79354         * string/test-strcmp.c: Update.
79355         (WIDE): New define.
79357 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79359         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79360         line.
79362 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79365         encoding to ACE if AI_IDN.
79367 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79369         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79370         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79372 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79374         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79375         Fix overflow bug in strncat.
79376         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79378         * string/test-strncat.c: Update.
79379         Add new tests for checking overflow bugs.
79381 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79384         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79385         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79386         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79388         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79389         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79390         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79391         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79394         (USE_AS_STRCAT): Define.
79395         Add strcat and strncat support.
79396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79398 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79400         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79401         __n bigger than INT_MAX+1.
79402         (__strncmp_g): Likewise.
79404 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79406         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79407         * libio/stido.h: Likewise.
79409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79410         (AF_NFC): Define.
79411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79412         (AF_NFC): Define.
79414         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79415         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79416         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79417         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79420         [BZ #13021]
79421         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79422         installed.
79424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79425         typo.
79426         (_dl_x86_64_save_sse): Likewise.
79428 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79431         OSXSAVE.
79432         (_dl_x86_64_save_sse): Likewise.
79434         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79436         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79438 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79441         change.
79442         (_dl_x86_64_save_sse): Use correct AVX check.
79444 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79447         bug in strncpy/strncat.
79448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79450 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79452         * string/tester.c (test_strcat): Add tests for different alignments
79453         of source and destination.
79454         (test_strncat): Likewise.
79456 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79458         [BZ #12852]
79459         * posix/glob.c (glob): Check passed in values before using them in
79460         expressions to avoid some overflows.
79461         (glob_in_dir): Likewise.
79463         [BZ #13007]
79464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79465         check for AVX enablement so that we don't crash with old kernels and
79466         new hardware.
79467         * elf/tst-audit4.c: Add same checks here.
79468         * elf/tst-audit6.c: Likewise.
79470         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79472 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79474         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79476 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79478         * po/cs.po: Update from translation team.
79479         * po/bg.po: Likewise.
79481 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79483         * misc/sys/cdefs.h: Add support for const attribute.
79484         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79485         to gnu_dev_{major,minor,makedev} functions.
79487 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79489         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79491 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79493         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79494         strlen results.
79496 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79499         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79500         register in order to avoid conflicts with the soft frame pointer
79501         being held in r11 when necessary.
79502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79503         (INTERNAL_VSYSCALL_NCS): Likewise.
79505 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79507         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79508         * elf/dl-fini.c (_dl_fini): Adjust caller.
79509         * elf/dl-close.c (_dl_close_worker): Likewise.
79510         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79512 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79514         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79515         "aux_cache->nlibs < 0".
79517         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79518         in the reload-count case.
79520 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79523         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79524         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79525         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79526         * sysdeps/x86_64/multiarch/strcat.S: New file.
79527         * sysdeps/x86_64/multiarch/strncat.S: New file.
79528         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79530         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79531         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79532         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79533         (USE_AS_STRCAT): Define.
79534         Add strcat and strncat support.
79535         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79536         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79537         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79538         * string/strncat.c: Update.
79539         (USE_AS_STRNCAT): Define.
79540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79541         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79542         and i7.
79543         * sysdeps/x86_64/multiarch/init-arch.h
79544         (bit_Prefer_PMINUB_for_stringop): New.
79545         (index_Prefer_PMINUB_for_stringop): Likewise.
79546         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79547         bit_Prefer_PMINUB_for_stringop.
79549 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79551         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79552         buffer64.
79553         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79554         of casting of buffer.
79555         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79556         buffer32 and buffer64.
79557         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79558         writes instead of casting of buffer.
79559         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79560         buffer32.
79561         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79562         casting of buffer.
79564 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79566         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79568 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79570         * nscd/nscd.c (termination_handler): Don't do anything for a database
79571         if it has not yet been initialized.
79573 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79575         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79577 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79579         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79581 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79583         * po/nl.po: Update from translation team.
79584         * po/sv.po: Likewise.
79586 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79588         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79589         now disallowed by GCC.
79591         * configure.in (use-default-link): Default to yes if a test -shared
79592         link meets our qualifications.
79593         * configure: Regenerated.
79595         * config.make.in (output-format): New variable.
79596         * configure.in: Check for ld --print-output-format support.
79597         * configure: Regenerated.
79598         * Makerules ($(common-objpfx)format.lds)
79599         [$(output-format) != unknown]: Just use $(output-format),
79600         instead of the linker-script munging.
79602 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79604         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79605         of $(common-objpfx)shlib.lds.
79606         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79608         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79609         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79611         * configure.in (-z relro check): Adjust test code to add a large
79612         writable data section after it.
79613         * configure: Regenerated.
79615 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79617         * configure.in (-z relro check): Fix test code to make the variable
79618         truly const.
79619         * configure: Regenerated.
79621 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79623         * nscd/nscd.h (struct traced_file): Define.
79624         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79625         elements.  Add traced_files.
79626         (inotify_fd): Declare.
79627         (register_traced_file): Declare.
79628         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79629         (inotify_fd): Export.
79630         (resolv_conf_descr): Remove.
79631         (nscd_init): Move inotify descriptor creation to main.
79632         Don't register files for notification here.
79633         (register_traced_file): New function.
79634         (invalidate_cache): Don't use reset_res to determine whether to call
79635         res_init, go through the list of registered files.
79636         (main_loop_poll): The inotify descriptors are now stored in the
79637         structures for the traced files.
79638         (main_loop_epoll): Likewise.
79639         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79640         to __nss_disable_nscd.
79641         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79642         for a database anymore.  Check the records for all the registered
79643         files instead.
79644         * nss/Makefile (libnss_files-routines): Add files-init.
79645         (libnss_db-routines): Add db-init.
79646         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79647         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79648         * nss/nss_db/db-init.c: New file.
79649         * nss/nss_files/files-init.c: New file.
79650         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79651         __nss_lookup_function.
79652         (__nss_lookup_function): Call nss_load_library.
79653         (nss_load_all_libraries): New function.
79654         (__nss_disable_nscd): Take parameter with callback function for files
79655         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79656         used for the cached services.
79657         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79658         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79659         options for features to all the files in nscd.
79661         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79663 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79665         * csu/elf-init.c (__libc_csu_init): Comment typo.
79667 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79669         * po/pl.po: Update from translation team.
79670         * po/ja.po: Likewise.
79671         * po/ru.po: Likewise.
79672         * po/ko.po: Likewise.
79673         * po/fr.po: Likewise.
79675 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79677         * configure.in (.ctors/.dtors header and trailer check):
79678         Use an empirical test on a built program.
79679         * configure: Regenerated.
79681         * configure.in (-z relro check): Use an empirical test on a built DSO.
79682         Detect, but do not require, on ia64.
79683         * configure: Regenerated.
79685         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79686         Update tests that use readelf to use $READELF instead.
79687         * configure: Regenerated.
79689 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79691         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79692         if the result is not used.
79694 2011-07-05  Andreas Jaeger  <aj@suse.de>
79696         [BZ#9696]
79697         * stdlib/tst-strtod.c: Add testcase.
79699 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79701         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79702         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79703         The latter has a higher limit.  Take additional parameter to pass to
79704         the new function.
79705         (__pathconf): Pass file to __statfs_link_max.
79706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79707         __statfs_link_max.
79708         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79709         __statfs_link_max.
79711         [BZ #12868]
79712         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79714         Handle Lustre.
79715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79716         (__statfs_filesize_max): Likewise.
79717         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79719 2011-07-05  Andreas Jaeger  <aj@suse.de>
79721         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79723 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79725         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79726         `status' variable.
79727         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79728         Likewise.
79730 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79732         * Makefile (strop-tests): Add strncat.
79733         * string/test-strncat.c: New file.
79735 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79737         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79739 2011-06-21  Andreas Jaeger  <aj@suse.de>
79741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79742         Copy rule from iconvdata/Makefile.
79744 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79746         [BZ #12922]
79747         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79748         but no long options are defined, just return 'W'.
79750 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79752         [BZ #9696]
79753         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79755 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79757         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79758         netgroups to read.
79759         (innetgr): Likewise.
79761 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79763         * config.make.in (install_root): Default to $(DESTDIR).
79765 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79769 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79771         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79773         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79774         containing directory rather than embedding absolute directory names.
79776         * scripts/check-local-headers.sh: Rewritten using awk.
79777         Match by word, not by line.  Print error messages for matches.
79778         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79780         * Makerules [shlib-lds-flags empty]:
79781         ($(common-objpfx)libc_pic.opts): New target.
79782         ($(common-objpfx)libc_pic.os.clean): New target.
79783         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79785         * config.make.in (OBJCOPY): New variable.
79786         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79787         * configure: Regenerated.
79789         * config.make.in (use-default-link): New variable.
79790         * configure.in (use_default_link): Grok --with-default-link to set it.
79791         * configure: Regenerated.
79792         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79793         (shlib-lds, shlib-lds-flags): Define to empty.
79795         * Makerules (shlib-lds): New variable.
79796         (shlib-lds-flags): New variable.
79797         (build-shlib, build-moduile, build-module-asneeded): Use it.
79798         ($(common-objpfx)libc.so): Use $(shlib-lds).
79799         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79800         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79802         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79803         DT_FLAGS/DT_FLAGS_1 with zero flags.
79805         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79806         linker script munging.
79808 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79810         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79811         as 128-bit value.
79812         * crypt/sha512.c (sha512_process_block): Perform total addition using
79813         128-bit if possible.
79814         (__sha512_finish_ctx): Likewise.
79815         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79816         as 64-bit value.
79817         * crypt/sha256.c (SWAP64): Define.
79818         (sha256_process_block): Perform total addition using 64-bit if
79819         possible.
79820         (__sha256_finish_ctx): Likewise.
79822 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79824         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
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.
79829         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79831 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79833         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79835         * nscd/hstcache.c (cache_addhst): Likewise.
79836         * nscd/grpcache.c (cache_addgr): Likewise.
79837         * nscd/aicache.c (addhstaiX): Likewise.
79839 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79841         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79842         domain only when needed.
79844 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79847         is always restored.
79849 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79851         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79852         are re-adding the entry.
79853         * nscd/servicescache.c (cache_addserv): Likewise.
79855 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79857         * sysdeps/generic/dl-irel.h: fix protection against multiple
79858         inclusions.
79859         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79861 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79863         [BZ #12935]
79864         * malloc/memusage.sh: Fix quoting in message.
79865         * debug/xtrace.sh: Likewise.
79867         * configure.in: Remove support for --experimental-malloc option, make
79868         it the default.
79869         * config.make.in: Likewise.
79870         * malloc/Makefile: Likewise.
79872 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79874         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79875         two-byte characters.
79877 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79879         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79880         AC_CACHE_CHECK invocation.
79881         * configure: Regenerated.
79883         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79885 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79887         [BZ #12350]
79888         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79889         bit from old_res_options.
79891         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79893         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79894         value type for setfct.
79896 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79899         __gettimeofday instead of gettimeofday.
79901 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79903         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79905 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79909         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79910         info.
79912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79915         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79916         strcpy-sse2-unaligned strncpy-sse2-unaligned
79917         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79918         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79919         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79920         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79921         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79922         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79924         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79925         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79926         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79927         (STRCPY): Support SSE2 and SSSE3 versions.
79929 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79931         [BZ #12874]
79932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79933         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79934         kernels which artificially limit size of requests.
79936 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79938         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79939         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79940         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79941         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79942         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79943         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79944         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79945         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79947         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79948         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79949         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79950         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79951         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79952         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79954         Enable unaligned load optimization for Intel Core i3, i5 and i7
79955         processors.
79956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79957         Define.
79958         (index_Fast_Unaligned_Load): Define.
79959         (HAS_FAST_UNALIGNED_LOAD): Define.
79961 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79963         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79965 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79967         [BZ #12907]
79968         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79969         until it is clear that the information is realy needed.
79970         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79972 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79976 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79979         /sys/devices/system/cpu/online if it is usable.
79981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79982         reading the information from the /proc filesystem to once a second.
79984 2011-06-21  Andreas Jaeger  <aj@suse.de>
79986         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79987         NULL after inclusion of kernel headers.
79989 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79991         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79992         calls to internal_setent.
79994         [BZ #12885]
79995         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79996         addresses using gethostbyname4_r ignore IPv4 addresses.
79998         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79999         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80001         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80003 2011-06-20  David S. Miller  <davem@davemloft.net>
80005         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80006         inclusions.
80007         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80009         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80010         (elf_irel): Use it.
80011         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80012         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80013         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80014         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80015         * sysdeps/x86_64/dl-irel.h: Likewise.
80017         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80018         * elf/dl-sym.c: Likewise.
80020 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80022         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80023         need to dereference resplen2.
80025 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80027         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80029 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80031         * Makeconfig: Define vardbdir and inst_vardbdir.
80032         * nss/Makefile: Add rules to install db-Makefile.
80034         * nss/nss_db/db-XXX.c: Cleanup.
80036         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80037         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80038         GLIBC_PRIVATE.
80039         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80040         * nss/makedb.c: Implement -g option to specify that value strings
80041         are generated and should not be added to table iterated over for
80042         get*ent calls.
80043         * nss/nss_db/db-initgroups.c: New file.
80045         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80046         interface.
80048         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80049         (internal_getgrouplist): Adjust to name change.
80050         Update use_initgroups_entry if this is not the first call.
80051         * nss/databases.def: Add initgroups entry.
80053         * nss/makedb.c (compute_tables): Check result of multiple hash table
80054         sizes to minimize maximum chain length.
80056 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80058         * Versions.def: Add entry for libnss_db.
80059         * shlib-versions: Likewise.
80060         * nss/Makefile: Add rules to build libnss_db.
80061         * nss/Versions: Add libnss_db information.  Organize libnss_files
80062         entries better.
80063         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80064         makedb progra.  Some minor improvements to generate smaller files.
80065         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80066         here from...
80067         * nss/makedb.c: ...here.
80068         Improve database format to be smaller and require less memory at
80069         runtime.
80070         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80071         db anymore.
80072         * nss/nss_db/db-netgrp.c: Likewise.
80073         * nss/nss_db/db-open.c: Likewise.
80074         * nss/nss_files/flies-XXX.x: Adjust comments.
80075         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80076         * nss/nss_files/files-grp.c: Likewise.
80077         * nss/nss_files/files-hosts.c: Likewise.
80078         * nss/nss_files/files-network.c: Likewise.
80079         * nss/nss_files/files-proto.c: Likewise.
80080         * nss/nss_files/files-pwd.c: Likewise.
80081         * nss/nss_files/files-rpc.c: Likewise.
80082         * nss/nss_files/files-service.c: Likewise.
80083         * nss/nss_files/files-sgrp.c: Likewise.
80084         * nss/nss_files/files-spwd.c: Likewise.
80085         * nss/nss_db/db-alias.c: Removed.
80086         * nss/nss_db/dummy-db.h: Removed.
80088 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80090         * nss/makedb.c: Rewritten to not use database library.
80091         * nss/Makefile: Update to build new makedb program.
80093 2011-06-14  Andreas Jaeger  <aj@suse.de>
80095         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80096         memset declaration.
80098 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80101         tmpbuf.
80103 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80105         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80106         * elf/Makefile ($(objpfx)ld.so): Likewise.
80108         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80109         Don't list ld.so twice in dependencies.
80111         * posix/bug-regex31.c: Include <stdlib.h>.
80113         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80115         * nis/nss_compat/compat-spwd.c
80116         (getspent_next_nss_netgr): Remove unused variable.
80117         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80119         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80120         nonmembers" output to use the right array.
80122         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80124         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80126         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80127         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80128         * catgets/gencat.c (read_input_file): Likewise.
80129         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80131         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80132         variable definition inside #if's controlling its use.
80134         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80136         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80138         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80140         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80141         unreachable code.
80143         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80145         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80146         * configure: Regenerated.
80148         * Makerules: Revert last change.
80149         * elf/Makefile: Likewise.
80151 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80153         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80154         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80155         (reloc-link): Likewise.
80157 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80159         * elf/Makefile: Add rules to build pldd.
80160         * elf/pldd.c: New file.
80161         * elf/pldd-xx.c: New file.
80163 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80165         * version.h: Update for 2.15 development version.
80167 2011-06-07  David S. Miller  <davem@davemloft.net>
80169         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80170         ifuncs.
80171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80172         elf_machine_lazy_rel): Likewise.
80173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80175         elf_machine_lazy_rel): Likewise.
80176         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80177         dl_hwcap via passed in argument.
80178         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80179         Likewise.
80181 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80183         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80185 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80187         [BZ #12849]
80188         * manual/fdl-1.1.texi: New file, verbatim from:
80189         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80190         * manual/lgpl-2.1.texi: New file, verbatim from:
80191         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80192         * manual/Makefile (licenses): New variable, list those new file names.
80193         (texis): Use it.
80194         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80196         * manual/fdl.texi: File removed.
80197         * manual/lesser.texi: File removed.
80198         * manual/libc.texinfo (Copying, Documentation License):
80199         Use new @include file names, put @appendix directive before @include.
80201 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80203         [BZ #12841]
80204         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80205         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80206         (mq_open): Add __NTH.
80208 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80211         Assume Intel Core i3/i5/i7 processor if AVX is available.
80213 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80216         typo.
80218 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80221         memory.  Use alloca_account.  Fix memory leak when retrying.
80223 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80225         * version.h (RELEASE): Bump for 2.14 release.
80226         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80228         * config.make.in (RANLIB): Remove entry.
80230 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80232         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80233         (libc.pot): Work around missing support for .ksh extension in xgettext.
80235         [BZ #12684]
80236         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80237         if both request failed.
80238         (send_dg): In case of server errors clear resplen or *resplen2.
80240         [BZ #12454]
80241         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80242         when there are multiple maps.
80243         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80244         (_dl_fini): Remove test here.
80246         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80248 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80250         [BZ #12350]
80251         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80252         bit from old_res_options.
80253         (gaih_inet): Likewise.
80255         [BZ #11099]
80256         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80257         as signed.
80259         * resolv/res_init.c (res_setoptions): Make the code more compact.
80261         [BZ #11558]
80262         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80263         set RES_USEVC.
80265         [BZ #11634]
80266         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80268         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80270         [BZ #11781]
80271         * malloc/malloc.h: Declare malloc hook variables as volatile.
80273         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80274         in last patch.
80276         [BZ #11799]
80277         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80278         raise in the comment.
80279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80281         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80283 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80285         [BZ #12811]
80286         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80287         grow the buffers more if it already has to be sufficient.
80288         (build_wcs_upper_buffer): Likewise.
80289         * posix/regexec.c (check_matching): Likewise.
80290         (clean_state_log_if_needed): Likewise.
80291         (extend_buffers): Don't enlarge buffers beyond size of the input
80292         buffer.
80293         Patches mostly by Emil Wojak <emil@wojak.eu>.
80294         * posix/bug-regex32.c: New file.
80295         * posix/Makefile (tests): Add bug-regex32.
80297         * locale/findlocale.c (_nl_find_locale): Return right away if
80298         _nl_explode_name failed.
80299         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80301         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80303         * debug/xtrace.sh: Unify messages.
80304         * malloc/memusage.sh: Likewise.
80306         [BZ #12813]
80307         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80308         time symbol from vDSO.  Substitute with vsyscall if not available.
80309         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80310         __vdso_time.
80312         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80313         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80314         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80315         Add sendmmsg and internal_sendmmsg.
80316         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80317         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80320         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80321         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80322         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80324 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80326         [BZ #12813]
80327         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80328         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80329         available.
80330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80331         __vdso_getcpu.
80333         [BZ #12814]
80334         * iconvdata/Makefile (tests): Add bug-iconv9.
80335         * iconvdata/bug-iconv9.c: New file.
80337 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80339         [BZ #12814]
80340         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80342 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80345         (struct user_regs_struct): Change intcs field back to cs.
80347 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80349         * po/ja.po: Update from translation team.
80351 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80353         [BZ #12795]
80354         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80355         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80357 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80359         * stdlib/longlong.h: Update from GCC.
80361 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80363         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80364         parameter name.
80365         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80366         Add parameter name.
80367         (__sysconf): Pass it down.
80369 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80371         [BZ #12671]
80372         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80373         some situations.
80374         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80375         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80376         add in in __libc_use_alloca calls.  Adjust callers.
80377         (glob): Use malloc in some situations.
80379         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80380         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80381         pltexit.
80383 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80385         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80386         and CLOCK_BOOTTIME_ALARM.
80388         [BZ #12782]
80389         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80390         is returned.
80392         * string/_strerror.c (__strerror_r): Print negative errors as signed
80393         numbers.
80395         [BZ #12777]
80396         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80397         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80398         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80400         * configure.in: Fix typo in redirection and correct removal of test
80401         files in two cases.
80403         [BZ #12788]
80404         * locale/setlocale.c (new_composite_name): Fix test to check for
80405         identical name of all categories.
80407         [BZ #12792]
80408         * libio/filedoalloc.c (local_isatty): New function.
80409         (_IO_file_doallocate): Use local_isatty.
80410         * stdio-common/perror.c (perror): In case a new stream is used
80411         forward the stream error.
80412         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80413         error flag.
80415 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80417         [BZ #11884]
80418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80419         alloca.
80420         * include/alloca.h (extend_alloca_account): Define.
80422         [BZ #11857]
80423         * posix/regex.h: Fix comments with documentation of user-accessible
80424         fields after compilation and describe correct free'ing of pattern
80425         after re_compile_pattern.
80426         Patch by Reuben Thomas <rrt@sc3d.org>.
80428 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80430         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80431         and -mno-altivec to prevent the compiler from using Altivec and/or
80432         VSX instructions when the corresponding registers are not available.
80434 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80436         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80438 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80440         * libio/freopen.c (freopen): Use __dup2, not dup2.
80441         * libio/freopen64.c (freopen64): Likewise.
80443 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80445         [BZ #12775]
80446         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80447         * math/Makefile (tests): Add test-powl.
80448         (CFLAGS-test-powl.c): Define.
80449         * math/test-powl.c: New file.
80451 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80453         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80455 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80457         [BZ #11837]
80458         * iconvdata/gb18030.c: Update to GB18020-2005.
80460 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80462         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80463         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80464         Patch by Aharon Robbins <arnold@skeeve.com>.
80466         [BZ #11892]
80467         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80468         on the stack.
80470         [BZ #11895]
80471         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80472         through underflows.
80474         [BZ #12766]
80475         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80476         point to strings before performing equality test for error_one_per_line
80477         mode.
80479         [BZ #11697]
80480         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80482         [BZ #11820]
80483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80484         (struct user_fpregs_struct): Avoid __uint*_t types.
80486         [BZ #6420]
80487         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80488         symbol info.  Use it instead of calling _dl_addr locally.
80489         (lock_and_info): New function.
80490         (tr_freehook): Call lock_and_info and pass symbol info as additional
80491         parameter to tr_where.
80492         (tr_mallochook): Likewise.
80493         (tr_reallochook): Likewise.
80494         (tr_memalignhook): Likewise.
80496         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80497         used and couldn't be at all thread-safe.
80499 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80501         * libio/freopen.c (freopen): Don't close old file descriptor
80502         before the new one is opened.  Instead dup the new file descriptor
80503         to the old one after the new stream is created.
80504         * libio/freopen64.c (freopen64): Likewise.
80505         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80506         * libio/fileops.c (_IO_new_file_close_it): Handle new
80507         _IO_FLAGS2_NOCLOSE flag.
80508         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80509         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80510         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80511         _IO_FLAGS2_NOCLOSE flag.
80512         * include/unistd.h: Add hidden_proto for dup3.
80513         Define __have_dup3.
80514         * io/dup3.c: Define hidden symbol.
80515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80517         [BZ #7101]
80518         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80519         when an incomplete long option is used.
80520         * posix/tst-getopt_long1.c: New file.
80521         * posix/Makefile (tests): Add tst-getopt_long1.
80523         [BZ #10138]
80524         * scripts/config.guess: Update from autoconf-2.68.
80525         * scripts/config.sub: Likewise.
80527         [BZ #10157]
80528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80529         tests into ...
80530         (has_cpuclock): ...this.  New function.
80531         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80532         macro here based on has_cpuclock code.
80534         [BZ #10149]
80535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80536         First byte (not low byte) is now always NUL.
80537         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80540         Use non-cancelable interfaces.
80542         [BZ #9809]
80543         * locale/iso-639.def: Add entry for Sorani.
80545         [BZ #11901]
80546         * include/stdlib.h: Move include protection to the right place.
80547         Define abort_msg_s.  Declare __abort_msg with it.
80548         * stdlib/abort.c (__abort_msg): Adjust type.
80549         * assert/assert.c (__assert_fail_base): New function.  Majority
80550         of code from __assert_fail.  Allocate memory for __abort_msg with
80551         mmap.
80552         (__assert_fail): Now call __assert_fail_base.
80553         * assert/assert-perr.c: Remove bulk of implementation.  Use
80554         __assert_fail_base.
80555         * include/assert.hL Declare __assert_fail_base.
80556         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80557         mmap.
80558         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80560 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80562         [BZ #11952]
80563         [BZ #12453]
80564         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80565         until all modules are registered in the DTV.
80566         * elf/Makefile: Add rules to build and run tst-tls19.
80567         * elf/tst-tls19.c: New file.
80568         * elf/tst-tls19mod1.c: New file.
80569         * elf/tst-tls19mod2.c: New file.
80570         * elf/tst-tls19mod3.c: New file.
80571         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80573         [BZ #12083]
80574         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80575         correctly.
80577         [BZ #12601]
80578         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80579         two-byte sequence errors.
80580         * iconvdata/Makefile (tests): Add bug-iconv8.
80581         * iconvdata/bug-iconv8.c: New file.
80583         [BZ #12626]
80584         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80585         buf2 definition.
80587         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80589         [BZ #12432]
80590         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80591         (dummy_getcfa): New function.
80592         (init): Get _Unwind_GetCFA address, use dummy if not found.
80593         (backtrace_helper): In recursion check, also check whether CFA changes.
80594         (__backtrace): Completely initialize arg.
80596         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80597         storing incomplete byte sequence in state object.  Avoid testing for
80598         guaranteed too small input if we know there is enough data available.
80600 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80602         * Makeconfig (+link-pie): Indent.
80603         * Rules (binaries-pie): Define if $(have-fpie) and
80604         $(build-shared).
80605         (binaries-shared): Also filter out $(binaries-pie).
80606         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80607         * nscd/Makefile (others-pie): Add nscd.
80608         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80609         ($(objpfx)nscd): Remove command override.
80610         * login/Makefile (others-pie): Add pt_chown.
80611         ($(objpfx)pt_chown): Remove command override.
80612         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80613         remove command overrides.
80615 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80617         * libio/tst_putwc.c: Fix error messages.
80619         [BZ #12724]
80620         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80621         currently writing and seek to current position when not.
80622         * libio/Makefile (tests): Add bug-fclose1.
80623         * libio/bug-fclose1.c: New file.
80625 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80627         [BZ #12511]
80628         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80629         don't set DF_1_NODELETE here.
80630         (do_lookup_x): When entering new entry test for copy relocation
80631         and if necessary set DF_1_NODELETE flag.
80632         * elf/tst-unique4.cc: New file.
80633         * elf/tst-unique4.h: New file.
80634         * elf/tst-unique4lib.cc: New file.
80635         * elf/Makefile: Add rules to build and run tst-unique4.
80636         Patch by Piotr Bury <pbury@goahead.com>.
80638 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80640         [BZ #12052]
80641         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80643         [BZ #12625]
80644         * misc/mntent_r.c (addmntent): Flush the stream after the output
80646         [BZ #12393]
80647         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80648         (is_trusted_path_normalize): Skip initial colon.  Append slash
80649         to empty buffer.  Duplicate is_trusted_path code but allow
80650         constructed patch to be prefix.
80651         (is_dst): Allow $ORIGIN followed by /.
80652         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80653         Correct testing of result of is_trusted_path_normalize
80654         (decompose_rpath): Fix warning.
80656 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80658         [BZ #11257]
80659         * grp/initgroups.c (internal_getgrouplist): When we found the service
80660         list through the initgroups entry in nsswitch.conf do not always
80661         continue on a successful lookup.  Don't always use the
80662         __nss_group_database value if it is set.
80663         * nss/nsswitch.conf (initgroups): Change action for successful db
80664         lookup to continue for compatibility.
80666 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80668         [BZ #11532]
80669         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80670         and CP774 modules.
80671         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80672         and CP774 modules.
80673         * iconvdata/tst-tables.sh: Likewise.
80674         * iconvdata/cp770.c: New file.
80675         * iconvdata/cp771.c: New file.
80676         * iconvdata/cp772.c: New file.
80677         * iconvdata/cp773.c: New file.
80678         * iconvdata/cp774.c: New file.
80679         * iconvdata/testdata/CP770: New file.
80680         * iconvdata/testdata/CP770..UTF8: New file.
80681         * iconvdata/testdata/CP771: New file.
80682         * iconvdata/testdata/CP771..UTF8: New file.
80683         * iconvdata/testdata/CP772: New file.
80684         * iconvdata/testdata/CP772..UTF8: New file.
80685         * iconvdata/testdata/CP773: New file.
80686         * iconvdata/testdata/CP773..UTF8: New file.
80687         * iconvdata/testdata/CP774: New file.
80688         * iconvdata/testdata/CP774..UTF8: New file.
80690         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80691         END CHARMAP line.
80692         * iconvdata/gen-8bit-gap.sh: Likewise.
80693         * iconvdata/gen-8bit.sh: Likewise.
80695         * locale/iso-639.def: Add ary entry.
80697         [BZ #11258]
80698         * locale/C-translit.h.in: Add U20A1 transliteration.
80700         [BZ #12178]
80701         * locale/iso-639.def: Add wae entry.
80702         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80704         [BZ #12545]
80705         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80706         for n.
80708         [BZ #12711]
80709         * locale/C-translit.h.in: Add entry for U20B9.
80710         Patch by pravin.d.s@gmail.com.
80712 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80714         [BZ #12713]
80715         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80716         ENAMETOOLONG use generic getcwd.
80717         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80718         in rtld.  Use *stat64.
80719         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80720         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80721         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80722         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80723         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80724         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80725         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80726         __fstatat64 macros.
80727         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80728         * dirent/rewinddir.c: Add libc_hidden_def.
80729         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80730         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80732         * include/dirent.h (__alloc_dir): Add flags parameter.
80733         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80734         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80735         __alloc_dir.
80736         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80737         from fdopendir if O_CLOEXEC is already set.
80739 2011-03-15  Alan Modra  <amodra@gmail.com>
80741         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80742         l_tls_firstbyte_offset non-zero.  Save padding offset in
80743         l_tls_firstbyte_offset for later use.
80744         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80745         freeing static tls block.
80747 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80749         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80750         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80751         being defined by the kernel headers.
80753 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80755         [BZ #12734]
80756         * resolv/resolv.h: Define RES_NOTLDQUERY.
80757         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80758         no-tld-query and set RES_NOTLDQUERY.
80759         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80760         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80761         modern BIND to search name as TLD unless forbidden.
80763 2011-05-07  Petr Baudis  <pasky@suse.cz>
80764             Ulrich Drepper  <drepper@gmail.com>
80766         [BZ #12393]
80767         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80768         (is_trusted_path): ...to here.
80769         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80770         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80771         using is_trusted_path_normalize() in setuid scripts.
80773 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80775         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80776         __BEGIN/__END_DECLS.
80778 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80781         NSS_STATUS_NOTFOUND if no record was found.
80783 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80785         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80786         (headers-not-in-tirpc): Remove rpc/netdb.h
80787         * resolv/netdb.h: Revert last change.
80789 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80791         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80792         circular dependency between libgcc.a and libc.a.
80794 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80796         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80797         * nis/Makefile: Don't install rpcsvc/*.
80798         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80799         instead of <rpc/types.h>.
80800         (MAXHOSTNAMELEN): Define.
80802 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80804         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80806 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80808         [BZ #12714]
80809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80810         gethostbyname4_r when IPv6 results are possible.
80812 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80814         [BZ #12723]
80815         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80816         _PC_PIPE_BUF handling.
80818 2011-04-30  Bruno Haible  <bruno@clisp.org>
80820         [BZ #12717]
80821         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80822         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80823         to 'int'.
80824         * inet/getnameinfo.c (getnameinfo): Likewise.
80826 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80828         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80829         to groups setting in database lookup.
80830         * nss/nsswitch.conf: Add initgroups entry.
80832 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80834         [BZ #12685]
80835         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80836         mode string.
80837         Patch by Eric Blake <eblake@redhat.com>.
80839 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80841         * sunrpc/Makefile (need-export-routines): Add svc_run.
80842         (routines): Remove svc_run.
80843         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80844         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80845         * sunrpc/svc_run.c (svc_run): Likewise.
80846         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80848 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80850         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80851         problem in reallocation in last patch.
80853 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80855         * sunrpc/Makefile: Move inclusion of Rules.
80857 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80859         * nss/nss_files/files-initgroups.c: New file.
80860         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80861         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80862         _nss_files_initgroups_dyn.
80864 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80866         * elf/elf.h (R_ARM_IRELATIVE): Define.
80868 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80870         * po/ru.po: Update from translation team.
80872 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80874         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80875         dependencies.
80877 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80879         [BZ #12653]
80880         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80881         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80886 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80888         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80889         differing bytes.
80890         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80894 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80896         [BZ #12420]
80897         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80898         storing it.
80899         * stdlib/bug-getcontext.c: New file.
80900         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80902 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80904         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80905         instructions into .machine "z9-109".
80906         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80907         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80909 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80911         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80912         between environment variables and auxiliary vector.
80914 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80916         * Makefile: Add rules to build linkobj/libc.so.
80917         * include/libc-symbols.h: Define libc_hidden_nolink.
80918         * include/rpc/auth.h: Mark functions which are to be hidden.
80919         * include/rpc/auth_des.h: Likewise.
80920         * include/rpc/auth_unix.h: Likewise.
80921         * include/rpc/clnt.h: Likewise.
80922         * include/rpc/des_crypt.h: Likewise.
80923         * include/rpc/key_prot.h: Likewise.
80924         * include/rpc/pmap_clnt.h: Likewise.
80925         * include/rpc/pmap_prot.h: Likewise.
80926         * include/rpc/pmap_rmt.h: Likewise.
80927         * include/rpc/rpc_msg.h: Likewise.
80928         * include/rpc/svc.h: Likewise.
80929         * include/rpc/svc_auth.h: Likewise.
80930         * include/rpc/xdr.h: Likewise.
80931         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80932         * nss/Makefile: Likewise.
80933         * sunrpc/Makefile: Don't install headers.  Build library with normal
80934         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80935         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80936         for the compat linking library.  Remove use of INTDEF/INTUSE.
80937         * sunrpc/auth_none.c: Likewise.
80938         * sunrpc/auth_unix.c: Likewise.
80939         * sunrpc/authdes_prot.c: Likewise.
80940         * sunrpc/authuxprot.c: Likewise.
80941         * sunrpc/clnt_gen.c: Likewise.
80942         * sunrpc/clnt_perr.c: Likewise.
80943         * sunrpc/clnt_raw.c: Likewise.
80944         * sunrpc/clnt_simp.c: Likewise.
80945         * sunrpc/clnt_tcp.c: Likewise.
80946         * sunrpc/clnt_udp.c: Likewise.
80947         * sunrpc/clnt_unix.c: Likewise.
80948         * sunrpc/des_crypt.c: Likewise.
80949         * sunrpc/des_soft.c: Likewise.
80950         * sunrpc/get_myaddr.c: Likewise.
80951         * sunrpc/key_call.c: Likewise.
80952         * sunrpc/key_prot.c: Likewise.
80953         * sunrpc/netname.c: Likewise.
80954         * sunrpc/pm_getmaps.c: Likewise.
80955         * sunrpc/pm_getport.c: Likewise.
80956         * sunrpc/pmap_clnt.c: Likewise.
80957         * sunrpc/pmap_prot.c: Likewise.
80958         * sunrpc/pmap_prot2.c: Likewise.
80959         * sunrpc/pmap_rmt.c: Likewise.
80960         * sunrpc/publickey.c: Likewise.
80961         * sunrpc/rpc_cmsg.c: Likewise.
80962         * sunrpc/rpc_common.c: Likewise.
80963         * sunrpc/rpc_dtable.c: Likewise.
80964         * sunrpc/rpc_prot.c: Likewise.
80965         * sunrpc/rpc_thread.c: Likewise.
80966         * sunrpc/rtime.c: Likewise.
80967         * sunrpc/svc.c: Likewise.
80968         * sunrpc/svc_auth.c: Likewise.
80969         * sunrpc/svc_authux.c: Likewise.
80970         * sunrpc/svc_raw.c: Likewise.
80971         * sunrpc/svc_run.c: Likewise.
80972         * sunrpc/svc_simple.c: Likewise.
80973         * sunrpc/svc_tcp.c: Likewise.
80974         * sunrpc/svc_udp.c: Likewise.
80975         * sunrpc/svc_unix.c: Likewise.
80976         * sunrpc/svcauth_des.c: Likewise.
80977         * sunrpc/xcrypt.c: Likewise.
80978         * sunrpc/xdr.c: Likewise.
80979         * sunrpc/xdr_array.c: Likewise.
80980         * sunrpc/xdr_float.c: Likewise.
80981         * sunrpc/xdr_intXX_t.c: Likewise.
80982         * sunrpc/xdr_mem.c: Likewise.
80983         * sunrpc/xdr_rec.c: Likewise.
80984         * sunrpc/xdr_ref.c: Likewise.
80985         * sunrpc/xdr_sizeof.c: Likewise.
80986         * sunrpc/xdr_stdio.c: Likewise.
80988 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80990         [BZ #12650]
80991         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80992         * sysdeps/ia64/dl-tls.h: Likewise.
80993         * sysdeps/powerpc/dl-tls.h: Likewise.
80994         * sysdeps/s390/dl-tls.h: Likewise.
80995         * sysdeps/sh/dl-tls.h: Likewise.
80996         * sysdeps/sparc/dl-tls.h: Likewise.
80997         * sysdeps/x86_64/dl-tls.h: Likewise.
80998         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81000 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81002         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81003         rpath element also skip the following colon.
81004         (expand_dynamic_string_token): Add is_path parameter and pass
81005         down to DL_DST_REQUIRED and _dl_dst_substitute.
81006         (decompose_rpath): Call expand_dynamic_string_token with
81007         non-zero is_path.  Ignore empty rpaths.
81008         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81009         with zero is_path.
81011 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81014         Make cancelable.
81016 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81018         [BZ #12655]
81019         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81020         Patch by Filipe David Manana <fdmanana@apache.org>.
81022 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81025         Maintain aligned stack.
81026         (CHECK_RSP): Remove unused macro.
81028 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81030         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81031         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81033 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81035         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81037         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81039 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81041         [BZ #12518]
81042         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81043         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81044         * sysdeps/x86_64/memmove.c: New file.
81045         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81046         (memcpy): Renamed to ...
81047         (__new_memcpy): This.
81048         (memcpy): Provide GLIBC_2_14 memcpy.
81049         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81050         (memcpy): Provide GLIBC_2_2_5 memcpy.
81052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81054         [BZ #12631]
81055         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81057 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81059         * misc/syncfs.c: New file.
81060         * misc/Makefile (routines): Add syncfs.
81061         * posix/unistd.h: Declare syncfs.
81062         * sysdeps/unix/syscalls.list: Add syncfs.
81064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81066         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81067         open_by_handle_at.
81068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81073         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81076 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81079         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81080         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81081         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81083         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81086         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81087         sync_file_range.c with -fexceptions.
81088         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81089         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81090         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81091         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81092         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81093         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81095         sync_file_range as cancellation point
81096         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81097         now a wrapper around __call_sync_file_range with cancellation handling.
81098         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81099         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81100         function name to __call_sync_file_range.
81101         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81102         Add call_sync_file_range.
81104 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81107         bits/timex.h.
81109 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81111         * iconv/iconv.h: Fix typo in comment.
81112         * io/fcntl.h: Likewise.
81113         * libio/stdio.h: Likewise.
81114         * posix/spawn.h: Likewise.
81115         * posix/unistd.h: Likewise.
81116         * stdlib/stdlib.h: Likewise.
81117         * time/time.h: Likewise.
81118         * wcsmbs/wchar.h: Likewise.
81120         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81121         open_by_handle): Add.
81122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81123         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81124         Augment a few comments.
81125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81126         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81130         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81131         open_by_handle.
81133         * io/fcntl.h (AT_EMPTY_PATH): Define.
81135 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81137         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81138         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81139         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81140         to...
81141         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81142         * Versions.def: Add GLIBC_2.14.
81143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81144         Export.
81146 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81148         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81149         round counter.
81150         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81152 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81154         [BZ #12597]
81155         * string/test-strncmp.c (do_page_test): New function.
81156         (check2): Likewise.
81157         (test_main): Call check2.
81158         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81160 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81162         [BZ #12587]
81163         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81164         Handle cache information in CPU leaf 4.
81165         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81167 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81169         [BZ #12583]
81170         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81171         character representation.
81172         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81174 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81176         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81177         END(__isnan) to END(__isnanf) to match function entry point/label
81178         EALIGN(__isnanf,...).
81180 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81182         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81184 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81186         [BZ #12510]
81187         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81188         copy from the symbol referenced in the relocation to initialize the
81189         used variable.
81190         Patch by Piotr Bury <pbury@goahead.com>.
81191         * elf/Makefile: Add rules to build and tst-unique3.
81192         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81193         * elf/tst-unique3.cc: New file.
81194         * elf/tst-unique3.h: New file.
81195         * elf/tst-unique3lib.cc: New file.
81196         * elf/tst-unique3lib2.cc: New file.
81198         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81200 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81202         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81203         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81204         to _start.
81206 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81208         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81209         to-be-loaded object along a path to loader is ld.so.
81211 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81212             Ulrich Drepper  <drepper@gmail.com>
81214         * sysdeps/x86_64/memset.S: After aligning destination, code
81215         branches to different locations depending on the value of
81216         misalignment, when multiarch is enabled. Fix this.
81218 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81220         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81221         Set _x86_64_preferred_memory_instruction for AMD processsors.
81222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81223         Set bit_Prefer_SSE_for_memop for AMD processors.
81225 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81227         * libio/fmemopen.c (fmemopen): Optimize a bit.
81229 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81231         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81233 2011-03-03  Roland McGrath  <roland@redhat.com>
81235         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81237 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81239         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81240         __bzero_ultra1 instead of __memset_ultra1.
81242 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81243             Ulrich Drepper  <drepper@gmail.com>
81245         [BZ #12509]
81246         * include/link.h (struct link_map): Add l_orig_initfini.
81247         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81248         returning unsuccessfully.
81249         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81250         close of a file loaded at startup, restore the original l_initfini
81251         list.
81252         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81253         list, store the pointer.
81254         * elf/Makefile ($(objpfx)noload-mem): New rule.
81255         (noload-ENV): Define.
81256         (tests): Add $(objpfx)noload-mem.
81257         * elf/noload.c: Include <memcheck.h>.
81258         (main): Call mtrace.  Close all opened handles.
81260 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81262         [BZ #12454]
81263         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81264         dependencies are missing.
81266 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81268         Fix __if_freereq crash: Unlike the generic version which uses free,
81269         Hurd needs munmap.
81270         * sysdeps/mach/hurd/ifreq.h: New file.
81272 2011-01-27  Petr Baudis  <pasky@suse.cz>
81273             Ulrich Drepper  <drepper@gmail.com>
81275         [BZ 12445]#
81276         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81277         to extend_alloca().
81278         * stdio-common/bug23.c: New file.
81279         * stdio-common/Makefile (tests): Add bug23.
81281 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81282             Ulrich Drepper  <drepper@gmail.com>
81284         [BZ #12489]
81285         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81286         before performing relro protection.  At old place add assertion
81287         to make sure nothing changed.
81289 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81290             Glauber de Oliveira Costa  <glommer@gmail.com>
81292         * elf/elf.h: Add new ARM TLS relocs.
81294 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81297         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81298         cast from r3.
81299         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81300         'tests' variable.
81301         * sysdeps/wordsize-64/tst-writev.c: New file.
81303 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81305         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81306         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81307         insns in _dl_start to prevent a TOC reference before relocs are
81308         resolved.
81310 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81312         [BZ #12469]
81313         * Makeconfig: Remove RANLIB definition.
81314         * Makerules: Don't use RANLIB.
81315         * aclocal.m4: Remove ranlib test.
81316         * configure.in: No need to check for ranlib.
81317         * elf/rtld-Rules: Don't use RANLIB.
81319 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81321         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81322         protection macro.
81323         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81324         inclusion protection macro.
81326         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81327         SIGRTMIN and SIGRTMAX and print information in that case only when
81328         SIGRTMIN is defined.
81330 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81332         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81333         arginfo fn returning -1.
81335         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81336         and thousands string is zero terminated.
81338 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81341         sysdeps/unix/sysv/linux/bits/socket.h.
81343 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81345         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81346         (__CPU_COUNT): Remove old macros.
81347         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81348         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81349         (__CPU_ALLOC, __CPU_FREE): Add macros.
81350         (__sched_cpualloc, __sched_cpufree): Add declarations.
81352 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81354         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81355         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81356         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81357         (readdhstai): Return value of addhstaiX call.
81358         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81359         (addgrbyX): Return value returned by cache_addgr.
81360         (readdgrbyname): Return value returned by addgrbyX.
81361         (readdgrbygid): Likewise.
81362         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81363         (addpwbyX): Return value returned by cache_addpw.
81364         (readdpwbyname): Return value returned by addhstbyX.
81365         (readdpwbyuid): Likewise.
81366         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81367         (addservbyX): Return value returned by cache_addserv.
81368         (readdservbyname): Return value returned by addservbyX:
81369         (readdservbyport): Likewise.
81370         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81371         (addhstbyX): Return value returned by cache_addhst.
81372         (readdhstbyname): Return value returned by addhstbyX.
81373         (readdhstbyaddr): Likewise.
81374         (readdhstbynamev6): Likewise.
81375         (readdhstbyaddrv6): Likewise.
81376         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81377         (readdinitgroups): Return value returned by addinitgroupsX.
81378         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81379         (prune_cache): Keep track of timeout value of re-added entries.
81380         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81381         * nscd/nscd.h: Adjust prototypes of readd* functions.
81383 2011-02-04  Roland McGrath  <roland@redhat.com>
81385         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81386         (nis_stats): Likewise.
81387         * nis/nis_modify.c (nis_modify): Likewise.
81388         * nis/nis_remove.c (nis_remove): Likewise.
81389         * nis/nis_add.c (nis_add): Likewise.
81391         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81393         * posix/fnmatch_loop.c: Add some consts.
81395         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81397 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81399         [BZ #12460]
81400         * config.make.in (config-cflags-novzeroupper): Define.
81401         * configure.in: Substitute libc_cv_cc_novzeroupper.
81402         * elf/Makefile (AVX-CFLAGS): Define.
81403         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81404         (CFLAGS-tst-auditmod4a.c): Likewise.
81405         (CFLAGS-tst-auditmod4b.c): Likewise.
81406         (CFLAGS-tst-auditmod6b.c): Likewise.
81407         (CFLAGS-tst-auditmod6c.c): Likewise.
81408         (CFLAGS-tst-auditmod7b.c): Likewise.
81409         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81411 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81413         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81414         function to the callback.
81415         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81417 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81419         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81420         of errno.
81422 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81424         [BZ #11724]
81425         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81426         of constructors.
81427         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81428         of destructors.
81429         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81431         [BZ #11724]
81432         * elf/Makefile: Add rules to build and run new test.
81433         * elf/tst-initorder.c: New file.
81434         * elf/tst-initorder.exp: New file.
81435         * elf/tst-initordera1.c: New file.
81436         * elf/tst-initordera2.c: New file.
81437         * elf/tst-initordera3.c: New file.
81438         * elf/tst-initordera4.c: New file.
81439         * elf/tst-initorderb1.c: New file.
81440         * elf/tst-initorderb2.c: New file.
81441         * elf/tst-order-a1.c: New file.
81442         * elf/tst-order-a2.c: New file.
81443         * elf/tst-order-a3.c: New file.
81444         * elf/tst-order-a4.c: New file.
81445         * elf/tst-order-b1.c: New file.
81446         * elf/tst-order-b2.c: New file.
81447         * elf/tst-order-main.c: New file.
81448         New test case by George Gensure <werkt0@gmail.com>.
81450 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81453         decoding ACE if AI_CANONIDN.
81455 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81457         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81459 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81461         * version.h (RELEASE): Bump for 2.13 release.
81462         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81464         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81466         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81467         MADV_NOHUGEPAGE.
81468         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81473         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81475         * posix/getconf.c: Update copyright year.
81476         * catgets/gencat.c: Likewise.
81477         * csu/version.c: Likewise.
81478         * debug/catchsegv.sh: Likewise.
81479         * debug/xtrace.sh: Likewise.
81480         * elf/ldconfig.c: Likewise.
81481         * elf/ldd.bash.in: Likewise.
81482         * elf/sprof.c (print_version): Likewise.
81483         * iconv/iconv_prog.c: Likewise.
81484         * iconv/iconvconfig.c: Likewise.
81485         * locale/programs/locale.c: Likewise.
81486         * locale/programs/localedef.c: Likewise.
81487         * malloc/memusage.sh: Likewise.
81488         * malloc/mtrace.pl: Likewise.
81489         * nscd/nscd.c (print_version): Likewise.
81490         * nss/getent.c: Likewise.
81492         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81493         PF_CAIF, and PF_ALG.
81494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81496 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81498         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81499         (modules-names): Use them.
81500         (ifunc-test-modules, ifunc-pie-tests): Define.
81501         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81502         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81503         (test-extras): Likewise.
81504         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81505         $(compile-command.c).
81506         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81507         (all-built-dso): Define.
81508         (check-textrel.out, check-execstack.out): Depend on it.
81510         * configure.in: Don't override --enable-multi-arch.
81512 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81514         [BZ #6812]
81515         * nscd/hstcache.c (tryagain): Define.
81516         (cache_addhst): Return tryagain not notfound for temporary errors.
81517         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81518         failed.
81520 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81522         [BZ #10563]
81523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81524         to make the syscall.
81525         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81527         [BZ #12378]
81528         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81529         and fall back to matching as normal character if the string ends before
81530         the matching ']' is found.  This is what POSIX requires.
81531         * posix/testfnm.c: Adjust test result.
81532         * posix/globtest.sh: Adjust test result.  Add new test.
81533         * posix/tst-fnmatch.input: Likewise.
81534         * posix/tst-fnmatch2.c: Add new test.
81536 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81538         * elf/Makefile (check-execstack): Revert last change.  Depend on
81539         check-execstack.h.
81540         (check-execstack.h): New target.
81541         (generated): Add check-execstack.h.
81542         * elf/check-execstack.c: Include "check-execstack.h".
81543         (main): Revert last change.
81544         (handle_file): Return zero if GNU_STACK is absent and
81545         DEFAULT_STACK_PERMS doesn't include PF_X.
81547 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81549         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81550         in child fails because the descriptor is already closed.
81551         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81552         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81553         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81555         [BZ #12397]
81556         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81557         syscall.
81559         [BZ #10484]
81560         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81561         temporary buffer used to handle multi lookups locally.
81562         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81564 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81566         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81567         loader is ld.so.
81569 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81571         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81572         alignment for SSE2.
81574 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81576         [BZ #12394]
81577         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81578         characters.  When rounding increased number of integer digits recompute
81579         number of groups.
81580         * stdio-common/tst-grouping.c: New file.
81581         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81583 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81585         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81586         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81588         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81589         void.
81590         * bits/select.h: Likewise.
81592 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81594         * po/ja.po: Update from translation team.
81596 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81598         [BZ #11155]
81599         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81600         implementation just like for lxstat, fxstatat, et al.
81602 2010-12-27  Jim Meyering  <meyering@redhat.com>
81604         [BZ #12348]
81605         * posix/regexec.c (build_trtable): Return failure indication upon
81606         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81608 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81610         [BZ #12201]
81611         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81612         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81613         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81614         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81616         [BZ #12207]
81617         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81619         [BZ #12204]
81620         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81621         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81623 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81625         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81626         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81627         script has SORT_BY_INIT_PRIORITY.
81628         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81629         NO_CTORS_DTORS_SECTIONS is defined.
81630         * elf/soinit.c: Likewise.
81631         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81632         NO_CTORS_DTORS_SECTIONS is defined.
81633         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81634         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81635         * sysdeps/sh/init-first.c: Likewise.
81636         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81638 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81640         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81641         always use the slow path.
81643 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81645         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81646         similar rule which adds the sysdep directories to the header search in
81647         order to pick up the correct platform stackinfo.h.
81648         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81649         perform test if it is, otherwise return successfully without testing.
81650         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81651         DEFAULT_STACK_PERMS define in stackinfo.h.
81652         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81653         defined in stackinfo.h.
81654         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81655         DEFAULT_STACK_PERMS defined in stackinfo.h.
81656         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81657         * sysdeps/ia64/stackinfo.h: Likewise.
81658         * sysdeps/s390/stackinfo.h: Likewise.
81659         * sysdeps/sh/stackinfo.h: Likewise.
81660         * sysdeps/sparc/stackinfo.h: Likewise.
81661         * sysdeps/x86_64/stackinfo.h: Likewise.
81662         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81663         PF_X for powerpc64.  Retain PF_X for powerpc32.
81665 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81667         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81668         accurately.
81669         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81670         GETDENTS_64BIT_ALIGNED.
81672 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81674         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81676 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81678         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81679         _GNU_SOURCE.
81681         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81682         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81683         Remove __restrict.
81684         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81685         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81687 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81689         [BZ #11655]
81690         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81691         are initialized.
81693 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81695         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81697 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81699         * po/it.po: Update from translation team.
81701 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81704         unused codes.
81706 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81708         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81710 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81712         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81713         specially.
81714         (gaih_getanswer_slice): Likewise.
81716 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81720 2010-05-31  Petr Baudis  <pasky@suse.cz>
81722         [BZ #11149]
81723         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81724         silently even in the chroot mode.
81726 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81728         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81729         last patch a bit.  Pretty printing
81731 2010-05-31  Petr Baudis <pasky@suse.cz>
81733         [BZ #10085]
81734         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81735         initialization of skip_initgroups_dyn.
81737 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81739         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81740         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81742 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81744         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81746 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81748         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81749         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81750         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81751         ($(objpfx)tst-fnmatch-mem): New rule.
81752         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81753         * posix/tst-fnmatch.c (main): Call mtrace.
81755 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81758         Support Intel processor model 6 and model 0x2c.
81760 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81763           signed comparison.
81765 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81767         [BZ #12205]
81768         * string/test-strncasecmp.c (check_result): New function.
81769         (do_one_test): Use it.
81770         (check1): New function.
81771         (test_main): Use it.
81772         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81773         Support strcasecmp and strncasecmp.
81775 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81777         [BZ #12194]
81778         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81781 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81783         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81784         IFUNC support.
81785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81786         memset-x86-64.
81787         * sysdeps/x86_64/multiarch/bzero.S: New file.
81788         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81789         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81790         * sysdeps/x86_64/multiarch/memset.S: New file.
81791         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81793         Set bit_Prefer_SSE_for_memop for Intel processors.
81794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81795         Define.
81796         (index_Prefer_SSE_for_memop): Define.
81797         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81799 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81801         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81802         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81804 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81806         [BZ #12191]
81807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81808         (__x86_64_raw_data_cache_size_half): Likewise.
81809         (__x86_64_raw_shared_cache_size): Likewise.
81810         (__x86_64_raw_shared_cache_size_half): Likewise.
81812         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81813         (__x86_64_raw_data_cache_size_half): Likewise.
81814         (__x86_64_raw_shared_cache_size): Likewise.
81815         (__x86_64_raw_shared_cache_size_half): Likewise.
81816         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81817         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81818         and __x86_64_raw_shared_cache_size_half.  Round
81819         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81820         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81821         to multiple of 256 bytes.
81823 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81825         [BZ #12167]
81826         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81827         of inacessible symlinks.  Verify result of symlink before returning it.
81828         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81829         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81831 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81833         * math/math.h (isinf): Fix typo in comment.
81835 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81837         * po/da.po: Update from translation team.
81839 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81841         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81842         is added to the list.
81844 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81845             Ulrich Drepper  <drepper@gmail.com>
81847         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81848         the global list here.  Move code to...
81849         (_dl_add_to_namespace_list): ...here.  New function.
81850         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81851         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81852         * elf/dl-load.c (lose): Don't remove the element from the list.
81853         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81854         (_dl_map_object): Likewise.
81856 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81858         [BZ #12159]
81859         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81860         into all bytes of SSE register.
81861         Patch by Richard Li <richardpku@gmail.com>.
81863 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81865         [BZ #12140]
81866         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81867         perturbing.
81869 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81871         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81872         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81873         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81874         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81876         submachine.
81877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81879 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81881         * include/dlfcn.h (__RTLD_SECURE): Define.
81882         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81883         mode & __RTLD_SECURE instead.
81884         (open_path): Rename preloaded parameter to secure.
81885         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81886         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81887         * elf/dl-deps.c (openaux): Likewise.
81888         * elf/rtld.c (struct map_args): Remove is_preloaded.
81889         (map_doit): Don't use it.
81890         (dl_main): Likewise.
81891         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81892         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81894 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81896         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81897         (sysd-rules-targets): Remove duplicates.
81898         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81899         rtld-%.$o dependency.
81901 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81903         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81904         _dl_map_object do it.
81906 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81908         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81909         fast fma builtins, define the macros in the C99 standard.
81910         (FP_FAST_FMAF): Likewise.
81911         (FP_FAST_FMAL): Likewise.
81912         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81914         * bits/mathdef.h: Update copyright year.
81915         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81917 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81919         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81920         builtins, define the macros in the C99 standard.
81921         (FP_FAST_FMAF): Likewise.
81922         (FP_FAST_FMAL): Likewise.
81923         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81924         multiply/add.
81925         (FP_FAST_FMAF): Likewise.
81927 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81929         [BZ #3268]
81930         * math/libm-test.inc (fma_test): Some new testcases.
81931         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81933         y and infinite z.  Do multiplication by C already in long double.
81934         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81936         y and infinite z.  Do bitwise or of inexact bit into u.d.
81937         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81938         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81939         * sysdeps/i386/fpu/s_fma.S: Removed.
81940         * sysdeps/i386/fpu/s_fmal.S: Removed.
81942 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81944         [BZ #3268]
81945         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81947         computation is not scheduled after fetestexcept.  Fix value
81948         of minimum denormal long double.
81950 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81952         [BZ #3268]
81953         * math/libm-test.inc (fma_test): Add some more tests.
81954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81955         correctly.
81957 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81959         * scripts/data/localplt-s390-linux-gnu.data: New file.
81960         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81962 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81964         [BZ #3268]
81965         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81966         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81967         instead of dbl-64.
81968         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81969         inlines.
81970         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81972         if one of x and y is very large and the other is subnormal.
81973         * sysdeps/s390/fpu/s_fmaf.c: New file.
81974         * sysdeps/s390/fpu/s_fma.c: New file.
81975         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81976         * sysdeps/powerpc/fpu/s_fma.S: New file.
81977         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81978         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81979         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81981 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81983         [BZ #3268]
81984         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81985         fma tests.
81986         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81987         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81988         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81989         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81990         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81991         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81992         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81994 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81996         [BZ #12078]
81997         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81998         * posix/bug-regex31.input: Add test case.
82000 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82002         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82003         * posix/bug-regex31.input: New file.
82005         [BZ #12078]
82006         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82007         (parse_sub_exp): Fix last change, use postorder.
82009         * posix/bug-regex31.c: New file.
82010         * posix/Makefile: Add rules to build and run bug-regex31.
82012         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82014         [BZ #12078]
82015         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82017         [BZ #12108]
82018         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82019         to have entries in sys_siglist.
82021         [BZ #12093]
82022         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82023         be NULL.
82025 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82027         [BZ #3268]
82028         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82029         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82030         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82031         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82032         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82033         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82034         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82035         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82036         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82037         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82038         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82039         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82040         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82041         * math/ftestexcept.c (fetestexcept): Likewise.
82042         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82043         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82044         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82045         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82046         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82047         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82048         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82050 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82052         [BZ #12107]
82053         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82054         newline.
82056 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82058         * string/bug-strstr1.c: New file.
82059         * string/Makefile: Add rules to build and run bug-strstr1.
82061 2010-10-05  Eric Blake  <eblake@redhat.com>
82063         [BZ #12092]
82064         * string/str-two-way.h (two_way_long_needle): Always clear memory
82065         when skipping input due to the shift table.
82067 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82069         [BZ #12005]
82070         * malloc/mcheck.c: Handle large requests.
82072         [BZ #12077]
82073         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82074         for strncmp and strncasecmp.
82075         * string/stratcliff.c: Add tests for strcmp and strncmp.
82076         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82078 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82080         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82081         __set_fpscr.
82083 2010-09-30  Andreas Jaeger  <aj@suse.de>
82085         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82086         (CGROUP_SUPER_MAGIC): Define.
82087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82088         Handle btrfs and cgroup file systems.
82089         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82090         Likewise.
82092 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82094         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82095         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82097 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82099         [BZ #12067]
82100         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82101         trying to locate the ELF header.
82103 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82105         [BZ #11611]
82106         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82107         Mask out sign-bit copies when constructing f_fsid.
82109 2010-09-24  Petr Baudis <pasky@suse.cz>
82111         * debug/stack_chk_fail_local.c: Add missing licence exception.
82112         * debug/warning-nop.c: Likewise.
82114 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82117         implementing getdents64 using getdents syscall, set d_type if
82118         __ASSUME_GETDENTS32_D_TYPE.
82120 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82122         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82123         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82125 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82127         [BZ #12037]
82128         * posix/unistd.h: Undo change of feature selection for ftruncate from
82129         2010-01-11.
82131 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82133         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82134         detection.
82136 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82138         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82139         fanotify_mark.
82140         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82142 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82144         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82145         variables after CHECK_SP call.
82146         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82148 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82149             Ulrich Drepper  <drepper@redhat.com>
82151         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82152         re-relocationg ld.so.
82153         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82154         _dl_init_paths call.
82155         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82156         here anymore.
82158 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82160         * resolv/res_init.c (__res_vinit): Count the default server we added.
82162 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82163             Ulrich Drepper  <drepper@redhat.com>
82165         [BZ #11968]
82166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82167         (____longjmp_chk): Use %ebx for saving value across system call.
82168         Add unwind info.
82170 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82172         * manual/Makefile: Don't mix pattern rules with normal rules.
82174 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82176         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82177         operation.
82178         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82179         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82180         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82181         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82183         Likewise.
82185 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82187         [BZ #11979]
82188         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82189         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82191 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82193         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82194         * sysdeps/x86_64/addmul_1.S: Likewise.
82195         * sysdeps/x86_64/lshift.S: Likewise.
82196         * sysdeps/x86_64/mul_1.S: Likewise.
82197         * sysdeps/x86_64/rshift.S: Likewise.
82198         * sysdeps/x86_64/sub_n.S: Likewise.
82199         * sysdeps/x86_64/submul_1.S: Likewise.
82201 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82203         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82204         Define __sched_param instead of SCHED_* and sched_param when
82205         <bits/sched.h> is included with __need_schedparam defined.
82206         * bits/sched.h [__need_schedparam]
82207         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82208         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82209         (__defined_schedparam): Define to 1.
82210         (__sched_param): New structure, identical to sched_param.
82211         (__need_schedparam): Undefine.
82213 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82215         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82216         (epoll_create1): Declare.
82218         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82220 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82222         [BZ #7066]
82223         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82224         shifting retval into place.
82226 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82228         * nis/rpcsvc/nis.h: Update copyright notice.
82229         * nis/rpcsvc/nis.x: Likewise.
82230         * nis/rpcsvc/nis_callback.h: Likewise.
82231         * nis/rpcsvc/nis_callback.x: Likewise.
82232         * nis/rpcsvc/nis_object.x: Likewise.
82233         * nis/rpcsvc/nis_tags.h: Likewise.
82234         * nis/rpcsvc/yp.h: Likewise.
82235         * nis/rpcsvc/yp.x: Likewise.
82236         * nis/rpcsvc/ypupd.h: Likewise.
82237         * nis/yp_xdr.c: Likewise.
82238         * nis/ypupdate_xdr.c: Likewise.
82240         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82241         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82242         (pmap_getport): Use __libc_rpc_getport.
82243         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82244         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82245         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82247 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82250         fanotify_mark.
82252 2010-08-27  Roland McGrath  <roland@redhat.com>
82254         * sysdeps/i386/i686/multiarch/Makefile
82255         (CFLAGS-varshift.c): New variable.
82257 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82259         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82260         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82264         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82266 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82268         * sysdeps/x86_64/strlen.S: Unroll the loop.
82269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82270         strlen-sse2 strlen-sse2-bsf.
82271         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82272         __strlen_no_bsf if bit_Slow_BSF is set.
82273         (__strlen_sse42): Removed.
82274         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82275         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82277 2010-08-25  Roland McGrath  <roland@redhat.com>
82279         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82280         * sysdeps/x86_64/multiarch/varshift.c: New file.
82281         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82282         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82283         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82286 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82289         strlen-sse2 strlen-sse2-bsf.
82290         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82291         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82292         (__strlen_sse2): Removed.
82293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82296         bit_Slow_BSF for Atom.
82297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82298         (index_Slow_BSF): Define.
82299         (HAS_SLOW_BSF): Define.
82301 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82303         [BZ #10851]
82304         * resolv/res_init.c (__res_vinit): When no server address at all
82305         is given default to loopback.
82307 2010-08-24  Roland McGrath  <roland@redhat.com>
82309         * configure.in: Remove config-name.h generation.
82310         * configure: Regenerated.
82311         * config-name.in: File removed.
82312         * scripts/config-uname.sh: New file.
82313         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82314         ($(objdir)config-name.h): New target.
82316         * sunrpc/rpc_parse.h: Avoid nested comment.
82318 2010-08-24  Richard Henderson  <rth@redhat.com>
82319             Ulrich Drepper  <drepper@redhat.com>
82320             H.J. Lu  <hongjiu.lu@intel.com>
82322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82324         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82325         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82326         _mm_alignr_epi8 with _mm_loadu_si128.
82327         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82328         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82329         (__m128i_shift_right): Removed.
82330         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82331         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82332         * sysdeps/x86_64/multiarch/varshift.h: New file.
82333         * sysdeps/x86_64/multiarch/varshift.S: New file.
82335 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82337         * configure.in: Move assembler checks to before sysdep dir checking.
82339 2010-08-20  Petr Baudis  <pasky@suse.cz>
82341         * LICENSES: Sync the sunrpc license.
82343 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82345         * sunrpc/auth_des.c: Update copyright notice once again.
82346         * sunrpc/auth_none.c: Likewise.
82347         * sunrpc/auth_unix.c: Likewise.
82348         * sunrpc/authdes_prot.c: Likewise.
82349         * sunrpc/authuxprot.c: Likewise.
82350         * sunrpc/bindrsvprt.c: Likewise.
82351         * sunrpc/clnt_gen.c: Likewise.
82352         * sunrpc/clnt_perr.c: Likewise.
82353         * sunrpc/clnt_raw.c: Likewise.
82354         * sunrpc/clnt_simp.c: Likewise.
82355         * sunrpc/clnt_tcp.c: Likewise.
82356         * sunrpc/clnt_udp.c: Likewise.
82357         * sunrpc/clnt_unix.c: Likewise.
82358         * sunrpc/des_crypt.c: Likewise.
82359         * sunrpc/des_soft.c: Likewise.
82360         * sunrpc/get_myaddr.c: Likewise.
82361         * sunrpc/getrpcport.c: Likewise.
82362         * sunrpc/key_call.c: Likewise.
82363         * sunrpc/key_prot.c: Likewise.
82364         * sunrpc/openchild.c: Likewise.
82365         * sunrpc/pm_getmaps.c: Likewise.
82366         * sunrpc/pm_getport.c: Likewise.
82367         * sunrpc/pmap_clnt.c: Likewise.
82368         * sunrpc/pmap_prot.c: Likewise.
82369         * sunrpc/pmap_prot2.c: Likewise.
82370         * sunrpc/pmap_rmt.c: Likewise.
82371         * sunrpc/rpc/auth.h: Likewise.
82372         * sunrpc/rpc/auth_unix.h: Likewise.
82373         * sunrpc/rpc/clnt.h: Likewise.
82374         * sunrpc/rpc/des_crypt.h: Likewise.
82375         * sunrpc/rpc/key_prot.h: Likewise.
82376         * sunrpc/rpc/netdb.h: Likewise.
82377         * sunrpc/rpc/pmap_clnt.h: Likewise.
82378         * sunrpc/rpc/pmap_prot.h: Likewise.
82379         * sunrpc/rpc/pmap_rmt.h: Likewise.
82380         * sunrpc/rpc/rpc.h: Likewise.
82381         * sunrpc/rpc/rpc_des.h: Likewise.
82382         * sunrpc/rpc/rpc_msg.h: Likewise.
82383         * sunrpc/rpc/svc.h: Likewise.
82384         * sunrpc/rpc/svc_auth.h: Likewise.
82385         * sunrpc/rpc/types.h: Likewise.
82386         * sunrpc/rpc/xdr.h: Likewise.
82387         * sunrpc/rpc_clntout.c: Likewise.
82388         * sunrpc/rpc_cmsg.c: Likewise.
82389         * sunrpc/rpc_common.c: Likewise.
82390         * sunrpc/rpc_cout.c: Likewise.
82391         * sunrpc/rpc_dtable.c: Likewise.
82392         * sunrpc/rpc_hout.c: Likewise.
82393         * sunrpc/rpc_main.c: Likewise.
82394         * sunrpc/rpc_parse.c: Likewise.
82395         * sunrpc/rpc_parse.h: Likewise.
82396         * sunrpc/rpc_prot.c: Likewise.
82397         * sunrpc/rpc_sample.c: Likewise.
82398         * sunrpc/rpc_scan.c: Likewise.
82399         * sunrpc/rpc_scan.h: Likewise.
82400         * sunrpc/rpc_svcout.c: Likewise.
82401         * sunrpc/rpc_tblout.c: Likewise.
82402         * sunrpc/rpc_util.c: Likewise.
82403         * sunrpc/rpc_util.h: Likewise.
82404         * sunrpc/rpcinfo.c: Likewise.
82405         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82406         * sunrpc/rpcsvc/key_prot.x: Likewise.
82407         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82408         * sunrpc/rpcsvc/mount.x: Likewise.
82409         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82410         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82411         * sunrpc/rpcsvc/rex.x: Likewise.
82412         * sunrpc/rpcsvc/rstat.x: Likewise.
82413         * sunrpc/rpcsvc/rusers.x: Likewise.
82414         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82415         * sunrpc/rpcsvc/spray.x: Likewise.
82416         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82417         * sunrpc/rtime.c: Likewise.
82418         * sunrpc/svc.c: Likewise.
82419         * sunrpc/svc_auth.c: Likewise.
82420         * sunrpc/svc_authux.c: Likewise.
82421         * sunrpc/svc_raw.c: Likewise.
82422         * sunrpc/svc_run.c: Likewise.
82423         * sunrpc/svc_simple.c: Likewise.
82424         * sunrpc/svc_tcp.c: Likewise.
82425         * sunrpc/svc_udp.c: Likewise.
82426         * sunrpc/svc_unix.c: Likewise.
82427         * sunrpc/svcauth_des.c: Likewise.
82428         * sunrpc/xcrypt.c: Likewise.
82429         * sunrpc/xdr.c: Likewise.
82430         * sunrpc/xdr_array.c: Likewise.
82431         * sunrpc/xdr_float.c: Likewise.
82432         * sunrpc/xdr_mem.c: Likewise.
82433         * sunrpc/xdr_rec.c: Likewise.
82434         * sunrpc/xdr_ref.c: Likewise.
82435         * sunrpc/xdr_sizeof.c: Likewise.
82436         * sunrpc/xdr_stdio.c: Likewise.
82438         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82439         handling.
82441 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82443         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82445 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82447         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82448         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82449         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82450         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82451         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82452         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82453         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82454         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82456         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82457         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82458         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82459         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82460         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82462 2010-07-26  Anton Blanchard  <anton@samba.org>
82464         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82465         * malloc/arena.c (heap_trim): Likewise.
82467 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82469         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82470         here.  Not...
82471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82472         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82474 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82476         * sysdeps/i386/elf/Makefile: New file.
82478 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82480         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82481         from fanotify_init.
82482         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82485 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82487         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82488         of strncasecmp_l.
82489         * sysdeps/multiarch/strcmp.S: Likewise.
82491 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82493         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82494         strncase_l-nonascii.
82495         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82496         Add strncase_l-ssse3.
82497         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82498         * sysdeps/x86_64/strcmp.S: Likewise.
82499         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82500         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82501         * sysdeps/x86_64/strncase.S: New file.
82502         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82503         * sysdeps/x86_64/strncase_l.S: New file.
82504         * string/Makefile (strop-tests): Add strncasecmp.
82505         * string/test-strncasecmp.c: New file.
82507         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82508         warning.
82510         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82511         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82513 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82515         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82517 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82519         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82521         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82523 2010-05-01  Alan Modra  <amodra@gmail.com>
82525         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82526         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82527         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82528         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82529         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82530         tidying.  Don't tail-call __sigjmp_save for static lib.
82531         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82532         save location.
82533         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82534         (CALL_MCOUNT): Add eh info, and nop after bl.
82535         (TAIL_CALL_SYSCALL_ERROR): New macro.
82536         (PSEUDO_RET): Use it.
82537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82538         Correct save location of integer regs and cr.
82539         (_dl_profile_resolve): Correct cr save location.  Delete nops
82540         after bl when SHARED.  Reduce cfi size a little by better
82541         placement of cfi directives.
82542         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82543         make a stack frame.  Instead use parm save area as a temp.
82544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82545         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82547         Don't make a stack frame for parent, use parm save area.
82548         Increase child stack frame to 112 bytes.  Don't save unused reg,
82549         and adjust reg usage.  Set up cfi on error recovery and
82550         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82552         (__makecontext): Add dummy nop after jump to exit.
82553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82554         Use correct parm save area and cr save, reduce stack frame.
82555         Correct cfi for possible PSEUDO_RET frame setup.
82556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82557         Branch to local label emitted by PSEUDO_RET rather than
82558         __syscall_error.
82560 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82562         [BZ #11904]
82563         * locale/programs/locale.c (print_assignment): New function.
82564         (show_locale_vars): Use it.
82566 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82568         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82569         field.
82570         (struct statfs64): Likewise.
82571         (_STATFS_F_FLAGS): Define.
82572         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82573         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82574         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82575         (ST_VALID): Define locally.
82576         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82577         __statvfs_getflags, use the provided value.
82578         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82579         __ASSUME_STATFS_F_FLAGS.
82581         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82584         Add sys/fanotify.h.
82585         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82586         fanotify_mask for GLIBC_2.13.
82587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82588         fanotify_init and fanotify_mark.
82589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82590         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82592         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82593         Add prlimit.
82594         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82595         prlimit64 for GLIBC_2.13.
82596         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82597         prlimit64.
82598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82599         syscall.
82600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82602         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82605         add prlimit alias.
82606         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82608         [BZ #11903]
82609         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82610         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82612         * nss/Makefile: Add rules to build and run tst-nss-test1.
82613         * shlib-versions: Add entry for libnss_test1.
82614         * nss/nss_test1.c: New file.
82615         * nss/tst-nss-test1.c: New file.
82617         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82618         (__nss_configure_lookup): Set appropriate entry in
82619         __nss_configure_lookup to true.
82620         * nss/nsswitch.h: Define enum with indeces of databases in
82621         databases and __nss_database_custom arrays.  Declare
82622         __nss_database_custom.
82623         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82624         to avoid using nscd when custom rules are installed.
82625         * nss/getXXbyYY_r.c: Likewise.
82626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82628         * nss/nss_files/files-parse.c: Whitespace fixes.
82630 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82632         [BZ #11883]
82633         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82634         * posix/fnmatch_loop.c: Likewise.
82636 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82638         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82639         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82640         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82641         * Versions.def [GLIBC_2.13]: Add.
82643 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82645         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82646         Also fail if tpwd after pwuid call is NULL.
82648 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82650         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82651         when converting to ms.
82653 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82655         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82656         EOPNOTSUPP errors with ENOTTY.
82657         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82658         EOPNOTSUPP errors with ENOTTY.
82660 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82662         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82663         Add strcasecmp_l-ssse3.
82664         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82665         strcasecmp.
82666         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82667         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82668         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82670 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82672         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82674         * string/Makefile (strop-tests): Add strcasecmp.
82675         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82676         strcasecmp_l-nonascii.
82677         (gen-as-const-headers): Add locale-defines.sym.
82678         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82679         * sysdeps/x86_64/strcasecmp.S: New file.
82680         * sysdeps/x86_64/strcasecmp_l.S: New file.
82681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82682         * sysdeps/x86_64/locale-defines.sym: New file.
82683         * string/test-strcasecmp.c: New file.
82685         * string/test-strcasestr.c: Test both ends of the range of characters.
82686         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82688 2010-07-29  Roland McGrath  <roland@redhat.com>
82690         [BZ #11856]
82691         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82693 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82695         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82696         for ld.so.
82698 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82700         * manual/memory.texi (Malloc Tunable Parameters): Document
82701         M_PERTURB.
82703 2010-07-26  Roland McGrath  <roland@redhat.com>
82705         [BZ #11840]
82706         * configure.in (-fgnu89-inline check): Set and substitute
82707         gnu89_inline, not libc_cv_gnu89_inline.
82708         * configure: Regenerated.
82709         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82711 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82713         * string/test-strnlen.c: New file.
82714         * string/Makefile (strop-tests): Add strnlen.
82715         * string/tester.c (test_strnlen): Add a few more test cases.
82716         * string/tst-strlen.c: Better error reporting.
82718         * sysdeps/x86_64/strnlen.S: New file.
82720 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82723         lower-latency instructions.
82725 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82727         * string/test-strcasestr.c: New file.
82728         * string/test-strstr.c: New file.
82729         * string/Makefile (strop-tests): Add strstr and strcasestr.
82730         * string/str-two-way.h: Don't undefine MAX.
82731         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82733 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82736         strcasestr-nonascii.
82737         (CFLAGS-strcasestr-nonascii.c): Define.
82738         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82739         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82740         Remove unused attribute.
82742 2010-07-20  Roland McGrath  <roland@redhat.com>
82744         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82745         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82746         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82747         like LD_HWCAP_MASK can disable hwcaps.
82749 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82751         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82753 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82755         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82756         call in strcasestr.
82757         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82758         __strcasestr_sse42_nonascii.
82759         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82760         strcasestr-nonascii.c.
82761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82763 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82765         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82767         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82770 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82772         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82773         fcntl.
82775 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82777         [BZ #11577]
82778         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82779         dl_signal_cerror.
82781 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82784         _PC_PIPE_BUF using F_GETPIPE_SZ.
82786 2010-07-05  Roland McGrath  <roland@redhat.com>
82788         * manual/arith.texi (Rounding Functions): Fix rint description
82789         implicit in round description.
82791 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82793         * elf/Makefile: Fix linking for a few tests to make recent linker
82794         happy.
82796 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82799         $(common-objpfx)libc_nonshared.a.
82801 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82803         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82804         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82805         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82806         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82807         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82808         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82809         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82810         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82825         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82826         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82827         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82828         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82829         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82830         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82831         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82832         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82833         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82834         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82835         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82836         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82852 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82854         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82855         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82856         * string/memmove.c (memmove): Renamed to ...
82857         (MEMMOVE): ...this.  Default to memmove.
82858         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82859         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82860         (END_CHK): Define.
82861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82862         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82863         mempcpy-ssse3-back memmove-ssse3-back.
82864         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82865         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82866         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82867         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82868         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82869         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82870         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82871         * sysdeps/x86_64/multiarch/memmove.c: New file.
82872         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82873         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82874         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82875         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82876         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82877         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82878         Define.
82879         (index_Fast_Copy_Backward): Define.
82880         (HAS_ARCH_FEATURE): Define.
82881         (HAS_FAST_REP_STRING): Define.
82882         (HAS_FAST_COPY_BACKWARD): Define.
82884 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82886         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82887         Restore proper fallback handling.
82889 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82891         [BZ #11701]
82892         * posix/group_member.c (__group_member): Correct checking loop.
82894         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82895         OOM in getpwuid_r correctly.  Return error number when the caller
82896         should return, otherwise -1.
82897         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82898         call returning > 0 value.
82899         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82901 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82903         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82904         libc_nonshared.a from targets in modules-names.
82906 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82908         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82909         requires it.
82911 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82914         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82916         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82918 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82920         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82922 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82924         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82925         and F_GETPIPE_SZ.
82926         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82933 2010-06-14  Roland McGrath  <roland@redhat.com>
82935         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82937 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82939         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82940         __REDIRECT followed by __THROW.
82941         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82942         * posix/getopt.h (getopt): Likewise.
82944 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82946         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82947         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82948         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82949         in AT_FLAGS.
82950         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82951         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82953 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82957 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82959         [BZ #11640]
82960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82961         Properly check family and model.
82963 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82965         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82967 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82969         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82971 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82973         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82974         symbol reference.
82976 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82978         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82979         symbol reference.
82981 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82984         and internal_recvmmsg.
82985         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82986         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82987         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82988         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82990         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82991         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82992         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82994 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82996         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82998 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83000         POWER7 optimizations.
83001         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83002         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83004 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83006         * version.h: Update for 2.13 development version.
83008 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83010         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83011         exceptions.  Return 0.
83013 2010-05-07  Roland McGrath  <roland@redhat.com>
83015         * elf/ldconfig.c (main): Add a const.
83017 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83019         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83020         (args_options): Add no-idn option.
83021         (ahosts_keys_int): Add idn_flags to ai_flags.
83022         (parse_option): Handle 'i' option to clear idn_flags.
83024         * malloc/malloc.c (_int_free): Possible race in the most recently
83025         added check.  Only act on the data if no current modification
83026         happened.
83028 See ChangeLog.17 for earlier changes.